Brett Cannon <br...@python.org> added the comment:

OSError does have its constructor documented at 
https://docs.python.org/3/library/exceptions.html#OSError (farther down the 
page I think you're reading; you didn't provide the URL you're referring to so 
I'm somewhat guessing). It is specifically vague because it varies from 
exception to exception and you need to check the exception you're using to see 
if it differs from BaseException.

Thanks for letting us know about your concerns, but I'm closing as "not a bug".

----------
nosy: +brett.cannon
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to