Pyobjc

Latest version: v10.3.2

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

Scan your dependencies

Page 6 of 8

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.

4.0

* Issue 204: Metadata for CGPDFDictionaryGetObject was wrong

Reported by Nickolas Pohilets.

* Updated metadata for Xcode 9 GM.

* Fix 202: Add bindings for ``CGPDFDictionaryRef``, ``CGPDFScannerRef``
``CGPDFStreamRef`` and ``CGPDFStringRef`` to the Quartz bindings (including
some minor updates to function metadata)

Reported by Nickolas Pohilets.

* Issue 205: Add ability to read bytes from ``objc.varlist``

Instances of ``objc.varlist`` now have a method to return a memoryview
that refers to the first section of the list::

def as_buffer(self, count : int) -> memoryview

This returns a memoryview the references the underlying memory for
the first *count* elements in the list.

Reported by Nickolas Pohilets.

* Added bindings for the :doc:`GameKit </apinotes/GameKit>` framework introduced in macOS 10.8.

* Added bindings for the :doc:`GameplayKit </apinotes/GameplayKit>` framework introduced in macOS 10.11.

Note that these bindings are less useful than they could be because
PyObjC currently does not support "vector" types that are used in
some APIs.

4.0b1

* Removed PyObjCTools.TestSupport.filterWarnings, use warnings.catch_warnings
instead.

* Building pyobjc-core using "python setup.py develop" will use 'ccache'
when available.

* Building pyobjc-core will compile the source files from new to old files,
to speed up feedback while working on the source code.

* Legacy BridgeSupport files on macOS 10.13 (which aren't used by default
by PyObjC) can contain junk data in typestring data. Cleanup that data
before using it.

* Deal with loading bundle variables of a C string type, that used to crash
to do an oddity of locating that information.

* Using wrappers for C structs as sequences is deprecated, this
feature was introduced a long while ago when the framework wrappers
were very incomplete and is no longer usefull.

* Add ``objc.options.structs_indexable``. When this option is True
(the default) wrappers for C structs behave as before, when the
option is False these wrappers can no longer be used as writable
tuples, that is all "sequence" methods will raise ``TypeError``.

* Add ``objc.options.structs_writable``. When this option is True
(the default) wrappers for C structs behave as before, when the
option is False these wrappers can no longer be modified.

* Add availability macro ``MAC_OS_X_VERSION_10_13`` to ``objc``.

* New framework wrappers:

- :doc:`ColorSync </apinotes/ColorSync>` (new in macOS 10.13)
- :doc:`CoreML </apinotes/CoreML>` (new in macOS 10.13)
- :doc:`ExternalAccessory </apinotes/ExternalAccessory>` (new in macOS 10.13)
- :doc:`CoreSpotlight </apinotes/CoreSpotlight>` (new in macOS 10.13)
- :doc:`Vision </apinotes/Vision>` (new in macOS 10.13)

* metadata updates:

- :doc:`Accounts </apinotes/Accounts>`
- :doc:`AddressBook </apinotes/AddressBook>`
- :doc:`AppKit </apinotes/AppKit>`
- :doc:`ApplicationServices </apinotes/ApplicationServices>`
- :doc:`Automator </apinotes/Automator>`
- :doc:`AVKit </apinotes/AVKit>`
- :doc:`CalendarStore </apinotes/CalendarStore>`
- :doc:`CFNetwork </apinotes/CFNetwork>`
- :doc:`CloudKit </apinotes/CloudKit>`
- :doc:`Contacts </apinotes/Contacts>`
- :doc:`CoreBluetooth </apinotes/CoreBluetooth>`
- :doc:`CoreData </apinotes/CoreData>`
- :doc:`CoreFoundation </apinotes/CoreFoundation>`
- :doc:`CoreGraphics </apinotes/CoreGraphics>`
- :doc:`CoreImage </apinotes/CoreImage>`
- :doc:`CoreLocation </apinotes/CoreLocation>`
- :doc:`CoreServices </apinotes/CoreServices>`
- :doc:`CoreText </apinotes/CoreText>`
- :doc:`CoreVideo </apinotes/CoreVideo>`
- :doc:`CoreWLAN </apinotes/CoreWLAN>`
- :doc:`CryptoTokenKit </apinotes/CryptoTokenKit>`
- :doc:`EventKit </apinotes/EventKit>`
- :doc:`FinderSync </apinotes/FinderSync>`
- :doc:`Foundation </apinotes/Foundation>`
- :doc:`FSEvents </apinotes/FSEvents>`
- :doc:`GameController </apinotes/GameController>`
- :doc:`IMServicePlugIn </apinotes/IMServicePlugIn>`
- :doc:`ImageCaptureCore </apinotes/ImageCaptureCore>`
- :doc:`ImageIO </apinotes/ImageIO>`
- :doc:`Intents </apinotes/Intents>`
- :doc:`IOSurface </apinotes/IOSurface>`
- :doc:`JavaScriptCore </apinotes/JavaScriptCore>`
- :doc:`LocalAuthentication </apinotes/LocalAuthentication>`
- :doc:`MapKit </apinotes/MapKit>`
- :doc:`MediaLibrary </apinotes/MediaLibrary>`
- :doc:`MediaPlayer </apinotes/MediaPlayer>`
- :doc:`ModelIO </apinotes/ModelIO>`
- :doc:`MultipeerConnectivity </apinotes/MultipeerConnectivity>`
- :doc:`NetFS </apinotes/NetFS>`
- :doc:`NetworkExtension </apinotes/NetworkExtension>`
- :doc:`OpenDirectory </apinotes/OpenDirectory>`
- :doc:`Photos </apinotes/Photos>`
- :doc:`PhotosUI </apinotes/PhotosUI>`
- :doc:`QTKit </apinotes/QTKit>`
- :doc:`Quartz </apinotes/Quartz>`
- :doc:`QuartzCore </apinotes/QuartzCore>`
- :doc:`QuickLook </apinotes/QuickLook>`
- :doc:`SafariServices </apinotes/SafariServices>`
- :doc:`SceneKit </apinotes/SceneKit>`
- :doc:`ScreenSaver </apinotes/ScreenSaver>`
- :doc:`Social </apinotes/Social>`
- :doc:`SpriteKit </apinotes/SpriteKit>`
- :doc:`SystemConfiguration </apinotes/SystemConfiguration>`
- :doc:`WebKit </apinotes/WebKit>`

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.