The Python module should by default add .pyc and .pyo files to the ignore pattern in settings/miscellaneous/files:
This was done some time ago and is part of the current release.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.