| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ment Clinic The value of a @Setter is now a parameter, which can use a converter, and a @Getter can define a return converter. Declaring the value is optional. The accessors of an attribute are now collected in a Property, so the entry of PyGetSetDef is identified by the Python name instead of the C basename, and is composed without the help of the preprocessor unless some accessor is compiled conditionally.
…set-rework # Conflicts: # Tools/clinic/libclinic/dsl_parser.py # Tools/clinic/libclinic/parse_args.py
They raised TypeError for deletion, and the generated code now raises AttributeError.
|
Thanks. I won't have time this week for a line-by-line review, but at first glance this looks good. |
Sorry, something went wrong.
…set-rework # Conflicts: # Modules/_sqlite/cursor.c # Modules/clinic/_ssl.c.h # Tools/clinic/libclinic/clanguage.py # Tools/clinic/libclinic/parse_args.py
| Back | FazBrowse Home | New Git URL |
Follow-up to GH-155778.
Some setters and getters of _ssl, _asyncio, _ctypes, _sqlite3 and function.__type_params__ now use converters. The error for a wrong type of the value names the attribute instead of an argument of a function: