Message171910
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. |
|
Date |
User |
Action |
Args |
2012-10-03 21:40:14 | christian.heimes | set | recipients:
+ christian.heimes, samwyse, benjamin.peterson |
2012-10-03 21:40:14 | christian.heimes | set | messageid: <1349300414.75.0.829081244309.issue16122@psf.upfronthosting.co.za> |
2012-10-03 21:40:14 | christian.heimes | link | issue16122 messages |
2012-10-03 21:40:14 | christian.heimes | create | |
|