Share

PyObjC

Code

Programming Languages: Objective C, Python

License: MIT License

Show:

What's happening?

  • Growl Framework Does Not Work With PyObjc 2.2b3

    The problem is outlined with a test case here: http://groups.google.com/group/growldiscuss/browse_thread/thread/ccd8601313ac13ec An application can register to growl fine but posting notifications does not work using the following code: GrowlApplicationBridge.notifyWithTitle_description_notificationName_iconData_priority_isSticky_clickContext_(u"Notification", "A description."...

    2010-01-07 15:59:35 UTC by https://www.google.com/accounts

  • Comment: "from Foundation import *" breaks Python built-in "super"

    Closing as won't fix because objc.super is upward compatible with the regular super. Also: both the original report and comment don't include enough information to reproduce any issues.

    2010-01-03 12:09:02 UTC by ronaldoussoren

  • Comment: Files installed to /Users/ronald

    This is not relevant for PyObjC 2.x.

    2010-01-03 12:05:55 UTC by ronaldoussoren

  • Comment: Cannot call objc.super on NSObject

    Sorry about the late reply, I keep forgetting that there is a SF tracker :-( You probably already know this, but the call to super is invalid, the first argument must be the class containing the method definition (in this case 'Test'), not the superclass. BTW. One more reason to like Python 3.x, in python 3.x the call would be written as super().init()

    2010-01-03 12:04:09 UTC by ronaldoussoren

  • Comment: Cannot use class NSCFDate

    Closing because NSCFDate does not exist, __NSCFDate does exist but is not public API.

    2010-01-03 11:57:47 UTC by ronaldoussoren

  • Comment: License?

    The license is on the website as of the 2.2 relaase. BTW. the license is the MIT license.

    2010-01-03 11:53:26 UTC by ronaldoussoren

  • Comment: Return Value Mismatch

    This is not a bug, the 'rect' argument is a pass-by-reference argument that can be modified, hence you have to return two values: both the return value itself and the (possibly updated) value of rect: return (aToolTip, aRect)

    2010-01-03 11:52:33 UTC by ronaldoussoren

  • Return Value Mismatch

    I'm having a problem with NSTableView's delegate method tableView_toolTipForCell_rect_tableColumn_row_mouseLocation_. When this method is called from the table view and the correct value is returned (a string) the following error occurs (attached project reproduces this problem): TypeError: tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:: Need tuple of 2 arguments as result...

    2010-01-03 01:28:29 UTC by https://www.google.com/accounts

  • Comment: Cannot call objc.super on NSObject

    shouldn't the call be "return super(Test, self).init()" because you want to call the init method of the parent class of Test. I think you're getting an error now because you're trying to call a method of the parent of NSObject, of which there is none, but I'm just guessing.

    2009-12-19 09:08:44 UTC by sll0yd

  • License?

    Could you please make a clear statement about the pyobjc license on http://pyobjc.sourceforge.net/ or about or something like that.

    2009-10-19 11:59:16 UTC by kiilerix