[Patches] [ python-Patches-932796 ] Error caused by patch #852334

SourceForge.net noreply at sourceforge.net
Tue May 11 23:16:17 EDT 2004


Patches item #932796, was opened at 2004-04-10 09:52
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=932796&group_id=5470

Category: Demos and tools
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: George Yoshida (quiver)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Error caused by patch #852334

Initial Comment:
Looks like patch #852334``Replace backticks with repr
()'' had a problem.
In Demo/threads/sync.py there is a statement with an 
extra parenthesis and the script raises a SyntaxError.

# error message
  File "sync.py", line 421
    'initial value %r' % (maxcount,))
                                    ^
SyntaxError: invalid syntax

My patch removes the extra parenthesis.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2004-05-11 23:16

Message:
Logged In: YES 
user_id=3066

It's also should be self.maxcount rather than maxcount; all
better in Demo/threads/sync.py 1.8

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=932796&group_id=5470



More information about the Patches mailing list