Heads up: More Noarch Subpackages - Ready?

Toshio Kuratomi a.badger at gmail.com
Wed Feb 25 02:01:05 UTC 2009


Julian Sikorski wrote:
> OK, thanks. I made museek+-murmur and -tools noarch, but I'm not sure
> what to do with -mucous:
> belegdol     | museek+
> ---museek+-mucous-0.2-0.1.20090203svn1092.fc11.x86_64
> +++museek+-mucous-0.2-0.1.20090203svn1092.fc11.i386
> S.5....T   /usr/lib/python2.6/site-packages/pymucous/MucousTransfers.pyc
> S.5....T   /usr/lib/python2.6/site-packages/pymucous/MucousTransfers.pyo
> 

Okay, I took a look at the hexdump of these files.  MucousTransfers.py
has a large constant in it, 4294967295.  On x86_64, this is being byte
compiled to a 64 bit integer type.  On i86, this is being compiled to a
python long decimal type.  This is apparently a difference between the
two interpreters that no one has noticed before but the byte code is
usable between the two.

On x86_64, running the i86 byte code results in python using a long
decimal type instead of the slightly more efficient long int.

On i86, running the x86_64 byte code results in python having to convert
the 64 bit int to a long decimal when it loads it.

Both run afterwards, though.

-Toshio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090224/5fd8be69/attachment.bin 


More information about the devel mailing list