[pywin32-checkins] pywin32/com/win32com/client gencache.py, 1.33, 1.34
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-04 06:56:40
|
Update of /cvsroot/pywin32/pywin32/com/win32com/client In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2209/com/win32com/client Modified Files: gencache.py Log Message: let 2to3 handle module name differences Index: gencache.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/gencache.py,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** gencache.py 14 Nov 2008 00:22:25 -0000 1.33 --- gencache.py 4 Dec 2008 06:56:36 -0000 1.34 *************** *** 49,56 **** demandGeneratedTypeLibraries = {} ! try: ! import cPickle as pickle ! except ImportError: ! import pickle def __init__(): --- 49,53 ---- demandGeneratedTypeLibraries = {} ! import cPickle as pickle def __init__(): *************** *** 77,84 **** # Load the dictionary from a .zip file if that is where we live. if hasattr(win32com, "__loader__"): ! try: ! import cStringIO as io ! except ImportError: ! import io loader = win32com.__loader__ arc_path = loader.archive --- 74,78 ---- # Load the dictionary from a .zip file if that is where we live. if hasattr(win32com, "__loader__"): ! import cStringIO as io loader = win32com.__loader__ arc_path = loader.archive |