- 14 Haz, 2013 1 kayıt (commit)
-
-
Brett Cannon yazdı
ModuleNotFoundError.
-
- 13 Haz, 2013 9 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Brett Cannon yazdı
when None in sys.modules.
-
Brett Cannon yazdı
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.
-
Brett Cannon yazdı
instead of manually listing tests for test.support.run_unittest().
-
Brett Cannon yazdı
reaped in all situations.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
unittest.main().
-
- 12 Haz, 2013 9 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
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.
-
Brett Cannon yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
- 11 Haz, 2013 8 kayıt (commit)
-
-
Ned Deily yazdı
-
Ned Deily yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
test_importlib.
-
Brett Cannon yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
Original patch by Sarah K.
-
- 10 Haz, 2013 9 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Richard Oudkerk yazdı
-
Richard Oudkerk yazdı
-
Richard Oudkerk yazdı
-
Richard Oudkerk yazdı
-
Christian Heimes yazdı
-
Ronald Oussoren yazdı
AI_NUMERICSERV isn't defined on OSX 10.4.
-
Ronald Oussoren yazdı
AI_NUMERICSERV isn't defined on OSX 10.4.
-
- 09 Haz, 2013 4 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-