Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #1545463: Global variables caught in reference cycles are now ↵ | Antoine Pitrou | 2013-05-06 | 1 | -0/+36 |
| | | | | garbage-collected at shutdown. | ||||
* | Issue #11816: switch test_peepholer to bytecode_helper | Nick Coghlan | 2013-05-06 | 1 | -156/+139 |
| | |||||
* | Issue #11816: multiple improvements to the dis module | Nick Coghlan | 2013-05-06 | 2 | -130/+544 |
| | | | | | | | | * get_instructions generator * ability to redirect output to a file * Bytecode and Instruction abstractions Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver. | ||||
* | Issue #5845: avoid an exception at startup on OS X if no .editrc file exists. | Mark Dickinson | 2013-05-06 | 1 | -1/+9 |
| | |||||
* | Merge | Richard Oudkerk | 2013-05-06 | 1 | -0/+2 |
|\ | |||||
| * | Issue #17805: Add AsyncResult alias for ApplyResult | Richard Oudkerk | 2013-05-06 | 1 | -0/+2 |
| | | |||||
* | | Issue #13813: Embed stringification of remote traceback in local | Richard Oudkerk | 2013-05-06 | 2 | -0/+54 |
| | | | | | | | | traceback raised when pool task raises an exception. | ||||
* | | #13495: merge with 3.3. | Roger Serwy | 2013-05-06 | 2 | -5/+0 |
|\ \ | |/ | |||||
| * | #13495: Avoid loading the color delegator twice in IDLE. | Roger Serwy | 2013-05-06 | 2 | -5/+0 |
| | | |||||
* | | Issue #15528: Add weakref.finalize to support finalization using | Richard Oudkerk | 2013-05-05 | 3 | -3/+288 |
| | | | | | | | | | | | | | | | | | | weakref callbacks. This is 2e446e87ac5b except that collections/__init__.py has been modified to import proxy from _weakref instead of weakref. This eliminates an import cycle which seems to cause a problem on Unix but not Windows. | ||||
* | | Issue #17094: Clear stale thread states after fork(). | Antoine Pitrou | 2013-05-05 | 1 | -0/+25 |
| | | | | | | | | | | | | | | Note that this is a potentially disruptive change since it may release some system resources which would otherwise remain perpetually alive (e.g. database connections kept in thread-local storage). | ||||
* | | Backout 2e446e87ac5b; it breaks the unix buildbots. | Richard Oudkerk | 2013-05-05 | 2 | -287/+2 |
| | | |||||
* | | Issue #15528: Add weakref.finalize to support finalization using | Richard Oudkerk | 2013-05-05 | 2 | -2/+287 |
| | | | | | | | | weakref callbacks. | ||||
* | | #17798: merge with 3.3. | Roger Serwy | 2013-05-05 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | #17798: Allow IDLE to edit new files when specified on command line. | Roger Serwy | 2013-05-05 | 1 | -0/+2 |
| | | |||||
| * | Fix a test to not use an assertion for something that could be | Brett Cannon | 2013-05-04 | 1 | -1/+2 |
| | | | | | | | | legitimately false. | ||||
* | | Change a test assertion to a conditional so the test will pass on | Brett Cannon | 2013-05-04 | 1 | -2/+3 |
| | | | | | | | | Windows. | ||||
* | | #17115: Remove what appears to be a useless chunk of code which broke | Brett Cannon | 2013-05-04 | 1 | -4/+0 |
| | | | | | | | | other tests. | ||||
* | | Issue #5845: Enable tab-completion in the interactive interpreter by ↵ | Antoine Pitrou | 2013-05-04 | 1 | -2/+40 |
| | | | | | | | | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo) | ||||
* | | #17115,17116: Have modules initialize the __package__ and __loader__ | Brett Cannon | 2013-05-04 | 7 | -20/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly. | ||||
* | | #7855: merge with 3.3. | Ezio Melotti | 2013-05-04 | 3 | -1/+47 |
|\ \ | |/ | |||||
| * | #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial ↵ | Ezio Melotti | 2013-05-04 | 3 | -1/+47 |
| | | | | | | | | patch by Dino Viehland. | ||||
| * | Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions. | Serhiy Storchaka | 2013-05-04 | 2 | -0/+4 |
| | | |||||
* | | add trailing newline to file | Brett Cannon | 2013-05-03 | 1 | -1/+1 |
| | | |||||
* | | Move test_imp over to unittest.main() | Brett Cannon | 2013-05-03 | 1 | -16/+6 |
| | | |||||
* | | Guard more tests in test_imp requiring imp.load_dynamic() to exist. | Brett Cannon | 2013-05-03 | 1 | -6/+13 |
| | | |||||
* | | #15902: merge w/ 3.3 | Brett Cannon | 2013-05-03 | 2 | -2/+21 |
|\ \ | |/ | |||||
| * | Issue #15902: Fix imp.load_module() to accept None as a file when | Brett Cannon | 2013-05-03 | 2 | -2/+21 |
| | | | | | | | | | | | | | | trying to load an extension module. While at it, also add a proper unittest.skipIf() guard to another test involving imp.load_dynamic(). | ||||
* | | merge | Raymond Hettinger | 2013-05-03 | 2 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #15535: Fix pickling of named tuples. | Raymond Hettinger | 2013-05-03 | 2 | -0/+5 |
| | | |||||
* | | Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise ↵ | Antoine Pitrou | 2013-05-01 | 2 | -12/+37 |
| | | | | | | | | an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected. | ||||
* | | #17802: merge with 3.3. | Ezio Melotti | 2013-05-01 | 2 | -0/+15 |
|\ \ | |/ | |||||
| * | #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas ↵ | Ezio Melotti | 2013-05-01 | 2 | -0/+15 |
| | | | | | | | | Barlow. | ||||
* | | #14679: add an __all__ (that contains only HTMLParser) to html.parser. | Ezio Melotti | 2013-05-01 | 1 | -0/+2 |
| | | |||||
* | | #11078: test___all__ now checks for duplicates in __all__. Initial patch by ↵ | Ezio Melotti | 2013-05-01 | 1 | -11/+14 |
| | | | | | | | | R. David Murray. | ||||
* | | Issue #17712: Fix test_gdb failures on Ubuntu 13.04. | Antoine Pitrou | 2013-04-30 | 1 | -21/+24 |
|\ \ | |/ | |||||
| * | Issue #17712: Fix test_gdb failures on Ubuntu 13.04. | Antoine Pitrou | 2013-04-30 | 1 | -21/+24 |
| | | |||||
* | | check local class namespace before reaching for cells (closes #17853) | Benjamin Peterson | 2013-04-30 | 3 | -1/+19 |
| | | |||||
* | | refactor traceback.py to reduce code duplication (closes #17646) | Benjamin Peterson | 2013-04-29 | 2 | -143/+132 |
| | | | | | | | | Patch by Martin Morrison. | ||||
* | | merge 3.3 | Benjamin Peterson | 2013-04-29 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | raise an ImportError (rather than fatal) when __import__ is not found in ↵ | Benjamin Peterson | 2013-04-29 | 1 | -0/+7 |
| | | | | | | | | __builtins__ (closes #17867) | ||||
* | | merge for issue #17358 | Brett Cannon | 2013-04-28 | 1 | -2/+12 |
|\ \ | |/ | |||||
| * | Issue #17358: imp.load_source() and load_compiled() should now return | Brett Cannon | 2013-04-28 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | modules which will typically work when reloaded. A hack is used to support these functions as their API allowed them to pass in a file object but then operate as if import had loaded them. Unfortunately the hack kept a reference around for the file object passed in which would be unusable on reload since it had been closed. The solution is to simply use the hack for the initial load but then a proper loader on the module so that imp.reload() at least has a chance to work. | ||||
* | | Added base64 module tests for non-binary files. | Serhiy Storchaka | 2013-04-28 | 1 | -2/+10 |
|\ \ | |/ | |||||
| * | Added base64 module tests for non-binary files. | Serhiy Storchaka | 2013-04-28 | 1 | -2/+10 |
| | | |||||
* | | Issue #17842. Added base64 module tests with bytearray arguments. | Serhiy Storchaka | 2013-04-28 | 1 | -1/+26 |
|\ \ | |/ | | | | | Original patch by Kushal Das. | ||||
| * | Issue #17842. Added base64 module tests with bytearray arguments. | Serhiy Storchaka | 2013-04-28 | 1 | -1/+26 |
| | | | | | | | | Original patch by Kushal Das. | ||||
* | | Issue #17804: New function ``struct.iter_unpack`` allows for streaming ↵ | Antoine Pitrou | 2013-04-26 | 2 | -1/+74 |
| | | | | | | | | struct unpacking. | ||||
* | | merge heads | Giampaolo Rodola' | 2013-04-26 | 4 | -45/+86 |
|\ \ | |||||
| * | | 17830: preserve line endings of original file when updating keywords. | R David Murray | 2013-04-25 | 2 | -38/+42 |
| | | | | | | | | | | | | | | | This fixes the test failures on Windows from the new tests, and includes test fixes as well as the module fix. |