summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk2013-05-055-8/+501
| | | | | | | | | 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-055-8/+88
| | | | | | | 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-054-500/+7
|
* Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk2013-05-054-7/+500
| | | | weakref callbacks.
* #17798: merge with 3.3.Roger Serwy2013-05-052-0/+4
|\
| * #17798: Allow IDLE to edit new files when specified on command line.Roger Serwy2013-05-052-0/+4
| |
* | Fix crash caused by 8c1385205a35Antoine Pitrou2013-05-051-6/+8
|\ \ | |/ | | | | (thanks Arfrever for reporting).
| * Fix crash caused by 8c1385205a35Antoine Pitrou2013-05-051-6/+8
| | | | | | | | (thanks Arfrever for reporting).
* | merge w/ 3.3Brett Cannon2013-05-040-0/+0
|\ \ | |/
| * 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: I hate you MS for not supporting C99.Brett Cannon2013-05-041-2/+2
| |
* | mergeBrett Cannon2013-05-042-3/+14
|\ \
| * \ Issue #14173: Avoid crashing when reading a signal handler during ↵Antoine Pitrou2013-05-042-3/+14
| |\ \ | | |/ | | | | | | interpreter shutdown.
| | * Issue #14173: Avoid crashing when reading a signal handler during ↵Antoine Pitrou2013-05-042-3/+14
| | | | | | | | | | | | interpreter shutdown.
* | | #17115: Remove what appears to be a useless chunk of code which brokeBrett Cannon2013-05-041-4/+0
|/ / | | | | | | other tests.
* | Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou2013-05-044-8/+22
|\ \ | |/ | | | | the interpreter is shutdown and then started again.
| * Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou2013-05-044-8/+22
| | | | | | | | the interpreter is shutdown and then started again.
* | Elaborate on bytes-like objects.Antoine Pitrou2013-05-041-2/+6
|\ \ | |/
| * Elaborate on bytes-like objects.Antoine Pitrou2013-05-041-2/+6
| |
* | Issue #5845: Enable tab-completion in the interactive interpreter by ↵Antoine Pitrou2013-05-049-165/+143
| | | | | | | | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo)
* | #17115,17116: Have modules initialize the __package__ and __loader__Brett Cannon2013-05-0415-220/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | #16518: merge with 3.3.Ezio Melotti2013-05-048-28/+24
|\ \ | |/
| * #16518: use "bytes-like object" throughout the docs.Ezio Melotti2013-05-048-28/+24
| |
* | #7855: merge with 3.3.Ezio Melotti2013-05-045-1/+51
|\ \ | |/
| * #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial ↵Ezio Melotti2013-05-045-1/+51
| | | | | | | | patch by Dino Viehland.
* | Null merge (already committed in changeset a3ba5fe9bfd3)Serhiy Storchaka2013-05-040-0/+0
|\ \ | |/
| * Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.Serhiy Storchaka2013-05-043-0/+6
| |
* | 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-033-2/+24
|\ \ | |/
| * Issue #15902: Fix imp.load_module() to accept None as a file whenBrett Cannon2013-05-033-2/+24
| | | | | | | | | | | | | | 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-033-0/+6
|\ \ | |/
| * Issue #15535: Fix pickling of named tuples.Raymond Hettinger2013-05-034-0/+9
| |
* | Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgsAlexandre Vassalotti2013-05-023-7/+6
| |
* | Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise ↵Antoine Pitrou2013-05-013-12/+41
| | | | | | | | an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.
* | #17802: merge with 3.3.Ezio Melotti2013-05-013-0/+18
|\ \ | |/
| * #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas ↵Ezio Melotti2013-05-013-0/+18
| | | | | | | | Barlow.
* | Merge.Charles-Francois Natali2013-05-012-0/+4
|\ \
| * | Move NEWS entry to the right section.Ezio Melotti2013-05-011-2/+2
| | |
| * | #14679: add an __all__ (that contains only HTMLParser) to html.parser.Ezio Melotti2013-05-012-0/+4
| | |
* | | Issue #17529: Fix os.sendfile() documentation regarding the type of fileCharles-Francois Natali2013-05-011-3/+2
|\ \ \ | |/ / |/| / | |/ descriptor supported.
| * Issue #17529: Fix os.sendfile() documentation regarding the type of fileCharles-Francois Natali2013-05-011-3/+2
| | | | | | | | descriptor supported.
* | #11078: test___all__ now checks for duplicates in __all__. Initial patch by ↵Ezio Melotti2013-05-012-11/+17
| | | | | | | | R. David Murray.
* | Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-302-21/+26
|\ \ | |/
| * Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-302-21/+26
| |
* | #16518: merge with 3.3.Ezio Melotti2013-04-301-0/+4
|\ \ | |/
| * #16518: add "bytes-like object" to the glossary.Ezio Melotti2013-04-301-0/+4
| |
* | check local class namespace before reaching for cells (closes #17853)Benjamin Peterson2013-04-3010-122/+187
| |