summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)Miss Islington (bot)2020-12-291-1/+1
| | | | | | | Tk can internally support bignum even if Tkinter is built without support of bignum. (cherry picked from commit 156b7f7052102ee1633a18e9a136ad8c38f66db0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic ↵Miss Islington (bot)2020-12-271-4/+8
| | | | | | | | linked with Tk >= 8.5 (GH-23955) (GH-23962) (cherry picked from commit b02ad2458bc127a7afdeef414fa68c9a7f1f32af) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.8] bpo-42318: Fix support of non-BMP characters in Tkinter on macOS ↵Miss Islington (bot)2020-12-251-6/+40
| | | | | | | (GH-23281). (GH-23784) (GH-23787) (cherry picked from commit a26215db11cfcf7b5f55cab9e91396761a0e0bcf) (cherry picked from commit 28bf6ab61f77c69b732a211c398ac882bf3f65f4)
* bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵Miss Islington (bot)2019-10-041-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). (cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)Serhiy Storchaka2018-06-301-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 Storchaka2017-10-031-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 inSerhiy Storchaka2016-05-081-0/+2
| | | | _tkinter and curses.panel modules.
* Issue #25093: Merge with 3.4Zachary Ware2015-10-131-4/+4
|\
| * Issue #25093: Fix test_tcl's testloadWithUNC for paths with spacesZachary Ware2015-10-131-4/+4
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #20035: Reimplement tkinter._fix module as a C function.Zachary Ware2015-05-221-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 Storchaka2015-05-061-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 Storchaka2015-04-221-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 Storchaka2015-04-221-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 Storchaka2015-04-221-15/+11
|\ \ | |/
| * Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-221-15/+11
| |
* | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-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 alwaysSerhiy Storchaka2015-04-041-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 Storchaka2015-04-021-4/+4
|\ \ | |/
| * Issue #16840: Fixed test_tcl for Tcl < 8.5.Serhiy Storchaka2015-04-021-4/+4
| |
* | Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
|\ \ | |/
| * Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
| |
* | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-7/+37
|\ \ | |/ | | | | arbitrary precision integers added in Tcl 8.5.
| * Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-7/+39
| | | | | | | | arbitrary precision integers added in Tcl 8.5.
* | Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
|\ \ | |/
| * Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
| |
* | Issue #21526: Fixed support of new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-0/+15
|\ \ | |/
| * Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-0/+15
| |
* | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-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 withSerhiy Storchaka2014-09-111-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 Storchaka2014-09-061-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 Storchaka2014-09-061-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_tclVictor Stinner2014-09-041-2/+6
| |
* | Clean up test_user_command.Serhiy Storchaka2014-08-181-11/+14
|\ \ | |/
| * Clean up test_user_command.Serhiy Storchaka2014-08-181-11/+14
| |
* | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-9/+15
|\ \ | |/ | | | | In particular this allows to initialize images from binary data.
| * Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-9/+15
| | | | | | | | In particular this allows to initialize images from binary data.
* | Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
|\ \ | |/
| * Issue #21951: Temporary skip crashing test_user_command on AIX.Serhiy Storchaka2014-07-301-0/+1
| |
* | Issue #21881: Just omit tests for platform-specific NaN representation in ↵Serhiy Storchaka2014-07-071-6/+2
|\ \ | |/ | | | | test_tcl.
| * Issue #21881: Just omit tests for platform-specific NaN representation in ↵Serhiy Storchaka2014-07-071-6/+2
| | | | | | | | test_tcl.
* | Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaNSerhiy Storchaka2014-07-071-6/+6
|\ \ | |/ | | | | representations (on mips and m68k platforms).
| * Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaNSerhiy Storchaka2014-07-071-6/+6
| | | | | | | | representations (on mips and m68k platforms).
* | Test correct getXXX methods in Tkinter bigmem tests.Serhiy Storchaka2014-05-301-3/+3
|\ \ | |/ | | | | Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
| * Test correct getXXX methods in Tkinter bigmem tests.Serhiy Storchaka2014-05-301-3/+3
| | | | | | | | Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
* | Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+26
|\ \ | |/ | | | | the tkinter module on 64-bit platforms.
| * Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+26
| | | | | | | | the tkinter module on 64-bit platforms.
* | Add tests for getint, getdouble and getboolean methods of the tkapp object.Serhiy Storchaka2014-05-301-0/+44
|\ \ | |/
| * Add tests for getint, getdouble and getboolean methods of the tkapp object.Serhiy Storchaka2014-05-301-0/+44
| |
* | Issue #21525: Most Tkinter methods which accepted tuples now accept lists too.Serhiy Storchaka2014-05-211-0/+8
|/
* Issue #20743: Fix a reference leak in test_tcl.Antoine Pitrou2014-02-231-0/+1
|\