This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author guyer
Recipients guyer
Date 2008-12-22.18:26:22
SpamBayes Score 2.4170338e-05
Marked as misclassified No
Message-id <1229970384.34.0.779810047928.issue4726@psf.upfronthosting.co.za>
In-reply-to
Content
My text editor places a comment block at the top of each source file with 
a block of information about the author, the project, license, etc. One 
(rather pointless) line of this block looks like

 # FILE: "somefile.py"

The re in `_find_lineno()` misinterprets this line as the beginning of the 
docstring. I believe the attached patch maintains the spirit of the re, 
while avoiding this false positive.
History
Date User Action Args
2008-12-22 18:26:24guyersetrecipients: + guyer
2008-12-22 18:26:24guyersetmessageid: <1229970384.34.0.779810047928.issue4726@psf.upfronthosting.co.za>
2008-12-22 18:26:23guyerlinkissue4726 messages
2008-12-22 18:26:22guyercreate