This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients benjamin.peterson, christian.heimes, samwyse
Date 2012-10-03.21:40:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349300414.75.0.829081244309.issue16122@psf.upfronthosting.co.za>
In-reply-to
Content
I've another argument against your proposal:

open() always wraps a operating system resource and not some Python object. At the lowest level open() interacts with a file descriptor (aka file handler on Windows). I don't like to break the promise.

Lot's of 3rd party extensions don't support file-like objects because they wrap C libraries that either need a path, a file descriptor or a FILE* pointer.
History
Date User Action Args
2012-10-03 21:40:14christian.heimessetrecipients: + christian.heimes, samwyse, benjamin.peterson
2012-10-03 21:40:14christian.heimessetmessageid: <1349300414.75.0.829081244309.issue16122@psf.upfronthosting.co.za>
2012-10-03 21:40:14christian.heimeslinkissue16122 messages
2012-10-03 21:40:14christian.heimescreate