pybabel extract
crashes when it encounters a byte string
#1190
Labels
pybabel extract
crashes when it encounters a byte string
#1190
(Happens on current master)
Sample file:
now run
pybabel extract test.py -o messages.pot
and you'll get this error:It seems like we're trying to call
.join()
on a byte string. I suggest just fixing the crash but keeping byte strings disallowed - they won't work withgettext
anyway because gettext uses normal strings internally.The text was updated successfully, but these errors were encountered: