mirror of
https://github.com/python/cpython.git
synced 2025-10-24 10:23:58 +00:00
each dir in sys.path, try each possible extension. (Note: C extensions are loaded before Python modules in the same directory, to allow having a C version used when dynamic loading is supported and a Python version as a back-up.) * import.c (reload_module): test for error from getmodulename() * moduleobject.c: implement module name as dict entry '__name__' instead of special-casing it in module_getattr(); this way a module (or function!) can access its own module name, and programs that know what they are doing can rename modules. * stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0]. |
||
|---|---|---|
| .. | ||
| bltinmodule.c | ||
| ceval.c | ||
| cgensupport.c | ||
| compile.c | ||
| errors.c | ||
| fmod.c | ||
| frozenmain.c | ||
| getcwd.c | ||
| graminit.c | ||
| import.c | ||
| marshal.c | ||
| modsupport.c | ||
| pythonmain.c | ||
| pythonrun.c | ||
| strerror.c | ||
| strtod.c | ||
| structmember.c | ||
| sysmodule.c | ||
| thread.c | ||
| traceback.c | ||