mopidy/mopidy/config
Stein Magnus Jodal 2ad1bb8bb3 config: Raise ValueError if Path is asked to serialize unicode
If we accept unicode and try to encode using sys.getfilesystemencoding() then
it may work most of the time, but will fail if we get non-ASCII chars in the
unicode string and the file system encoding is e.g. ANSI-something because the
locale is C. Thus, I figure it is better to always fail if we try to serialize
Path from unicode strings. Paths should be maintained as bytes all the time.
2013-06-27 00:08:05 +02:00
..
__init__.py config: Integrate keyring values with overrides. 2013-05-13 23:51:17 +02:00
convert.py config: Use byte paths in convert code 2013-04-28 23:31:29 +02:00
default.conf config: Add logging/config_file 2013-04-17 23:47:18 +02:00
keyring.py config: Review fixes. 2013-05-14 21:24:37 +02:00
schemas.py config: Switch to ordered dict 2013-04-30 00:19:59 +02:00
types.py config: Raise ValueError if Path is asked to serialize unicode 2013-06-27 00:08:05 +02:00
validators.py config: Support lists in required validator 2013-04-15 00:07:07 +02:00