Use PEP 487 instead of using ``__pyobjc_class_setup__`` hook

Issue #232 new
Ronald Oussoren
repo owner created an issue

PEP 487 defines a new class initialisation API for descriptors that can replace __pyobjc_class_setup__.

Investigate if using the __set_name__ API is feasible (primarily: will the Python class be constructed early enough, the name must be available when building the Objective-C class.

If so: switch to the new API, and add code to manually call __set_name__ on older python versions.

Comments (0)

  1. Log in to comment