python: update to 2.6.5.
--HG-- extra : convert_revision : 33ae03732da5e3cd271b1d450d561e54a3f4bb54
This commit is contained in:
parent
7a562108a8
commit
f45450e516
4 changed files with 2 additions and 39 deletions
|
@ -1,11 +0,0 @@
|
|||
--- setup.py 2008-09-30 10:15:45.000000000 +1000
|
||||
+++ setup.py 2008-12-07 16:04:01.000000000 +1000
|
||||
@@ -1013,7 +1013,7 @@
|
||||
if self.compiler.find_library_file(lib_dirs, 'ndbm'):
|
||||
ndbm_libs = ['ndbm']
|
||||
else:
|
||||
- ndbm_libs = []
|
||||
+ ndbm_libs = ['gdbm', 'gdbm_compat']
|
||||
exts.append( Extension('dbm', ['dbmmodule.c'],
|
||||
define_macros=[('HAVE_NDBM_H',None)],
|
||||
libraries = ndbm_libs ) )
|
|
@ -1,23 +0,0 @@
|
|||
--- Modules/readline.c 2008-11-04 12:43:31.000000000 -0800
|
||||
+++ Modules/readline.c 2009-04-22 15:50:49.000000000 -0700
|
||||
@@ -759,6 +759,10 @@
|
||||
static char **
|
||||
flex_complete(char *text, int start, int end)
|
||||
{
|
||||
+#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
|
||||
+ rl_completion_append_character ='\0';
|
||||
+ rl_completion_suppress_append = 0;
|
||||
+#endif
|
||||
Py_XDECREF(begidx);
|
||||
Py_XDECREF(endidx);
|
||||
begidx = PyInt_FromLong((long) start);
|
||||
@@ -799,11 +803,8 @@
|
||||
rl_completer_word_break_characters =
|
||||
strdup(" \t\n`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?");
|
||||
/* All nonalphanums except '.' */
|
||||
-#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
|
||||
- rl_completion_append_character ='\0';
|
||||
-#endif
|
||||
|
||||
begidx = PyInt_FromLong(0L);
|
||||
endidx = PyInt_FromLong(0L);
|
Loading…
Add table
Add a link
Reference in a new issue