cpython/Lib
Alexandre Vassalotti 7c5e094cbf Make C and Python implementations of pickle load STRING opcodes the same way.
The C version tried to remove trailing whitespace between the last quote and
the newline character. I am not sure why it had this because pickle never
generated such pickles---for this to happen repr(some_string) would need to
return trailing whitespace. It was maybe there to make it easier for people
to write pickles in text editors. Anyhow, the Python version doesn't do this
so there is no point keeping this around anymore.

Also, I've changed the exception raised when a bad pickle is encountered.
Again this unlikely to make much difference to anyone though it does make
testing slightly nicer for us.
2013-04-15 23:14:55 -07:00
..
collections merge 2013-03-24 15:21:57 -07:00
concurrent Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
ctypes Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
distutils Bump to 3.3.1. 2013-04-06 09:40:02 +02:00
email Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
encodings Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings: 2013-04-09 21:53:09 +02:00
html #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
http Issue #16658: add missing return to HTTPConnection.send(). 2013-04-12 22:50:42 +03:00
idlelib #17719: fix incorrect version number in deprecation doc. 2013-04-13 15:29:22 -04:00
importlib Issue #17244: Don't mask exceptions raised during the creation of 2013-04-14 12:48:15 -04:00
json #16057: Clarify why the base method default is called in custom encoders. 2013-03-17 22:06:18 -04:00
lib2to3 Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
logging Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate. 2013-04-12 17:04:23 +01:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Issue #17025: multiprocessing: Reduce Queue and SimpleQueue contention. 2013-03-25 18:20:40 +01:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17086: Backport the patches from the 3.3 branch to cross-build 2013-01-31 23:52:03 +01:00
plat-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data update pydoc topics 2013-03-23 10:15:25 -05:00
site-packages
sqlite3 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:46:12 +02:00
test Make C and Python implementations of pickle load STRING opcodes the same way. 2013-04-15 23:14:55 -07:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:24 +02:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest Merge #14971: Use class method name, not function.__name__, during unittest discovery. 2013-04-11 08:58:11 -04:00
urllib Remove redundant imports 2013-04-06 20:53:12 -07:00
venv Closes #16378: Merged docstring changes from 3.3. 2012-11-14 11:19:42 +00:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
xmlrpc Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_osx_support.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
_pyio.py Issue #17516: remove dead code 2013-03-26 01:14:35 +01:00
_strptime.py #17572: merge with 3.3. 2013-04-04 02:16:27 +03:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py Issue #16049: add abc.ABC helper class. 2012-12-13 19:09:33 +02:00
aifc.py Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
antigravity.py
argparse.py Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04:00
ast.py create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
asyncore.py Do not raise exception on close() on account of socket attribute still being None: 2013-04-09 17:21:25 +02:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
bisect.py
bz2.py bz2 module: Rewrap docstrings at 72 columns, as per PEP 8. 2012-10-08 20:31:34 +02:00
calendar.py Issue #17049: Localized calendar methods now return unicode if a locale 2013-01-31 15:57:51 +02:00
cgi.py merge from 3.3 2013-01-23 03:01:23 -08:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:41:08 +01:00
codeop.py
colorsys.py
compileall.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
configparser.py configparser: preserve section order when using __setitem__ (issue #16820) 2013-01-01 23:45:33 +01:00
contextlib.py Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py #17571: merge with 3.3. 2013-04-13 20:12:53 +03:00
decimal.py Merge 3.3. 2012-12-15 22:36:49 +01:00
difflib.py Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular. 2013-03-19 19:44:04 -04:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py #16522: Add FAIL_FAST flag to doctest. 2012-11-21 15:09:21 -05:00
dummy_threading.py
filecmp.py Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
fileinput.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py (issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed 2013-03-18 09:59:15 +01:00
functools.py merge 2013-03-08 23:04:47 -08:00
genericpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
getopt.py
getpass.py #17484: add tests for getpass. 2013-04-08 01:48:22 -04:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
gzip.py Close #17666: Fix reading gzip files with an extra field. 2013-04-08 22:37:15 +03:00
hashlib.py Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
heapq.py Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest. 2013-03-05 02:15:01 -05:00
hmac.py Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Merge: #17443: Fix buffering in IMAP4_stream. 2013-03-19 13:56:54 -04:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #16880: _imp.load_dynamic() is not defined on a platform that 2013-03-17 15:48:16 -07:00
inspect.py #17526: merge with 3.3. 2013-03-30 05:19:06 +02:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
macurl2path.py
mailbox.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
modulefinder.py merge with 3.3 2012-12-22 19:38:32 -05:00
netrc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
nntplib.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ntpath.py Fix #16788. Add samestat to Lib/ntpath.py 2012-12-26 08:22:00 -06:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py (Merge 3.3) Close #17702: os.environ now raises KeyError with the original 2013-04-14 16:38:35 +02:00
pdb.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pickle.py Make C and Python implementations of pickle load STRING opcodes the same way. 2013-04-15 23:14:55 -07:00
pickletools.py Merge 3.3 2013-04-14 03:44:47 -07:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py Merge fix for #16163 from 3.3 2013-04-14 23:01:11 +10:00
platform.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
posixpath.py Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:22:05 +02:00
pprint.py Issue #17150: pprint now uses line continuations to wrap long string literals. 2013-03-23 20:30:39 +01:00
profile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
pty.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
py_compile.py Issue #17244: Don't mask exceptions raised during the creation of 2013-04-14 12:48:15 -04:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py Merge: #17476: make allmethods actually return all methods. 2013-03-19 02:47:44 -04:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
random.py Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:04:19 +03:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Issue #16640: Run less code under a lock in sched module. 2012-12-29 21:46:37 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py #17076: Make copying of xattrs more permissive of missing FS support 2013-02-05 08:25:24 +01:00
site.py Issue #16804: Fix 'python -S -m site' failure. 2013-04-13 20:51:04 -05:00
smtpd.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
smtplib.py #2118: IOError is deprecated, use OSError. 2013-04-14 06:46:35 -04:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Fix issue #17675: make socket repr() provide local and remote addresses (if any). 2013-04-10 15:49:47 +02:00
socketserver.py Merge with 3.3 2012-12-26 15:15:17 +00:00
sre_compile.py Issue #17516: remove dead code 2013-03-26 01:14:35 +01:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py #17341: Include name in re error message about invalid group name. 2013-04-14 13:00:54 -04:00
ssl.py remove uneffective 'while True' clause 2013-04-03 12:01:44 +02:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py
subprocess.py Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value 2013-03-23 12:00:00 -07:00
sunau.py
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
sysconfig.py backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Fix deprecation warning in tempfile. 2013-02-23 08:16:07 +02:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Merge #17435: Don't use mutable default values in Timer. 2013-03-30 17:22:30 -04:00
timeit.py Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 2013-03-15 03:04:25 -04:00
token.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tokenize.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
trace.py #17143: merge with 3.3. 2013-02-15 21:22:22 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
warnings.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
wave.py #17487: wave.getparams now returns a namedtuple. 2013-04-10 12:31:43 -04:00
weakref.py Issue #14631: Add a new :class:weakref.WeakMethod to simulate weak references to bound methods. 2012-11-17 18:57:38 +01:00
webbrowser.py - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, 2013-03-24 18:50:23 +01:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Refactor recently added bugfix into more testable code by using a 2013-02-03 00:37:36 -08:00