Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) | Victor Stinner | 2020-12-01 | 1 | -3/+3 |
| | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free() | ||||
* | bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) | Victor Stinner | 2020-12-01 | 1 | -4/+4 |
| | | | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyMem_MALLOC() with PyMem_Malloc() * Replace PyMem_REALLOC() with PyMem_Realloc() * Replace PyMem_FREE() with PyMem_Free() * Replace PyMem_Del() with PyMem_Free() * Replace PyMem_DEL() with PyMem_Free() Modify also the PyMem_DEL() macro to use directly PyMem_Free(). | ||||
* | bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281) | Serhiy Storchaka | 2020-11-15 | 1 | -1/+53 |
| | |||||
* | Trivial typo fix in _tkinter.c (GH-19622) | Andrew York | 2020-05-15 | 1 | -7/+7 |
| | | | Change spelling of a #define in _tkinter.c from HAVE_LIBTOMMAMTH to HAVE_LIBTOMMATH, since this is used to keep track of tclTomMath.h, not tclTomMamth.h. No other file seems to refer to this variable. | ||||
* | bpo-40268: Remove explicit pythread.h includes (#19529) | Victor Stinner | 2020-04-15 | 1 | -2/+0 |
| | | | | Remove explicit pythread.h includes: it is always included by Python.h. | ||||
* | bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. ↵ | Serhiy Storchaka | 2020-04-12 | 1 | -2/+2 |
| | | | | (GH-19472) | ||||
* | bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) | Dong-hee Na | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393) | Victor Stinner | 2020-02-07 | 1 | -2/+2 |
| | | | Replace direct access to PyObject.ob_type with Py_TYPE(). | ||||
* | bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231) | Victor Stinner | 2019-11-20 | 1 | -2/+0 |
| | | | | | The PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros are empty: they have been doing nothing for the last year (since commit 735ae8d139a673b30b321dc10acfd3d14f0d633b), so stop using them. | ||||
* | bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) | Brandt Bucher | 2019-11-18 | 1 | -0/+2 |
| | | | https://bugs.python.org/issue38823 | ||||
* | bpo-38371: Tkinter: deprecate the split() method. (GH-16584) | Serhiy Storchaka | 2019-10-08 | 1 | -0/+6 |
| | |||||
* | bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵ | Serhiy Storchaka | 2019-10-04 | 1 | -173/+202 |
| | | | | | | | | | | | | | (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError). | ||||
* | bpo-37206: Unrepresentable default values no longer represented as None. ↵ | Serhiy Storchaka | 2019-09-14 | 1 | -4/+4 |
| | | | | | | | (GH-13933) In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values (like in the optional third parameter of getattr). "None" should be used if None is accepted as argument and passing None has the same effect as not passing the argument at all. | ||||
* | bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095) | Jordon Xu | 2019-09-10 | 1 | -2/+2 |
| | |||||
* | bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890) | Victor Stinner | 2019-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Add a new public PyObject_CallNoArgs() function to the C API: call a callable Python object without any arguments. It is the most efficient way to call a callback without any argument. On x86-64, for example, PyObject_CallFunctionObjArgs(func, NULL) allocates 960 bytes on the stack per call, whereas PyObject_CallNoArgs(func) only allocates 624 bytes per call. It is excluded from stable ABI 3.8. Replace private _PyObject_CallNoArg() with public PyObject_CallNoArgs() in C extensions: _asyncio, _datetime, _elementtree, _pickle, _tkinter and readline. | ||||
* | bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) | Eddie Elizondo | 2019-03-27 | 1 | -3/+0 |
| | | | | | * Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New | ||||
* | bpo-33029: Fix signatures of getter and setter functions. (GH-10746) | Serhiy Storchaka | 2018-11-27 | 1 | -2/+2 |
| | | | Fix also return type for few other functions (clear, releasebuffer). | ||||
* | bpo-34794: Fix a leak in Tkinter. (GH-10025) | Serhiy Storchaka | 2018-10-23 | 1 | -3/+1 |
| | | | Based on the investigation by Xiang Zhang. | ||||
* | Fix miscellaneous typos (#4275) | luzpaz | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | bpo-23699: Use a macro to reduce boilerplate code in rich comparison ↵ | stratakis | 2017-11-02 | 1 | -32/+2 |
| | | | | functions (GH-793) | ||||
* | bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) | Serhiy Storchaka | 2017-10-03 | 1 | -2/+10 |
| | | | | | when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. | ||||
* | bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864) | Serhiy Storchaka | 2017-10-03 | 1 | -4/+4 |
| | |||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -62/+0 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Use NULL rather than 0. (#778) | Serhiy Storchaka | 2017-03-23 | 1 | -1/+1 |
| | | | | | There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer. | ||||
* | bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) | Serhiy Storchaka | 2017-03-12 | 1 | -5/+5 |
| | |||||
* | bpo-29548: Fix some inefficient call API usage (GH-97) | INADA Naoki | 2017-02-16 | 1 | -7/+4 |
| | |||||
* | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 1 | -3/+3 |
| | | | | UTF-8 represenatation of Unicode objects. | ||||
* | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
|\ | |||||
| * | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
| | | |||||
* | | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -2/+0 |
| | | |||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Use macros instead of corresponding functions (they never fail) in _tkinter.c. | Serhiy Storchaka | 2016-06-19 | 1 | -22/+26 |
| | | |||||
* | | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+3 |
|\ \ | |/ | | | | | _tkinter and curses.panel modules. | ||||
| * | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+3 |
| | | | | | | | | _tkinter and curses.panel modules. | ||||
* | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -12/+5 |
| | | | | | | | | Argument Clinic is now able to infer all needed information. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -4/+4 |
|/ | | | | private functions. | ||||
* | Issue #20035: Reimplement tkinter._fix module as a C function. | Zachary Ware | 2015-05-22 | 1 | -1/+118 |
| | | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms. | ||||
* | Use specialized functions intead of Py_BuildValue() in _tkinter. | Serhiy Storchaka | 2015-05-06 | 1 | -4/+4 |
| | |||||
* | Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj. | Serhiy Storchaka | 2015-05-06 | 1 | -7/+25 |
| | | | | Tkinter's getdouble() now supports any numbers (in particular int). | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -3/+3 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Fix Windows build breakage from checkins on Issues #20148 and #20168. | Larry Hastings | 2015-05-03 | 1 | -38/+33 |
| | |||||
* | Issue #20168: Converted the _tkinter module to Argument Clinic. | Serhiy Storchaka | 2015-05-03 | 1 | -246/+417 |
| | |||||
* | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵ | Serhiy Storchaka | 2015-04-22 | 1 | -3/+4 |
|\ | | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. Removed TK_VERSION_HEX. | ||||
| * | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵ | Serhiy Storchaka | 2015-04-22 | 1 | -3/+4 |
| | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. | ||||
* | | Issue #16840: Turn on support of bignums only in final release of Tcl 8.5. | Serhiy Storchaka | 2015-04-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16840: Turn on support of bignums only in final release of Tcl 8.5. | Serhiy Storchaka | 2015-04-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -9/+14 |
|\ \ | |/ | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. | ||||
| * | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -9/+14 |
| | | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. |