Skip to content

Python language is broken for Python 3.13 due unmanaged escape control sequences #282

@eldipa

Description

@eldipa

Describe the bug

  1. byexample -l python x.py with a 3.13 python interpreter

The problem is that in 3.13 the interpreter now renders the prompt with colors, it autoindents and does more terminal/cursor control/movements. byexample filters correctly the colors but it cannot emulate all the cursor movements (not even with term=ansi) and it has no way to detect the autoindents.

Expected behavior
Test should work

byexample version
byexample 10.5.2 (Python 3.13.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugout of sync between the code and the docs; something that should be fixed in the near future

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions