[ANN] PyObjC 5.1
Ronald Oussoren via Pyobjc-dev <[email protected]> Tue, 16 Oct 2018 21:58:28 +0200
| Newsgroups | gmane.comp.python.pyobjc.devel,gmane.comp.python.apple |
|---|---|
| Message-ID | <[email protected]> |
--===============1102740290164112521== Content-type: multipart/alternative; boundary="Apple-Mail=_441BE18A-E82A-4095-8EE8-7EC297C13BDD" --Apple-Mail=_441BE18A-E82A-4095-8EE8-7EC297C13BDD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, I=E2=80=99ve 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 =E2=80=9CGM=E2=80=9D contains one difference from the last = beta: the constant MLComputeUnitsCPUAndGPU in the CoreML bindings. #222: Add a proxy for C=E2=80=99s =E2=80=9CFILE*=E2=80=9D 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=E2=80=99t 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 =E2=80=9CContacts=E2=80=9D = 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. Ronald= --Apple-Mail=_441BE18A-E82A-4095-8EE8-7EC297C13BDD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">Hi,<div class=3D""><br class=3D""></div><div class=3D"">I=E2=80= =99ve 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.</div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">The = full list of changes:</div><div class=3D""><br class=3D""></div><div = class=3D""><ul style=3D"caret-color: rgb(62, 67, 73); color: rgb(62, 67, = 73); font-family: Arial, sans-serif; font-size: 14.399999618530273px;" = class=3D""><li style=3D"-webkit-hyphens: auto; line-height: 1.5em;" = class=3D""><p class=3D"first" style=3D"margin-top: 0px !important; = -webkit-hyphens: auto; line-height: 1.5em;">Xcode 10 =E2=80=9CGM=E2=80=9D = contains one difference from the last beta: the constant = MLComputeUnitsCPUAndGPU in the CoreML bindings.</p></li><li = style=3D"-webkit-hyphens: auto; line-height: 1.5em;" class=3D""><p = class=3D"first" style=3D"margin-top: 0px !important; -webkit-hyphens: = auto; line-height: 1.5em;">#222: Add a proxy for C=E2=80=99s =E2=80=9CFILE= *=E2=80=9D type on Python 3. This is not necessary on Python 2 because = the default IO stack on Python 2 already uses FILE* internally.</p><p = style=3D"-webkit-hyphens: auto; line-height: 1.5em;" class=3D"">This = proxy type is very minimal and shouldn=E2=80=99t not be used for general = I/O.</p></li><li style=3D"-webkit-hyphens: auto; line-height: 1.5em;" = class=3D""><p class=3D"first" style=3D"margin-top: 0px !important; = -webkit-hyphens: auto; line-height: 1.5em;">Bindings are up-to-date = w.r.t. Xcode 10.1 (beta)</p></li><li style=3D"-webkit-hyphens: auto; = line-height: 1.5em;" class=3D""><p class=3D"first" style=3D"margin-top: = 0px !important; -webkit-hyphens: auto; line-height: 1.5em;">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).</p><p = style=3D"-webkit-hyphens: auto; line-height: 1.5em;" class=3D"">This is = just an infrastructure change, the actual framework bindings do not yet = contain the information used to emit deprecation warnings.</p></li><li = style=3D"-webkit-hyphens: auto; line-height: 1.5em;" class=3D""><p = class=3D"first" style=3D"margin-top: 0px !important; -webkit-hyphens: = auto; line-height: 1.5em;">Add metadata for deprecation warnings to the = =E2=80=9CContacts=E2=80=9D framework</p></li><li style=3D"-webkit-hyphens:= auto; line-height: 1.5em;" class=3D""><p class=3D"first" = style=3D"margin-top: 0px !important; -webkit-hyphens: auto; line-height: = 1.5em;">#252: Import ABCs from <code class=3D"literal notranslate = docutils" style=3D"background-color: rgb(236, 240, 243); color: rgb(34, = 34, 34); font-size: 1.1em;"><span class=3D"pre" style=3D"-webkit-hyphens: = none;">collections.abc</span></code> instead of <code = class=3D"literal notranslate docutils" style=3D"background-color: = rgb(236, 240, 243); color: rgb(34, 34, 34); font-size: 1.1em;"><span = class=3D"pre" style=3D"-webkit-hyphens: = none;">collections</span></code> because the latter is = deprecated.</p></li><li style=3D"-webkit-hyphens: auto; line-height: = 1.5em;" class=3D""><p class=3D"first" style=3D"margin-top: 0px = !important; -webkit-hyphens: auto; line-height: 1.5em;">#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.</p></li></ul><div = class=3D"">Ronald</div></div></body></html>= --Apple-Mail=_441BE18A-E82A-4095-8EE8-7EC297C13BDD-- --===============1102740290164112521== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1102740290164112521== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev --===============1102740290164112521==--