This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Error caused by patch #852334
Type: Stage:
Components: Demos and Tools Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, quiver
Priority: normal Keywords: patch

Created on 2004-04-10 13:52 by quiver, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sync.diff quiver, 2004-04-10 13:52
Messages (2)
msg45726 - (view) Author: George Yoshida (quiver) (Python committer) Date: 2004-04-10 13:52
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.
msg45727 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2004-05-12 03:16
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
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40134
2004-04-10 13:52:23quivercreate