[issue33158] Add fileobj property to csv reader and writer objects

2021-11-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33158] Add fileobj property to csv reader and writer objects

2018-03-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > A fileobj property would be convenient, as you otherwise, for example, need > to pass an extra argument to routines that need both the csv object and the > underlying file object. But you should already have this object for

[issue33158] Add fileobj property to csv reader and writer objects

2018-03-27 Thread Samwyse
New submission from Samwyse : Many objects have properties that allow access to the arguments used to create them. In particular, file objects have a name property that returns the name used when opening a file. A fileobj property would be convenient, as you otherwise,