gh-113299: Create libclinic package by vstinner · Pull Request #113309 · python/cpython
|
|
||
|
|
||
| # Clinic instance | ||
| clinic: 'Clinic' | None = None |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR feels like it only does my least favourite thing about your other PR :// #113299 (comment)
|
|
||
| global clinic | ||
| clinic = self | ||
| utils.clinic = self |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, putting a global from one file into another file is not a good idea.
IMO, putting a global from one file into another file is not a good idea.
I don't have the bandwidth right now to move this global variable. Adding utils.clinic variable is a temporary solution until someone can spend time to work on it. I gave on my latest attempt to partially fix the issue since nobody was available to review my work: #110984
Apparently, it's a requirement for @AlexWaygood and @erlend-aasland so I prefer to close this PR for now.