[PyObjC-svn] r2591 - in trunk/pyobjc/pyobjc-framework-Cocoa: . Lib/PyObjCTools
[email protected] Sun, 29 Aug 2010 15:34:01 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Sun Aug 29 15:34:01 2010
New Revision: 2591
Log:
the ``endSheetMethod`` decorator now works with python3
Modified:
trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppHelper.py
trunk/pyobjc/pyobjc-framework-Cocoa/setup.py
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppHelper.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppHelper.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppHelper.py Sun Aug 29 15:34:01 2010
@@ -123,7 +123,7 @@
Return a selector that can be used as the delegate callback for
sheet methods
"""
- return objc.selector(meth, signature='v@:@ii')
+ return objc.selector(meth, signature=b'v@:@ii')
def unexpectedErrorAlertPanel():
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/setup.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/setup.py Sun Aug 29 15:34:01 2010
@@ -17,6 +17,9 @@
introducing Python 3 support.
- Add wrapper for [NSBitmapImageRep -initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:]
+
+- ``PyObjCTools.AppHelper.endSheetMethod`` now works with python 3.x
+
'''
from pyobjc_setup import setup, Extension
import os
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d