Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-103092: Adapt _lsprof methods to Argument Clinic#115242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
aisk wants to merge8 commits intopython:mainfromaisk:lsprof-clinic

Conversation

aisk
Copy link
Member

@aiskaisk commentedFeb 10, 2024
edited by bedevere-appbot
Loading

This is split from#115130 as pre-processing to isolate the _lsprof module.

Some methods have added a cls: defining_class parameter to their signature but do not use it. This is because#115130 will use it to passing module state.

@erlend-aasland

erlend-aasland reacted with thumbs up emoji
@erlend-aasland
Copy link
Contributor

A couple of remarks after a quick glance1:

  • It seems there are many similar signatures; consider using the AC "clone" feature
  • The defining class converter should be marked as positional-only (/)
  • Style nit: can you use a more concise clinic input block:
    • drop the extra newline between/*[clinic input] and the function def
    • drop the extra newline between the function def and the parameter section

Footnotes

  1. I'll be able to do a review tomorrow or Monday

@aiskaisk mentioned this pull requestFeb 11, 2024
@erlend-aasland
Copy link
Contributor

Closing, as#115130 was superseded by#115301.

@aiskaisk deleted the lsprof-clinic branchMarch 1, 2024 05:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@aisk@erlend-aasland

[8]ページ先頭

©2009-2025 Movatter.jp