Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98302 > unrolled thread
| Started by | Mahan Marwat <mahanmarwat@gmail.com> |
|---|---|
| First post | 2015-11-05 06:08 -0800 |
| Last post | 2015-11-05 22:18 -0500 |
| Articles | 6 — 5 participants |
Back to article view | Back to comp.lang.python
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
| From | Mahan Marwat <mahanmarwat@gmail.com> |
|---|---|
| Date | 2015-11-05 06:08 -0800 |
| Subject | Snake Error π |
| Message-ID | <7c531168-539c-45ef-bb1d-bca713c383cc@googlegroups.com> |
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?
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-11-06 01:18 +1100 |
| Message-ID | <mailman.55.1446733112.16136.python-list@python.org> |
| In reply to | #98302 |
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, or try using a character with a four-digit codepoint. Other GUI toolkits may do better (I've used Gtk on Windows with astral characters, though not from Python), and it should be fine on any modern Linux system. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Mahan Marwat <mahanmarwat@gmail.com> |
|---|---|
| Date | 2015-11-05 06:31 -0800 |
| Message-ID | <16d52451-d661-48c3-b03a-b2e013d9d01c@googlegroups.com> |
| In reply to | #98305 |
> Was this on Windows? Yeh, Window 10.
[toc] | [prev] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2015-11-05 11:24 -0800 |
| Message-ID | <ae8847a2-b02c-4afc-b2df-f552766c56e9@googlegroups.com> |
| In reply to | #98305 |
Le jeudi 5 novembre 2015 15:18:44 UTC+1, Chris Angelico a Γ©critΒ : > > Was this on Windows? The Windows builds of Tk have a problem with > astral characters, ... Non only on Windows and not only with non BMP code points/characters.
[toc] | [prev] | [next] | [standalone]
| From | Christian Gollwitzer <auriocus@gmx.de> |
|---|---|
| Date | 2015-11-05 21:02 +0100 |
| Message-ID | <n1gcg0$peu$1@dont-email.me> |
| In reply to | #98305 |
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
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-11-05 22:18 -0500 |
| Message-ID | <mailman.69.1446779924.16136.python-list@python.org> |
| In reply to | #98302 |
On 11/5/2015 9:08 AM, Mahan Marwat wrote: > When I am trying to paste this π in Python 3.5.0 IDLE. It crashes. https://bugs.python.org/issue13153 If you run 'python -m idlelib' from command line, you will see a traceback. -- Terry Jan Reedy
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web