Silme:Wishlist
From MozillaWiki
Adrian
- option to have get_package() methods not failing on every broken / not correct file (e.g. files causing UnicodeDecodeErrors)
- optional logging already in place (to avoid the need of forking like: http://hg.mozilla.org/users/akalla_aviary.pl/silme-patched/file/c1d94ec3363a/lib/mozilla/io/file.py or http://hg.mozilla.org/users/akalla_aviary.pl/silme-patched/file/c1d94ec3363a/lib/mozilla/playground/hacks.py )
- port (move) locale tests from compare-locales to Silme (e.g. finding duplicates, testing accesskeys, spell checking)
- port (move) diff format parsers from compare-locales to Silme (full tree, short-path tree, full-relative-path list, JSON-tree)
- move tests to lib/testing and leave just a few scripts in scripts/ for running the tests
- better exception handling:
- catch only specific errors (avoid the use of "except Exception")
- raise only specific errors (avoid the use of "raise Exception")
- if possible, raise the original error (do not raise a new one), e.g.:
try: foo() except KeyError, e: raise
instead of:
try: foo() except KeyError: raise KeyError("foo")
Gandalf
- Add support for msgctx for gettext
- Clean silme.format/silme.io API