We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code below raises SystemError due to a C function returning NULL without setting an exception.
import Cocoa import functools class C: def callback(*args, **kwds): return None c = C() observer = Cocoa.CFRunLoopObserverCreateWithHandler(None, Cocoa.kCFRunLoopEntry | Cocoa.kCFRunLoopExit, True, 0, c.callback)
The text was updated successfully, but these errors were encountered:
Issue #300: Fix SystemError in block edge case
451bb37
PyObjC raised a SystemError when converting a callable into an ObjC block when the callable is a bound method without positional arguments.
Fixed in changeset 451bb37
Sorry, something went wrong.
No branches or pull requests
The code below raises SystemError due to a C function returning NULL without setting an exception.
The text was updated successfully, but these errors were encountered: