Bug#526080: please don't call X methods on import

Josselin Mouette joss at debian.org
Wed Apr 29 08:49:35 UTC 2009


Le mercredi 29 avril 2009 à 08:33 +0200, martin f krafft a écrit :
> % python -c "import gtk"
> Xlib:  extension "RANDR" missing on display ":0.0".

> This has been happening for a few months only. Please don't execute
> actual code when the module is imported.

Why? Does this cause any problems? This is not so uncommon practice in
Python modules.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090429/1f9b2b77/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list