GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — bpo-1635741: Port itertools module to multiphase initialization. by corona10 · Pull Request #19044 · python/cpython Conversation
|
|
@shihai1991 Can you please take a look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I will wait for @shihai1991 review ;-)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
You forgot a typelist[i], I fixed it ;-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM ;)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Thanks :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
there is one thing to be confirmed: race condition of identifier in typelists can be avoid too? no potential risk? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Can you explain more concrete situation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently, the GIL magically protects C extensions against race conditions. But the GIL can be released when executing arbitrary code. I don't think that it's the case here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Static types initialized by PyType_Ready() are bad. Types allocated on the heap using PyType_FromSpec() are better: But this should be addressed in a separated change ;-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.