[Python-bugs-list] [ python-Bugs-564913 ] Partial Function redeffinition...

noreply@sourceforge.net noreply@sourceforge.net
Wed, 05 Jun 2002 09:36:13 -0700


Bugs item #564913, was opened at 2002-06-05 20:36
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=564913&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Alex A. Naanou (alex_nanou)
Assigned to: Nobody/Anonymous (nobody)
Summary: Partial Function redeffinition...

Initial Comment:
description: 
part of the functions definition is changed in runtime (the 
value of the default parameter to exact).
 (expected to possible only by function redefinition)

expected behaver:
the default value of 'x' would stay constant, thus 
rendering the output of all cases to be the same (and 
equal to '[0]').

code: 
//see the attached file. 

test systems: 
WIN2K v.5.00.2195 SP2 
- ActivePython 2.2 //I do not remember the details
- Python 2.2 (#1, Dec 31 2001, 15:21:18) [GCC 2.95.3-5 
(cygwin special)] on cygwin 

With Respect.. 
Alex. 

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=564913&group_id=5470