Antoine Pitrou added the comment: Not really intentional, it's just a limitation of the current implementation (where the same .pyo files are used for both -O and -OO). Already reported as issue1538778 (which was closed as won't fix).
---------- nosy: +barry, pitrou superseder: -> pyo's are not overwritten by different optimization levels _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21489> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com