summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Correct warnings when building the docs for the nonexistet :arg: role. ↵Brian Curtin2012-04-161-5/+5
| | | | | | | | Changed to asterisks.
* | Add documentation for the new PyErr_SetFromImport* functionsBrian Curtin2012-04-161-0/+18
| |
* | Fix another refleakAntoine Pitrou2012-04-161-3/+7
| |
* | Fix a refleakAntoine Pitrou2012-04-161-2/+3
| |
* | pep8-ize test namesAntoine Pitrou2012-04-161-3/+3
| |
* | Fix refleak in test_gcAntoine Pitrou2012-04-161-1/+2
| |
* | Fix reference loss on Py_None when None is encountered in sys.modules.Antoine Pitrou2012-04-161-0/+1
| |
* | Avoid compiler warning due to stray \x00Antoine Pitrou2012-04-162-3/+3
| |
* | Avoid rebuilding all C files when importlib.h is updated.Antoine Pitrou2012-04-161-1/+2
| |
* | Add an explicit mention of a backwards-incompatible fix that importlib ↵Brett Cannon2012-04-161-0/+3
| | | | | | | | implicitly fixed.
* | Closes #14452: brought tests in line with removal of BOM insertion code.Vinay Sajip2012-04-161-3/+3
| |
* | Merged tweaks to cookbook example from 3.2.Vinay Sajip2012-04-161-5/+5
|\ \ | |/
| * Tweaked format of cookbook example.Vinay Sajip2012-04-161-5/+5
| |
* | Merged cookbook update from 3.2.Vinay Sajip2012-04-161-0/+44
|\ \ | |/
| * Added cookbook example for BOM insertion.Vinay Sajip2012-04-161-0/+44
| |
* | Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-162-1/+3
|\ \ | |/
| * Closes #14452: remove BOM insertion code.Vinay Sajip2012-04-162-2/+2
| |
* | Fix #10854. Make use of the new path and name attributes on ImportErrorBrian Curtin2012-04-163-2/+25
| | | | | | | | for extension modules on Windows.
* | mergeBrett Cannon2012-04-162-112/+114
|\ \
| * \ Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵Antoine Pitrou2012-04-162-112/+114
| |\ \ | | |/ | | | | | | test failure in test_ssl.
| | * Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵Antoine Pitrou2012-04-162-112/+117
| | | | | | | | | | | | test failure in test_ssl.
* | | Issue #13959: Re-implement imp.load_package() in imp.py.Brett Cannon2012-04-162-173/+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-162-54/+28
| |
* | mergeBrett Cannon2012-04-159-75/+369
|\ \
| * | Issue #14386: Expose the dict_proxy internal type as types.MappingProxyTypeVictor Stinner2012-04-159-75/+369
| | |
* | | Consider load_dynamic() something to keep in _imp.Brett Cannon2012-04-151-3/+4
| | |
* | | Try to get hg to treat importlib.h as binary.Brett Cannon2012-04-152-0/+2
|/ /
* | Issue #13959: Simplify imp.reload() by relying on a module'sBrett Cannon2012-04-152-34/+13
| | | | | | | | | | | | | | | | | | | | __loader__. Since import now sets __loader__ on all modules it creates and imp.reload() already relied on the attribute for modules that import didn't create, the only potential compatibility issue is if people were deleting the attribute on modules and expecting imp.reload() to continue to work.
* | Update importlib.hBrett Cannon2012-04-151-2616/+2616
| |
* | Issue #13959: Rename imp to _imp and add Lib/imp.py and beginBrett Cannon2012-04-1510-2808/+2844
| | | | | | | | | | | | | | 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-155-500/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Set ImportError.name when raising the exception in the case of NoneBrett Cannon2012-04-151-2/+5
|/ / | | | | | | found in sys.modules.
* | Issue #13496: Merge from 3.2Mark Dickinson2012-04-153-2/+18
|\ \ | |/
| * Issue 13496: Fix bisect.bisect overflow bug for large collections.Mark Dickinson2012-04-153-2/+18
| |
* | Issue #13889: Merge fix from 3.2.Mark Dickinson2012-04-152-0/+28
|\ \ | |/
| * Issue #13889: On MSVC builds, set FPU control word at runtime for all string ↵Mark Dickinson2012-04-152-0/+28
| | | | | | | | <-> float conversions. Patch by Samuel Iseli and Stefan Krah.
* | Issue #10576: Add a progress callback to gcmoduleKristján Valur Jónsson2012-04-154-9/+249
| |
* | Merge with 3.2: use ws2_32.lib rather than wsock32.lib on windows.Kristján Valur Jónsson2012-04-154-26/+26
|\ \ | |/
| * Make all socket related modules link with ws2_32.lib on windows, likeKristján Valur Jónsson2012-04-154-26/+26
| | | | | | | | _socket does. Some were using the older wsock32.lib.
* | Merge with remote.Ross Lagerwall2012-04-151-4/+5
|\ \
| * | Be less verbose when building dbm.Ross Lagerwall2012-04-151-4/+5
| | |
* | | Plug a refleak.Brett Cannon2012-04-151-2/+1
|/ /
* | Clarify that one should not use __import__() directly. Also mentionBrett Cannon2012-04-151-3/+5
| | | | | | | | PEP 328 in explaining how 'index' works.
* | Handle importing pkg.mod by executingBrett Cannon2012-04-154-253/+276
| | | | | | | | | | __import__('mod', {'__packaging__': 'pkg', level=1) w/o properly (and thus not segfaulting).
* | Rebuild importlib.h to incorporate added comments.Brett Cannon2012-04-151-30/+30
| |
* | IDLE was relying on implicit relative imports which have gone away inBrett Cannon2012-04-151-3/+7
| | | | | | | | | | Python 3.3 thanks to importlib finishing the work in PEP 328 that accidently got carried forward.
* | Add some comments.Brett Cannon2012-04-141-0/+2
| |
* | merge with the tipBrian Curtin2012-04-141-2/+2
|\ \