*.pyc and *.pyo files are compiled bytecodes dynamically created by Python interpreter to speed-up operation. They can be deleted safely and they do not have to be in python-dev.tcz
For people who compile python-related extensions, it's quite common to see *.pyc and *.pyo files floating around all over the place.
These files are compiled machine code for python virtual machine.
FWIK, whenever a python script is called, python would check if (*.pyc exist) and (not older than the original *.py script).
If *.pyc is invalid, python would parse the code and save the result to *.pyc, then run the virtual machine to send instructions to CPU.
When python found a valid *.pyc, python would skip the interpreting.
Thus, the performance boosts.
Anyway,
most extensions on the repo drop these files.
I'm wondering if we should make dedicated extensions for these files.
It should theoretically speed up compile time for later extensions.