[issue1625576] add ability to specify name to os.fdopen

2015-02-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And the name attribute of FileIO object is writable. So you can change it after calling fdopen. >>> import os >>> f = os.fdopen(2, "w") >>> f <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> >>> f.buffer.raw.name = 'useful name' >>> f <_io.TextIOWrapper n

[issue1625576] add ability to specify name to os.fdopen

2013-11-17 Thread Christian Heimes
Changes by Christian Heimes : -- status: open -> languishing versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bug

[issue1625576] add ability to specify name to os.fdopen

2010-11-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: 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 descript

[issue1625576] add ability to specify name to os.fdopen

2010-11-11 Thread Georg Brandl
Georg Brandl added the comment: Collin: I doubt Christian will do much about this anymore :) -- nosy: +georg.brandl ___ Python tracker ___

[issue1625576] add ability to specify name to os.fdopen

2010-11-11 Thread Collin Winter
Collin Winter added the comment: Christian: yes, that sounds fine. -- assignee: collinwinter -> ___ Python tracker ___ ___ Python-

[issue1625576] add ability to specify name to os.fdopen

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1625576] add ability to specify name to os.fdopen

2009-03-30 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-

[issue1625576] add ability to specify name to os.fdopen

2008-01-06 Thread Christian Heimes
Christian Heimes added the comment: Where is the patch, Mark? Collin, does fdopen(fd[, mode[, bufsize[, msg=None]]]) and '> sound good to you? -- assignee: -> collinwinter nosy: +tiran versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]>