I think we can also inject a from __future__ import unicode_literals into the config file (if it does not exist already) before it gets compiled.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T95810: config does differ between unicode and str
- Duplicates Merged Here
- T95810: config does differ between unicode and str
Event Timeline
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMay 22 2018, 2:53 PM2018-05-22 14:53:42 (UTC+0)
• Vvjjkkii renamed this task from Implement a mechanism to auto-convert python2 strings into unicode for user-config.py values to bicaaaaaaa.Jul 1 2018, 1:08 AM2018-07-01 01:08:50 (UTC+0)
CommunityTechBot renamed this task from bicaaaaaaa to Implement a mechanism to auto-convert python2 strings into unicode for user-config.py values.Jul 2 2018, 3:58 PM2018-07-02 15:58:47 (UTC+0)
CommunityTechBot closed this task as a duplicate.