Staging
v0.5.1
https://github.com/python/cpython
Revision 4eb0c003f8cd892800aa425fbde02ca9ecc76f34 authored by Ka-Ping Yee on 02 March 2001, 05:50:34 UTC, committed by Ka-Ping Yee on 02 March 2001, 05:50:34 UTC
    as long as the filename also doesn't end in a suffix that indicates
    a binary file (according to the flags in imp.get_suffixes()).

Shrink try...except clauses and replace some of them with explicit checks.
1 parent 9054344
History
Tip revision: 4eb0c003f8cd892800aa425fbde02ca9ecc76f34 authored by Ka-Ping Yee on 02 March 2001, 05:50:34 UTC
Make getsourcefile() succeed even if the filename doesn't end in '.py' --
Tip revision: 4eb0c00
File Mode Size
api
dist
doc
ext
html
info
inst
lib
mac
paper-a4
paper-letter
perl
ref
templates
texinputs
tools
tut
whatsnew
.cvsignore -rwxr-xr-x 22 bytes
ACKS -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 13.2 KB
Makefile.deps -rw-r--r-- 5.9 KB
README -rw-r--r-- 7.9 KB
TODO -rw-r--r-- 2.8 KB
libmods.tex -rwxr-xr-x 342 bytes
libstd.tex -rwxr-xr-x 345 bytes

README

back to top