inducer / inducer/pudb

UnicodeDecodeError on python3 with pygments and unicode source file

Open
#56 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

Try running `python3 -m pudb test.py` with this [source code](https://gist.github.com/lewtds/5027762). Pudb will crash immediately.

Note the Unicode characters: ươ.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash with `python3 -m pudb test.py` using the linked source containing `ươ`. Start with the traceback and inspect the Pygments-related source-decoding path. Done means pudb starts without a UnicodeDecodeError and can open the Unicode source.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.