[Python-Dev] 64-bit bytecode compatibility (was Re: [PEAK] ez_setup on 64-bit linux problem) (original) (raw)
Viren Shah vshah at virtc.com
Thu Sep 29 18:57:31 CEST 2005
- Previous message: [Python-Dev] 64-bit bytecode compatibility (was Re: [PEAK] ez_setup on 64-bit linux problem)
- Next message: [Python-Dev] C API doc fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote:
At 12:14 PM 9/29/2005 -0400, Viren Shah wrote:
File "/root/svn-install-apps/setuptools-0.6a4/pkgresources.py", line 949, in get return self.loader.getdata(path) OverflowError: signed integer is greater than maximum Interesting. That looks like it might be a bug in the Python zipimport module, which is what implements getdata(). Apparently it happens upon importing as well; I assumed that it was a bytecode incompatibility. Checking the revision log, I find that there's a 64-bit fix for zipimport.c in Python 2.4 that looks like it would fix this issue, but it has not been backported to any revision of Python 2.3. You're going to either have to backport the fix yourself and rebuild Python 2.3, or upgrade to Python 2.4. Sorry. :(
Cool! Thanks for the solution. I'll upgrade to python 2.4 and hope it works :-)
Thanks for all your help Viren
Viren R Shah Sr. Technical Advisor Virtual Technology Corporation vshah at virtc.com P: 703-333-6246
- Previous message: [Python-Dev] 64-bit bytecode compatibility (was Re: [PEAK] ez_setup on 64-bit linux problem)
- Next message: [Python-Dev] C API doc fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]