R. David Murray added the comment:

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...)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to