python: Add some utility functions for working with Python objects based on talloc...