Visitar URL original
[coverage] codeobject.c: decode_linetable · Issue #94816 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223170509/https://github.com/python/cpython/issues/94816
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

[coverage] codeobject.c: decode_linetable #94816

Open
Tracked by #94808
mdboom opened this issue Jul 13, 2022 · 1 comment
Open
Tracked by #94808

[coverage] codeobject.c: decode_linetable #94816

mdboom opened this issue Jul 13, 2022 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@mdboom
Copy link
Contributor

mdboom commented Jul 13, 2022

decode_linetable and its dependents emit_pair and emit_delta all seem to be uncovered by the test suite.

@mdboom mdboom added the type-bug An unexpected behavior, bug, or error label Jul 13, 2022
mdboom added a commit to mdboom/cpython that referenced this issue Jul 14, 2022
This makes calls to co_lnotab to exercise this code, as well
as generating synthetically large code to exercise the corner
cases where line numbers need multiple bytes.
miss-islington pushed a commit that referenced this issue Jul 14, 2022
This makes calls to co_lnotab to exercise this code, as well
as generating synthetically large code to exercise the corner
cases where line numbers need multiple bytes.

Automerge-Triggered-By: GH:brandtbucher
@mdboom mdboom closed this as completed Jul 15, 2022
@mdboom mdboom reopened this Jul 15, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 15, 2022
This makes calls to co_lnotab to exercise this code, as well
as generating synthetically large code to exercise the corner
cases where line numbers need multiple bytes.

Automerge-Triggered-By: GH:brandtbucher
(cherry picked from commit 20b9d2a)

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
@mdboom mdboom closed this as completed Jul 15, 2022
@brandtbucher
Copy link
Member

brandtbucher commented Jul 15, 2022

Is this done? I think the backport exposed a potential issue with the new tests (see my comment on the PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants