Re: [PATCH 2/2] python tests: Do not require .pyo files

2018-07-07 Thread Mathieu Lirzin
Lukas Fleischer writes: > As of Python 3.5, but unoptimized and optimized bytecode are stored > within .pyc files; .pyo files are no longer generated. Update the Python > tests such that the test do not fail if .pyo files are missing. Like in other message, it is important that the test suite pa

Re: [PATCH 1/2] python: Properly uninstall __pycache__ in subdirectories

2018-07-07 Thread Mathieu Lirzin
Lukas Fleischer writes: > When uninstalling __pycache__ files in a subdirectory "sub", the > Makefile incorrectly removed the files from __pycache__/sub/ instead of > sub/__pycache__/. > > * lib/am/python.am (uninstall-%DIR%PYTHON): Use the correct path when > installing byte-compiled files insta