Menu

Commit [r11438]  Maximize  Restore  History

0.12.5dev: added `trac.util.text.getpreferredencoding` and replaced `locale.getpreferredencoding` (closes #10768)

The new function returns the cached result of `locale.getpreferredencoding()` which is not thread-safe.

jomae 2012-10-31

changed /branches/0.12-stable/trac/admin/console.py
changed /branches/0.12-stable/trac/util/__init__.py
changed /branches/0.12-stable/trac/util/datefmt.py
changed /branches/0.12-stable/trac/util/text.py
/branches/0.12-stable/trac/admin/console.py Diff Switch to side-by-side view
Loading...
/branches/0.12-stable/trac/util/__init__.py Diff Switch to side-by-side view
Loading...
/branches/0.12-stable/trac/util/datefmt.py Diff Switch to side-by-side view
Loading...
/branches/0.12-stable/trac/util/text.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB