[Python-bugs-list] [Bug #131996] wrong argument list for "def _cmp(...)" in filecmp.py
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 12 Feb 2001 05:21:57 -0800
Bug #131996, was updated on 2001-Feb-12 05:21
Here is a current snapshot of the bug.
Project: Python
Category: Python Library
Status: Open
Resolution: None
Bug Group: Feature Request
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: wrong argument list for "def _cmp(...)" in filecmp.py
Details: to whom it may concern,
in the file filecmp.py please check the method _cmp(...) - I try to use
"dircmp(dir_a, dir_b) and get the following messages:
Traceback (most recent call last):
File "\users\lib\filecmp.py", line 328, in ?
demo()
File "\users\lib\filecmp.py", line 323, in demo
dd.report_full_closure()
File "\users\lib\filecmp.py", line 264, in report_full_closure
self.report()
File "\users\lib\filecmp.py", line 241, in report
if self.same_files:
File "\users\lib\filecmp.py", line 147, in __getattr__
self.phase3()
File "\users\lib\filecmp.py", line 214, in phase3
xx = cmpfiles(self.left, self.right, self.common_files)
File "\users\lib\filecmp.py", line 288, in cmpfiles
res[_cmp(ax, bx, shallow, use_statcache)].append(x)
TypeError: too many arguments; expected 2, got 4
Please correct the method _cmp(...)
thanks
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131996&group_id=5470