Message82131
| Author | pitrou |
|---|---|
| Recipients | alexandre.vassalotti, pitrou |
| Date | 2009-02-14.22:31:40 |
| SpamBayes Score | 5.6426614e-09 |
| Marked as misclassified | No |
| Message-id | <1234650711.9.0.239815315496.issue5264@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
>>> f = io.StringIO("a\r\n", newline=None)
>>> f.read(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/antoine/py3k/__svn__/Lib/io.py", line 2007, in read
res = self._decode_newlines(self._read(n), True)
File "/home/antoine/py3k/__svn__/Lib/io.py", line 1953, in
_decode_newlines
return output
UnboundLocalError: local variable 'output' referenced before assignment |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-14 22:31:52 | pitrou | set | recipients: + pitrou, alexandre.vassalotti |
| 2009-02-14 22:31:51 | pitrou | set | messageid: <1234650711.9.0.239815315496.issue5264@psf.upfronthosting.co.za> |
| 2009-02-14 22:31:40 | pitrou | link | issue5264 messages |
| 2009-02-14 22:31:40 | pitrou | create | |