Zdeněk Pavlas added the comment:

Yes, found that *certain* IO operations re-raise the error, too.  However, if 
the Python runtime expects extension writers to keep tstate->curexc_type clear, 
it should be documented in

http://docs.python.org/2/c-api/exceptions.html

There's not a single use case of PyErr_Clear() mentioned.

----------
assignee:  -> docs@python
components: +Documentation -Regular Expressions
nosy: +docs@python

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

Reply via email to