[Python-Dev] syntax warnings don't go through warnings.warn?
Matthew Wilkes
matthew at matthewwilkes.co.uk
Mon Jun 1 19:49:04 CEST 2009
On 1 Jun 2009, at 18:42, Michael Foord wrote:
> Dino is developing Python - he's one of the core developers of
> IronPython
Ah, sorry, I'm bad with names, don't always pick up on who is who!
> and I suspect he is asking whether this is intentional, and
> IronPython should implement the same behaviour, or whether it is a
> bug.
The docs do seem to be clear though, warnings.warn creates a warning,
but there are multiple other ways to do it, it's a convenience method.
Matt
More information about the Python-Dev
mailing list