also sprach Josselin Mouette <[email protected]> [2009.04.29.1049 +0200]:
> Why? Does this cause any problems? This is not so uncommon
> practice in Python modules.

It prints warnings and possibly errors for tools that don't even
need X, like jp_*_lookup in the jpilot package, or reportbug. Those
need to import python-gtk2 (or modules importing python-gtk2) for
various reasons, and if only because it's common practice to
unconditionally include modules in Python.

It also causes performance degradation. If I don't use X, why should
I need to "pay" for initialisation of X methods?

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to