Yury Selivanov added the comment:

> @Yury do you agree with this?

I think it's a perfectly normal behaviour. OSError is raised for valid kind of 
objects, and TypeError is raised when you're passing something weird. That's a 
pretty common practice is Python.

----------

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

Reply via email to