Stefan Champailler added the comment:
I don't know if this is 100% related, but here I go. Here's a session in a
windows console (cmd.exe) :
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\stc>chcp 65001
Active code p
Stefan Champailler added the comment:
In my previous comment, I've shown :
print '€'
which is not valid python 3.4.1 (don't why the interpreter didn't complaing
though). So I tested again with missing parenthesis added :
C:\PORT-STCA2\pl-PRIVATE\horse>chcp 6500
Stefan Champailler added the comment:
Dear Drekin,
> The crash you see is maybe not a crash at all. First it has nothing
> to do with printing, the problem is reading of your input line.
I guessed that, but thanks for pointing out.
> So maybe Python REPL then thinks the input just
Stefan Champailler added the comment:
Thank you all for your quick and good answers. This level of responsiveness is
truly amazing.
I've played a bit with IPython and it works just fine. I can type the eurosign
drectly with "Alt Gr - E" (so I didn't enter a unicode
Stefan Champailler added the comment:
I'm adding a scenario for this problem, a real life one, so it gives a bit more
substance.
I use SQLALchemy. I do queries with it which returns KeyedTuples (an SQLALchemy
type). KeyedTuples inherits from tuple. KeyedTuples are, in principle,
Stefan Champailler added the comment:
Reading bugs a bit, I see this is quite related to :
http://bugs.python.org/issue14886
stF
--
___
Python tracker
<http://bugs.python.org/issue12