Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98320
| From | Christian Gollwitzer <auriocus@gmx.de> |
|---|---|
| Newsgroups | comp.lang.python, comp.lang.tcl |
| Subject | Re: Snake Error 🐍 |
| Date | 2015-11-05 21:02 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <n1gcg0$peu$1@dont-email.me> (permalink) |
| References | <7c531168-539c-45ef-bb1d-bca713c383cc@googlegroups.com> <mailman.55.1446733112.16136.python-list@python.org> |
Cross-posted to 2 groups.
Am 05.11.15 um 15:18 schrieb Chris Angelico:
> On Fri, Nov 6, 2015 at 1:08 AM, Mahan Marwat <mahanmarwat@gmail.com> wrote:
>> When I am trying to paste this 🐍 in Python 3.5.0 IDLE. It crashes.
>> Found it on this page: http://www.fileformat.info/info/unicode/char/1f40d/index.htm
>> Does Python have any problem with other snakes?
>
> Was this on Windows? The Windows builds of Tk have a problem with
> astral characters, so you may not be able to use them there. Try it on
> Linux
Tk does only handle BMP characters. It's a restriction deep inside the
codebase of Tcl 8, which will be lifted only in (the future) Tcl 9.
Howver, it should not crash, rather paste a U+FFFD character. X-Post to
comp.lang.tcl. Can you check the Tk version you use? Try:
import tkinter
tkinter.Tk().eval("info patchlevel")
Christian
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Snake Error 🐍 Mahan Marwat <mahanmarwat@gmail.com> - 2015-11-05 06:08 -0800
Re: Snake Error 🐍 Chris Angelico <rosuav@gmail.com> - 2015-11-06 01:18 +1100
Re: Snake Error 🐍 Mahan Marwat <mahanmarwat@gmail.com> - 2015-11-05 06:31 -0800
Re: Snake Error 🐍 wxjmfauth@gmail.com - 2015-11-05 11:24 -0800
Re: Snake Error 🐍 Christian Gollwitzer <auriocus@gmx.de> - 2015-11-05 21:02 +0100
Re: Snake Error 🐍 Terry Reedy <tjreedy@udel.edu> - 2015-11-05 22:18 -0500
csiph-web