Diff: [root] @ da726a94656 | faq | css


File: nopython [Diff]

diff --git a/nopython b/nopython
index 79bb485..87f1f71 100644
-- a/nopython
++ b/nopython
@@ -17,7 +17,7 @@ Have you ever tried to use Python app? For example, Gajim, lastmp, debtorrent, d

If you didn't notice that these programs are sluggish and consume much memory, -you're blind- even now you can still be healed.

Lastmp, for example, crashes "wherever it encounters broken Unicode":http://bitcheese.net/vlog/post/580. Looks like you need to surround every string loading Solving this problem requires -surrounding unicode loadings with try..catch in python for that not to happen. Good design, eh? try..catch- calling unicode(data, 'ignore') instead of unicode(data). Note the string option used where saner language would use enum, flags or other method.

h1. Python brokenness from developer's point of view.

By Voker57 on 2010-01-03 23:08:19 +0300 Powered by bitcheese wiki engine