[pywin32-checkins] pywin32/com/win32comext/mapi mapiutil.py, 1.10, 1.11
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-11 06:55:45
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/mapi In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv865/com/win32comext/mapi Modified Files: mapiutil.py Log Message: py3k friendly changes for the MAPI type map Index: mapiutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/mapi/mapiutil.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mapiutil.py 6 Dec 2008 00:42:06 -0000 1.10 --- mapiutil.py 11 Dec 2008 06:55:34 -0000 1.11 *************** *** 105,110 **** type(0.0): mapitags.PT_DOUBLE, type(0): mapitags.PT_I4, ! type(''): mapitags.PT_STRING8, ! type(u''): mapitags.PT_UNICODE, type(None): mapitags.PT_UNSPECIFIED, # In Python 2.2.2, bool isn't a distinct type (type(1==1) is type(0)). --- 105,110 ---- type(0.0): mapitags.PT_DOUBLE, type(0): mapitags.PT_I4, ! type(''.encode('ascii')): mapitags.PT_STRING8, # str in py2x, bytes in 3x ! type(u''): 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)). |