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

PEP 3137: Make PyString's indexing and iteration return integers #45621

Closed
avassalotti opened this issue Oct 15, 2007 · 2 comments
Closed

PEP 3137: Make PyString's indexing and iteration return integers #45621

avassalotti opened this issue Oct 15, 2007 · 2 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@avassalotti
Copy link
Member

BPO 1280
Nosy @gvanrossum, @avassalotti
Files
  • string_iter_ret_ints.patch
  • 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 = 'https://github.com/gvanrossum'
    closed_at = <Date 2007-10-19.22:07:07.254>
    created_at = <Date 2007-10-15.14:27:18.127>
    labels = ['interpreter-core']
    title = "PEP 3137: Make PyString's indexing and iteration return integers"
    updated_at = <Date 2007-10-19.22:07:07.253>
    user = 'https://github.com/avassalotti'

    bugs.python.org fields:

    activity = <Date 2007-10-19.22:07:07.253>
    actor = 'gvanrossum'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2007-10-19.22:07:07.254>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2007-10-15.14:27:18.127>
    creator = 'alexandre.vassalotti'
    dependencies = []
    files = ['8540']
    hgrepos = []
    issue_num = 1280
    keywords = ['patch']
    message_count = 2.0
    messages = ['56442', '56567']
    nosy_count = 2.0
    nosy_names = ['gvanrossum', 'alexandre.vassalotti']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1280'
    versions = ['Python 3.0']

    @avassalotti
    Copy link
    Member Author

    Here a preliminary patch to make PyString return integers on indexing
    and iteration. There is still quite a few XXX in the patch, that I would
    like to fix. However, the good thing is all tests passes.

    @avassalotti avassalotti added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Oct 15, 2007
    @gvanrossum gvanrossum self-assigned this Oct 19, 2007
    @gvanrossum
    Copy link
    Member

    Checked in. I addressed some of your XXX'es, left others in (sre needs
    a serious checkup for compatibility with bytes).

    Committed revision 58552.

    @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
    interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants