[Python-Dev] Handling deprecations in the face of PEP 384