Message216016
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. |
|
Date |
User |
Action |
Args |
2014-04-13 13:51:22 | josh.r | set | recipients:
+ josh.r, loewis, ncoghlan, pitrou, larry, benjamin.peterson, ezio.melotti, Matt.Mackall |
2014-04-13 13:51:22 | josh.r | set | messageid: <1397397082.87.0.74194474951.issue21199@psf.upfronthosting.co.za> |
2014-04-13 13:51:22 | josh.r | link | issue21199 messages |
2014-04-13 13:51:22 | josh.r | create | |
|