E. Paine <xepain...@gmail.com> added the comment:

I suspect this is a bug with Tk. `-compound` accepting the empty string is not 
documented and the valid Ttk compound values listed in the source do not 
include it 
(https://github.com/tcltk/tk/blob/57451473/generic/ttk/ttkInit.c#L34-L37 - 
ignore the NULL at the end, this is required by `Tcl_GetIndexFromObjStruct`: 
https://github.com/tcltk/tcl/blob/e78868d6/generic/tclIndexObj.c#L187-L191). I 
therefore assume it must be a regression with one of the changes that was made 
to `Ttk_GetCompoundFromObj` between 8.6.10 and 8.6.11. I will investigate 
further and report it to the Tk team.

I have not fully investigated the issue with `test_configure_type` reported 
here and in bpo-43139, but again, the empty string is not documented as being 
valid.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45436>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to