Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) | Serhiy Storchaka | 2021-09-19 | 1 | -4/+1 |
| | | | | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests. (cherry picked from commit 40348acc180580371d25f75f46b27048e35f2435) | ||||
* | bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) | Miss Islington (bot) | 2021-07-13 | 1 | -1/+7 |
| | | | | | | if it is called with a sequence or set, but not list or tuple. (cherry picked from commit f572cbf1faab33d9afbbe3e95738ed6fbe6e48e6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl ↵ | Miss Islington (bot) | 2021-06-24 | 1 | -3/+3 |
| | | | | | | | (GH-26412) (GH-26888) (cherry picked from commit e90e0422182f4ca7faefd19c629f84aebb34e2ee) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to the following types: * _dbm.dbm * _gdbm.gdbm * _multibytecodec.MultibyteCodec * _sre..SRE_Scanner * _thread._localdummy * _thread.lock * _winapi.Overlapped * array.arrayiterator * functools.KeyWrapper * functools._lru_list_elem * pyexpat.xmlparser * re.Match * re.Pattern * unicodedata.UCD * zlib.Compress * zlib.Decompress | ||||
* | bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966) | Serhiy Storchaka | 2020-12-29 | 1 | -1/+1 |
| | | | | Tk can internally support bignum even if Tkinter is built without support of bignum. | ||||
* | bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic ↵ | Serhiy Storchaka | 2020-12-27 | 1 | -4/+8 |
| | | | | linked with Tk >= 8.5 (GH-23955) | ||||
* | bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281) | Serhiy Storchaka | 2020-11-15 | 1 | -6/+40 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21743) | Hai Shi | 2020-08-06 | 1 | -7/+8 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-20824) | Hai Shi | 2020-06-25 | 1 | -1/+2 |
| | |||||
* | bpo-38371: Tkinter: deprecate the split() method. (GH-16584) | Serhiy Storchaka | 2019-10-08 | 1 | -4/+9 |
| | |||||
* | bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵ | Serhiy Storchaka | 2019-10-04 | 1 | -0/+5 |
| | | | | | | | | | | | | | (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-33974: Fix passing special characters to ttk widgets. (GH-7986) | Serhiy Storchaka | 2018-06-30 | 1 | -0/+37 |
| | | | | Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets. | ||||
* | bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) | Serhiy Storchaka | 2017-10-03 | 1 | -21/+33 |
| | | | | | when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. | ||||
* | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+2 |
| | | | | _tkinter and curses.panel modules. | ||||
* | Issue #25093: Merge with 3.4 | Zachary Ware | 2015-10-12 | 1 | -4/+4 |
|\ | |||||
| * | Issue #25093: Fix test_tcl's testloadWithUNC for paths with spaces | Zachary Ware | 2015-10-12 | 1 | -4/+4 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #20035: Reimplement tkinter._fix module as a C function. | Zachary Ware | 2015-05-22 | 1 | -3/+1 |
| | | | | | | | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms. | ||||
* | | Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj. | Serhiy Storchaka | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | Tkinter's getdouble() now supports any numbers (in particular int). | ||||
* | | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵ | Serhiy Storchaka | 2015-04-22 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | | | | | 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 | -1/+3 |
| | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. | ||||
* | | Fixed full Tcl version parsing in tests for pre-final versions. | Serhiy Storchaka | 2015-04-22 | 1 | -15/+11 |
|\ \ | |/ | |||||
| * | Fixed full Tcl version parsing in tests for pre-final versions. | Serhiy Storchaka | 2015-04-22 | 1 | -15/+11 |
| | | |||||
* | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | 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 | -1/+2 |
| | | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool. | ||||
* | | Issue #16840: Fixed test_tcl for Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #16840: Fixed test_tcl for Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+4 |
| | | |||||
* | | Issue #21526: Skip test_booleans on Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #21526: Skip test_booleans on Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+1 |
| | | |||||
* | | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 1 | -7/+37 |
|\ \ | |/ | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
| * | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 1 | -7/+39 |
| | | | | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
* | | Issue #21526: Fixed the test_booleans test for wantobjects = 0. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | Issue #21526: Fixed the test_booleans test for wantobjects = 0. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+6 |
| | | |||||
* | | Issue #21526: Fixed support of new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+15 |
|\ \ | |/ | |||||
| * | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+15 |
| | | |||||
* | | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with | Serhiy Storchaka | 2014-09-11 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory. | ||||
| * | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with | Serhiy Storchaka | 2014-09-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory. | ||||
* | | Issue #22226: Added private function _splitdict() in the Tkinter module. | Serhiy Storchaka | 2014-09-06 | 1 | -1/+36 |
|\ \ | |/ | | | | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading(). | ||||
| * | Issue #22226: Added private function _splitdict() in the Tkinter module. | Serhiy Storchaka | 2014-09-06 | 1 | -1/+36 |
| | | | | | | | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading(). | ||||
* | | Issue #22334: Add debug traces to test_tcl | Victor Stinner | 2014-09-04 | 1 | -2/+6 |
| | | |||||
* | | Clean up test_user_command. | Serhiy Storchaka | 2014-08-18 | 1 | -11/+14 |
|\ \ | |/ | |||||
| * | Clean up test_user_command. | Serhiy Storchaka | 2014-08-18 | 1 | -11/+14 |
| | | |||||
* | | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk. | Serhiy Storchaka | 2014-07-30 | 1 | -9/+15 |
|\ \ | |/ | | | | | In particular this allows to initialize images from binary data. | ||||
| * | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk. | Serhiy Storchaka | 2014-07-30 | 1 | -9/+15 |
| | | | | | | | | In particular this allows to initialize images from binary data. | ||||
* | | Issue #21951: Temporary skip crashing test_user_command on AIX. | Serhiy Storchaka | 2014-07-30 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #21951: Temporary skip crashing test_user_command on AIX. | Serhiy Storchaka | 2014-07-30 | 1 | -0/+1 |
| | | |||||
* | | Issue #21881: Just omit tests for platform-specific NaN representation in ↵ | Serhiy Storchaka | 2014-07-07 | 1 | -6/+2 |
|\ \ | |/ | | | | | test_tcl. | ||||
| * | Issue #21881: Just omit tests for platform-specific NaN representation in ↵ | Serhiy Storchaka | 2014-07-07 | 1 | -6/+2 |
| | | | | | | | | test_tcl. | ||||
* | | Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN | Serhiy Storchaka | 2014-07-07 | 1 | -6/+6 |
|\ \ | |/ | | | | | representations (on mips and m68k platforms). | ||||
| * | Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN | Serhiy Storchaka | 2014-07-07 | 1 | -6/+6 |
| | | | | | | | | representations (on mips and m68k platforms). | ||||
* | | Test correct getXXX methods in Tkinter bigmem tests. | Serhiy Storchaka | 2014-05-30 | 1 | -3/+3 |
|\ \ | |/ | | | | | Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint. |