Author gpolo
Recipients gpolo, kbk, nnorwitz, ocean-city
Date 2008-12-03.21:48:43
SpamBayes Score 5.41058e-05
Marked as misclassified No
Message-id <1228340924.12.0.83274462488.issue1028@psf.upfronthosting.co.za>
In-reply-to
Content
I've been working on a new _tkinter (named it as "plumage") these days
and I hit this same problem for trusting too much that nothing from tcl,
including tk and extensions, would give me this embedded null.

Checking another bridge to Tcl (one done for Perl) it is possible to
notice that it also chose to verify for these bytes and convert them to
something else, a 0. The code for this for Python can be found at
http://code.google.com/p/plumage/source/browse/trunk/src/utils.c#42 up
to line 76, it could/should be adapted to the _tkinter in py3k and also
for python 2.x.
History
Date User Action Args
2008-12-03 21:48:44gpolosetrecipients: + gpolo, nnorwitz, kbk, ocean-city
2008-12-03 21:48:44gpolosetmessageid: <1228340924.12.0.83274462488.issue1028@psf.upfronthosting.co.za>
2008-12-03 21:48:43gpololinkissue1028 messages
2008-12-03 21:48:43gpolocreate