[oe] Fwd: [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that enables some convenient features when

Michael 'Mickey' Lauer mickey at vanille-media.de
Thu Jan 24 23:12:59 UTC 2008


On Thursday 24 January 2008 21:06:02 Paul Sokolovsky wrote:
> This is a forwarded message
> From: mickeyl commit <openembedded-commits at lists.openembedded.org>
> To: openembedded-commits at lists.openembedded.org
> Date: Tuesday, January 22, 2008, 6:03:49 PM
> Subject: [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that
> enables some convenient features when
>
> ===8<==============Original message text===============
> python 2.5.1 ship sitecustomize.py that enables some convenient features
> when working with the interactive interpreter: attribute completion and
> persistent command history
>
> []
> ============================================================
> --- packages/python/python-2.5.1/sitecustomize.py      
> af970496467ab4f0fbef36bbcac4de27afc77306 +++
> packages/python/python-2.5.1/sitecustomize.py      
> af970496467ab4f0fbef36bbcac4de27afc77306 @@ -0,0 +1,45 @@
> []
> +def __enableReadlineSupport():
> +    readline.parse_and_bind("tab: complete")
> +    try:
> +        readline.read_history_file( "/tmp/python-history-file.txt" )
>
>     Shouldn't this file be under ~/ instead?

Hmm, yes of course. This way all interpreter users share a history, which may 
not what we want. Thanks for spotting, I'll rewrite this tomorrow.

Best regards,

:M:
-- 
Dr. Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de




More information about the Openembedded-devel mailing list