Message171298
size=-1 mimics the code of the io module. The C implementation of readline() maps all negative values to "unlimited" and values >= 0 as limit.
>>> sys.stdin.readline(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'NoneType' object cannot be interpreted as an integer |
|
Date |
User |
Action |
Args |
2012-09-25 16:56:01 | christian.heimes | set | recipients:
+ christian.heimes, barry, r.david.murray |
2012-09-25 16:56:01 | christian.heimes | set | messageid: <1348592161.94.0.33295697932.issue16042@psf.upfronthosting.co.za> |
2012-09-25 16:55:40 | christian.heimes | link | issue16042 messages |
2012-09-25 16:55:40 | christian.heimes | create | |
|