Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google sync #1529

Merged
merged 4 commits into from
Nov 13, 2023
Merged

Google sync #1529

merged 4 commits into from
Nov 13, 2023

Conversation

rchen152
Copy link
Contributor

No description provided.

rchen152 and others added 4 commits November 13, 2023 11:48
Startblock:
  after 2023-11-09 08:00 in US/Pacific
  and then
  add reviewer tsudol
PiperOrigin-RevId: 580952480
PiperOrigin-RevId: 580952973
We intentionally set f_locals to Unsolvable here:
https://github.com/google/pytype/blo[]f1e03c1be303259e72fc1c149ee66f07ba269de/pytype/abstract/_classes.py#L83.

Not sure why not handling Unsolvable before didn't cause us any trouble, but it
generates some new crashes when I try to enable --bind-decorated-methods.

PiperOrigin-RevId: 581052154
This allows functions with optional arguments to still be decorated by `@property` and friends. I'm not sure why people do this, but they do, and it's not technically a type error.

Also improves the error message.

PiperOrigin-RevId: 581423567
@rchen152 rchen152 merged commit 4efe1f3 into main Nov 13, 2023
@rchen152 rchen152 deleted the google_sync branch November 13, 2023 20:24
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.

2 participants