[Chicago] python 3 on leopard anyone?
Chris McAvoy
chris.mcavoy at gmail.com
Tue Jan 22 14:28:05 CET 2008
Saw this recently, http://ipython.scipy.org/moin/InstallationOSXLeopard
It's for IPython, but it specifically talks about readline. Might help...
Chris
On Jan 22, 2008 12:46 AM, Brian Ray <bray at sent.com> wrote:
> That is a little weird. I found the same thing:
>
> [mini] Python-3.0a2 9 > /usr/local/bin/python
> Python 3.0a2 (r30a2:59382, Jan 21 2008, 23:57:05)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 1
> 1
> >>> 2
> 2
> >>>
> [mini] Python-3.0a2 10 > export LANG=en_US
> [mini] Python-3.0a2 11 > /usr/local/bin/python
> Python 3.0a2 (r30a2:59382, Jan 21 2008, 23:57:05)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 1
> >>> 2
>
>
> You should file a bug. My guess is that it has something to do with
> the readline dependancy.
>
> Perhaps mention that if LANG=en_US, then readline is dynamically
> loaded from "/usr/local/lib/python3.0/lib-dynload/readline.so". in the
> other case it is loaded from "/System/Library/Frameworks/
> Python.framework/Versions/2.5/lib/python2.5/lib-dynload/readline.so".
> You can see this by send python the "-v" flag. A temporarily fix would
> be to force the the use of the system readline while configuring. But
> I do not know how this would work in case others build this without
> autoconfig.
>
> I tried debugging this myself, http://wiki.python.org/moin/DebuggingWithGdb
> , but I am either to tired tonight or lack the tolerance to understand
> the cruft of workaround for previous issues with locale in the
> readline that ships with Python.
>
>
> Brian Ray
> bray at sent.com
> http://kazavoo.com/blog
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
More information about the Chicago
mailing list