From: Raymond Hettinger Date: Mon, 8 Nov 2004 06:36:42 +0000 (+0000) Subject: SF #1062190. Removed an assertion that rendered trace.py unnecessarily X-Git-Tag: v2.4c1~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=481b09b3526d446e8abb8f0336b5e38a4fef01ac;p=thirdparty%2FPython%2Fcpython.git SF #1062190. Removed an assertion that rendered trace.py unnecessarily inflexibile. --- diff --git a/Lib/trace.py b/Lib/trace.py index b104ff085b4a..f167fcfad80e 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -416,7 +416,6 @@ def find_strings(filename): 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: