Update of /cvsroot/python/python/dist/src/Mac/scripts In directory usw-pr-cvs1:/tmp/cvs-serv24889/Python/Mac/scripts Modified Files: gensuitemodule.py Log Message: Identify() enum values. This was changed in 1.14, but I don't think it is a good idea. Index: gensuitemodule.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/scripts/gensuitemodule.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** gensuitemodule.py 2001/08/25 12:05:04 1.17 --- gensuitemodule.py 2002/01/22 23:24:03 1.18 *************** *** 361,364 **** --- 361,368 ---- fp.write('from %s import *\n'%basepackage._code_to_fullname[code][0]) basemodule = basepackage._code_to_module[code] + elif basepackage and basepackage._code_to_module.has_key(code.lower()): + # This is needed by CodeWarrior and some others. + fp.write('from %s import *\n'%basepackage._code_to_fullname[code.lower()][0]) + basemodule = basepackage._code_to_module[code.lower()] else: # We are not an extension. *************** *** 745,749 **** def compileenumerator(self, item): [name, code, desc] = item ! self.fp.write("\t%s : %s,\t# %s\n" % (`name`, `code`, desc)) def checkforenum(self, enum): --- 749,753 ---- def compileenumerator(self, item): [name, code, desc] = item ! self.fp.write("\t%s : %s,\t# %s\n" % (`identify(name)`, `code`, desc)) def checkforenum(self, enum):
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4