Pyobjc

Latest version: v10.3.2

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

5.1.1

* Update metadata for Xcode 10.1

5.1

* 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.

5.0

also adds support for a couple of older frameworks that weren't supported before.

5.0b1

* Bindings updated for Xcode 10 beta 6.

* Add a custom binding for a number of structure types in
CoreAudio:

- AudioBuffer
- AudioBufferList
- AudioChannelDescription
- AudioChannelLayout
- AudioValueTranslation

With this patch using APIs with these types should actually
work.

* PR19: Fix deprecation warning in bridgesupport support module

Patch by: Mickaël Schoentgen

* Creating objc.ObjCPointer instances now results in a
Python warning, instead of an unconditional message on
stdout.

.. note::

The creation of these objects is a sign that APIs are
not wrapped correctly, these objects are created for
pointers where the bridge doesn't know how to handle
them properly.

* System bridgesupport XML files (normally not used by PyObjC)
can contain constant numbers with value "inf", PyObjC now
knows how to handle those.

* Added bindings for the "Metadata" subframework of the
"CoreServices" framework.

* Added bindings for the "CarbonCore" subframework of the
"CoreServices" framework.

Most APIs in this subframework are not available to Python,
only those APIs that are not deprecated and seem interesting
are exposed.

* The separate framework wrappers DictionaryServices,
LaunchServices and SearchKit are deprecated, use
the CoreServices bindings instead.

These framework wrappers still exists, but are effectively
aliases for CoreServices with this release. Because of this
these bindings can expose more symbols than previously.

* Fix unexpected exception when trying to call getattr
on a framework wrapped with a name that isn't a valid
identifier.

* 244: Bad metadata for CGPDFOperatorTableSetCallback

* 247: Fix crash in regression test case

One specific test in pyobjc-core crashed the interpreter
when run separately. Because of this I've disabled an
optimization that uses alloca instead of PyMem_Malloc to
allocate memory for now.

5.0a1

* Adds support for macOS 10.14 (Mojave)

This release updates the framework wrappers with support
for new APIs in macOS 10.14 and adds bindings for the following
new frameworks:

- AdSupport
- CoreAudio (new in macOS 10.0)
- CoreAudioKit (new in macOS 10.4)
- CoreMedia (new in macOS 10.7)
- CoreMediaIO (new in macOS 10.7)
- DiscRecording (new in macOS 10.2)
- DiscRecordingUI (new in macOS 10.2)
- DVDPlayback (new in macOS 10.3)
- MediaToolbox
- NaturalLanguage
- Network
- OSAKit (new in macOS 10.4)
- UserNotifications
- VideoSubscriberAccount

- Support for CoreAudio, CoreMedia and MediaToolbox is limited
in this release due to missing manual wrappers.

- Added two features that can help with gating code on the
version of macos:

1) The constants "objc.MAC_OS_X_VERSION_CURRENT" can be
compared with one of the "objc.MAC_OS_X_VERSION\_..." contants.

2) The function "objc.macos_avaiable(major, minor[, patch])"
returns true if the current macOS version is at least the
specified version, comparable with "available" in Swift.

4.2.2

* Update metadata for Xcode 9.4

* The binary release now includes wheels for both variants for the
Python.org installer for python 3.6 and 3.7: 32- and 64-bit for
macOS 10.6 or later, and 64-bit only for macOS 10.9 or later.

* Ensure the context manager for ``NSAnimationContext`` defined in
``PyObjCTools.AppCategories`` actually works.

* Fix convenience wrappers for ``Foundation.NSCache``.

* Fix convenience wrappers for ``Foundation.NSHashTable``.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.