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

pygettext.py py3k errors #46155

Closed
scav mannequin opened this issue Jan 15, 2008 · 3 comments
Closed

pygettext.py py3k errors #46155

scav mannequin opened this issue Jan 15, 2008 · 3 comments
Labels
type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@scav
Copy link
Mannequin

scav mannequin commented Jan 15, 2008

BPO 1830
Nosy @gvanrossum
Files
  • pygettext.diff: Patch for pygettext.py
  • 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-01-15.17:41:47.602>
    created_at = <Date 2008-01-15.11:50:24.195>
    labels = ['type-crash']
    title = 'pygettext.py py3k errors'
    updated_at = <Date 2008-01-15.17:41:47.543>
    user = 'https://bugs.python.org/scav'

    bugs.python.org fields:

    activity = <Date 2008-01-15.17:41:47.543>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-01-15.17:41:47.602>
    closer = 'gvanrossum'
    components = ['Demos and Tools']
    creation = <Date 2008-01-15.11:50:24.195>
    creator = 'scav'
    dependencies = []
    files = ['9173']
    hgrepos = []
    issue_num = 1830
    keywords = []
    message_count = 3.0
    messages = ['59961', '59962', '59975']
    nosy_count = 2.0
    nosy_names = ['gvanrossum', 'scav']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue1830'
    versions = ['Python 3.0']

    @scav
    Copy link
    Mannequin Author

    scav mannequin commented Jan 15, 2008

    Tools/i18n/pygettext.py contains a syntax error.

    On line 665, there is an old u'' string for testing unicode on pre-3.0
    python.

    It should be OK to remove it.

    @scav scav mannequin added the type-crash A hard crash of the interpreter, possibly with a core dump label Jan 15, 2008
    @scav
    Copy link
    Mannequin Author

    scav mannequin commented Jan 15, 2008

    Also, a couple of instances of assuming dict.keys() is a list, and
    trying to use .sort() on them.

    Patch attached for both issues.

    @scav scav mannequin changed the title pygettext.py syntax error pygettext.py py3k errors Jan 15, 2008
    @gvanrossum
    Copy link
    Member

    Thanks!
    Committed revision 59979.

    @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
    Labels
    type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant