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 josh.r
Recipients Matt.Mackall, benjamin.peterson, ezio.melotti, josh.r, larry, loewis, ncoghlan, pitrou
Date 2014-04-13.13:51:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397397082.87.0.74194474951.issue21199@psf.upfronthosting.co.za>
In-reply-to
Content
So it predates the existence of type code 'n', which would be the appropriate type code, but no one updated it.

Antoine: Inability to perform a 2GB+ read properly is not something that should be worked around on a case by case basis. There is one compatibility risk here, which is that 'n' requires index integers (__index__), where 'l' will accept coercible types (__int__). If you think people are reading from files using Fraction and Decimal, then this would be a compatibility issue (and you could work around it be making it use type code 'L' only on 64 bit Windows), but this just looks like an oversight from the upgrade from int to Py_ssize_t across the Python code base.
History
Date User Action Args
2014-04-13 13:51:22josh.rsetrecipients: + josh.r, loewis, ncoghlan, pitrou, larry, benjamin.peterson, ezio.melotti, Matt.Mackall
2014-04-13 13:51:22josh.rsetmessageid: <1397397082.87.0.74194474951.issue21199@psf.upfronthosting.co.za>
2014-04-13 13:51:22josh.rlinkissue21199 messages
2014-04-13 13:51:22josh.rcreate