Message171298
| Author |
christian.heimes |
| Recipients |
barry, christian.heimes, r.david.murray |
| Date |
2012年09月25日.16:55:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348592161.94.0.33295697932.issue16042@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|