[pywin32-checkins] pywin32/com/win32comext/mapi mapiutil.py, 1.5.4.4, 1.5.4.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-11 07:17:30
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/mapi In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2485/com/win32comext/mapi Modified Files: Tag: py3k mapiutil.py Log Message: py2 and 3 friendly typemap Index: mapiutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/mapi/mapiutil.py,v retrieving revision 1.5.4.4 retrieving revision 1.5.4.5 diff -C2 -d -r1.5.4.4 -r1.5.4.5 *** mapiutil.py 11 Dec 2008 05:45:21 -0000 1.5.4.4 --- mapiutil.py 11 Dec 2008 07:17:24 -0000 1.5.4.5 *************** *** 106,110 **** type(0): mapitags.PT_I4, type(''.encode('ascii')): mapitags.PT_STRING8, # str in py2x, bytes in 3x ! type(''): mapitags.PT_UNICODE, # XXX - fix better for py3k type(None): mapitags.PT_UNSPECIFIED, # In Python 2.2.2, bool isn't a distinct type (type(1==1) is type(0)). --- 106,110 ---- type(0): mapitags.PT_I4, type(''.encode('ascii')): mapitags.PT_STRING8, # str in py2x, bytes in 3x ! type(''): mapitags.PT_UNICODE, # unicode in py2x, str in 3x type(None): mapitags.PT_UNSPECIFIED, # In Python 2.2.2, bool isn't a distinct type (type(1==1) is type(0)). |