Staging
v0.5.1
https://github.com/python/cpython
Revision be21d98cee17b21d71fa61d0b5f0fedb62dc4f43 authored by Guido van Rossum on 11 August 1998, 18:01:32 UTC, committed by Guido van Rossum on 11 August 1998, 18:01:32 UTC
displays funny characters, like spaces or control characters, more
clearly (one of my pet peeves in error messages).  Also only suppress
the filename if it is None; display it if it is '', since that would
be a genuine (illegal) filename passed in!
1 parent ee9306b
History
Tip revision: be21d98cee17b21d71fa61d0b5f0fedb62dc4f43 authored by Guido van Rossum on 11 August 1998, 18:01:32 UTC
Use repr() on the filename in EnvironmentError.__str__(). This
Tip revision: be21d98
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.2 KB
Makefile.in -rw-r--r-- 17.3 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 2.7 KB
config.h.in -rw-r--r-- 10.3 KB
configure -rwxr-xr-x 118.0 KB
configure.in -rw-r--r-- 18.8 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top