spurious BadDrawable error when running test_tk

2018-05-14 Thread Matthias Kievernagel
ven't found anything on b.p.o. about this. Thanks for any insights, Matthias Kievernagel -- https://mail.python.org/mailman/listinfo/python-list

Re: how to do random / SystemRandom switch

2011-04-30 Thread Matthias Kievernagel
Peter Otten <__pete...@web.de> wrote: > Matthias Kievernagel wrote: > >> In my top-level script I want to select if my program >> is to use random.xxx functions or the random.SystemRandom.xxx >> ones. All the other modules shouldn't know about that >&g

how to do random / SystemRandom switch

2011-04-30 Thread Matthias Kievernagel
do a similar thing in the Makefile using Compiler-/Link-Options (DEBUG/FINAL Build) switching between two libraries. Any hints are welcome, especially a search term would be very helpful :) Thanks in advance, Matthias Kievernagel. -- http://mail.python.org/mailman/listinfo/python-list

Re: py3 tkinter acceps bytes. why?

2010-05-07 Thread Matthias Kievernagel
for display, i.e. not a string. If bytes pass unnoticed, I'll sooner or later have a surprise. Just to make sure I decode all bytes (coming from a socket) before I pass them on to the GUI. Regards, Matthias Kievernagel -- http://mail.python.org/mailman/listinfo/python-list

Re: py3 tkinter acceps bytes. why?

2010-05-06 Thread Matthias Kievernagel
ust the type names >swapped. 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? Regards and thanks for your answers. Matthias Kievernagel. -- http://mail.python.org/mailman/listinfo/python-list

py3 tkinter acceps bytes. why?

2010-05-04 Thread Matthias Kievernagel
From: Matthias Kievernagel 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/b75ed6

Re: py3 tkinter Text accepts what bytes?

2010-04-23 Thread Matthias Kievernagel
eb303 wrote: > On Apr 23, 2:00 pm, Matthias Kievernagel > wrote: >> Hello, >> >> I stumbled upon this one while porting some of my programs >> to Python 3.1. The program receives messages from a socket >> and displays them in a tkinter Text. Works fine in Pyth

py3 tkinter Text accepts what bytes?

2010-04-23 Thread Matthias Kievernagel
this magic is done? Is it tcl magic or did I miss something in the python sources? Is this somewhere documented? Thanks for any hints, Matthias Kievernagel -- http://mail.python.org/mailman/listinfo/python-list