[Python-ideas] hookable assertions - to support testing utilities and debugging

Antoine Pitrou solipsis at pitrou.net
Thu Feb 19 13:54:06 CET 2015


On Thu, 19 Feb 2015 08:25:34 +0100
Ronny Pfannschmidt
<opensource at ronnypfannschmidt.de> wrote:
> 
> Hi,
> 
> the idea is to have the assert statement call a global method,
> just like import does

How would that work? Does it give the AST to the global method?
Something else?

Regards

Antoine.




More information about the Python-ideas mailing list