Staging
v0.5.1
https://github.com/python/cpython
Revision d86254bc2514ec4fb9e62126c02ef2f6458db67d authored by Johannes Gijsbers on 12 March 2005, 16:38:39 UTC, committed by Johannes Gijsbers on 12 March 2005, 16:38:39 UTC
functions, etc., had comments after the colon, and some other cases.
This patch take a simpler approach that doesn't rely on looking for a
':'. Test cases are not backported, as test_inspect.py has been
rewritten using unittest on the trunk.

Thanks Simon Percivall!
1 parent e3fa061
History
Tip revision: d86254bc2514ec4fb9e62126c02ef2f6458db67d authored by Johannes Gijsbers on 12 March 2005, 16:38:39 UTC
Backport of patch #1159931/bug #1143895: inspect.getsource failed when
Tip revision: d86254b
File Mode Size
VC6
bdist_wininst
example_nt
os2emx
os2vacpp
.cvsignore -rw-r--r-- 30 bytes
WinMain.c -rw-r--r-- 447 bytes
_subprocess.c -rw-r--r-- 13.1 KB
_winreg.c -rw-r--r-- 42.7 KB
config.c -rw-r--r-- 4.1 KB
dl_nt.c -rw-r--r-- 908 bytes
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 18.0 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.4 KB
make_versioninfo.c -rw-r--r-- 1.0 KB
msvcrtmodule.c -rwxr-xr-x 4.9 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyconfig.h -rw-r--r-- 15.6 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.2 KB
testpy.py -rw-r--r-- 890 bytes
tix.diff -rw-r--r-- 3.2 KB
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 7.1 KB

readme.txt

back to top