[Python-Dev] 64-bit bytecode compatibility (was Re: [PEAK] ez_setup on 64-bit linux problem)

Viren Shah vshah at virtc.com
Thu Sep 29 18:57:31 CEST 2005


Phillip J. Eby wrote:
> At 12:14 PM 9/29/2005 -0400, Viren Shah wrote:
>>> File "/root/svn-install-apps/setuptools-0.6a4/pkg_resources.py", 
>> line 949, in _get
>> return self.loader.get_data(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 get_data(). 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


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /