Skip to content

Support Chinese punctuations #33

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Switch to Chinese input source
2. Input: 打印 “哈啰 世界!”
3. Compile and run into problem

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/base/data/home/apps/zhpy/4.4/shell.py", line 171, in post
    compiled = compile(statement, '<string>', 'single')
  File "<string>", line 1
    print p_201c_54c8_5570_v p_4e16_754c_v!p_201d_v
                                         ^

SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
I'm using the online shell


Please provide any additional information below.
The problem is zhpy does not support Chinese quotation mark. This is acceptable 
but will is not convenient to typing source code.

Original issue reported on code.google.com by [email protected] on 27 Apr 2014 at 10:59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions