deshaw / pyflyby

A set of productivity tools for Python
https://deshaw.github.io/pyflyby/
Other
353 stars 52 forks source link

breakpoint() debugger makes uppercase N behave like TAB #225

Closed quarl closed 1 year ago

quarl commented 1 year ago

Compare:

python -c $'import sys, ipdb, pyflyby\ntry:\n 1/0\nexcept:\n ipdb.set_trace()'
python -c $'import sys, ipdb, pyflyby\ntry:\n 1/0\nexcept:\n pyflyby.breakpoint(sys.exc_info())'

ipdb.set_trace() works fine, but when using pyflyby.breakpoint(), the uppercase letter N doesn't work correctly. Very strange! All other uppercase letters work, and all lowercase letters work. Uppercase N seems to behave like a tab-completion key, and TAB doesn't do anything.

quarl commented 1 year ago

Internal ticket number: PyInf#9112

dshivashankar1994 commented 1 year ago

We already have https://github.com/deshaw/pyflyby/issues/213 and this can be closed