This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Tkinter's split() inconsistent for bytes and unicode strings
Type: behavior Stage: resolved
Components: Tkinter, Unicode Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Tk.split() doesn't work with nested Unicode strings
View: 18101
Assigned To: Nosy List: ezio.melotti, gpolo, serhiy.storchaka
Priority: normal Keywords:

Created on 2013-03-19 08:58 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg184622 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-03-19 08:58
Tkinter's split() recursive splits bytes but not unicode strings.

>>> from tkinter import *
>>> t = Tcl()
>>> t.tk.split((b'a 2',))
(('a', '2'),)
>>> t.tk.split(('a 2',))
('a 2',)
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61680
2013-08-03 21:00:15serhiy.storchakasetstatus: open -> closed
superseder: Tk.split() doesn't work with nested Unicode strings
resolution: duplicate
stage: resolved
2013-03-19 08:58:39serhiy.storchakacreate