Use the special python macro for reference operations on possibly NULL python objects