cpython/Python
Thomas Wouters 8bad612881 Disallow "import mod.submod as m", because the result is ambiguous. Does it
load mod.submod as m, or mod as m ? Both can be achieved differently, and
unambiguously. Also attempt to document this restriction (editor
appreciated!)

Note that this is an artificial check during compile, because incorporating
this in the grammar is hard, and then adjusting the compiler to do the right
thing with the right nodes is harder.
2000-08-19 20:55:02 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
Makefile.in Include the dependence of sysmodule on the patchlevel.h include, so 2000-08-01 17:46:22 +00:00
atof.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
bltinmodule.c comples_from_string(): Move s_buffer[] up to the top-level function 2000-08-18 05:02:16 +00:00
ceval.c Remove a couple of warnings turned up by "gcc -Wall". 2000-08-18 19:53:25 +00:00
codecs.c Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
compile.c Disallow "import mod.submod as m", because the result is ambiguous. Does it 2000-08-19 20:55:02 +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 ANSIfy as many declarations as possible. 2000-07-22 23:38:01 +00:00
dynload_beos.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
dynload_dl.c ANSIfy as many declarations as possible. 2000-07-22 23:38:01 +00:00
dynload_hpux.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
dynload_mac.c delete obsolete SYMANTEC__CFM68K__ #ifdefs 2000-07-12 17:21:42 +00:00
dynload_next.c Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
dynload_os2.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
dynload_shlib.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
dynload_stub.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
dynload_win.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
errors.c Do not set a MemoryError exception over another MemoryError exception, 2000-08-18 18:01:06 +00:00
exceptions.c Remove a couple of warnings turned up by "gcc -Wall". 2000-08-18 19:53:25 +00:00
fmod.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
frozen.c Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
frozenmain.c ANSIfy as many declarations as possible. 2000-07-22 23:38:01 +00:00
getargs.c Changed H specifier to mean "bitfield", i.e. any value from 2000-08-05 21:29:58 +00:00
getcompiler.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getcopyright.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getcwd.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getmtime.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getopt.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getplatform.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
getversion.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
graminit.c Apply SF patch #101135, adding 'import module as m' and 'from module import 2000-08-17 22:55:00 +00:00
hypot.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
import.c Apply SF patch #101135, adding 'import module as m' and 'from module import 2000-08-17 22:55:00 +00:00
importdl.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
importdl.h Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. 2000-07-09 03:09:57 +00:00
marshal.c Included assert.h in Python.h -- it's absurd that this basic tool of 2000-07-23 19:28:35 +00:00
memmove.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
modsupport.c Add a test that Py_IsInitialized() in Py_InitModule4(). See 2000-08-04 14:00:14 +00:00
mystrtoul.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
pyfpe.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
pystate.c Removing warnings by gcc -Wall -- cast ugly || to void. 2000-08-04 21:27:47 +00:00
pythonmain.c Allow mac user to set "command line flags" by option-starting python. 1995-07-29 13:53:59 +00:00
pythonrun.c Remove the osdefs.h #include; it was not needed in the final version of 2000-08-15 16:13:37 +00:00
sigcheck.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strdup.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strerror.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strtod.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
structmember.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
sysmodule.c _PySys_Init(): Fix another Insure discovered memory leak; the PyString 2000-08-16 23:03:57 +00:00
thread.c Prototype yet another forward declaration. 2000-07-24 14:39:50 +00:00
thread_beos.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
thread_cthread.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_foobar.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_lwp.h ANSIfy as many declarations as possible. 2000-07-22 23:38:01 +00:00
thread_nt.h -- from Trent Mick: [Patch #101010] replace use of INT_PTR 2000-08-07 20:16:28 +00:00
thread_os2.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_pth.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_pthread.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_sgi.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_solaris.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
thread_wince.h Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
traceback.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00