A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-October/149794.html below:

[Python-Dev] PEP 553

[Python-Dev] PEP 553 [Python-Dev] PEP 553Yarko Tymciurak yarkot1 at gmail.com
Fri Oct 6 14:53:28 EDT 2017
apologies - I didn't "reply all" to this.
For the record:

I made an argument (in reply) about interactive tinkering, and setting
"condition",
and Guido replied essentially that "if condition: breakpoint()" is just as
good for tinkering... a condition parameter to debuggers is not useful, and
not as explicit.

Yes - agreed (and the `gist` which I tinkered w/ one day - I've now
discarded ;-).

Thanks, Guido!
- Yarko


On Wed, Oct 4, 2017 at 9:12 PM, Guido van Rossum <guido at python.org> wrote:

> 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/20171006/8527c5db/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4