Re: py3 tkinter acceps bytes. why?

2010-05-08 Thread Martin v. Loewis
Matthias Kievernagel wrote: Me: If I don't want bytes to get passed to tkinter I just have to raise an exception in AsObj, no? Or is it even sufficient to just remove the bytes case? Martin v. Loewis mar...@v.loewis.de wrote: But why would you want that? There are commands which legitimately

Re: py3 tkinter acceps bytes. why?

2010-05-07 Thread Matthias Kievernagel
Me: If I don't want bytes to get passed to tkinter I just have to raise an exception in AsObj, no? Or is it even sufficient to just remove the bytes case? Martin v. Loewis mar...@v.loewis.de wrote: But why would you want that? There are commands which legitimately return bytes, e.g. the file

Re: py3 tkinter acceps bytes. why?

2010-05-06 Thread Matthias Kievernagel
Me: I asked what kinds of bytes are accepted as tkinter parameters. I still wonder why they are accepted at all. Does anyone know a reason for this or has a link to some relevant discussion? Terry Reedy: I do not remember any particular public discussion of tkinter on the dev lists. I

Re: py3 tkinter acceps bytes. why?

2010-05-06 Thread Martin v. Loewis
If I don't want bytes to get passed to tkinter I just have to raise an exception in AsObj, no? Or is it even sufficient to just remove the bytes case? But why would you want that? There are commands which legitimately return bytes, e.g. the file and network io libraries of Tcl (not that you

py3 tkinter acceps bytes. why?

2010-05-04 Thread Matthias Kievernagel
From: Matthias Kievernagel mkie...@pirx.sirius.org Subject: py3 tkinter acceps bytes. why? Newsgroups: comp.lang.python Summary: Keywords: In a recent thread named py3 tkinter Text accepts what bytes? (google groups link: http://groups.google.com/group/comp.lang.python/browse_thread/thread

Re: py3 tkinter acceps bytes. why?

2010-05-04 Thread Terry Reedy
On 5/4/2010 10:17 AM, Matthias Kievernagel wrote: From: Matthias Kievernagelmkie...@pirx.sirius.org Subject: py3 tkinter acceps bytes. why? Newsgroups: comp.lang.python Summary: Keywords: In a recent thread named py3 tkinter Text accepts what bytes? (google groups link: http://groups.google.com

Re: py3 tkinter acceps bytes. why?

2010-05-04 Thread Martin v. Loewis
In a recent thread named py3 tkinter Text accepts what bytes? (google groups link: http://groups.google.com/group/comp.lang.python/browse_thread/thread/b75ed69f4e81b202/e2aff9ddd62d210c?lnk=raot) I asked what kinds of bytes are accepted as tkinter parameters. I still wonder why they are