-
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
-
Installed /Library/Python/2.6/site-packages/pyobjc_framework_ScreenSaver-2.2b2-py2.6-macosx-10.6-universal.egg
Searching for pyobjc-framework-Quartz==2.2b2
Reading http://pypi.python.org/simple/pyobjc-framework-Quartz/
Best match: pyobjc-framework-Quartz 2.2b2
Downloading...
2009-09-09 19:58:08 UTC by p_arrenbrecht
-
Thanks was unaware of the other method, and had no way of performing the operation, not really a bug anymore then.
2009-02-09 21:40:31 UTC by dougfritz
-
Ok, of course that was using the trunk version, but the behavior is the same for the Leopard stock install:
>>> m._.transform = t
Traceback (most recent call last):
File "", line 1, in
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC/objc/_convenience.py", line 141, in __setattr__
return self.__object.setValue_forKey_(value...
2009-02-09 18:21:40 UTC by pmifek
-
Works here (stock leopard 10.5.6]:
>>> m
>>> t = CATransform3DMakeRotation(0.4, 0,0,1)
>>> m.setTransform_(t)
>>> m.setSublayerTransform_(t)
transforms the CALayer m as expected. Truth is that the convenience m._.XXX methods don't work:
>>> m._.transform
2009-02-08 23:37:27 UTC by pmifek
-
I'm attaching a zip'd project directory demonstrating the memory leak for NSDictionary instances passed from a python plugin (built with py2app) back to an Objective-C loader.
The included demo.trace Instruments document contains a UI script that will replicate the behavior. Adding an "Object Alloc" instrument will show that instances of CFDictionary and CFString are created but not released...
2008-10-14 01:01:31 UTC by barrywark
-
__repr__ of obj-c class instances should not return unicode (from [someobj description]), this makes interpreters (python, ipython) very unhappy, failing with:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u***' in position ***: ordinal not in range(128)
repr should only return some internal description of object,
return PyString_FromFormat(
"
2008-09-25 11:46:38 UTC by farcaller
-
no transform or sublayerTransform wrapping in CALayer
there is currently no way to set those properties in CALayer
The closest one can do is use setAffineTransform and AffineTransforms can at times be nonequivalent to CATransforms.
2008-08-27 23:00:04 UTC by dougfritz
-
A little bit of extra information:
gc.garbage is empty ([]) after calling gc.set_debug(gc.DEBUG_LEAKS) and gc.collect() does not resolve the memory leak (no system memory is returned).
2008-06-13 01:35:10 UTC by barrywark
-
I see this in trunk and in the released version with leopard:
/Developer/Examples/Python/PyObjC/FSEvents/watcher.py
134c134
< def fsevents_callback(streamRef, clientInfo, numEvents, eventPaths, eventMarsks, eventIDs):
---
> def fsevents_callback(streamRef, clientInfo, numEvents, eventPaths, eventMasks, eventIDs):
167c167
< print "New total size: %d (change made to %s) for...
2008-06-02 18:53:32 UTC by jsnyder