Commit graph

89061 commits

Author SHA1 Message Date
Serhiy Storchaka
1a1ff29659 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().
2015-02-16 13:28:22 +02:00
Serhiy Storchaka
53fa8b2a4b Fixed few compiler warnings. 2015-02-16 09:40:12 +02:00
Serhiy Storchaka
a9e00d13cd Issue #20069: Fixed test_os on Solaris: error message is platform depended. 2015-02-16 08:35:18 +02:00
Berker Peksag
a9e2c8ecd6 Issue #17753: effective_ids unavailable on Windows. 2015-02-16 04:36:43 +02:00
Berker Peksag
e1efc07a30 Issue #17753: effective_ids unavailable on Windows. 2015-02-16 04:36:18 +02:00
Berker Peksag
5a4addabbf Fix typo in os.supports_effective_ids documentation. 2015-02-16 03:36:45 +02:00
Berker Peksag
4d6c6063bf Fix typo in os.supports_effective_ids documentation. 2015-02-16 03:36:10 +02:00
Serhiy Storchaka
23edd49e5b Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
module.  Original patch by Claudiu Popa.
2015-02-16 00:32:41 +02:00
Serhiy Storchaka
74eb8b2d1a Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
module.  Original patch by Claudiu Popa.
2015-02-16 00:30:43 +02:00
Antoine Pitrou
c481bfb3f6 Issue #23239: ssl.match_hostname() now supports matching of IP addresses. 2015-02-15 18:12:20 +01:00
Antoine Pitrou
2d07b85585 Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.
Detected and fixed by Serhiy.
2015-02-15 18:06:54 +01:00
Antoine Pitrou
57fffd6f99 Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.
Detected and fixed by Serhiy.
2015-02-15 18:03:59 +01:00
Serhiy Storchaka
90caf017ee Issue #19681: Test the repr of partial with more than one keyword argument. 2015-02-15 16:22:11 +02:00
Serhiy Storchaka
0aa74e10bb Issue #19681: Test the repr of partial with more than one keyword argument. 2015-02-15 16:20:47 +02:00
Serhiy Storchaka
c86ca26d32 Issue #23096: Pickle representation of floats with protocol 0 now is the same
for both Python and C implementations.
2015-02-15 14:18:32 +02:00
Serhiy Storchaka
d362c21264 Use pickled data compatible with Python 2 for testing protocols 0-2. 2015-02-15 14:10:24 +02:00
Serhiy Storchaka
fa310ee3a9 Use pickled data compatible with Python 2 for testing protocols 0-2. 2015-02-15 14:10:03 +02:00
Serhiy Storchaka
5fd174a78d Use os.devnull instead of hardcoded '/dev/null'. 2015-02-15 14:03:11 +02:00
Serhiy Storchaka
56abe39052 Merge heads 2015-02-15 14:02:15 +02:00
Serhiy Storchaka
85c3033670 Use os.devnull instead of hardcoded '/dev/null'. 2015-02-15 13:58:23 +02:00
Berker Peksag
9121fe849e Add a whatsnew entry for issue #22003.
Patch by David Wilson.
2015-02-15 00:45:57 +02:00
Berker Peksag
9ab1cc4fe4 Issue #13637: Improve exception message of a2b_* functions.
Patch by Vajrasky Kok.
2015-02-15 00:31:26 +02:00
Berker Peksag
3cd30c2cee Issue #13637: Improve exception message of a2b_* functions.
Patch by Vajrasky Kok.
2015-02-15 00:31:00 +02:00
Berker Peksag
2eb8f8178b Issue #13637: Remove outdated versionchanged directives.
Patch by Martin Panter.
2015-02-15 00:06:07 +02:00
Berker Peksag
50ef8a8e67 Issue #13637: Remove outdated versionchanged directives.
Patch by Martin Panter.
2015-02-15 00:05:42 +02:00
Serhiy Storchaka
2307287c92 Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.
2015-02-14 23:06:42 +02:00
Serhiy Storchaka
db724fe994 Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.
2015-02-14 23:04:35 +02:00
Serhiy Storchaka
86a35bcba9 Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.
2015-02-14 22:45:15 +02:00
Serhiy Storchaka
6b688d8162 Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.
2015-02-14 22:44:35 +02:00
Benjamin Peterson
f80ccf27cb merge 3.4 (#22633) 2015-02-14 15:17:47 -05:00
Benjamin Peterson
2476b98acf avoid reading unallocated memory when argc == 0 (closes #22633) 2015-02-14 15:16:32 -05:00
Steve Dower
8dcc1a9f96 Issue #23437: Update NEWS and whatsnew/3.5 2015-02-14 12:07:59 -08:00
Steve Dower
cc115eea0c Simplify MSI projects. 2015-02-14 10:30:54 -08:00
Steve Dower
17be514d0a Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00
Steve Dower
a9076d6551 Issue #23461: Normalise line endings when comparing old and new contents of importlib.h 2015-02-14 09:38:19 -08:00
Serhiy Storchaka
a750ce3325 Issue #19105: pprint now more efficiently uses free space at the right. 2015-02-14 10:55:19 +02:00
Berker Peksag
8089cd642f Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser.
Patch by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
2015-02-14 01:39:17 +02:00
Berker Peksag
0fe6325acf Issue #21717: tarfile.open() now supports 'x' (exclusive creation) mode. 2015-02-13 21:02:12 +02:00
Berker Peksag
6767757589 Issue #23418: Add missing entries to http.server.__all__.
Patch by Martin Panter.
2015-02-13 20:48:41 +02:00
Berker Peksag
366c570d1f Issue #23418: Add missing entries to http.server.__all__.
Patch by Martin Panter.
2015-02-13 20:48:15 +02:00
Serhiy Storchaka
2eab85b7a2 Issue #21849: Ported from 2.7 tests for non-ASCII data. 2015-02-13 15:19:08 +02:00
Serhiy Storchaka
a25c542c47 Issue #21849: Ported from 2.7 tests for non-ASCII data. 2015-02-13 15:13:33 +02:00
Victor Stinner
866ca88f2d Merge 3.4 (asyncio doc) 2015-02-12 22:49:45 +01:00
Victor Stinner
bdd574d09a asyncio doc: annotate coroutine on coroutine functions and methods 2015-02-12 22:49:18 +01:00
Victor Stinner
cf40a9e640 Issue #23450: Fix signal.set_wakeup_fd() on Windows
Detect integer overflow on the file descriptor of the socket on 64-bit Python.
2015-02-12 16:34:54 +01:00
Steve Dower
db80aec67a Fix installer Back button going to wrong page when modifying.
Also fix error when doing test builds without documentation file.
2015-02-11 17:49:01 -08:00
Antoine Pitrou
8b62bbf2e5 Issue #23445: pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster. 2015-02-11 19:41:01 +01:00
Antoine Pitrou
3d6c784371 Issue #23445: pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster. 2015-02-11 19:39:16 +01:00
Victor Stinner
ce2c584ea5 Merge 3.4 (typo) 2015-02-11 18:18:10 +01:00
Victor Stinner
22fabe218d Fix typo: PyMem_Alloc => PyMem_Malloc 2015-02-11 18:17:56 +01:00