According to PEP 369, post import hooks should be implemented for python 2.6 and 3.0. However, I am unable to register or execute any import hook (according to PEP) in python 2.7. Am I missing something ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The PEP is currently in draft stage, hence there’s no support for post_import_hooks for the time being. I missed the part about the status, and I thought it was already approved.