Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Correct warnings when building the docs for the nonexistet :arg: role. ↵ | Brian Curtin | 2012-04-16 | 1 | -5/+5 | |
| | | | | | | | | Changed to asterisks. | |||||
* | | Add documentation for the new PyErr_SetFromImport* functions | Brian Curtin | 2012-04-16 | 1 | -0/+18 | |
| | | ||||||
* | | Fix another refleak | Antoine Pitrou | 2012-04-16 | 1 | -3/+7 | |
| | | ||||||
* | | Fix a refleak | Antoine Pitrou | 2012-04-16 | 1 | -2/+3 | |
| | | ||||||
* | | pep8-ize test names | Antoine Pitrou | 2012-04-16 | 1 | -3/+3 | |
| | | ||||||
* | | Fix refleak in test_gc | Antoine Pitrou | 2012-04-16 | 1 | -1/+2 | |
| | | ||||||
* | | Fix reference loss on Py_None when None is encountered in sys.modules. | Antoine Pitrou | 2012-04-16 | 1 | -0/+1 | |
| | | ||||||
* | | Avoid compiler warning due to stray \x00 | Antoine Pitrou | 2012-04-16 | 2 | -3/+3 | |
| | | ||||||
* | | Avoid rebuilding all C files when importlib.h is updated. | Antoine Pitrou | 2012-04-16 | 1 | -1/+2 | |
| | | ||||||
* | | Add an explicit mention of a backwards-incompatible fix that importlib ↵ | Brett Cannon | 2012-04-16 | 1 | -0/+3 | |
| | | | | | | | | implicitly fixed. | |||||
* | | Closes #14452: brought tests in line with removal of BOM insertion code. | Vinay Sajip | 2012-04-16 | 1 | -3/+3 | |
| | | ||||||
* | | Merged tweaks to cookbook example from 3.2. | Vinay Sajip | 2012-04-16 | 1 | -5/+5 | |
|\ \ | |/ | ||||||
| * | Tweaked format of cookbook example. | Vinay Sajip | 2012-04-16 | 1 | -5/+5 | |
| | | ||||||
* | | Merged cookbook update from 3.2. | Vinay Sajip | 2012-04-16 | 1 | -0/+44 | |
|\ \ | |/ | ||||||
| * | Added cookbook example for BOM insertion. | Vinay Sajip | 2012-04-16 | 1 | -0/+44 | |
| | | ||||||
* | | Closes #14452: remove BOM insertion code. | Vinay Sajip | 2012-04-16 | 2 | -1/+3 | |
|\ \ | |/ | ||||||
| * | Closes #14452: remove BOM insertion code. | Vinay Sajip | 2012-04-16 | 2 | -2/+2 | |
| | | ||||||
* | | Fix #10854. Make use of the new path and name attributes on ImportError | Brian Curtin | 2012-04-16 | 3 | -2/+25 | |
| | | | | | | | | for extension modules on Windows. | |||||
* | | merge | Brett Cannon | 2012-04-16 | 2 | -112/+114 | |
|\ \ | ||||||
| * \ | Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵ | Antoine Pitrou | 2012-04-16 | 2 | -112/+114 | |
| |\ \ | | |/ | | | | | | | test failure in test_ssl. | |||||
| | * | Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a ↵ | Antoine Pitrou | 2012-04-16 | 2 | -112/+117 | |
| | | | | | | | | | | | | test failure in test_ssl. | |||||
* | | | Issue #13959: Re-implement imp.load_package() in imp.py. | Brett Cannon | 2012-04-16 | 2 | -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 Cannon | 2012-04-16 | 2 | -54/+28 | |
| | | ||||||
* | | merge | Brett Cannon | 2012-04-15 | 9 | -75/+369 | |
|\ \ | ||||||
| * | | Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType | Victor Stinner | 2012-04-15 | 9 | -75/+369 | |
| | | | ||||||
* | | | Consider load_dynamic() something to keep in _imp. | Brett Cannon | 2012-04-15 | 1 | -3/+4 | |
| | | | ||||||
* | | | Try to get hg to treat importlib.h as binary. | Brett Cannon | 2012-04-15 | 2 | -0/+2 | |
|/ / | ||||||
* | | Issue #13959: Simplify imp.reload() by relying on a module's | Brett Cannon | 2012-04-15 | 2 | -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.h | Brett Cannon | 2012-04-15 | 1 | -2616/+2616 | |
| | | ||||||
* | | Issue #13959: Rename imp to _imp and add Lib/imp.py and begin | Brett Cannon | 2012-04-15 | 10 | -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. | |||||
* | | merge | Brett Cannon | 2012-04-15 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | utilize startswith(tuple) | Philip Jenvey | 2012-04-15 | 1 | -2/+2 | |
| | | | ||||||
* | | | Issue #14582: Import returns the module returned by a loader instead | Brett Cannon | 2012-04-15 | 5 | -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 None | Brett Cannon | 2012-04-15 | 1 | -2/+5 | |
|/ / | | | | | | | found in sys.modules. | |||||
* | | Issue #13496: Merge from 3.2 | Mark Dickinson | 2012-04-15 | 3 | -2/+18 | |
|\ \ | |/ | ||||||
| * | Issue 13496: Fix bisect.bisect overflow bug for large collections. | Mark Dickinson | 2012-04-15 | 3 | -2/+18 | |
| | | ||||||
* | | Issue #13889: Merge fix from 3.2. | Mark Dickinson | 2012-04-15 | 2 | -0/+28 | |
|\ \ | |/ | ||||||
| * | Issue #13889: On MSVC builds, set FPU control word at runtime for all string ↵ | Mark Dickinson | 2012-04-15 | 2 | -0/+28 | |
| | | | | | | | | <-> float conversions. Patch by Samuel Iseli and Stefan Krah. | |||||
* | | Issue #10576: Add a progress callback to gcmodule | Kristján Valur Jónsson | 2012-04-15 | 4 | -9/+249 | |
| | | ||||||
* | | Merge with 3.2: use ws2_32.lib rather than wsock32.lib on windows. | Kristján Valur Jónsson | 2012-04-15 | 4 | -26/+26 | |
|\ \ | |/ | ||||||
| * | Make all socket related modules link with ws2_32.lib on windows, like | Kristján Valur Jónsson | 2012-04-15 | 4 | -26/+26 | |
| | | | | | | | | _socket does. Some were using the older wsock32.lib. | |||||
* | | Merge with remote. | Ross Lagerwall | 2012-04-15 | 1 | -4/+5 | |
|\ \ | ||||||
| * | | Be less verbose when building dbm. | Ross Lagerwall | 2012-04-15 | 1 | -4/+5 | |
| | | | ||||||
* | | | Plug a refleak. | Brett Cannon | 2012-04-15 | 1 | -2/+1 | |
|/ / | ||||||
* | | Clarify that one should not use __import__() directly. Also mention | Brett Cannon | 2012-04-15 | 1 | -3/+5 | |
| | | | | | | | | PEP 328 in explaining how 'index' works. | |||||
* | | Handle importing pkg.mod by executing | Brett Cannon | 2012-04-15 | 4 | -253/+276 | |
| | | | | | | | | | | __import__('mod', {'__packaging__': 'pkg', level=1) w/o properly (and thus not segfaulting). | |||||
* | | Rebuild importlib.h to incorporate added comments. | Brett Cannon | 2012-04-15 | 1 | -30/+30 | |
| | | ||||||
* | | IDLE was relying on implicit relative imports which have gone away in | Brett Cannon | 2012-04-15 | 1 | -3/+7 | |
| | | | | | | | | | | Python 3.3 thanks to importlib finishing the work in PEP 328 that accidently got carried forward. | |||||
* | | Add some comments. | Brett Cannon | 2012-04-14 | 1 | -0/+2 | |
| | | ||||||
* | | merge with the tip | Brian Curtin | 2012-04-14 | 1 | -2/+2 | |
|\ \ |