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/2008-September/082396.html below:

[Python-Dev] ',' precedence in documentation

[Python-Dev] ',' precedence in documentationC. Titus Brown ctb at msu.edu
Sun Sep 14 22:52:27 CEST 2008
On Sun, Sep 14, 2008 at 10:45:39PM +0200, "Martin v. L?wis" wrote:
-> > And replace it with what?
-> 
-> I'm sure this will evolve into a long discussion on syntax, so
-> I'll start: assert could become a function with one or two
-> arguments. The arguments would always get evaluated; the actual
-> exception-raising could still be conditional (perhaps through
-> a context manager).

Doesn't this change the behavior in optimized code, for assert
statements with side effects?  If we don't have specialized syntax --
that is, if 'assert' just becomes another built-in function -- then it
can't be special-cased in the translation to byte-code, can it?

--titus
-- 
C. Titus Brown, ctb at msu.edu
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