FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

list panic when size > isize::MAX · Issue #1750 · RustPython/RustPython · GitHub

list panic when size > isize::MAX #1750

Description

code

[...] * (2 << 61)

result

thread 'main' panicked at 'capacity overflow', src/liballoc/raw_vec.rs:777:5

expected result

an MemoryError exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL