Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.9] bpo-41604: Don't decrement the reference count of the previous ↵ | Miss Islington (bot) | 2021-01-31 | 1 | -1/+3 |
| | | | | | | | | | | user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403) (cherry picked from commit 3243e8a4b4b4cf321f9b28335d565742a34b1976) Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> (cherry picked from commit 3c8d6934436e20163be802f5239c5b4e4925eeec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) | Eddie Elizondo | 2019-03-27 | 1 | -1/+5 |
| | | | | | * Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New | ||||
* | bpo-36101: remove non-ascii characters in docstring (GH-12018) | animalize | 2019-02-24 | 1 | -4/+4 |
| | | | | | * remove non-ascii characters in docstring * clinic.py emits a warning when docstring has non-ascii character | ||||
* | bpo-20171: Convert the _curses and _curses_panel modules to Argument Clinic. ↵ | Serhiy Storchaka | 2018-05-10 | 1 | -74/+210 |
| | | | | (GH-4251) | ||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -16/+9 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #25745: Fixed leaking a userptr in curses panel destructor. | Serhiy Storchaka | 2016-05-08 | 1 | -0/+5 |
|\ | |||||
| * | Issue #25745: Fixed leaking a userptr in curses panel destructor. | Serhiy Storchaka | 2016-05-08 | 1 | -0/+5 |
| | | |||||
* | | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -3/+4 |
|\ \ | |/ | | | | | _tkinter and curses.panel modules. | ||||
| * | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -3/+4 |
| | | | | | | | | _tkinter and curses.panel modules. | ||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
| | | | | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | | |||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
| | | | | | | | | private functions. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | |||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -3/+2 |
| | | | | macro Py_SETREF. | ||||
* | Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure | Victor Stinner | 2013-07-18 | 1 | -0/+2 |
| | | | | | Don't call PyErr_NewException() if an exception is set, or type_call() would fail with an assertion error. | ||||
* | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -3/+3 |
| | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | #18113: avoid segfault if Py_XDECREF triggers code that calls ↵ | Andrew Kuchling | 2013-06-22 | 1 | -3/+8 |
| | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit. | ||||
* | #18113: Objects associated to a curses.panel object with set_userptr() were ↵ | Andrew Kuchling | 2013-06-15 | 1 | -0/+4 |
| | | | | | | leaked. Reported by Atsuo Ishimoto. | ||||
* | Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API. | Martin v. Löwis | 2012-06-14 | 1 | -43/+29 |
| | | | | Patch by Robin Schreiber. | ||||
* | Issue #14936: curses_panel was converted to PEP 3121 API. | Martin v. Löwis | 2012-06-14 | 1 | -12/+42 |
| | | | | Patch by Robin Schreiber. | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -113/+113 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
* | Merged revisions 78635 via svnmerge from | Victor Stinner | 2010-03-03 | 1 | -5/+8 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78635 | victor.stinner | 2010-03-03 22:53:41 +0100 (mer., 03 mars 2010) | 5 lines Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL() by Py_DECREF() to avoid a crash in pydebug mode. Use po->wo==NULL to detect than the panel is in the lop list or not. ........ | ||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -1/+1 |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | ||||
* | #3247: get rid of Py_FindMethod | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -9/+18 |
| | | | | Third step: unix-only modules. Really remove the function this time. | ||||
* | Implement PEP 3121: new module initialization and finalization API. | Martin v. Löwis | 2008-06-11 | 1 | -3/+17 |
| | |||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. | Christian Heimes | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | Convert a bunch of constant strings in C to unicode. | Neal Norwitz | 2007-08-23 | 1 | -1/+1 |
| | |||||
* | Merged revisions 56467-56482 via svnmerge from | Martin v. Löwis | 2007-07-21 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines Merged revisions 56466-56476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. ........ ................ r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines PEP 3123: Use proper C inheritance for PyObject. ................ r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines Add longintrepr.h to Python.h, so that the compiler can see that PyFalse is really some kind of PyObject*. ................ r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines Qualify SHIFT, MASK, BASE. ................ r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines Correctly refer to _ob_next. ................ | ||||
* | Coverity-found bug: don't use temp->next *before* checking it for NULL. Also | Thomas Wouters | 2006-03-07 | 1 | -2/+4 |
| | | | | return rather than use it again. | ||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Bug #1400115, Fix segfault when calling curses.panel.userptr() | Neal Norwitz | 2006-01-09 | 1 | -0/+5 |
| | | | | | | without prior setting of the userptr. Will backport. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | Fix whitespace | Neal Norwitz | 2002-03-31 | 1 | -2/+1 |
| | |||||
* | Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS. | Neal Norwitz | 2002-03-25 | 1 | -12/+7 |
| | |||||
* | Oh look, another one. | Michael W. Hudson | 2002-01-30 | 1 | -1/+1 |
| | | | | 2.2.1 candiate (he says, largely talking to himself :) | ||||
* | Patch #477752: Drop old-style getargs from curses. | Martin v. Löwis | 2002-01-17 | 1 | -41/+23 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Cast argument to set_panel_userptr to void*. Fixes bug #417240. | Martin v. Löwis | 2001-10-13 | 1 | -1/+1 |
| | |||||
* | init_curses_panel(): Be more consistent with indentation and blank lines. | Fred Drake | 2001-01-27 | 1 | -5/+3 |
| | |||||
* | SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin | Guido van Rossum | 2001-01-22 | 1 | -2/+5 |
| | |||||
* | Minor patch from Thomas Gellekum: | Andrew M. Kuchling | 2001-01-19 | 1 | -8/+3 |
| | | | | | | * Deletes the Panel_NoArgReturnStringFunction() macro, which isn't used anymore * Adjusts two comments. | ||||
* | Shortened / wrapped some long lines. | Fred Drake | 2000-12-23 | 1 | -8/+11 |
| | | | | Removed warning on use of panel_userptr() in PyCursesPanel_userptr(). | ||||
* | Add correction caught by Thomas Gellekum (and sitting in my e-mail) | Andrew M. Kuchling | 2000-12-22 | 1 | -1/+2 |
| | |||||
* | Patch #102813: add a wrapper for the panel library included with ncurses. | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+495 |
Original version written by Thomas Gellekum, reshaped into a separate module by AMK. |