- 14 Jun, 2013 10 commits
-
-
Ned Deily authored
Patch by Mark Levitt
-
Brett Cannon authored
implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch.
-
Brett Cannon authored
Noticed by Serhly Storchaka.
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
prefix function with PySSL_, too. Other module level functions have a prefix, too.
-
http://hg.python.org/cpython/Christian Heimes authored
searching for changes changeset: 84118:98343392fd81 tag: tip user: Christian Heimes <christian@cheimes.de> date: Fri Jun 14 14:54:48 2013 +0200 files: PC/VS9.0/_socket.vcproj PC/VS9.0/_ssl.vcproj description: Fix compilation of Python with VS 2008 Contrary to VS 2010 the compiler doesn't like semicolon seperated dependency names
-
Ethan Furman authored
-
Brett Cannon authored
-
Brett Cannon authored
ModuleNotFoundError.
-
- 13 Jun, 2013 9 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Brett Cannon authored
when None in sys.modules.
-
Brett Cannon authored
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 authored
instead of manually listing tests for test.support.run_unittest().
-
Brett Cannon authored
reaped in all situations.
-
Brett Cannon authored
-
Brett Cannon authored
unittest.main().
-
- 12 Jun, 2013 9 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
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 authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Roger Serwy authored
-
Roger Serwy authored
-
Roger Serwy authored
-
Roger Serwy authored
-
- 11 Jun, 2013 8 commits
-
-
Ned Deily authored
-
Ned Deily authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
test_importlib.
-
Brett Cannon authored
-
Roger Serwy authored
-
Roger Serwy authored
Original patch by Sarah K.
-
- 10 Jun, 2013 4 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-