[Pythonmac-SIG] [ANN] PyObjC 5.1

Ronald Oussoren ronaldoussoren at mac.com
Tue Oct 16 15:58:28 EDT 2018


I’ve pushed PyObjC 5.1 to PyPI. This is a minor feature release.  The most interesting change is that the Objective-C proxies for builtin Python types now support NSSecureCoding.

The full list of changes:

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

#222: 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

#252: Import ABCs from collections.abc instead of collections because the latter is deprecated.

#180, #251: 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20181016/44149f25/attachment.html>

More information about the Pythonmac-SIG mailing list