[New-bugs-announce] [issue30233] [3.5] Warning -- locale was modified by test_idle

STINNER Victor report at bugs.python.org
Tue May 2 12:21:24 EDT 2017


New submission from STINNER Victor:

Importing idlelib.IOBinding modifies the LC_CTYPE locale. For example, this module is imported by idlelib.EditorWindow which is imported by idlelib.idle_test.test_formatparagraph.

As a consequence, running test_idle changes locales and the following warning is logged:

[3.5] Warning -- locale was modified by test_idle

http://buildbot.python.org/all/builders/AMD64%20Windows10%203.5/builds/224/steps/test/logs/warnings%20%281%29

I didn't check yet why I only see this warning on 3.5 buildbots.

----------
assignee: terry.reedy
components: IDLE, Tests, Windows
messages: 292783
nosy: haypo, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: [3.5] Warning -- locale was modified by test_idle
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30233>
_______________________________________


More information about the New-bugs-announce mailing list