components/python/python27/patches/15-get_wch.patch
branchs11-update
changeset 3367 ed5024e47b53
parent 2386 4b1a9590af26
--- a/components/python/python27/patches/15-get_wch.patch	Fri Oct 03 14:30:07 2014 -0700
+++ b/components/python/python27/patches/15-get_wch.patch	Sat Oct 04 14:50:43 2014 -0700
@@ -1,5 +1,9 @@
---- Python-2.7.3/Modules/_cursesmodule.c.orig	2012-09-27 10:17:54.934886883 -0700
-+++ Python-2.7.3/Modules/_cursesmodule.c	2012-09-27 10:21:19.861160806 -0700
+This patch adds wget_wch support to the curses module.  It may be contributed
+upstream at some point, but the suitability (or lack thereof) has not yet
+been determined.
+
+--- Python-2.7.6/Modules/_cursesmodule.c.~1~	2013-11-09 23:36:41.000000000 -0800
++++ Python-2.7.6/Modules/_cursesmodule.c	2014-05-14 13:36:59.388642793 -0700
 @@ -861,6 +861,37 @@
  }
  
@@ -38,7 +42,7 @@
  PyCursesWindow_GetKey(PyCursesWindowObject *self, PyObject *args)
  {
      int x, y;
-@@ -1570,6 +1601,7 @@
+@@ -1572,6 +1603,7 @@
      {"getbegyx",        (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS},
      {"getbkgd",         (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS},
      {"getch",           (PyCFunction)PyCursesWindow_GetCh, METH_VARARGS},