Message84264
I think the following message is a little bit confusing:
Python 2.7a0 (trunk, Mar 17 2009, 12:06:19)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> open('abc\x00')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: file() argument 1 must be (encoded string without NULL
bytes), not str
This message could be much more better if unneeded parentheses were
removed. :)
The message on line 861 in Python/getargs.c reads much better:
"string without null bytes"
Would it be appropriate to change the message in topic to something like
this? |
|
Date |
User |
Action |
Args |
2009-03-27 15:35:58 | mishok13 | set | recipients:
+ mishok13 |
2009-03-27 15:35:58 | mishok13 | set | messageid: <1238168158.76.0.166850509675.issue5580@psf.upfronthosting.co.za> |
2009-03-27 15:35:57 | mishok13 | link | issue5580 messages |
2009-03-27 15:35:56 | mishok13 | create | |
|