summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-2.5.2/sitecustomize.py7
-rw-r--r--packages/python/python_2.5.2.bb2
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/python/python-2.5.2/sitecustomize.py b/packages/python/python-2.5.2/sitecustomize.py
index ec626b4b63..273901898a 100644
--- a/packages/python/python-2.5.2/sitecustomize.py
+++ b/packages/python/python-2.5.2/sitecustomize.py
@@ -1,6 +1,6 @@
# OpenEmbedded sitecustomize.py (C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
# GPLv2 or later
-# Version: 20082201
+# Version: 20081123
# Features:
# * set proper default encoding
# * enable readline completion in the interactive interpreter
@@ -20,7 +20,8 @@ def __registerExitHandler():
atexit.register( __exithandler )
def __enableReadlineSupport():
- readline.parse_and_bind("tab: complete")
+ readline.set_history_length( 1000 )
+ readline.parse_and_bind( "tab: complete" )
try:
readline.read_history_file( "%s/.python-history" % os.getenv( "HOME", "/tmp" ) )
except IOError:
@@ -29,7 +30,7 @@ def __enableReadlineSupport():
def __enableDefaultEncoding():
import sys
try:
- sys.setdefaultencoding('utf8')
+ sys.setdefaultencoding( "utf8" )
except LookupError:
pass
diff --git a/packages/python/python_2.5.2.bb b/packages/python/python_2.5.2.bb
index 35bcf858e6..19dc65b358 100644
--- a/packages/python/python_2.5.2.bb
+++ b/packages/python/python_2.5.2.bb
@@ -6,7 +6,7 @@ PRIORITY = "optional"
DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib"
DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
# bump this on every change in contrib/python/generate-manifest-2.5.py
-PR = "ml13"
+PR = "ml14"
PYTHON_MAJMIN = "2.5"