Georg Brandl added the comment: print() is not a good way to emit the warning; please use the warnings module. ---------- nosy: +georg.brandl _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue6839> _______________________________________