[Python-Dev] PyInt_AsSsize_t on x64 (original) (raw)
Kristján Valur Jónsson kristjan at ccpgames.com
Sat May 5 13:24:26 CEST 2007
- Previous message: [Python-Dev] PyInt_AsSsize_t on x64
- Next message: [Python-Dev] x64 and the testsuite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----Original Message----- From: Armin Rigo [mailto:arigo at tunes.org] Given that the long vs int difference doesn't really make sense any more nowadays, I'd think it would be saner to change the nblong slot of old-style instances instead of PyIntAsSsizet(). The logic would be that if the nblong slot implementation finds no "long" attribute on the instance it tries with "int" instead.
That sounds fine to me. I'll be happy to make the change (and revert the change to intobject.c) if everyone concurs.
- Previous message: [Python-Dev] PyInt_AsSsize_t on x64
- Next message: [Python-Dev] x64 and the testsuite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]