Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | importlib.abc.SourceLoader.get_source() was re-raising SyntaxError and | Brett Cannon | 2013-06-16 | 1 | -0/+3 |
| | | | | | | | | | UnicodeDecodeError as ImportError. That was over-reaching the point of raising ImportError in get_source() (which is to signal the source code was not found when it should have). Conflating the two exceptions with ImportError could lead to masking errors with the source which should be known outside of whether there was an error simply getting the source to begin with. | ||||
* | Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoader | Brett Cannon | 2013-06-16 | 1 | -0/+4 |
| | | | | | conform the the InspectLoader ABC. Perk of this is that runpy/-m can now work with namespace packages. | ||||
* | Issue #17177: The imp module is pending deprecation. | Brett Cannon | 2013-06-16 | 1 | -0/+2 |
| | | | | | | To make sure there is no issue with code that is both Python 2 and 3 compatible, there are no plans to remove the module any sooner than Python 4 (unless the community moves to Python 3 solidly before then). | ||||
* | Prevent a possible double close of parent pipe fds when the subprocess | Gregory P. Smith | 2013-06-16 | 1 | -0/+4 |
|\ | | | | | | | | | exec runs into an error. Prevent a regular multi-close of the /dev/null fd when any of stdin, stdout and stderr was set to DEVNULL. | ||||
| * | news entry for subprocess double close fix. | Gregory P. Smith | 2013-06-16 | 1 | -0/+4 |
| | | |||||
* | | Merge with 3.3 | Andrew Kuchling | 2013-06-15 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | #18113: Objects associated to a curses.panel object with set_userptr() were ↵ | Andrew Kuchling | 2013-06-15 | 1 | -0/+3 |
| | | | | | | | | | | | | leaked. Reported by Atsuo Ishimoto. | ||||
* | | merge w/ 3.3 | Brett Cannon | 2013-06-15 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Drop some dead imports of imp | Brett Cannon | 2013-06-15 | 1 | -0/+2 |
| | | |||||
* | | Issue #18194: Introduce importlib.util.cache_from_source() and | Brett Cannon | 2013-06-15 | 1 | -0/+4 |
| | | | | | | | | | | source_from_cache(), finishing the work introduced in changset 4134:9cacdb9d0c59. | ||||
* | | Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python ↵ | Ethan Furman | 2013-06-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | standard library). Missing files added. News entry added. | ||||
* | | Issue #17907: Document types.ModuleType's constructor and attributes, | Brett Cannon | 2013-06-14 | 1 | -0/+3 |
| | | | | | | | | allowing for documenting imp.new_module() as deprecated. | ||||
* | | Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the | Brett Cannon | 2013-06-14 | 1 | -0/+3 |
| | | | | | | | | deprecation of imp.get_magic(). | ||||
* | | merge | Brett Cannon | 2013-06-14 | 2 | -0/+4 |
|\ \ | |||||
| * | | Issue #18149: Add filecmp.clear_cache() to manually clear the filecmp cache. | Ned Deily | 2013-06-14 | 2 | -0/+4 |
| | | | | | | | | | | | | Patch by Mark Levitt | ||||
* | | | Issue #17222: Raise FileExistsError when py_compile.compile would | Brett Cannon | 2013-06-14 | 1 | -0/+3 |
|/ / | | | | | | | overwrite a symlink or non-regular file with a regular file. | ||||
* | | Issue #18193: Add importlib.reload(), documenting (but not | Brett Cannon | 2013-06-14 | 1 | -0/+2 |
| | | | | | | | | | | | | implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch. | ||||
* | | Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 ↵ | Christian Heimes | 2013-06-14 | 1 | -0/+2 |
|\ \ | |/ | | | | | on Windows | ||||
| * | Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 ↵ | Christian Heimes | 2013-06-14 | 1 | -0/+5 |
| | | | | | | | | on Windows | ||||
* | | Issue #15767: Touch up ModuleNotFoundError usage by import. | Brett Cannon | 2013-06-13 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to raise ModuleNotFoundError when None is found in sys.modules. This led to introducing the C function PyErr_SetImportErrorSubclass() to make setting ModuleNotFoundError easier. Also updated the reference docs to mention ModuleNotFoundError appropriately. Updated the docs for ModuleNotFoundError to mention the None in sys.modules case. Lastly, it was noticed that PyErr_SetImportError() was not setting an exception when returning None in one case. That issue is now fixed. | ||||
* | | Issue #15767: Introduce ModuleNotFoundError, a subclass of | Brett Cannon | 2013-06-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem. | ||||
* | | #18196: merge with 3.3 | Roger Serwy | 2013-06-12 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | #18196: Avoid displaying spurious SystemExit tracebacks. | Roger Serwy | 2013-06-12 | 1 | -0/+2 |
| | | |||||
* | | #5492: merge with 3.3 | Roger Serwy | 2013-06-12 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | #5492: Avoid traceback when exiting IDLE caused by a race condition. | Roger Serwy | 2013-06-12 | 1 | -0/+2 |
| | | |||||
* | | Issue #18157: stop using imp.load_module() in imp. | Brett Cannon | 2013-06-11 | 1 | -0/+2 |
| | | |||||
* | | #17511: merge with 3.3. | Roger Serwy | 2013-06-11 | 2 | -0/+4 |
|\ \ | |/ | |||||
| * | #17511: Keep IDLE find dialog open after clicking "Find Next". | Roger Serwy | 2013-06-11 | 2 | -0/+4 |
| | | | | | | | | Original patch by Sarah K. | ||||
* | | merge 3.3 (#18183) | Benjamin Peterson | 2013-06-10 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵ | Benjamin Peterson | 2013-06-10 | 1 | -0/+3 |
| | | | | | | | | (see #18183) | ||||
* | | Merge. | Richard Oudkerk | 2013-06-10 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). | Richard Oudkerk | 2013-06-10 | 1 | -0/+2 |
| | | |||||
* | | Issue #16102: Make uuid._netbios_getnode() work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #16102: Make uuid._netbios_getnode() work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 1 | -0/+2 |
| | | |||||
* | | Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store. | Christian Heimes | 2013-06-09 | 1 | -0/+2 |
| | | |||||
* | | Issue #18143: Implement ssl.get_default_verify_paths() in order to debug | Christian Heimes | 2013-06-09 | 1 | -0/+3 |
| | | | | | | | | the default locations for cafile and capath. | ||||
* | | Issue #15239: Make mkstringprep.py work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #15239: Make mkstringprep.py work again on Python 3. | Serhiy Storchaka | 2013-06-09 | 1 | -0/+5 |
| | | |||||
* | | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 1 | -0/+3 |
|\ \ | |/ | | | | | encoding now always contains an encoding name. | ||||
| * | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 1 | -0/+3 |
| | | | | | | | | encoding now always contains an encoding name. | ||||
* | | #18126: merge with 3.3. | Ezio Melotti | 2013-06-08 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | #18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev. | Ezio Melotti | 2013-06-08 | 1 | -0/+1 |
| | | |||||
* | | #17691: merge with 3.3. | Ezio Melotti | 2013-06-08 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | #17691: test_univnewlines now works with unittest test discovery. Patch by ↵ | Ezio Melotti | 2013-06-08 | 1 | -0/+3 |
| | | | | | | | | Zachary Ware. | ||||
* | | Fixed #18150: duplicate test inside TestSingleDispatch | Łukasz Langa | 2013-06-07 | 1 | -0/+1 |
| | | | | | | | | Thanks to Vajrasky Kok for the patch | ||||
* | | merge w/ 3.3 for issue #18055 | Brett Cannon | 2013-06-07 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #18055: Move to importlib from imp for IDLE. | Brett Cannon | 2013-06-07 | 1 | -0/+2 |
| | | |||||
* | | Issue #17314: Stop using imp in multiprocessing.forking and move over | Brett Cannon | 2013-06-07 | 1 | -0/+2 |
| | | | | | | | | to importlib. | ||||
* | | Closes #11959: SMTPServer and SMTPChannel now take an optional map, use of ↵ | Vinay Sajip | 2013-06-07 | 1 | -0/+3 |
| | | | | | | | | which avoids affecting global state. | ||||
* | | Issue #17931: Resolve confusion on Windows between pids and process handles. | Richard Oudkerk | 2013-06-05 | 1 | -3/+2 |
| | |