Re: [Pyobjc-dev] import QTKit -> NSRecursiveLock errors
Brought to you by:
ronaldoussoren
From: Dirk S. <dir...@ma...> - 2009-06-25 14:39:05
|
On Jun 25, 2009, at 8:02 AM, Ronald Oussoren wrote: > However, if you use py2app it should detect 'import' statements in > function bodies as well as at the global level. I'd consider it a bug > when it doesn't detect import statements in a function/method body. Ahh. Thanks for the clarification. I use code like the example below in some places in Checkout, so those must be the only places where py2app – understandibly – misses stuff: exec("import %s" % someClassName) exec("instance = %s.alloc().init()" % someClassName) - Dirk |