Staging
v0.8.1
v0.8.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 |
---|---|---|
TextMate | ||
Vim | ||
ACKS | -rw-r--r-- | 22.0 KB |
BeOS-NOTES | -rw-r--r-- | 1.4 KB |
BeOS-setup.py | -rw-r--r-- | 23.1 KB |
HISTORY | -rw-r--r-- | 669.3 KB |
NEWS | -rw-r--r-- | 420.3 KB |
Porting | -rw-r--r-- | 1.9 KB |
README | -rw-r--r-- | 2.3 KB |
README.AIX | -rw-r--r-- | 5.0 KB |
README.Emacs | -rw-r--r-- | 1.0 KB |
README.OpenBSD | -rw-r--r-- | 1.5 KB |
README.coverity | -rw-r--r-- | 845 bytes |
README.klocwork | -rw-r--r-- | 1.2 KB |
README.valgrind | -rw-r--r-- | 4.3 KB |
RFD | -rw-r--r-- | 3.9 KB |
SpecialBuilds.txt | -rw-r--r-- | 10.7 KB |
cheatsheet | -rw-r--r-- | 103.6 KB |
developers.txt | -rw-r--r-- | 12.0 KB |
gdbinit | -rw-r--r-- | 4.7 KB |
indent.pro | -rw-r--r-- | 557 bytes |
maintainers.rst | -rw-r--r-- | 8.0 KB |
pymemcompat.h | -rw-r--r-- | 3.1 KB |
python-config.in | -rw-r--r-- | 1.6 KB |
python-wing3.wpr | -rw-r--r-- | 537 bytes |
python-wing4.wpr | -rw-r--r-- | 698 bytes |
python.man | -rw-r--r-- | 14.2 KB |
python.pc.in | -rw-r--r-- | 253 bytes |
setuid-prog.c | -rw-r--r-- | 5.6 KB |
valgrind-python.supp | -rw-r--r-- | 6.7 KB |
vgrindefs | -rw-r--r-- | 505 bytes |
Computing file changes ...