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

py3k: correction for test_float on Windows #45389

Closed
amauryfa opened this issue Aug 28, 2007 · 2 comments
Closed

py3k: correction for test_float on Windows #45389

amauryfa opened this issue Aug 28, 2007 · 2 comments
Labels
OS-windows type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@amauryfa
Copy link
Member

BPO 1048
Nosy @gvanrossum, @amauryfa
Files
  • formatter.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.18:42:34.526>
    created_at = <Date 2007-08-28.23:29:48.469>
    labels = ['OS-windows', 'type-crash']
    title = 'py3k: correction for test_float on Windows'
    updated_at = <Date 2007-08-29.18:42:34.525>
    user = 'https://github.com/amauryfa'

    bugs.python.org fields:

    activity = <Date 2007-08-29.18:42:34.525>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2007-08-29.18:42:34.526>
    closer = 'gvanrossum'
    components = ['Windows']
    creation = <Date 2007-08-28.23:29:48.469>
    creator = 'amaury.forgeotdarc'
    dependencies = []
    files = ['8350']
    hgrepos = []
    issue_num = 1048
    keywords = []
    message_count = 2.0
    messages = ['55389', '55430']
    nosy_count = 2.0
    nosy_names = ['gvanrossum', 'amaury.forgeotdarc']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue1048'
    versions = ['Python 3.0']

    @amauryfa
    Copy link
    Member Author

    test_float crashes on Windows, because the %zd format is used in a call
    to PyOS_snprintf().
    The attached patch properly uses PY_FORMAT_SIZE_T.

    @amauryfa amauryfa added OS-windows type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 28, 2007
    @gvanrossum
    Copy link
    Member

    Committed revision 57670.

    You will have to watch the buildbots to see if this worked.

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

    No branches or pull requests

    2 participants