cpython/Python
Brett Cannon a79e4fb38d Issue #18342: Use the repr of a module name for ``from ... import
...`` when an ImportError occurs.

Other cases had already been switched over to using the repr.

Thanks to Tomasz Maćkowiak for the patch.
2013-07-12 11:22:26 -04:00
..
Python-ast.c Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() 2013-05-20 19:13:19 +02:00
_warnings.c Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable. 2013-05-08 13:23:25 +02:00
asdl.c Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353. 2012-05-15 14:45:03 +02:00
ast.c move declaration to top of block 2013-03-18 10:59:41 -07:00
bltinmodule.c Merge: #18424: PEP8ify the tense of the sum docstring. 2013-07-10 16:22:59 -04:00
ceval.c Issue #18342: Use the repr of a module name for ``from ... import 2013-07-12 11:22:26 -04:00
ceval_gil.h Issue #15038: Optimize python Locks on Windows 2012-06-18 20:30:44 +00:00
codecs.c Issue #18408: normalizestring() now raises MemoryError on memory allocation failure 2013-07-12 00:02:55 +02:00
compile.c Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure properly 2013-07-11 22:50:45 +02:00
condvar.h Issue #15038 : Fixing the condition broadcast and docs. 2013-03-19 20:18:37 -07:00
dtoa.c Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf'). 2012-04-29 15:31:56 +01:00
dup2.c
dynamic_annotations.c
dynload_aix.c Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 2013-02-09 23:14:42 +01:00
dynload_dl.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_hpux.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_next.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_shlib.c #16135: Removal of OS/2 support (I) 2012-10-05 01:04:27 +02:00
dynload_stub.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_win.c Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). 2013-06-10 15:38:54 +01:00
errors.c Issue #18408: errors.c: in debug mode, calling PyErr_BadInternalCall() now 2013-07-12 00:37:30 +02:00
fileutils.c Issue #18203: Fix decode_ascii_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() 2013-07-07 16:35:54 +02:00
formatter_unicode.c Issue #9566: Fix a compiler warning on Windows x64 2013-06-24 23:34:15 +02:00
frozen.c make some freezing related stuff const 2013-03-13 14:06:39 -05:00
frozenmain.c
future.c C89 compliance 2013-03-16 15:38:28 -07:00
getargs.c Issue #9566: Fix compilater warnings on Windows 64-bit 2013-06-05 01:18:13 +02:00
getcompiler.c
getcopyright.c bring Python into 2013 2012-12-31 21:37:21 -06:00
getcwd.c
getopt.c #16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka. 2012-11-23 18:48:32 +02:00
getplatform.c
getversion.c
graminit.c Backed out changeset 521232b05b97 2013-03-20 00:39:41 -05:00
import.c Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError 2013-07-04 17:48:16 -04:00
importdl.c Issue #18426: improve exception message. Courtesy of Amaury 2013-07-11 13:02:30 +02:00
importdl.h #16135: Removal of OS/2 support (I) 2012-10-05 01:04:27 +02:00
importlib.h Issue #18415: Normalize what type of quotes are used with string 2013-07-12 11:04:23 -04:00
makeopcodetargets.py
marshal.c Issue #17872: Fix a segfault in marshal.load() when input stream returns 2013-07-11 22:28:18 +03:00
modsupport.c
mysnprintf.c
mystrtoul.c Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 2013-02-09 23:11:27 +01:00
opcode_targets.h rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
peephole.c Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation 2013-07-09 00:32:04 +02:00
pyarena.c Issue #18203: Replace malloc() with PyMem_Malloc() to allocate arena objects 2013-07-07 17:18:53 +02:00
pyctype.c
pyfpe.c
pymath.c
pystate.c Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 2013-07-07 16:25:15 +02:00
pystrcmp.c
pystrtod.c Issue #9566: pystrtod.c: Fix a compiler warnings on Windows x64 2013-06-24 23:37:40 +02:00
pythonrun.c Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 2013-07-07 23:30:24 +02:00
pytime.c PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result 2012-06-12 22:46:37 +02:00
random.c Drop support for Windows 2000; allow any XP API (but not Vista+). 2013-01-25 14:06:18 +01:00
sigcheck.c
strdup.c
structmember.c Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 2012-09-11 17:30:53 +02:00
symtable.c Issue #18408: ste_new() initialize all attributes before handling error 2013-07-11 22:49:00 +02:00
sysmodule.c #13226: update references from ctypes/DLFCN modules to os module 2013-06-21 10:58:41 -04:00
thread.c Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 2013-07-07 16:25:15 +02:00
thread_foobar.h
thread_nt.h Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 2013-07-07 17:17:59 +02:00
thread_pth.h
thread_pthread.h Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 2013-07-07 17:17:59 +02:00
traceback.c Fix compilater warnings on Windows 64-bit 2013-05-17 00:12:04 +02:00