ipython / ipython/ipython

TokenInputTransformer removes indentation

Open
#10,893 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

With TokenInputTransformer, indentations are removed and `IndentationError: expected an indented block` is raised.

This seems to be probably because it transforms line by line, and Untokenizer cannot know its context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.