"wesley chun" <wes...@gmail.com> wrote
does anyone have the idiom for the above isinstance() check for 3.x?

Test for io.stream (or a derivative) - which is what open now returns.
files are no more...

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to