[ctypes-commit] ctypes/ctypes __init__.py,1.61.2.16,1.61.2.17
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-12-22 20:45:24
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17103 Modified Files: Tag: branch_1_0 __init__.py Log Message: Some smaller fixes. Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v retrieving revision 1.61.2.16 retrieving revision 1.61.2.17 diff -C2 -d -r1.61.2.16 -r1.61.2.17 *** __init__.py 22 Dec 2005 20:34:57 -0000 1.61.2.16 --- __init__.py 22 Dec 2005 20:45:15 -0000 1.61.2.17 *************** *** 4,7 **** --- 4,9 ---- # without installing it import os as _os, sys + from itertools import chain as _chain + _magicfile = _os.path.join(_os.path.dirname(__file__), ".CTYPES_DEVEL") if _os.path.isfile(_magicfile): *************** *** 373,376 **** --- 375,379 ---- register_library_alias("c", "msvcrt", "nt") + register_library_alias("m", "msvcrt", "nt") class _DLLS(object): *************** *** 394,398 **** global _library_map if name in _library_map: ! names = itertools.chain( self._findLibrary(name), self._findLibrary(_library_map[name])) --- 397,401 ---- global _library_map if name in _library_map: ! names = _chain( self._findLibrary(name), self._findLibrary(_library_map[name])) |