Pyobjc

Latest version: v10.2

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

Scan your dependencies

Page 5 of 7

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

4.2.1

* Update metadata for Xcode 9.4 beta 2 (no changes)

* Restore autodetection of --with-system-ffi, but ignore this python setting
for /usr/bin/python because Apple doesn't ship libffi headers.

4.2

* Add bindings to the BusinessChat framework introduced in macOS 10.13.4

* Update metadata for Xcode 9.3

* Issue 233 Fix crash in Security.AuthorizationCopyRights() wrapper

* Issue 234 Fix crash in AuthorizationExecuteWithPrivileges() wrapper

Reported by Vangelis Koukis

* Ensure doctest can work with modules containing subclasses of NSObject

Reported by Just van Rossum

* Issue 236 : Importing can sometimes fail in multi-threaded scenarios

Fix by Max Bélanger

* Undeprecate treating struct wrappers as sequences. Removing this feature would
break too much existing code, hence deprecating is not really an option. Furthermore,
this would also break some nice idioms.


* Pull request 17: Fix python 3 issues in PyObjCTools.AppHelper and PyObjCTools.Conversion

Fix by Max Bélanger

4.1

* Protection agains buffer overflow and negative indexes in
``__getitem__`` and ``__setitem__`` for ``objc.varlist`` instances.

* Fix incorrect metadata for ``+[NSEvent addLocalMonitorForEventsMatchingMask:handler:]``

* Fix incorrect and misleading error message in the exception
that is raised when return a value from a block that should not
return a value.

* Issue 223: Fix hard crash when executing ``help(Cocoa)``

Fetching the help for PyObjC framework wrappers isn't very useful due
to the sheer size of the output (4.5 million lines of output for
``help(Cocoa)`` at the moment), but shouldn't cause a hard crash of
the interpreter.

Reported by Dave Fuller

* Issue 218: Explictly cause an ImportError when reloading objc._objc

Reloading the PyObjC core extension now raises an ImportError because
this cannot work and used to raise a rather vague error.

* Updated metadata for Xcode 9.2

* Added missing MAC_OS_X_VERSION_* constants

* Fix memory error in struct wrappers which resulted in
a use-after-free error in the initializer for structs.

* 135: Add bindings for frameworks :doc:`Security </apinotes/Security>`,
:doc:`SecurityFoundation </apinotes/SecurityFoundation>` and
and :doc:`SecurityInterface </apinotes/SecurityInterface>`.

The bindings for the Security framework don't expose a
number of older APIs that were deprecated in macOS 10.7.

* 129: Add bindings to libdispatch.

These bindings require macOS 10.8 or later, libdispatch was
available earlier but macOS 10.8 changed the API in such a
way that wrapping became a lot easier.

4.0.1

* Issue 213: Fix signature for -[NSObject forwardInvocation:]

Reported by user "pyrocat"

* Updated metadata for Xcode 9.1

* Changes to PyObjCTools.TestSupport to be able to include/exclude tests
based on the minor release of macOS.

* Some tweaks to fix test failures when running on OSX 10.5, 10.6, 10.9.

NOTE:

The stacktrace formatting of in ``PyObjCTools.Debugging`` (from the
ExceptionHandling bindings) don't work for PPC binaries because symbol
resolution doesn't work.

This is a known issue that won't be fixed.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.