Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 7427a79e12a418a76d4660799b1c75785b5ea46d authored by Gregory P. Smith on 22 October 2015, 20:09:50 UTC, committed by Gregory P. Smith on 22 October 2015, 20:09:50 UTC
properly to get the filename of its caller from the stack. This allows it to work if run in a frozen or embedded environment where the module's .__file__ attribute does not match its code object's .co_filename. This same much simpler always correct approach has already been deployed and used widely in Python 3.4 per the issue referenced above.
1 parent 1256b3c
Tip revision: 7427a79e12a418a76d4660799b1c75785b5ea46d authored by Gregory P. Smith on 22 October 2015, 20:09:50 UTC
Issue #21709: Fix the logging module to not depend upon __file__ being set
Issue #21709: Fix the logging module to not depend upon __file__ being set
Tip revision: 7427a79
File | Mode | Size |
---|---|---|
VC6 | ||
VS7.1 | ||
VS8.0 | ||
VS9.0 | ||
bdist_wininst | ||
icons | ||
os2emx | ||
os2vacpp | ||
WinMain.c | -rw-r--r-- | 447 bytes |
_msi.c | -rw-r--r-- | 30.9 KB |
_subprocess.c | -rw-r--r-- | 19.2 KB |
_winreg.c | -rw-r--r-- | 60.6 KB |
config.c | -rw-r--r-- | 4.5 KB |
dl_nt.c | -rw-r--r-- | 4.2 KB |
dllbase_nt.txt | -rw-r--r-- | 3.5 KB |
empty.c | -rw-r--r-- | 137 bytes |
errmap.h | -rw-r--r-- | 2.1 KB |
errmap.mak | -rw-r--r-- | 95 bytes |
frozen_dllmain.c | -rw-r--r-- | 3.9 KB |
generrmap.c | -rw-r--r-- | 503 bytes |
getpathp.c | -rw-r--r-- | 21.0 KB |
icons.mak | -rw-r--r-- | 213 bytes |
icons.rc | -rw-r--r-- | 59 bytes |
import_nt.c | -rw-r--r-- | 2.7 KB |
make_versioninfo.c | -rw-r--r-- | 1.2 KB |
msvcrtmodule.c | -rw-r--r-- | 11.0 KB |
py.ico | -rw-r--r-- | 19.3 KB |
pyc.ico | -rw-r--r-- | 19.3 KB |
pycon.ico | -rw-r--r-- | 19.3 KB |
pyconfig.h | -rw-r--r-- | 20.8 KB |
python.mk | -rw-r--r-- | 229 bytes |
python_exe.rc | -rw-r--r-- | 49 bytes |
python_nt.rc | -rw-r--r-- | 1.8 KB |
readme.txt | -rw-r--r-- | 4.1 KB |
testpy.py | -rw-r--r-- | 834 bytes |
w9xpopen.c | -rw-r--r-- | 3.6 KB |
winsound.c | -rw-r--r-- | 5.3 KB |
Computing file changes ...