[Python-bugs-list] [Bug #114747] Freeze does not work

noreply@sourceforge.net noreply@sourceforge.net
Mon, 18 Sep 2000 15:01:27 -0700


Bug #114747, was updated on 2000-Sep-18 14:49
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Closed
Resolution: Duplicate
Bug Group: None
Priority: 5
Summary: Freeze does not work

Details: Freeze tool needs changes as follows to make it work with 2.0b1.

In modulefinder.py

24,25d23
< STORE_NAME = dis.opname.index('STORE_NAME')
< STORE_FAST = dis.opname.index('STORE_FAST')
268d265
< 	self.msgin(5,'scan_code: start')
280,283d276
< 	    if op < len(dis.opname):
< 		    self.msg(5, 'scan_code: op=%d(%s)' %(op,dis.opname[op]) )
< 	    else:
< 		    self.msg(5, 'scan_code: op=%d(%s)' %(op,'Unknown') )
294,303d286
< 	    elif op == STORE_NAME:
< 		if oparg < len(co.co_names):
< 			self.msg( 5, 'scan_code: STORE_NAME name=%s' % co.co_names[oparg] )
< 		else:
< 			self.msg( 5, 'scan_code: STORE_NAME op=%d' % oparg )
< 	    elif op == STORE_FAST:
< 		if oparg < len(co.co_names):
< 			self.msg( 5, 'scan_code: STORE_FAST name=%s' % co.co_names[oparg] )
< 		else:
< 			self.msg( 5, 'scan_code: STORE_FAST op=%d' % oparg )
321,322d303
< 
< 	self.msgout( 5, 'scan_code: end' )



Follow-Ups:

Date: 2000-Sep-18 15:01
By: gvanrossum

Comment:
Duplicate of bug #113693.
This has been fixed in the CVS tree already.

BTW, please use the patch manager for patches, and please use context diffs!
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=114747&group_id=5470