FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-113299: Create libclinic package by vstinner · Pull Request #113309 · python/cpython · GitHub

/ cpython Public

gh-113299: Create libclinic package - #113309

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:libclinic_converters
Closed

gh-113299: Create libclinic package#113309
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:libclinic_converters

Conversation

vstinner commented Dec 20, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
  • Create Tools/clinic/libclinic/ package.
  • Move cpp.py to libclinic.
  • Create libclinic.utils.

* Create Tools/clinic/libclinic/ package.
* Move cpp.py to libclinic.
* Create libclinic.utils.

Copy link
Copy Markdown
Member Author

@erlend-aasland @AlexWaygood @corona10: Ok, here is first minimum step to create a new package for Argument Clinic code.



# Clinic instance
clinic: 'Clinic' | None = None

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This PR feels like it only does my least favourite thing about your other PR :// #113299 (comment)

Comment thread Tools/clinic/clinic.py

global clinic
clinic = self
utils.clinic = self

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

IMO, putting a global from one file into another file is not a good idea.

Copy link
Copy Markdown
Member Author

@erlend-aasland:

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL