Christian Heimes added the comment:

How should I issue a warning in the new module? Should and can I check
for the -3 warning option or should I warn w/o checks for the -3 option?

from warnings import warn as _warn
_warn("The 'new' module is not supported in 3.x",
    DeprecationWarning, 2)

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1504>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to