cpython/Modules
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
..
_ctypes Merge 2013-03-19 16:00:01 -07:00
_decimal Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
_io Merge 3.3, issue #17047: remove doubled words found in 2.7 to 3.4 2013-03-11 17:46:07 -04:00
_multiprocessing Replace WaitForMultipleObjects with WaitForMultipleObjectEx, 2013-01-25 14:29:13 +01:00
_sha3 Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 2013-01-03 09:22:41 +01:00
_sqlite Issue #13773: sqlite3.connect() gets a new uri parameter to pass the filename as a URI, allowing to pass custom options. 2013-02-10 00:02:44 +01:00
cjkcodecs Issue #17693: Fix memory/reference leaks 2013-04-14 18:11:41 +02:00
expat Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, 2013-03-11 17:42:46 -04:00
zlib Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, 2013-03-11 17:42:46 -04:00
_bisectmodule.c Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 2012-05-16 14:39:36 +02:00
_bz2module.c Issue #16828: Fix error incorrectly raised by bz2.compress(''). 2013-01-02 23:05:56 +01:00
_codecsmodule.c Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka. 2012-10-06 18:04:49 +01:00
_collectionsmodule.c Backport deque.rotate() improvements. 2013-02-09 20:00:55 -05:00
_cryptmodule.c Issue #10924: Adding salt and Modular Crypt Format to crypt library. 2011-02-22 10:55:44 +00:00
_csv.c Use logic operator, not bitwise operator, for conditional. 2013-03-20 00:15:20 -04:00
_curses_panel.c Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API. 2012-06-14 16:01:23 +02:00
_cursesmodule.c Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c) 2013-03-21 12:21:06 +01:00
_datetimemodule.c Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
_dbmmodule.c #16135: Removal of OS/2 support (Modules/*) 2012-10-05 02:11:36 +02:00
_elementtree.c Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text. 2013-01-13 05:26:07 -08:00
_freeze_importlib.c make some freezing related stuff const 2013-03-13 14:06:39 -05:00
_functoolsmodule.c Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple 2013-02-04 12:54:04 +02:00
_gdbmmodule.c #6045: provide at least get() and setdefault() for all dbm modules. 2010-12-04 09:14:36 +00:00
_gestalt.c Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 2011-11-21 02:49:52 +01:00
_hashopenssl.c In the _hashlib module, only initialize the static data for OpenSSL's 2013-02-01 17:07:56 -08:00
_heapqmodule.c Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4 2013-03-11 17:45:12 -04:00
_json.c Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 2013-01-03 09:22:41 +01:00
_localemodule.c Issue #14909: A number of places were using PyMem_Realloc() apis and 2012-05-31 09:37:31 +00:00
_lsprof.c #16135: Removal of OS/2 support (Modules/*) 2012-10-05 02:11:36 +02:00
_lzmamodule.c Make lzma.{encode,decode}_filter_properties private. 2012-06-21 23:36:48 +02:00
_math.c Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_math.h Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_pickle.c Make C and Python implementations of pickle load STRING opcodes the same way. 2013-04-15 23:14:55 -07:00
_posixsubprocess.c Fixes Issue #16962: Use getdents64 instead of the obsolete getdents syscall 2013-03-03 10:53:27 -08:00
_randommodule.c Issue #16674: random.getrandbits() is now 20-40% faster for small integers. 2013-01-04 12:18:35 +02:00
_scproxy.c Merged revisions 85062 via svnmerge from 2010-09-28 14:40:22 +00:00
_sre.c Issue #17016: Get rid of possible pointer wraparounds and integer overflows 2013-04-13 21:16:40 +03:00
_ssl.c Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name. 2013-04-11 20:48:42 +02:00
_ssl_data.h Add forgotten files for #14837. 2012-06-22 21:12:59 +02:00
_struct.c Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 2013-02-09 23:16:51 +01:00
_testbuffer.c _testbuffer.c: In all current use cases of cmp_structure() dest->format and 2012-09-06 09:42:29 +02:00
_testcapimodule.c Fix memory leak introduced in 15190138d3f3. 2013-03-07 21:18:45 +02:00
_testembed.c Issue #12090: backport 79fcd71d0356 2011-05-26 00:37:45 +02:00
_testimportmultiple.c Remove compile warnings for _testimportmodule 2012-12-15 18:16:47 +02:00
_threadmodule.c merge #17091: update docstring for _thread.Lock.acquire. 2013-02-04 10:25:51 -05:00
_tkinter.c Issue #13153: Tkinter functions now raise TclError instead of ValueError when 2013-02-18 13:03:07 +02:00
_weakref.c
_winapi.c Fix typo in error handling for WaitForMultipleObjects() 2012-08-21 14:54:22 +01:00
addrinfo.h Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
ar_beos
arraymodule.c (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an array 2013-02-26 00:27:56 +01:00
atexitmodule.c Issue #11826: Fix memory leak in atexitmodule. 2012-03-27 11:49:21 +02:00
audioop.c Issue #16686: Fixed a lot of bugs in audioop module. 2013-02-09 11:12:36 +02:00
binascii.c Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 2013-02-09 23:14:42 +01:00
cmathmodule.c #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
config.c.in Issue #14605: Stop having implicit entries for sys.meta_path. 2012-04-27 14:01:58 -04:00
errnomodule.c Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
faulthandler.c Issue #9566: Explicit downcast to fix compiler warnings on Win64 2012-10-31 00:33:57 +01:00
fcntlmodule.c fcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+. 2013-01-08 00:52:40 +01:00
fpectlmodule.c Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 2011-03-14 17:36:54 +01:00
fpetestmodule.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
gc_weakref.txt Issue #13575: there is only one class type. 2011-12-12 18:54:29 +01:00
gcmodule.c Issue #16351: New function gc.get_stats() returns per-generation collection statistics. 2012-10-30 22:43:19 +01:00
getaddrinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getbuildinfo.c merge 3.2 2011-03-28 17:26:04 -05:00
getnameinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getpath.c Issue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all. 2012-11-03 13:52:58 +02:00
grpmodule.c Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
hashlib.h Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
itertoolsmodule.c Revert a premature patch for issue #14010 (changeset aaaf36026511). 2013-04-06 22:52:34 +03:00
ld_so_aix.in #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou. 2011-02-15 15:44:51 +00:00
ld_so_beos
main.c Close #14439: Python now prints the traceback on runpy failure at startup. 2013-04-10 00:27:23 +02:00
makesetup Issue #9189: Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when running 2010-07-09 16:30:58 +00:00
makexp_aix
mathmodule.c Issue #16305: Merge fix from 3.2. 2012-10-25 10:47:46 +01:00
md5module.c Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 2013-01-03 09:22:41 +01:00
mmapmodule.c Merge 2013-02-13 12:32:32 +00:00
nismodule.c Remove a redundant assignment. 2011-06-06 20:24:11 -07:00
operator.c Issue #16148: implemented PEP 424 2012-10-06 14:03:24 +02:00
ossaudiodev.c Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4 2013-03-11 17:45:12 -04:00
parsermodule.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:41:45 +02:00
posixmodule.c Refactor the common code out of the posix and windows listdir 2013-03-20 20:52:50 -07:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pyexpat.c Issue #17089: Expat parser now correctly works with string input not only when 2013-02-04 18:28:01 +02:00
python.c (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always 2012-12-03 12:48:53 +01:00
readline.c Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:29:39 +01:00
resource.c Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple 2013-02-04 12:54:04 +02:00
rotatingtree.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
rotatingtree.h
selectmodule.c Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. 2013-01-19 12:39:29 +01:00
Setup.config.in
Setup.dist ... and fix the name of the sha1 file name. 2012-06-21 16:22:15 +02:00
sha1module.c merge 3.3 2013-04-15 21:38:33 -04:00
sha256module.c Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 2013-01-03 09:22:41 +01:00
sha512module.c Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 2013-01-03 09:22:41 +01:00
signalmodule.c Issue #17591: Use lowercase filenames when including Windows header files. 2013-03-31 22:48:04 +02:00
socketmodule.c Merge with 3.3, issue #17047: remove doubled words added in 3.3, 2013-03-11 18:36:38 -04:00
socketmodule.h Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian 2013-02-05 19:42:01 +01:00
spwdmodule.c Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 2010-11-30 09:30:54 +00:00
sre.h Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
sre_constants.h
symtablemodule.c initialize more global type objects (closes #16369) 2012-10-30 23:21:10 -04:00
syslogmodule.c #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog. 2012-03-29 07:15:45 -04:00
termios.c Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 2011-03-14 17:36:54 +01:00
testcapi_long.h Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. 2011-11-19 17:58:15 +00:00
timemodule.c Replace WaitForSingleObject with WaitForSingleObjectEx, 2013-01-25 14:25:48 +01:00
tkappinit.c Avoid main_window unused compiler warning. 2012-03-13 23:21:53 -07:00
tkinter.h Merged revisions 71210 via svnmerge from 2009-04-10 22:19:09 +00:00
unicodedata.c #16681: merge with 3.2. 2012-12-14 20:13:39 +02:00
unicodedata_db.h upgrade to UCD 6.2 2012-09-29 13:47:39 -04:00
unicodename_db.h upgrade to UCD 6.2 2012-09-29 13:47:39 -04:00
xxlimited.c Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 2011-08-10 20:28:54 -05:00
xxmodule.c Make indentation consistent 2013-01-01 07:41:51 -08:00
xxsubtype.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
zipimport.c Issue #8745: Small speed up zipimport on Windows. Patch by Catalin Iacob. 2013-02-16 17:43:45 +02:00
zlibmodule.c Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'. 2012-11-11 14:20:09 +01:00