[New-bugs-announce] [issue41137] pdb uses the locale encoding for .pdbrc

Serhiy Storchaka report at bugs.python.org
Sat Jun 27 03:23:15 EDT 2020


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

pdb uses the locale encoding when read the .pdbrc file. It means that the current locale of the debugged program affects it. It also makes .pdbrc not portable between different platforms.

It is usually not an issue, because the .pdbrc file usually contains ASCII-only data. But maybe always use UTF-8 for .pdbrc files?

----------
components: Library (Lib)
messages: 372454
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: pdb uses the locale encoding for .pdbrc

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41137>
_______________________________________


More information about the New-bugs-announce mailing list