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/2012-September/121813.html below:

[Python-Dev] [Python-checkins] cpython: don't depend on __debug__ because it's baked in at freeze time (issue #16046)

[Python-Dev] [Python-checkins] cpython: don't depend on __debug__ because it's baked in at freeze time (issue #16046) [Python-Dev] [Python-checkins] cpython: don't depend on __debug__ because it's baked in at freeze time (issue #16046)Benjamin Peterson benjamin at python.org
Wed Sep 26 06:25:26 CEST 2012
2012/9/25 Nick Coghlan <ncoghlan at gmail.com>:
> On Wed, Sep 26, 2012 at 1:23 AM, benjamin.peterson
> <python-checkins at python.org> wrote:
>>      If debug_override is not None, then it must be a boolean and is taken as
>> -    the value of __debug__ instead.
>> +    the value of bool(sys.flags.optimize) instead.
>
> s/bool(sys.flags.optimize)/"not sys.flags.optimize"/?
>
> It may be better to just rephrase this sentence entirely to better
> account for the fact that we're now checking the runtime
> sys.flags.optimize value rather than the compile time __debug__ value.

Good point; I rephrased it.


-- 
Regards,
Benjamin
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