]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Pdb.lineinfo(): Don't use os.popen('egrep ...') to find the line in
authorBarry Warsaw <barry@python.org>
Thu, 9 Sep 1999 16:32:41 +0000 (16:32 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 9 Sep 1999 16:32:41 +0000 (16:32 +0000)
commit2bee8feac614599d172ea4483a17294b81063fdc
tree79dce4028f7268534fa3bf874d94a75f8b0a751f
parenta2e48552d28721eec0df75912d479f7d44c14d0a
Pdb.lineinfo(): Don't use os.popen('egrep ...') to find the line in
the file that a function is defined on.  Non-portable to Windows and
JPython.  Instead, new find_function() uses re module on a similar
(simple-minded) pattern.
Lib/pdb.py