summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14127: Add st_{cma}time_ns fields to os.stat() result object.Larry Hastings2012-04-191-0/+7
|
* Issue #14308: Fix an exception when a dummy thread is in the threading ↵Antoine Pitrou2012-04-192-0/+32
|\ | | | | | | module's active list after a fork().
| * Issue #14308: Fix an exception when a "dummy" thread is in the threading ↵Antoine Pitrou2012-04-192-0/+32
| | | | | | | | module's active list after a fork().
* | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+23
| | | | | | | | Patch by Stefan Behnel.
* | Merge from 3.2Nick Coghlan2012-04-191-1/+1
|\ \ | |/
| * Close #14032: fix incorrect variable reference in test_cmd_line_scriptNick Coghlan2012-04-191-1/+1
| |
* | #14538: merge with 3.2.Ezio Melotti2012-04-192-3/+13
|\ \ | |/
| * #14538: HTMLParser can now parse correctly start tags that contain a bare /.Ezio Melotti2012-04-192-3/+13
| |
* | Issue #14385: Support other types than dict for __builtins__Victor Stinner2012-04-181-0/+33
| | | | | | | | | | | | It is now possible to use a custom type for the __builtins__ namespace, instead of a dict. It can be used for sandboxing for example. Raise also a NameError instead of ImportError if __build_class__ name if not found in __builtins__.
* | don't bother keeping a set we'll never useBenjamin Peterson2012-04-181-1/+2
| |
* | Issue #11750: The Windows API functions scattered in the _subprocess andAntoine Pitrou2012-04-186-122/+153
| | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
* | merge 3.2 (#14612)Benjamin Peterson2012-04-181-0/+11
|\ \ | |/
| * SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ↵Benjamin Peterson2012-04-181-0/+11
| | | | | | | | (closes #14612)
* | rollback 005fd1fe31ab (see #14609 and #14582)Benjamin Peterson2012-04-182-14/+34
| | | | | | | | | | Being able to overload a sys.module entry during import of a module was broken by this changeset.
* | MergeBrett Cannon2012-04-181-0/+6
|\ \
| * \ merge 3.2 (#14607)Benjamin Peterson2012-04-171-0/+6
| |\ \ | | |/
| | * mangle keyword-only argname when loading defaults (closes #14607)Benjamin Peterson2012-04-171-0/+6
| | |
* | | Issue #12599: Be more strict in accepting None vs. a false-like objectBrett Cannon2012-04-183-4/+27
|/ / | | | | | | | | | | | | in importlib. Thanks to PJE for pointing out the issue and Nick Coghlan for filing the bug.
* | Issue #13959: Re-implement imp.load_compiled() in imp.py.Brett Cannon2012-04-171-5/+20
| |
* | Issue #14592: A relative import will raise a KeyError if __package__Brett Cannon2012-04-171-0/+5
| | | | | | | | | | | | or __name__ are not set in globals. Thanks to Stefan Behnel for the bug report.
* | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users canCharles-François Natali2012-04-171-2/+9
|\ \ | |/ | | | | chown() to root under certain circumstances.
| * Issue #5113: Fix a test_posix failure on HP-UX, where non-root users canCharles-François Natali2012-04-171-2/+9
| | | | | | | | chown() to root under certain circumstances.
* | Issue #14087: multiprocessing: add Condition.wait_for(). Patch by sbt.Charles-François Natali2012-04-173-0/+105
| |
* | #14603: use a listcomp in ZipFile.namelist.Ezio Melotti2012-04-171-4/+1
| |
* | Properly guard against special-casing.Brett Cannon2012-04-171-1/+1
| |
* | Issue #13959: Re-implement imp.load_source() in imp.py.Brett Cannon2012-04-171-1/+28
| |
* | Issue #14599: Fix an import caching race condition.Brett Cannon2012-04-171-0/+1
| |
* | Issue #14599: Make test_reprlib robust against import cache raceBrett Cannon2012-04-171-0/+7
| | | | | | | | conditions when regrtest is run with its -j option.
* | Issue #13959: Fix a logic bug.Brett Cannon2012-04-171-1/+1
| |
* | pep8-ize test namesAntoine Pitrou2012-04-161-3/+3
| |
* | Fix refleak in test_gcAntoine Pitrou2012-04-161-1/+2
| |
* | Closes #14452: brought tests in line with removal of BOM insertion code.Vinay Sajip2012-04-161-3/+3
| |
* | Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-161-1/+1
|\ \ | |/
| * Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-161-2/+0
| |
* | Fix #10854. Make use of the new path and name attributes on ImportErrorBrian Curtin2012-04-161-0/+18
| | | | | | | | for extension modules on Windows.
* | mergeBrett Cannon2012-04-161-112/+111
|\ \
| * \ Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵Antoine Pitrou2012-04-161-112/+111
| |\ \ | | |/ | | | | | | test failure in test_ssl.
| | * Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵Antoine Pitrou2012-04-161-112/+111
| | | | | | | | | | | | test failure in test_ssl.
* | | Issue #13959: Re-implement imp.load_package() in imp.py.Brett Cannon2012-04-161-2/+17
|/ / | | | | | | | | Thanks to Eric Snow for helping with imp.load_module() (previous commit) which led to the removal of a bunch of C code.
* | Issue #13959: Re-implement imp.load_module() in imp.py.Brett Cannon2012-04-161-1/+28
| |
* | mergeBrett Cannon2012-04-153-5/+184
|\ \
| * | Issue #14386: Expose the dict_proxy internal type as types.MappingProxyTypeVictor Stinner2012-04-153-5/+184
| | |
* | | Consider load_dynamic() something to keep in _imp.Brett Cannon2012-04-151-3/+4
|/ /
* | Issue #13959: Rename imp to _imp and add Lib/imp.py and beginBrett Cannon2012-04-152-30/+62
| | | | | | | | | | | | | | rewriting functionality in pure Python. To start, imp.new_module() has been rewritten in pure Python, put into importlib (privately) and then publicly exposed in imp.
* | mergeBrett Cannon2012-04-151-2/+2
|\ \
| * | utilize startswith(tuple)Philip Jenvey2012-04-151-2/+2
| | |
* | | Issue #14582: Import returns the module returned by a loader insteadBrett Cannon2012-04-152-34/+14
|/ / | | | | | | | | | | | | | | | | | | | | | | of sys.modules when possible. This is being done for two reasons. One is to gain a little bit of performance by skipping an unnecessary dict lookup in sys.modules. But the other (and main) reason is to be a little bit more clear in how things should work from the perspective of import's interactions with loaders. Otherwise loaders can easily forget to return the module even though PEP 302 explicitly states they are expected to return the module they loaded.
* | Issue #13496: Merge from 3.2Mark Dickinson2012-04-151-0/+7
|\ \ | |/
| * Issue 13496: Fix bisect.bisect overflow bug for large collections.Mark Dickinson2012-04-151-0/+7
| |
| * #14399: zipfile now correctly handles comments added to empty zipfiles.R David Murray2012-04-122-11/+44
| | | | | | | | | | | | | | | | Patch by Serhiy Storchaka. This also moves the TypeError that results from trying to use a unicode comment from the 'close' step to the point at which the comment is added to the zipfile.