[Python-checkins] python/dist/src/Lib trace.py,1.21,1.22
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Mon Nov 8 07:36:45 CET 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15524
Modified Files:
trace.py
Log Message:
SF #1062190. Removed an assertion that rendered trace.py unnecessarily
inflexibile.
Index: trace.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/trace.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- trace.py 16 Apr 2004 03:28:19 -0000 1.21
+++ trace.py 8 Nov 2004 06:36:42 -0000 1.22
@@ -416,7 +416,6 @@
def find_executable_linenos(filename):
"""Return dict where keys are line numbers in the line number table."""
- assert filename.endswith('.py')
try:
prog = open(filename, "rU").read()
except IOError, err:
More information about the Python-checkins
mailing list