cpython/Python
Brett Cannon eb3cd301ae Turned out that if you used explicit relative import syntax
(e.g. from .os import sep) and it failed, import would still try the implicit
relative import semantics of an absolute import (from os import sep). That's
not right, so when level is negative, only do explicit relative import
semantics.

Fixes issue #7902. Thanks to Meador Inge for the patch.
2010-05-20 18:37:55 +00:00
..
_warnings.c When DeprecationWarning was silenced by default, it also silenced any use of -Q 2010-04-25 22:33:36 +00:00
asdl.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
ast.c Remove two unneeded branches to an 'if' statement by applying De Morgan's Law 2010-05-05 20:30:30 +00:00
atof.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
bltinmodule.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
ceval.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
codecs.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
compile.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dtoa.c Remove three unneeded variable assignments. 2010-05-05 20:20:19 +00:00
dup2.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
dynload_aix.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_atheos.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_beos.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_next.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_os2.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_shlib.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dynload_stub.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dynload_win.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
errors.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
formatter_string.c Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. 2009-10-15 17:45:39 +00:00
formatter_unicode.c Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
frozen.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
frozenmain.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
future.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getargs.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getcompiler.c The GCC version is loooooooooong; put it on a new line. 2000-09-05 04:40:39 +00:00
getcopyright.c update copyright year 2010-01-01 04:00:55 +00:00
getcwd.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getopt.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
getplatform.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getversion.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
graminit.c Use 4-spaces for indentation (instead of tabs) in pgen outputs 2010-05-15 22:55:28 +00:00
import.c Turned out that if you used explicit relative import syntax 2010-05-20 18:37:55 +00:00
importdl.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
importdl.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
mactoolboxglue.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
marshal.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
modsupport.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
mysnprintf.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
mystrtoul.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
peephole.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pyarena.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pyctype.c Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
pyfpe.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
pymath.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pystate.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pystrcmp.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
pystrtod.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
Python-ast.c Update version information for AST changes in r77422. 2010-01-11 22:46:43 +00:00
pythonrun.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
sigcheck.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
strdup.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strtod.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
structmember.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
symtable.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
sysmodule.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_atheos.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_beos.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_cthread.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_foobar.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_lwp.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_nt.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_os2.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_pth.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_pthread.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_sgi.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_solaris.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
thread_wince.h Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
traceback.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00