All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that enables some convenient features when
       [not found] <E1JHLbJ-0006Ho-GM@linuxtogo.org>
@ 2008-01-24 20:06 ` Paul Sokolovsky
  2008-01-24 23:12   ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Sokolovsky @ 2008-01-24 20:06 UTC (permalink / raw)
  To: openembedded-devel

This is a forwarded message
From: mickeyl commit <openembedded-commits@lists.openembedded.org>
To: openembedded-commits@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?


[]

===8<===========End of original message text===========



-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that enables some convenient features when
  2008-01-24 20:06 ` [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that enables some convenient features when Paul Sokolovsky
@ 2008-01-24 23:12   ` Michael 'Mickey' Lauer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael 'Mickey' Lauer @ 2008-01-24 23:12 UTC (permalink / raw)
  To: openembedded-devel

On Thursday 24 January 2008 21:06:02 Paul Sokolovsky wrote:
> This is a forwarded message
> From: mickeyl commit <openembedded-commits@lists.openembedded.org>
> To: openembedded-commits@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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-24 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JHLbJ-0006Ho-GM@linuxtogo.org>
2008-01-24 20:06 ` [oe-commits] org.oe.dev python 2.5.1 ship sitecustomize.py that enables some convenient features when Paul Sokolovsky
2008-01-24 23:12   ` Michael 'Mickey' Lauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.