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

Loading 2 GiLOC file which raises exception causes wrong traceback #67543

Closed
SoniEx2 mannequin opened this issue Jan 31, 2015 · 5 comments
Closed

Loading 2 GiLOC file which raises exception causes wrong traceback #67543

SoniEx2 mannequin opened this issue Jan 31, 2015 · 5 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@SoniEx2
Copy link
Mannequin

SoniEx2 mannequin commented Jan 31, 2015

BPO 23354
Nosy @vstinner, @benjaminp

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 2021-09-03.22:30:34.107>
created_at = <Date 2015-01-31.03:40:41.817>
labels = ['interpreter-core', 'type-bug']
title = 'Loading 2 GiLOC file which raises exception causes wrong traceback'
updated_at = <Date 2021-09-03.22:30:34.107>
user = 'https://bugs.python.org/SoniEx2'

bugs.python.org fields:

activity = <Date 2021-09-03.22:30:34.107>
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date = <Date 2021-09-03.22:30:34.107>
closer = 'iritkatriel'
components = ['Interpreter Core']
creation = <Date 2015-01-31.03:40:41.817>
creator = 'SoniEx2'
dependencies = []
files = []
hgrepos = []
issue_num = 23354
keywords = []
message_count = 5.0
messages = ['235079', '241196', '241197', '324932', '324936']
nosy_count = 3.0
nosy_names = ['vstinner', 'benjamin.peterson', 'SoniEx2']
pr_nums = []
priority = 'low'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue23354'
versions = ['Python 3.4']

@SoniEx2
Copy link
Mannequin Author

SoniEx2 mannequin commented Jan 31, 2015

I loaded a file with 2 GiLOC followed by "assert False" and this was the error/traceback:

Traceback (most recent call last):
  File "test.py", line -2147483647, in <module>
AssertionError

@SoniEx2 SoniEx2 mannequin added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error labels Jan 31, 2015
@ethanfurman
Copy link
Member

Considering how rare (hopefully!) files of that size are, I wouldn't be adverse to a "won't fix" resolution.

1 similar comment
@ethanfurman
Copy link
Member

Considering how rare (hopefully!) files of that size are, I wouldn't be adverse to a "won't fix" resolution.

@benjaminp
Copy link
Contributor

We would need to know what test.py was actually doing to fix this bug.

@SoniEx2
Copy link
Mannequin Author

SoniEx2 mannequin commented Sep 10, 2018

test.py is the result of "\n" * (2**31) + "assert False", written to a
file.

On Mon, Sep 10, 2018, 13:14 Benjamin Peterson <report@bugs.python.org>
wrote:

Benjamin Peterson <benjamin@python.org> added the comment:

We would need to know what test.py was actually doing to fix this bug.

----------
resolution: -> works for me
stage: -> resolved
status: open -> closed


Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue23354\>


@benjaminp benjaminp reopened this Sep 10, 2018
@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) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants