Python discrepancies...
David Malcolm
dmalcolm at redhat.com
Mon Apr 16 21:14:26 UTC 2012
On Sun, 2012-04-15 at 00:18 -0700, Rob Healey wrote:
> Greetings:
>
> Could anyone explain why there are so many discrepancies between
> Python-2.7.2-12 and Python-3.3.02?
>
> This is from Python-3.3.0a2:
> ------------------------------------------
> [Frog at DancingSquirrels Documents]$ python3
> Python 3.3.0a2 (default, Apr 13 2012, 16:55:12)
This appears to be a python that you've built locally from the 3.3.0a2
tarball; the giveaway are all the "local"s in the sysconfig e.g. this
one:
[...snip...]
> platstdlib = /usr/local/lib/python3.3
[...snip...]
> From Python-2.7.2-12
This is the python from rpm
[...]
> stdlib = /usr/lib64/python2.7
The "lib64" stuff is from a patch we apply "downstream" when we build
our RPMs in order to allow both 32-bit and 64-bit build of python to be
installed: 32-bit builds go in /usr/lib; 64-bit ones go in /usr/lib64.
The jargon name for this is "multilib".
Hope this is helpful
Dave
More information about the test
mailing list