This release continues the work on test coverage in pyobjc-core,
resulting in a number of minor bug fixes.
Added two options to the build_ext command in the setup.py
of pyobjc-core:
--no-lto: Disable link time optimization
--no-warnings-as-errors: Disable -Werror
For struct bindings in frameworks the "in" operator no longer
swallows exceptions raised by the __eq__ method.
Improved handing of invalid type encodings for struct types.
Fix crash while handling a struct wrapper with an invalid
type encoding.
Fix handling of empty structs (such as struct foo { }; in
:func:objc.repythonify.
The type for NSObject.pyobjc_instanceMethod and
NSObject.pyobjc_classMethods now supports the GC protocol
to avoid garbage collection issues when the value for these
properties is stored as an attribute (which introduces a
reference cycle)
PyObjC should work with Python 3.11 alpha release, starting
at alpha 6. Earlier alpha's are not supported due to reverting
a workaround for a bug that was fixed in alpha 6.
NSObject.alloc = 42 now fails. It was already impossible
to replace a selector by something else through instances
(NSObject.new().description = 42 raises).
Added :data:objc.ObjCPointer.typestr with the same
value as :data:objc.ObjCPonter.type. The latter is now
deprecated and will be removed in PyObjC 9.
Better error messages when a class implementing a protocol
inherits a method of the wrong kind ("class" vs. "instance").
The value of __slots__ in a class definition is now
kept in the created class (previous versions always set
the attribute to an empty tuple).
This is primarily useful when __slots__ is a :class:dict
that is used to document attributes.
This release continues the work on test coverage in pyobjc-core,
resulting in a number of minor bug fixes.
Added two options to the build_ext command in the setup.py
of pyobjc-core:
--no-lto: Disable link time optimization
--no-warnings-as-errors: Disable -Werror
For struct bindings in frameworks the "in" operator no longer
swallows exceptions raised by the __eq__ method.
Improved handing of invalid type encodings for struct types.
Fix crash while handling a struct wrapper with an invalid
type encoding.
Fix handling of empty structs (such as struct foo { }; in
:func:objc.repythonify.
The type for NSObject.pyobjc_instanceMethod and
NSObject.pyobjc_classMethods now supports the GC protocol
to avoid garbage collection issues when the value for these
properties is stored as an attribute (which introduces a
reference cycle)
PyObjC should work with Python 3.11 alpha release, starting
at alpha 6. Earlier alpha's are not supported due to reverting
a workaround for a bug that was fixed in alpha 6.
NSObject.alloc = 42 now fails. It was already impossible
to replace a selector by something else through instances
(NSObject.new().description = 42 raises).
Added :data:objc.ObjCPointer.typestr with the same
value as :data:objc.ObjCPonter.type. The latter is now
deprecated and will be removed in PyObjC 9.
Better error messages when a class implementing a protocol
inherits a method of the wrong kind ("class" vs. "instance").
The value of __slots__ in a class definition is now
kept in the created class (previous versions always set
the attribute to an empty tuple).
This is primarily useful when __slots__ is a :class:dict
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyobjc-core from 7.3 to 8.5.
Release notes
Sourced from pyobjc-core's releases.
... (truncated)
Changelog
Sourced from pyobjc-core's changelog.
... (truncated)
Commits
26f2a5d
Prepare for release15654a3
Merge pull request #466 from simonrob/patch-15bdd11d
Fix links to pyobjc-coreae1e44d
Merge branch 'master' of github.com:ronaldoussoren/pyobjc53030e5
More updates for "char*" arguments79cec84
Silence flake8 warning16811df
Merge branch 'master' of github.com:ronaldoussoren/pyobjc4c08aaa
Minor metadata tweaka05b17b
Upgrade pre-commit dependencies85869df
Fix handling of C string arguments for a number of functionsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)