PyObjC 5.1 released

I’ve pushed PyObjC 5.1 to PyPI. This is a minor feature release with the following changes:

  • Instances of most builtin value types and sequences (int, float, str, unicode, tuple, list, set, frozenset and dict) can now be written to archives that require secureCoding.

  • Xcode 10 “GM” contains one difference from the last beta: the constant MLComputeUnitsCPUAndGPU in the CoreML bindings.

  • Add a proxy for C’s “FILE*” type on Python 3. This is not necessary on Python 2 because the default IO stack on Python 2 already uses FILE* internally.

This proxy type is very minimal and shouldn’t not be used for general I/O.

  • Bindings are up-to-date w.r.t. Xcode 10.1 (beta)

  • Updated the support code for framework wrappers to be able to emit deprecation warnings on the first import of a deprecated constants (functions and methods will only raise a deprecation warning when called).

This is just an infrastructure change, the actual framework bindings do not yet contain the information used to emit deprecation warnings.

  • Add metadata for deprecation warnings to the “Contacts” framework

  • Import ABCs from instead of collections because the latter is deprecated.

Ronald Oussoren @ronaldoussoren