Skip to content

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

Closed
@dkrystki

Description

@dkrystki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions