mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Merge 3.4 (test.support)
This commit is contained in:
commit
ba508d5dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -1439,7 +1439,7 @@ def python_is_optimized():
|
|||
for opt in cflags.split():
|
||||
if opt.startswith('-O'):
|
||||
final_opt = opt
|
||||
return final_opt != '' and final_opt != '-O0'
|
||||
return final_opt not in ('', '-O0', '-Og')
|
||||
|
||||
|
||||
_header = 'nP'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue