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 #1017

Merged
merged 4 commits into from
Sep 30, 2021
Merged

Google sync #1017

merged 4 commits into from
Sep 30, 2021

Commits on Sep 30, 2021

  1. Call init_class instead of instantiate when adding assertIsInstance b…

    …indings.
    
    PiperOrigin-RevId: 399302004
    rchen152 committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    fa208ca View commit details
    Browse the repository at this point in the history
  2. Use the namedtuple 'defaults' argument when generating __new__ signat…

    …ure.
    
    PiperOrigin-RevId: 399323256
    rchen152 committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    3505ca2 View commit details
    Browse the repository at this point in the history
  3. Do not raise a parser error for unrecognised decorators.

    PiperOrigin-RevId: 399325093
    martindemello authored and rchen152 committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    afaa829 View commit details
    Browse the repository at this point in the history
  4. Stop differentiating between enum and member attributes.

    Two reasons for this:
    - pytype doesn't differentiate between class and instance attributes for PytdClass. This change makes enums behave the same as other PytdClasses.
    - Canonical instances (e.g. created for a function argument) won't have instance attributes if they're deleted from the PytdClass.
    
    PiperOrigin-RevId: 399486408
    Solumin authored and rchen152 committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    f5b7398 View commit details
    Browse the repository at this point in the history