commit | f299abdafa0f2b6eb7abae274861b19b361c96bc | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Mon Apr 13 14:21:02 2015 -0400 |
committer | Brett Cannon <brett@python.org> | Mon Apr 13 14:21:02 2015 -0400 |
tree | afc3a2bf560e30c7725510eda3b57d71ceddba00 | |
parent | a63cc212348e276c8ede32773313c60ff7fda651 [diff] [blame] |
Issue #23731: Implement PEP 488. The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
diff --git a/Lib/trace.py b/Lib/trace.py index 41eff26..f108266 100755 --- a/Lib/trace.py +++ b/Lib/trace.py
@@ -305,7 +305,7 @@ if self.is_ignored_filename(filename): continue - if filename.endswith((".pyc", ".pyo")): + if filename.endswith(".pyc"): filename = filename[:-1] if coverdir is None: