summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1545463: Global variables caught in reference cycles are now ↵Antoine Pitrou2013-05-061-0/+36
| | | | garbage-collected at shutdown.
* Issue #11816: switch test_peepholer to bytecode_helperNick Coghlan2013-05-061-156/+139
|
* Issue #11816: multiple improvements to the dis moduleNick Coghlan2013-05-062-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 Dickinson2013-05-061-1/+9
|
* MergeRichard Oudkerk2013-05-061-0/+2
|\
| * Issue #17805: Add AsyncResult alias for ApplyResultRichard Oudkerk2013-05-061-0/+2
| |
* | Issue #13813: Embed stringification of remote traceback in localRichard Oudkerk2013-05-062-0/+54
| | | | | | | | traceback raised when pool task raises an exception.
* | #13495: merge with 3.3.Roger Serwy2013-05-062-5/+0
|\ \ | |/
| * #13495: Avoid loading the color delegator twice in IDLE.Roger Serwy2013-05-062-5/+0
| |
* | Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk2013-05-053-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 Pitrou2013-05-051-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 Oudkerk2013-05-052-287/+2
| |
* | Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk2013-05-052-2/+287
| | | | | | | | weakref callbacks.
* | #17798: merge with 3.3.Roger Serwy2013-05-051-0/+2
|\ \ | |/
| * #17798: Allow IDLE to edit new files when specified on command line.Roger Serwy2013-05-051-0/+2
| |
| * Fix a test to not use an assertion for something that could beBrett Cannon2013-05-041-1/+2
| | | | | | | | legitimately false.
* | Change a test assertion to a conditional so the test will pass onBrett Cannon2013-05-041-2/+3
| | | | | | | | Windows.
* | #17115: Remove what appears to be a useless chunk of code which brokeBrett Cannon2013-05-041-4/+0
| | | | | | | | other tests.
* | Issue #5845: Enable tab-completion in the interactive interpreter by ↵Antoine Pitrou2013-05-041-2/+40
| | | | | | | | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo)
* | #17115,17116: Have modules initialize the __package__ and __loader__Brett Cannon2013-05-047-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 Melotti2013-05-043-1/+47
|\ \ | |/
| * #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial ↵Ezio Melotti2013-05-043-1/+47
| | | | | | | | patch by Dino Viehland.
| * Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.Serhiy Storchaka2013-05-042-0/+4
| |
* | add trailing newline to fileBrett Cannon2013-05-031-1/+1
| |
* | Move test_imp over to unittest.main()Brett Cannon2013-05-031-16/+6
| |
* | Guard more tests in test_imp requiring imp.load_dynamic() to exist.Brett Cannon2013-05-031-6/+13
| |
* | #15902: merge w/ 3.3Brett Cannon2013-05-032-2/+21
|\ \ | |/
| * Issue #15902: Fix imp.load_module() to accept None as a file whenBrett Cannon2013-05-032-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().
* | mergeRaymond Hettinger2013-05-032-0/+5
|\ \ | |/
| * Issue #15535: Fix pickling of named tuples.Raymond Hettinger2013-05-032-0/+5
| |
* | Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise ↵Antoine Pitrou2013-05-012-12/+37
| | | | | | | | an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.
* | #17802: merge with 3.3.Ezio Melotti2013-05-012-0/+15
|\ \ | |/
| * #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas ↵Ezio Melotti2013-05-012-0/+15
| | | | | | | | Barlow.
* | #14679: add an __all__ (that contains only HTMLParser) to html.parser.Ezio Melotti2013-05-011-0/+2
| |
* | #11078: test___all__ now checks for duplicates in __all__. Initial patch by ↵Ezio Melotti2013-05-011-11/+14
| | | | | | | | R. David Murray.
* | Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-301-21/+24
|\ \ | |/
| * Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-301-21/+24
| |
* | check local class namespace before reaching for cells (closes #17853)Benjamin Peterson2013-04-303-1/+19
| |
* | refactor traceback.py to reduce code duplication (closes #17646)Benjamin Peterson2013-04-292-143/+132
| | | | | | | | Patch by Martin Morrison.
* | merge 3.3Benjamin Peterson2013-04-291-0/+7
|\ \ | |/
| * raise an ImportError (rather than fatal) when __import__ is not found in ↵Benjamin Peterson2013-04-291-0/+7
| | | | | | | | __builtins__ (closes #17867)
* | merge for issue #17358Brett Cannon2013-04-281-2/+12
|\ \ | |/
| * Issue #17358: imp.load_source() and load_compiled() should now returnBrett Cannon2013-04-281-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 Storchaka2013-04-281-2/+10
|\ \ | |/
| * Added base64 module tests for non-binary files.Serhiy Storchaka2013-04-281-2/+10
| |
* | Issue #17842. Added base64 module tests with bytearray arguments.Serhiy Storchaka2013-04-281-1/+26
|\ \ | |/ | | | | Original patch by Kushal Das.
| * Issue #17842. Added base64 module tests with bytearray arguments.Serhiy Storchaka2013-04-281-1/+26
| | | | | | | | Original patch by Kushal Das.
* | Issue #17804: New function ``struct.iter_unpack`` allows for streaming ↵Antoine Pitrou2013-04-262-1/+74
| | | | | | | | struct unpacking.
* | merge headsGiampaolo Rodola'2013-04-264-45/+86
|\ \
| * | 17830: preserve line endings of original file when updating keywords.R David Murray2013-04-252-38/+42
| | | | | | | | | | | | | | | This fixes the test failures on Windows from the new tests, and includes test fixes as well as the module fix.