aboutsummaryrefslogtreecommitdiff
path: root/lang/python26/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python26/files')
-rw-r--r--lang/python26/files/patch-PyObject_DelItemString56
-rw-r--r--lang/python26/files/patch-configure10
-rw-r--r--lang/python26/files/patch-setup.py11
3 files changed, 0 insertions, 77 deletions
diff --git a/lang/python26/files/patch-PyObject_DelItemString b/lang/python26/files/patch-PyObject_DelItemString
deleted file mode 100644
index 4f81f9e521b8..000000000000
--- a/lang/python26/files/patch-PyObject_DelItemString
+++ /dev/null
@@ -1,56 +0,0 @@
-Index: Include/abstract.h
-===================================================================
-RCS file: /home/python/cvs/python/dist/src/Include/abstract.h,v
-retrieving revision 2.42
-retrieving revision 2.43
-diff -u -r2.42 -r2.43
---- Include/abstract.h 28 Nov 2001 16:20:07 -0000 2.42
-+++ Include/abstract.h 5 Jan 2002 10:50:30 -0000 2.43
-@@ -445,6 +445,14 @@
- statement: o[key]=v.
- */
-
-+ DL_IMPORT(int) PyObject_DelItemString(PyObject *o, char *key);
-+
-+ /*
-+ Remove the mapping for object, key, from the object *o.
-+ Returns -1 on failure. This is equivalent to
-+ the Python statement: del o[key].
-+ */
-+
- DL_IMPORT(int) PyObject_DelItem(PyObject *o, PyObject *key);
-
- /*
-Index: Objects/abstract.c
-===================================================================
-RCS file: /home/python/cvs/python/dist/src/Objects/abstract.c,v
-retrieving revision 2.93
-retrieving revision 2.94
-diff -u -r2.93 -r2.94
---- Objects/abstract.c 24 Nov 2001 18:24:47 -0000 2.93
-+++ Objects/abstract.c 5 Jan 2002 10:50:30 -0000 2.94
-@@ -174,6 +174,24 @@
- return -1;
- }
-
-+int
-+PyObject_DelItemString(PyObject *o, char *key)
-+{
-+ PyObject *okey;
-+ int ret;
-+
-+ if (o == NULL || key == NULL) {
-+ null_error();
-+ return -1;
-+ }
-+ okey = PyString_FromString(key);
-+ if (okey == NULL)
-+ return -1;
-+ ret = PyObject_DelItem(o, okey);
-+ Py_DECREF(okey);
-+ return ret;
-+}
-+
- int PyObject_AsCharBuffer(PyObject *obj,
- const char **buffer,
- int *buffer_len)
diff --git a/lang/python26/files/patch-configure b/lang/python26/files/patch-configure
deleted file mode 100644
index e40f4ac925e3..000000000000
--- a/lang/python26/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Sun Jan 20 15:31:22 2002
-+++ configure Sun Jan 20 15:56:58 2002
-@@ -6980,6 +6980,7 @@
- #line 6981 "configure"
- #include "confdefs.h"
- #include <stdio.h>
-+#include <wchar.h>
- main()
- {
- FILE *f=fopen("conftestval", "w");
diff --git a/lang/python26/files/patch-setup.py b/lang/python26/files/patch-setup.py
deleted file mode 100644
index f3cef489fa8f..000000000000
--- a/lang/python26/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig Fri Mar 2 07:24:14 2001
-+++ setup.py Mon Mar 5 15:26:17 2001
-@@ -14,7 +14,7 @@
- from distutils.command.build_ext import build_ext
-
- # This global variable is used to hold the list of modules to be disabled.
--disabled_module_list = []
-+disabled_module_list = ["_tkinter", "gdbm", "mpz", "pyexpat"]
-
- def find_file(filename, std_dirs, paths):
- """Searches for the directory where a given file is located,