Message245992
Niki Spahiev made a valid argument saying that the following code is common:
if not hasattr(src, 'read'): src = open(src)
This will break if we name it 'read'/'write' like the methods of a file object. |
|
Date |
User |
Action |
Args |
2015-06-30 14:57:17 | jonathan.slenders | set | recipients:
+ jonathan.slenders, ethan.furman, Rosuav |
2015-06-30 14:57:17 | jonathan.slenders | set | messageid: <1435676237.17.0.387802263426.issue24536@psf.upfronthosting.co.za> |
2015-06-30 14:57:17 | jonathan.slenders | link | issue24536 messages |
2015-06-30 14:57:17 | jonathan.slenders | create | |
|