Message198458
| Author |
gvanrossum |
| Recipients |
gvanrossum |
| Date |
2013年09月27日.00:08:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1380240503.86.0.0860423699494.issue19097@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
PS. Simple repro:
import cgi; bool(cgi.FieldStorage('logo', u'tux.png'))
This reveals it's been fixed in Python 3 -- it raises TypeError there as it should. (But __nonzero__ should be deleted, and if someone adds __bool__ they should make sure it raises the same TypeError if self.list is None.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月27日 00:08:23 | gvanrossum | set | recipients:
+ gvanrossum |
| 2013年09月27日 00:08:23 | gvanrossum | set | messageid: <1380240503.86.0.0860423699494.issue19097@psf.upfronthosting.co.za> |
| 2013年09月27日 00:08:23 | gvanrossum | link | issue19097 messages |
| 2013年09月27日 00:08:23 | gvanrossum | create |
|