Message137689
> That's because of the _PyIO_ConvertSsize_t converter, which silently
> converts None to -1.
> There's probably a good reason for doing this in the _io module
I'm not sure about the original reason, but I find None as the default "omitted" value prettier than -1 myself, so I think it's a good thing :) |
|
Date |
User |
Action |
Args |
2011-06-05 11:22:51 | pitrou | set | recipients:
+ pitrou, nadeem.vawda, neologix, jcon, rich-noir, petri.lehtinen |
2011-06-05 11:22:51 | pitrou | set | messageid: <1307272971.79.0.274030994244.issue12021@psf.upfronthosting.co.za> |
2011-06-05 11:22:51 | pitrou | link | issue12021 messages |
2011-06-05 11:22:50 | pitrou | create | |
|