Message143654
Attached is an updated patch with tests.
There don't seem to be any tests for PyLong_AsS[s]ize_t() and
PyLong_AsDouble(), so I added new ones for this issue. They should still
be expanded on at some point in the future, but for the meanwhile this
should be sufficient.
> I'm not sure whether it would be good to add information about the TypeError to the docs.
Yeah, that doesn't seem necessary; raising TypeError in this sort of
situation is sufficiently typical behavior that explicitly documenting
it feels redundant. |
|
Date |
User |
Action |
Args |
2011-09-06 22:00:40 | nadeem.vawda | set | recipients:
+ nadeem.vawda, rhettinger, mark.dickinson, pitrou |
2011-09-06 22:00:40 | nadeem.vawda | set | messageid: <1315346440.69.0.83290132579.issue12909@psf.upfronthosting.co.za> |
2011-09-06 22:00:40 | nadeem.vawda | link | issue12909 messages |
2011-09-06 22:00:39 | nadeem.vawda | create | |
|