A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-January/024239.html below:

[Python-checkins] CVS: python/dist/src/Mac/scripts gensuitemodule.py,1.17,1.18

[Python-checkins] CVS: python/dist/src/Mac/scripts gensuitemodule.py,1.17,1.18Jack Jansen jackjansen@users.sourceforge.net
Tue, 22 Jan 2002 15:24:05 -0800
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