Message260044
Hum, I don't think that it can be changed today.
io.open(int).name is an int since Python 2.6. Changing it may break applications for a little benefit.
> `io.open(fd, ...).name` returns numeric fd instead of None. This lead to some nasty bugs.
Why do you test None? Why not testing isinstance(name, int)? |
|
Date |
User |
Action |
Args |
2016-02-10 22:11:24 | vstinner | set | recipients:
+ vstinner, socketpair, martin.panter |
2016-02-10 22:11:24 | vstinner | set | messageid: <1455142284.42.0.227700106446.issue26318@psf.upfronthosting.co.za> |
2016-02-10 22:11:24 | vstinner | link | issue26318 messages |
2016-02-10 22:11:24 | vstinner | create | |
|