Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Back port from 2.7: | Barry Warsaw | 2012-02-22 | 1 | -2/+5 |
| | | | | | | | | | http://hg.python.org/cpython/rev/48705250232c changeset: 75187:48705250232c branch: 2.7 parent: 75184:9a1d902714ae user: Antoine Pitrou <solipsis@pitrou.net> date: Wed Feb 22 22:16:25 2012 +0100 | ||||
* | Backport from 2.7: | Barry Warsaw | 2012-02-22 | 1 | -3/+4 |
| | | | | | | | | | changeset: 75153:9b7c6dd19e25 branch: 2.7 parent: 75151:b1a02c17b327 user: Antoine Pitrou <solipsis@pitrou.net> date: Tue Feb 21 22:02:04 2012 +0100 files: Lib/test/test_os.py | ||||
* | Backport from 2.7 branch. | Barry Warsaw | 2012-02-22 | 1 | -2/+8 |
| | | | | | | | changeset: 75165:780008020c40 user: Antoine Pitrou <solipsis@pitrou.net> date: Wed Feb 22 03:33:56 2012 +0100 summary: Fix (presumably) test_hash under big-endian systems (PPC). | ||||
* | Whitespace normalization | Barry Warsaw | 2012-02-21 | 1 | -1/+1 |
| | |||||
* | - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED | Barry Warsaw | 2012-02-21 | 7 | -19/+222 |
| | | | | | | environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner. | ||||
* | Back port Python 2.7 fix for test_invalid_redirect() in test_urllib.py. | Barry Warsaw | 2012-02-20 | 1 | -0/+1 |
| | |||||
* | Merge issue 11662 from 2.5. | Guido van Rossum | 2011-03-29 | 2 | -0/+35 |
|\ | |||||
| * | Add tests for the urllib[2] vulnerability. Change to raise exceptions. | guido@google.com | 2011-03-28 | 2 | -0/+35 |
| | | |||||
| * | Add .hgeol file and fix newlines in the 2.5 branch. | Georg Brandl | 2011-03-05 | 1 | -31/+31 |
| | | |||||
| * | #6990: clear threading.local's key only after its thread state is removed: | Philip Jenvey | 2009-09-29 | 1 | -1/+40 |
| | | | | | | | | | | | | fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals (backported from r75123) | ||||
| * | Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop | Lars Gustäbel | 2009-03-22 | 1 | -1/+24 |
| | | | | | | | | | | | | | | | | forever on incomplete input. That caused tarfile.open() to hang when used with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or partial bzip2 compressed data. (backported from r70523) | ||||
| * | Revert patch for #1706039, as it can crash the interpreter. | Martin v. Löwis | 2008-12-23 | 1 | -42/+0 |
| | | |||||
| * | Backport of r67908: | Martin v. Löwis | 2008-12-23 | 1 | -0/+2 |
| | | | | | | | | | | Added test case to ensure attempts to read from a file opened for writing fail. | ||||
| * | Issue #1706039: Support continued reading from a file even after | Martin v. Löwis | 2008-12-13 | 1 | -0/+42 |
| | | | | | | | | EOF was hit. | ||||
| * | Backport of r66703: | Martin v. Löwis | 2008-12-13 | 1 | -0/+6 |
| | | | | | | | | | | Issue #3863: Disabled a unit test of fork being called from a thread when running on platforms known to exhibit OS bugs when attempting that. | ||||
| * | Issue #4228: Pack negative values the same way as 2.4 | Martin v. Löwis | 2008-12-13 | 1 | -0/+13 |
| | | | | | | | | in struct's L format. | ||||
| * | Issue #4084: fix bug in handling of NaNs in Decimal.max, Decimal.min, | Mark Dickinson | 2008-12-11 | 1 | -0/+17 |
| | | | | | | | | Decimal.max_mag and Decimal.min_mag. | ||||
| * | Backport issue 4597 to python 2.5.3: Fixed several opcodes that weren't always | Jeffrey Yasskin | 2008-12-10 | 1 | -0/+14 |
| | | | | | | | | propagating exceptions. | ||||
| * | Backported issue #4589 to Python 2.5.3: Propagated an exception thrown by a | Jeffrey Yasskin | 2008-12-10 | 1 | -0/+30 |
| | | | | | | | | context manager's __exit__ method's result while it's being converted to bool. | ||||
| * | #4317: Fix an Array Bounds Read in imageop.rgb2rgb8. | Amaury Forgeot d'Arc | 2008-11-18 | 1 | -1/+2 |
| | | | | | | | | Backport of r67266 | ||||
| * | backport r67246 from the trunk | Benjamin Peterson | 2008-11-17 | 1 | -9/+50 |
| | | |||||
| * | backport r67077 from the trunk: parser module now correctly validates ↵ | Benjamin Peterson | 2008-11-03 | 1 | -0/+2 |
| | | | | | | | | relative imports | ||||
| * | Issue #4176: Pickle would crash the interpreter when a __reduce__ function | Amaury Forgeot d'Arc | 2008-10-30 | 1 | -0/+23 |
| | | | | | | | | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) Backport of r67049. | ||||
| * | backport r66689: imageop could segfault due to poor argument validation | Benjamin Peterson | 2008-09-30 | 1 | -7/+62 |
| | | |||||
| * | Backport of r66677: _lsprof crasher when a bad external timer is used during | Brett Cannon | 2008-09-29 | 1 | -2/+17 |
| | | | | | | | | garbage collection of a Profiler object. | ||||
| * | #3967: Correct a crash in count() and find() methods of string-like objects. | Amaury Forgeot d'Arc | 2008-09-26 | 1 | -0/+16 |
| | | | | | | | | | | | | | | For example: "".count("xxxx", sys.maxint, 0) Backport of r66631. | ||||
| * | make sure to give a 'as' and 'with' parser warning even after import ↵ | Benjamin Peterson | 2008-09-25 | 1 | -1/+34 |
| | | | | | | | | statements #3936 | ||||
| * | backport r66496: integer overflow in _hashopenssl #3886 | Benjamin Peterson | 2008-09-18 | 1 | -2/+16 |
| | | |||||
| * | Issue #3804: Added test for Issue #2222. | Hirokazu Yamamoto | 2008-09-08 | 1 | -0/+7 |
| | | | | | | | | Reviewed by Benjamin Peterson. | ||||
| * | Issue #3751: str.rpartition would perform a left-partition when called with | Amaury Forgeot d'Arc | 2008-09-01 | 1 | -0/+5 |
| | | | | | | | | | | | | a unicode argument. Backport of r66119 | ||||
| * | let Windows bots pass on test_threading | Benjamin Peterson | 2008-08-23 | 1 | -1/+2 |
| | | |||||
| * | Reverted r65902. See ↵ | Hirokazu Yamamoto | 2008-08-20 | 1 | -7/+3 |
| | | | | | | | | http://mail.python.org/pipermail/python-checkins/2008-August/073116.html | ||||
| * | Backport r65900: fixed get_file_system in test_os.py ('path' is unicode on ↵ | Hirokazu Yamamoto | 2008-08-20 | 1 | -5/+8 |
| | | | | | | | | py3k and ansi on trunk) | ||||
| * | Backport of r64767 from trunk | Gregory P. Smith | 2008-08-17 | 1 | -0/+11 |
| | | | | | | | | | | | | Fixes Issue #3309: Fix bz2.BZFile iterator to release its internal lock properly when raising an exception due to the bz2file being closed. Prevents a deadlock. | ||||
| * | Backport of r65032 from trunk | Gregory P. Smith | 2008-08-17 | 1 | -1/+78 |
| | | | | | | | | | | | | Fixes Issue #874900: after an os.fork() call the threading module state is cleaned up in the child process to prevent deadlock and report proper thread counts if the new process uses the threading module. | ||||
| * | - Issue #3537: Fix an assertion failure when an empty but presized dict | Georg Brandl | 2008-08-11 | 1 | -0/+11 |
| | | | | | | | | object was stored in the freelist. (backport from r65637.) | ||||
| * | (backport of r61652 and r61665 from trunk) | Gregory P. Smith | 2008-08-04 | 1 | -0/+29 |
| | | | | | | | | | | Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD and similar platforms due to sign extension. | ||||
| * | Security patches from Apple: prevent int overflow when allocating memory | Neal Norwitz | 2008-07-31 | 4 | -9/+154 |
| | | |||||
| * | #2242: utf7 decoding crashes on bogus input on some Windows/MSVC versions | Antoine Pitrou | 2008-07-25 | 1 | -0/+3 |
| | | |||||
| * | Issue #3360: Fix incorrect parsing of '020000000000.0'. | Mark Dickinson | 2008-07-16 | 1 | -0/+4 |
| | | | | | | | | This is a backport of r65005. | ||||
| * | Backport of 64903. | Brett Cannon | 2008-07-13 | 1 | -0/+1 |
| | | |||||
| * | Backport r62627 + r62744 from trunk to fix issue 2632. | Gregory P. Smith | 2008-07-06 | 1 | -0/+27 |
| | | | | | | | | | | | | - Issue #2632: Prevent socket.read(bignumber) from over allocating memory in the common case when the data is returned from the underlying socket in increments much smaller than bignumber. | ||||
| * | Backport of r64677. | Brett Cannon | 2008-07-02 | 1 | -1/+1 |
| | | |||||
| * | #Issue3088 in-progress: Race condition with instances of classes derived ↵ | Amaury Forgeot d'Arc | 2008-07-01 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | from threading.local: When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Backport of r64601. | ||||
| * | #3242: fix a crash in "print", if sys.stdout is set to a custom object, | Amaury Forgeot d'Arc | 2008-07-01 | 1 | -1/+20 |
| | | | | | | | | | | | | whose write() method installs another sys.stdout. Backport of r64633 | ||||
| * | Issue 3110: Crash with weakref subclass, | Amaury Forgeot d'Arc | 2008-06-16 | 1 | -1/+40 |
| | | | | | | | | | | | | | | | | | | | | | | seen after a "import multiprocessing.reduction" An instance of a weakref subclass can have attributes. If such a weakref holds the only strong reference to the object, deleting the weakref will delete the object. In this case, the callback must not be called, because the ref object is being deleted! Backport of r34309 | ||||
| * | #3117: backport r55087, fixes segfault with lambda (None,): None. | Georg Brandl | 2008-06-15 | 1 | -0/+1 |
| | | |||||
| * | Backport r62724 from trunk. Fixes issue 2791. subprocess.Popen.communicate | Gregory P. Smith | 2008-06-01 | 1 | -0/+16 |
| | | | | | | | | now closes its stdout and stderr fds as soon as it is finished with them. | ||||
| * | Patch #2111: Avoid mmap segfault when modifying a PROT_READ block. | Martin v. Löwis | 2008-05-23 | 1 | -0/+17 |
| | | |||||
| * | Issue #2670: urllib2.build_opener() failed when two handlers | Amaury Forgeot d'Arc | 2008-04-22 | 1 | -0/+6 |
| | | | | | | | | | | | | derive the same default base class. Backport of r62463. |