[New-bugs-announce] [issue17478] Tkinter's split() inconsistent for bytes and unicode strings

Serhiy Storchaka report at bugs.python.org
Tue Mar 19 09:58:39 CET 2013


New submission from Serhiy Storchaka:

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',)

----------
components: Tkinter, Unicode
messages: 184622
nosy: ezio.melotti, gpolo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Tkinter's split() inconsistent for bytes and unicode strings
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17478>
_______________________________________


More information about the New-bugs-announce mailing list