Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE string problem in Run/Run Module #48660

Closed
andre mannequin opened this issue Nov 24, 2008 · 2 comments
Closed

IDLE string problem in Run/Run Module #48660

andre mannequin opened this issue Nov 24, 2008 · 2 comments

Comments

@andre
Copy link
Mannequin

andre mannequin commented Nov 24, 2008

BPO 4410
Nosy @loewis
Superseder
  • bpo-4008: IDLE: checksyntax() doesn't support Unicode?
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-12-29.19:42:25.114>
    created_at = <Date 2008-11-24.18:16:49.298>
    labels = ['expert-IDLE']
    title = 'IDLE string problem in Run/Run Module'
    updated_at = <Date 2008-12-29.19:42:25.113>
    user = 'https://bugs.python.org/andre'

    bugs.python.org fields:

    activity = <Date 2008-12-29.19:42:25.113>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-12-29.19:42:25.114>
    closer = 'loewis'
    components = ['IDLE']
    creation = <Date 2008-11-24.18:16:49.298>
    creator = 'andre'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 4410
    keywords = []
    message_count = 2.0
    messages = ['76353', '78478']
    nosy_count = 2.0
    nosy_names = ['loewis', 'andre']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '4008'
    type = None
    url = 'https://bugs.python.org/issue4410'
    versions = ['Python 3.0']

    @andre
    Copy link
    Mannequin Author

    andre mannequin commented Nov 24, 2008

    Python 3.0 rc3 on Windows (Server 2003 US English)

    The code with a string including a non ascii character:

    s = 'abçd'
    print (s)

    is returning correct result in console mode and when it's typed in the
    IDLE Python Shell

    But when executed from an IDLE editor window with Run/Run Module
    it prints 5 characters instead of 4.

    With more details, the code:

    s = 'abçd'
    print (s)
    
    for i in range(len(s)):
        print(hex(ord(s[i])),end=' ')
        
      
    gives  in console mode:

    abçd
    0x61 0x62 0xe7 0x64

    but with Run/Run Module:

    abçd
    0x61 0x62 0xc3 0xa7 0x64

    @andre andre mannequin added the topic-IDLE label Nov 24, 2008
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Dec 29, 2008

    This is a duplicate of bpo-4008

    @loewis loewis mannequin closed this as completed Dec 29, 2008
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants