Uh oh!
There was an error while loading. Please reload this page.
bpo-1635741: Port _asyncio extension module to multiphase initialization(PEP 489) - #18032
bpo-1635741: Port _asyncio extension module to multiphase initialization(PEP 489)#18032shihai1991 wants to merge 2 commits into
Conversation
asvetlov
commented
Jan 16, 2020
Should multiphase support |
From pep 489: Looks I overlooked the detail. |
shihai1991
commented
Jan 18, 2020
asvetlov
commented
Jan 18, 2020
My question is not about the exact PEP number but the correctness. |
encukou
commented
Jan 20, 2020
I'm not available this week, so just a quick comment based on a superficial reading of this PEP: @shihai1991, PEPs 3121 and 489 are historical documents from 2007 and 2013. Any additional information should go in the Python documentation. @asvetlov You are right. Also, with multiphase init, multiple module objects can be created from the same extension code. That can cause problems, especially if any of the |
asvetlov
commented
Jan 20, 2020
@encukou thanks for the clarification. |
1st1
commented
Jan 20, 2020
+1. |
shihai1991
commented
Jan 21, 2020
@encukou thanks for your comment, petr. PEP is fine to me now and I need spend much time to understand all the historical iterations of extension module's loading ;) |
shihai1991
commented
Jan 28, 2020
I close this PR temporarily because it's depend on much future work. |
asvetlov
commented
Jan 28, 2020
you are welcome |
https://bugs.python.org/issue1635741