cpython/Python
Brett Cannon 7d006260a5 Merged revisions 81380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81380 | brett.cannon | 2010-05-20 11:37:55 -0700 (Thu, 20 May 2010) | 8 lines

  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:41:08 +00:00
..
Python-ast.c Merged revisions 76774 via svnmerge from 2009-12-13 00:59:01 +00:00
_warnings.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
asdl.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
ast.c Merged revisions 76416-76417 via svnmerge from 2009-11-19 23:01:36 +00:00
atof.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
bltinmodule.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
ceval.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
codecs.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
compile.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +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 Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_atheos.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_beos.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_next.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_os2.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_shlib.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_stub.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dynload_win.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
errors.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
formatter_string.c Refactor and clean up str.format() code (and helpers) in advance of optimizations. 2008-05-30 18:10:04 +00:00
formatter_unicode.c Refactor and clean up str.format() code (and helpers) in advance of optimizations. 2008-05-30 18:10:04 +00:00
frozen.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
frozenmain.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
future.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
getargs.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +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 Merged revisions 77203-77204 via svnmerge from 2010-01-01 04:46:19 +00:00
getcwd.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
getmtime.c spread the extern "C" { } magic pixie dust around. Python itself builds now 2006-04-13 02:06:09 +00:00
getopt.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +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 Merged revisions 81220 via svnmerge from 2010-05-15 22:58:41 +00:00
import.c Merged revisions 81380 via svnmerge from 2010-05-20 18:41:08 +00:00
importdl.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
importdl.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
mactoolboxglue.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
marshal.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
modsupport.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
mysnprintf.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
mystrtoul.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
peephole.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pyarena.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +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 Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pystate.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pystrcmp.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pystrtod.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pythonrun.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +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 Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
structmember.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
symtable.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
sysmodule.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_atheos.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_beos.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_cthread.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_foobar.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_lwp.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_nt.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_os2.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_pth.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_pthread.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_sgi.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_solaris.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_wince.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
traceback.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00