Irit Katriel <iritkatr...@gmail.com> added the comment:

I agree with both Eric and Xavier - any library calling a function that 
modifies sys.modules will see this issue, but pdb should try not to modify 
program semantics like this. 

It's fixed if we move the readline import as Louie suggested (the _bootlocale 
import was probably removed by now, I don't see it).

----------
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue20703>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to