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 r.david.murray
Recipients docs@python, ezio.melotti, marco.buttu, r.david.murray
Date 2012-10-29.17:18:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351531110.0.0.772161092387.issue16355@psf.upfronthosting.co.za>
In-reply-to
Content
Not a specific package, but a specific use case (assuming getcomments is in use at all :)

Consider a program that uses getcomments to look for a pragma-like comment before a function, but one that is not critical to the program's function (perhaps it has to do with testing or tracing infrastructure...).  If the source file does not exist, then that is equivalent to their being no pragma.  So the program would work fine even if the source is deleted...until this getcomments starts to raise an error, when it promptly crashes (probably in a production system, since that is the most likely place for source to be absent...)
History
Date User Action Args
2012-10-29 17:18:30r.david.murraysetrecipients: + r.david.murray, ezio.melotti, docs@python, marco.buttu
2012-10-29 17:18:29r.david.murraysetmessageid: <1351531110.0.0.772161092387.issue16355@psf.upfronthosting.co.za>
2012-10-29 17:18:29r.david.murraylinkissue16355 messages
2012-10-29 17:18:29r.david.murraycreate