Message121047
The requested feature would require an additional argument to fdopen() and open(), which already have many args. It would be better IMO to make the `name` attribute on file objects writeable.
By the way, right now (in 3.x) fdopen() gives you the file descriptor number, which is better than nothing:
>>> import os
>>> f = os.fdopen(2, "w")
>>> f
<_io.TextIOWrapper name=2 encoding='UTF-8'> |
|
Date |
User |
Action |
Args |
2010-11-12 17:10:39 | pitrou | set | recipients:
+ pitrou, georg.brandl, collinwinter, diekhans, christian.heimes |
2010-11-12 17:10:39 | pitrou | set | messageid: <1289581839.66.0.278179718811.issue1625576@psf.upfronthosting.co.za> |
2010-11-12 17:10:38 | pitrou | link | issue1625576 messages |
2010-11-12 17:10:38 | pitrou | create | |
|