Bug in Python 3 module macro
Remove debug logging from test code
Move metaprogramming to a separate header