-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Open
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
strerror
is locale-dependent but PySys_FormatStderr
is not. The usage is
Lines 377 to 379 in 7303f06
// TODO(picnixz): strerror() is locale dependent but not PySys_FormatStderr(). | |
PySys_FormatStderr("%S: can't open file %R: [Errno %d] %s\n", | |
program_name, filename, errno, strerror(errno)); |
This would be quite hard to test as pointed out by Serhiy, so I won't work on this for now. Others may pick that task.
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error