Message246028
As for Niki's example:
---------------------
--> src = os.pipe()
--> src
(3, 4)
--> if not hasattr(src, 'read'): src = open(src)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: invalid file: (3, 4)
------------------------------------------------
This fails now. If they pass a pipe tuple into the new code they'll just get a different error somewhere else, which seems fine to me. |
|
Date |
User |
Action |
Args |
2015-07-01 07:18:10 | ethan.furman | set | recipients:
+ ethan.furman, Rosuav, yselivanov, jonathan.slenders |
2015-07-01 07:18:10 | ethan.furman | set | messageid: <1435735090.85.0.0357187701852.issue24536@psf.upfronthosting.co.za> |
2015-07-01 07:18:10 | ethan.furman | link | issue24536 messages |
2015-07-01 07:18:10 | ethan.furman | create | |
|