[Python-Dev] 32-bit and 64-bit python on Solaris
Laszlo (Laca) Peter
laca at sun.com
Wed Aug 30 02:42:23 CEST 2006
On Tue, 2006-08-29 at 19:07 -0400, Tim Peters wrote:
> > I work in the team that delivers python on Solaris. Recently we've
> > been getting requests for delivering python in 64-bit as well
> > as in 32-bit. As you probably know, Solaris can run 64-bit and
> > 32-bit binaries on the same system, but of course you can't mix and
> > match shared objects with different ISAs. This seems to apply to
> > python bytecode as well: the pyc files generated by a 64-bit build
> > of python are incompatible with those generated by the 32-bit
> python.
> > Note the caveat at
> >
> http://aspn.activestate.com/ASPN/docs/ActivePython/2.3/python/lib/module-marshal.html
>
> Which caveat, specifically? As it says there, the only known problem
> was fixed in Python 2.2:
>
> This behavior is new in Python 2.2. In earlier versions, all but
> the least-
> significant 32 bits of the value were lost, and a warning message
> was printed
Hmm... I must be going blind reading that wrong.
So it's expected to Just Work and if not, that's a bug.
That's cool, thanks.
Now all that is left is taking care of the 64-bit shared objects.
Thanks,
Laca
More information about the Python-Dev
mailing list