Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Code style fixup: No need for double ((parenthesis)) and use {} on an if else. | Gregory P. Smith | 2012-12-11 | 1 | -4/+5 |
|\ | |||||
| * | Code style fixup: No need for double ((parenthesis)) and use {} on an if else. | Gregory P. Smith | 2012-12-11 | 1 | -4/+5 |
| | | |||||
* | | null merge, no change needed in 3.3. | Gregory P. Smith | 2012-12-11 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the | Gregory P. Smith | 2012-12-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | compiler logic will do the right thing with just x as a Py_uhash_t. This matches what was already done in the 3.3 version. cleanup only - no functionality or hash values change. | ||||
* | | Fix the internals of our hash functions to used unsigned values during hash | Gregory P. Smith | 2012-12-11 | 4 | -12/+12 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | computation as the overflow behavior of signed integers is undefined. NOTE: This change is smaller compared to 3.2 as much of this cleanup had already been done. I added the comment that my change in 3.2 added so that the code would match up. Otherwise this just adds or synchronizes appropriate UL designations on some constants to be pedantic. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change. | ||||
| * | Fix the internals of our hash functions to used unsigned values during hash | Gregory P. Smith | 2012-12-11 | 5 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | computation as the overflow behavior of signed integers is undefined. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change. | ||||
* | | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned. | Gregory P. Smith | 2012-12-11 | 1 | -2/+2 |
|\ \ | |/ | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come] | ||||
| * | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned. | Gregory P. Smith | 2012-12-11 | 1 | -2/+2 |
| | | | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come] | ||||
* | | #15872: Some more Windows related tuning to shutil.rmtree tests | Hynek Schlawack | 2012-12-10 | 1 | -7/+7 |
|\ \ | |/ | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :( | ||||
| * | #15872: Some more Windows related tuning to shutil.rmtree tests | Hynek Schlawack | 2012-12-10 | 1 | -8/+7 |
| | | | | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :( | ||||
* | | #15872: Be flexible with appending *.* in shutil.rmtree test case | Hynek Schlawack | 2012-12-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | The Windows buildbots seem to be unable to agree whether they need them or not. | ||||
| * | #15872: Be flexible with appending *.* in shutil.rmtree test case | Hynek Schlawack | 2012-12-10 | 1 | -1/+1 |
| | | | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not. | ||||
* | | #15872: More shutil test fixes for Windows | Hynek Schlawack | 2012-12-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #15872: More shutil test fixes for Windows | Hynek Schlawack | 2012-12-10 | 1 | -2/+2 |
| | | |||||
* | | #15872: Fix shutil.rmtree error tests for Windows | Hynek Schlawack | 2012-12-10 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | #15872: Fix shutil.rmtree error tests for Windows | Hynek Schlawack | 2012-12-10 | 1 | -1/+5 |
| | | |||||
* | | #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree | Hynek Schlawack | 2012-12-10 | 3 | -10/+62 |
|\ \ | |/ | | | | | | | | | It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka. | ||||
| * | #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtree | Hynek Schlawack | 2012-12-10 | 2 | -0/+50 |
| | | | | | | | | | | It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka. | ||||
* | | Issue #16629: Merge IDLE test fix from 3.2. | Chris Jerdonek | 2012-12-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy. | Chris Jerdonek | 2012-12-10 | 1 | -1/+1 |
| | | | | | | | | This commit updates a test broken by the change made for issue #14783. | ||||
* | | Issue #16582: use int exit code in tkinter._exit | Andrew Svetlov | 2012-12-09 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #16582: use int exit code in tkinter._exit | Andrew Svetlov | 2012-12-09 | 1 | -1/+5 |
| | | |||||
* | | merge from 3.2 - reason attribute for urllib.error.HTTPError | Senthil Kumaran | 2012-12-09 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Fix issue13211 - Document the reason attribute for urllib.error.HTTPError | Senthil Kumaran | 2012-12-09 | 1 | -0/+4 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-12-09 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | merge 3.1 | Benjamin Peterson | 2012-12-09 | 0 | -0/+0 |
| |\ | |||||
| | * | Issue #16248: Disable code execution from the user's home directory by ↵ | Antoine Pitrou | 2012-12-09 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | tkinter when the -E flag is passed to Python. Patch by Zachary Ware. | ||||
* | | | Issue #16248: Disable code execution from the user's home directory by ↵ | Antoine Pitrou | 2012-12-09 | 2 | -1/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | tkinter when the -E flag is passed to Python. Patch by Zachary Ware. | ||||
| * | | Issue #16248: Disable code execution from the user's home directory by ↵ | Antoine Pitrou | 2012-12-09 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | tkinter when the -E flag is passed to Python. Patch by Zachary Ware. | ||||
* | | | Issue #15209: Fix typo and some additional wording tweaks | Nick Coghlan | 2012-12-09 | 1 | -8/+16 |
| | | | |||||
* | | | Merge fixes for #13614, #13512 and #7719 from 3.2 | Éric Araujo | 2012-12-09 | 12 | -34/+74 |
|\ \ \ | |/ / | |||||
| * | | Branch merge | Éric Araujo | 2012-12-09 | 12 | -34/+74 |
| |\ \ | |||||
| | * | | Fix setup.py register failure with invalid rst in description (#13614). | Éric Araujo | 2012-12-09 | 4 | -11/+31 |
| | | | | | | | | | | | | | | | | Original patch by Julien Courteau and Pierre Paul Lefebvre. | ||||
| | * | | Fix a few markup/grammar nits | Éric Araujo | 2012-12-08 | 3 | -5/+5 |
| | | | | |||||
| | * | | Create ~/.pypirc securely (#13512). | Éric Araujo | 2012-12-08 | 3 | -10/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | There was a window between the write and the chmod where the user’s password would be exposed, depending on default permissions. Philip Jenvey’s patch fixes it. | ||||
| | * | | Ignore .nfs* files in distutils (#7719). | Éric Araujo | 2012-12-08 | 5 | -8/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These files are created by some NFS clients a file is edited and removed concurrently (see added link in doc for more info). If such a file is removed between distutils calls listdir and copy, it will get confused. Other special files are ignored in sdist (namely VCS directories), but this has to be filtered out earlier. | ||||
* | | | | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵ | Antoine Pitrou | 2012-12-08 | 4 | -4/+38 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue. | ||||
| * | | | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵ | Antoine Pitrou | 2012-12-08 | 5 | -4/+39 |
| |/ / | | | | | | | | | | | | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue. | ||||
* | | | Drop double newlines printed in some file iteration examples. | Andrew Svetlov | 2012-12-08 | 2 | -2/+3 |
|\ \ \ | |/ / | | | | | | | Patch by Steven Kryskalla. | ||||
| * | | Drop double newlines printed in some file iteration examples. | Andrew Svetlov | 2012-12-08 | 2 | -2/+3 |
| | | | | | | | | | | | | Patch by Steven Kryskalla. | ||||
* | | | Close issue #16267: better docs for @abstractmethod composition | Nick Coghlan | 2012-12-08 | 2 | -15/+47 |
| | | | |||||
* | | | Issue #15209: Clarify exception chaining description | Nick Coghlan | 2012-12-08 | 2 | -11/+20 |
| | | | | | | | | | | | | | | | | | | - not allowed when implicitly re-raised the current exception - last exception raised is always displayed last - attempt to make it clearer when/if cause and context are shown | ||||
* | | | Merge debug output removal with 3.2. | Ezio Melotti | 2012-12-08 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | Remove debug output from example. | Ezio Melotti | 2012-12-08 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #16628: Fix a memory leak in ctypes.resize(). | Antoine Pitrou | 2012-12-08 | 4 | -2/+5 |
|\ \ \ | |/ / | |||||
| * | | Issue #16628: Fix a memory leak in ctypes.resize(). | Antoine Pitrou | 2012-12-08 | 4 | -2/+5 |
| | | | |||||
* | | | Specify which I/O ABC methods have implementations in the docs. | Andrew Svetlov | 2012-12-06 | 1 | -0/+19 |
|\ \ \ | |/ / | |||||
| * | | Specify which I/O ABC methods have implementations in the docs. | Andrew Svetlov | 2012-12-06 | 1 | -0/+19 |
| | | | |||||
* | | | Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are ↵ | Andrew Svetlov | 2012-12-05 | 1 | -2/+2 |
| | | | | | | | | | | | | saave_exc_state and swap_exc_state functions now. | ||||
* | | | Merge: skip pdb test for #13120 if threading is not available. | Andrew Svetlov | 2012-12-05 | 1 | -0/+3 |
|\ \ \ | |/ / |