Skip to content

move _operator classes to operator - #12745

Merged
srittau merged 4 commits into
python:mainfrom
tungol:operator
Oct 11, 2024
Merged

move _operator classes to operator#12745
srittau merged 4 commits into
python:mainfrom
tungol:operator

Conversation

@tungol

@tungol tungol commented Oct 6, 2024

Copy link
Copy Markdown
Contributor

This matches what they call themselves at runtime.

This matches what they call themselves at runtime
@github-actions

This comment has been minimized.

@tungol
tungol marked this pull request as draft October 6, 2024 02:10
@github-actions

This comment has been minimized.

@tungol

tungol commented Oct 6, 2024

Copy link
Copy Markdown
Contributor Author

After some experimentation, the pytype failure seems to be related to the circular dependency. I'm not yet sure why this one is a problem when other circular dependencies have passed without issue.

@tungol

tungol commented Oct 6, 2024

Copy link
Copy Markdown
Contributor Author

I created a minimal reproduction of the pytype error in https://github.com/tungol/pytype-error-reproduction and opened an issue with pytype here: google/pytype#1797

Interestingly, it only occurs if the file with ParamSpec is processed before the other one in the circular dependency loop.

@tungol
tungol marked this pull request as ready for review October 6, 2024 21:48
@srittau

srittau commented Oct 8, 2024

Copy link
Copy Markdown
Collaborator

Seems fine to me, but I've marked it as deferred for now, until the pytype problem is addressed.

@srittau srittau added the status: deferred Issue or PR deferred until some precondition is fixed label Oct 8, 2024
@frigus02

Copy link
Copy Markdown
Contributor

#12778 should unblock this.

@srittau srittau removed the status: deferred Issue or PR deferred until some precondition is fixed label Oct 11, 2024
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 03fe755 into python:main Oct 11, 2024
@tungol
tungol deleted the operator branch October 11, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants