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

Implementation of PEP 3101, Advanced String Formatting #45350

Closed
ericvsmith opened this issue Aug 24, 2007 · 3 comments
Closed

Implementation of PEP 3101, Advanced String Formatting #45350

ericvsmith opened this issue Aug 24, 2007 · 3 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@ericvsmith
Copy link
Member

BPO 1009
Nosy @ericvsmith
Files
  • pep3101.diff
  • 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 2007-08-29.20:33:59.405>
    created_at = <Date 2007-08-24.03:51:50.696>
    labels = ['interpreter-core']
    title = 'Implementation of PEP 3101, Advanced String Formatting'
    updated_at = <Date 2012-06-10.17:25:00.088>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2012-06-10.17:25:00.088>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2007-08-29.20:33:59.405>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2007-08-24.03:51:50.696>
    creator = 'eric.smith'
    dependencies = []
    files = ['8305']
    hgrepos = []
    issue_num = 1009
    keywords = []
    message_count = 3.0
    messages = ['55237', '55284', '55285']
    nosy_count = 1.0
    nosy_names = ['eric.smith']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1009'
    versions = ['Python 3.0']

    @ericvsmith
    Copy link
    Member Author

    This implements PEP-3101, for the py3k branch.

    Known issues:
    Better error handling, per the PEP.

    Need to write Formatter class.

    test_long is failing, but I don't think it's my doing.

    Need to fix this warning that I introduced when compiling
    Python/formatter_unicode.c:
    Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but
    not used

    Need more tests for sign handling for int and float.

    It still supports "()" sign formatting from an earlier PEP version.

    @ericvsmith ericvsmith added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Aug 24, 2007
    @ericvsmith
    Copy link
    Member Author

    Closed, code was checked in revision 57444.

    @ericvsmith
    Copy link
    Member Author

    I tried to close it, without success. Possible tracker issue, I'll
    investigate.

    It should be closed!

    @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