[Python-bugs-list] [ python-Bugs-230006 ] /test/tokenize_tests_.py minor bug

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Apr 2001 07:37:16 -0700


Bugs item #230006, was updated on 2001-01-24 20:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=230006&group_id=5470

Category: None
Group: None
>Status: Closed
Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jeremy Hylton (jhylton)
Summary: /test/tokenize_tests_.py minor bug

Initial Comment:
There is a minor error on line 147 in the module /test/tokenize_tests.py of
the new 2.1alpha1.  The function d01v has the parameter name "rest" repeated
in the function definition.  This gives an error message when that function
is reached during  "make install" on a Debian 2.2 (potato) Linux system.


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

>Comment By: Jeremy Hylton (jhylton)
Date: 2001-04-13 07:37

Message:
Logged In: YES 
user_id=31392

Fix by rev 1.3 of tokenize_tests.py


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

Comment By: Nobody/Anonymous (nobody)
Date: 2001-02-03 09:40

Message:
The exact message appears during the "make install" process as follows:

Compiling /usr/local/lib/python2.1/test/tokenize_tests.py ...
SyntaxError: duplicate argument 'rest' in function definition

The message does NOT cause the install to abort.


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

Comment By: Jeremy Hylton (jhylton)
Date: 2001-01-31 12:19

Message:
I can't reproduce this problem on my system.  The file definitely
has duplicate arguments, but that shouldn't affect the tokenize test. 
Can you provide the exact error output you see?


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

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