churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

37056b Renew check-pyc-timestamps.py

Authored and Committed by churchyard 2 years ago
    Renew check-pyc-timestamps.py
    
    - rename it, the are no pyo files on Python 3
    - make sure to check all levels of pyc files optimization
    - use path globs
    - use comprehensions instead of map + filter
    - use f-strings and print() instead of sys.stderr.write()
    
        
file modified
+2 -2