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 Lasse Schuirmann, r.david.murray, steven.daprano
Date 2016-01-04.18:36:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451932582.87.0.526167756893.issue25998@psf.upfronthosting.co.za>
In-reply-to
Content
No, I don't think doctest should be made robust against RuntimeErrors.  doctest's purpose is to check for bugs, and IMO this is a bug in flask.  In particular, it is not doctest that flask is not cooperating with, it is hasattr.  It used to be that hasattr would mask errors raised, and this caused a number of both debugging and production problems, to the point where hasattr was not considered safe to use.  But it eventually got fixed: http://www.gossamer-threads.com/lists/python/dev/856859
History
Date User Action Args
2016-01-04 18:36:22r.david.murraysetrecipients: + r.david.murray, steven.daprano, Lasse Schuirmann
2016-01-04 18:36:22r.david.murraysetmessageid: <1451932582.87.0.526167756893.issue25998@psf.upfronthosting.co.za>
2016-01-04 18:36:22r.david.murraylinkissue25998 messages
2016-01-04 18:36:22r.david.murraycreate