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

Changes for 3.11 version break Reloadium (Hot reloader) functionality #92217

Closed
dkrystki opened this issue May 3, 2022 · 0 comments
Closed
Labels
type-bug An unexpected behavior, bug, or error

Comments

@dkrystki
Copy link

dkrystki commented May 3, 2022

Not a Python bug per se but it is affecting Reloadium https://github.com/reloadware/reloadium

For python < 3.11 it was possible to perform a jump in debug mode (pydevd) from a thread by setting f_lineno:
frame.f_lineno = jump_lineno

After 3.11 it yields:
ValueError: can't jump from the 'call' trace event of a new frame

Is there a way how could this still work for 3.11 (I'll take hacky solutions)?
Or by any chance is it possible to modify cpython code before the final release to make this work(🙏)?

Data:

  • CPython versions tested on: Python-3.11.0a7
  • Operating system and architecture: Linux q 5.4.0-42-generic
@dkrystki dkrystki added the type-bug An unexpected behavior, bug, or error label May 3, 2022
@dkrystki dkrystki closed this as completed May 3, 2022
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

1 participant