This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nadeem.vawda
Recipients mark.dickinson, nadeem.vawda, pitrou, rhettinger
Date 2011-09-06.22:00:39
SpamBayes Score 2.3120239e-10
Marked as misclassified No
Message-id <1315346440.69.0.83290132579.issue12909@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-09-06 22:00:40nadeem.vawdasetrecipients: + nadeem.vawda, rhettinger, mark.dickinson, pitrou
2011-09-06 22:00:40nadeem.vawdasetmessageid: <1315346440.69.0.83290132579.issue12909@psf.upfronthosting.co.za>
2011-09-06 22:00:40nadeem.vawdalinkissue12909 messages
2011-09-06 22:00:39nadeem.vawdacreate