Pyobjc

Latest version: v11.0

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

Scan your dependencies

Page 10 of 18

3.1.1

-------------

* Sigh... A number for sdists were incomplete due to missing MANIFEST.in files.

3.1

-----------

* Fix value of ``FLT_MAX`` and ``FLT_MIN`` in framework bindings.

* Fix for the functions in ``PyObjCTools.AppHelper``: those functions didn't work
correctly when the calling thread didn't have a runloop.

Patch by Max Bélanger.

* :issue:`126`: Load the LaunchServices definitions through the CoreServices
umbrella framework to avoid problems on OSX 10.11.

* :issue:`124`: Sporadic crash at program shutdown due to a race condition between
Python interpreter shutdown and Cocoa cleanup.

This is mostly a workaround, I don't have a full solution for this yet and
I'm not sure if one is possible.

* Added ``objc.PyObjC_BUILD_RELEASE`` which contains the version of the SDK
that was used to build PyObjC in the same format as the OSX availability
macros.

* :issue:`117`: Added *maxTimeout* parameter to ``PyObjCTools.AppHelper.runConsoleEventLoop``.
The default value is 3 seconds, which means that
the console eventloop will stop within 3 seconds of calling ``stopEventLoop``.

* Re-enable faster method calls for simple method calls.

* Support OSX 10.10 in PyObjCTools.TestSupport (version comparison was too
naive)

* Add bindings for ApplicationServices, currently only the HIServices sub
framework is exposed.

* Add bindings for NetFS, introduced in OSX 10.7.

* Add bindings for ImageCaptureCore. Initial patch by Max Bélanger.

* Add bindings for IMServicePlugIn, introduced in OSX 10.7.

* Add bindings for SceneKit, introduced in OSX 10.8.

* Add bindings for CoreBluetooth, MapKit, AVKit, MediaLibrary,
MediaAccessibility, GameController (all new in OSX 10.9)

* Add bindings for FinderSync, CloudKit, CryptoTokenKit,
MultipeerConnectivity, NotificationCenter (all new in OSX 10.10)

* Add bindings for Contacts, ContactsUI, Photos, PhotosUI (new in OSX 10.11)

* Added function ``objc.callbackPointer``.

* Updated bindings for AppKit, CoreData, CoreFoundation, CoreGraphics,
CoreLocation, CoreText, CoreVideo, CoreWLAN, EventKit, FSEvents,
ImageIO, ImageKit, JavaScriptCore, LaunchServices, OpenDirectory,
PDFKit, QuartzComposer, QuartzCore, QuartzFilters, QuickLookUI,
ServiceManagement, Social, StoreKit and WebKit with the new APIs
introduced in OSX 10.9, 10.10 and 10.11.

* Unchanged framework bindings: Collaboration, DictionaryServices,
ExceptionHandling, InputMethodKit, InstallerPlugins, InstantMessage,
InterfaceBuilderKit, LatentSemanticMapping, PreferencePanes, PubSub.

.. note::

InterfaceBuilderKit will likely be removed in a future version of PyObjC

* TODO: DiskArbitration, GameController, SpriteKit bindings are incomplete

* Fix hard crash with invalid type strings in metadata.

* Default value for struct wrappers was incorrect for fields that have
a type encoding that's custom to PyObjC.

* Fix a type string validation error that could cause PyObjC to continue
processing beyond the end of a type string (which can effectively hang
the python interpreter with 100% CPU usage)

* Fix edge-case in NSCoding support that causes PyObjC to use proxy objects
of the wrong type in some cases.

* Fix incompatibility with Python 3.6 (where ``inspect.getargspec`` no longer
exists)

* Added (private) function ``objc._copyMetadataRegistry``. This function returns
a copy of the internal registry that's used to find additional information
about method signatures.

Note that the data structure returned by this function is subject to change,
that the data structure is undocumented and that modifying it does not affect
the data used by PyObjC.

3.0.5

-------------

* PyObjC now uses the system libffi when CPython itself was compiled to
use that version of libffi.

Patch by Max Bélanger.

* :issue:`111`: BridgeSupport code failed when there are unions in the bridgesupport
file due to a bug in the code that parses Objective-C encoded types.

* BridgeSupport code didn't work properly with Python 3.x

* Add objc.MAC_OS_X_VERSION_10_10 and MAC_OS_X_VERSION_10_9.

* :issue:`107`: The code that checked for compliance to formal protocols didn't look
at parent classes to determine if a class implements the protocol.

* Fix build issue for python 3.

3.0.4

-------------

* :issue:`102`, :issue:`103`: Fix installation on OSX 10.10 when using "pip install pyobjc".

* :issue`:95`: Fix crash when ``sys.modules`` contains an object that is not a string.

* Fix crash on OSX 10.8 or later when using a 32-bit build and accessing
an instance of "Object" (that is, pre-Nextstep classes).

* :issue:`106`: Fix a crash when using blocks without metadata, but with a block
signature from the block runtime.

* :issue:`109`: ``PyObjCTools.MachSignals`` likely hasn't worked at all since PyObjC 2.0
because it uses a C module that was never ported to PyObjC 2.0. This private
module is reintroduced in this release (with a slightly changed API)

3.0.3

-------------

* Fix a number of OSX 10.10 support issues.

3.0.2

-------------

* :issue:`99`: Installation failed with recent versions of setuptools due to
invalid assumptions in the PyObjC setup script.

* :issue:`93`: For a objc.PyObjCPointer object ``ptr.pointerAsInteger`` returned
a 32-bit value on 64-bit systems.

* :issue:`92`: Removed dependency on pyobjc-framework-GameKit from the pyobjc
package, GameKit isn't packaged yet.

Page 10 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.