This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, collinwinter, gvanrossum
Date 2007-11-27.21:14:25
SpamBayes Score 0.039813645
Marked as misclassified No
Message-id <1196198065.76.0.0313275688014.issue1504@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2007-11-27 21:14:25christian.heimessetspambayes_score: 0.0398136 -> 0.039813645
recipients: + christian.heimes, gvanrossum, collinwinter
2007-11-27 21:14:25christian.heimessetspambayes_score: 0.0398136 -> 0.0398136
messageid: <1196198065.76.0.0313275688014.issue1504@psf.upfronthosting.co.za>
2007-11-27 21:14:25christian.heimeslinkissue1504 messages
2007-11-27 21:14:25christian.heimescreate