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 mark.dickinson
Recipients docs@python, mark.dickinson, vstinner
Date 2010-06-09.10:46:56
SpamBayes Score 0.00013657052
Marked as misclassified No
Message-id <1276080420.18.0.660421615312.issue8952@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, most of that paragraph is outdated.

We should check exactly what does happen when the "receiving field is too small" (both in practice and in theory).  In C, downcasting to an unsigned type is well-defined and will always reduce modulo 2**<width_of_type>.  The result of downcasting to a signed type is implementation-defined, however;  do we actually do that anywhere?  If so, it would be nice to fix it.
History
Date User Action Args
2010-06-09 10:47:00mark.dickinsonsetrecipients: + mark.dickinson, vstinner, docs@python
2010-06-09 10:47:00mark.dickinsonsetmessageid: <1276080420.18.0.660421615312.issue8952@psf.upfronthosting.co.za>
2010-06-09 10:46:57mark.dickinsonlinkissue8952 messages
2010-06-09 10:46:56mark.dickinsoncreate