Avoiding the Python's Issue7980.