[Python-Dev] PEP 553

Guido van Rossum guido at python.org
Wed Oct 4 22:12:48 EDT 2017


Yarko, there's one thing I don't understand. Maybe you can enlighten me.
Why would you prefer

breakpoint(x >= 1000)

over

if x >= 1000: breakpoint()

?

The latter seems unambiguous and requires thinking all around. Is there
something in iPython that makes this impractical?

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171004/e7ce4014/attachment-0001.html>


More information about the Python-Dev mailing list