You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
pprint.py
Traceback (most recent call last):
File "C:\Python\Python310\Lib\pprint.py", line 670, in
_perfcheck()
File "C:\Python\Python310\Lib\pprint.py", line 645, in _perfcheck
p._safe_repr(object, {}, None, 0, True)
TypeError: PrettyPrinter._safe_repr() takes 5 positional arguments but 6 were given
@ddurgoji It's an open project, no preliminary assignment is required. The only thing you need is to follow the contributor's manual at https://devguide.python.org/ where conventions and processes are described.
Activity
ericvsmith commentedon May 9, 2022
Please provide the code that triggered this problem.
arhadthedev commentedon May 9, 2022
@ericvsmith
_perfcheck()is called fromif __name__ == "__main__":cpython/Lib/pprint.py
Lines 640 to 671 in be3cdd6
ericvsmith commentedon May 9, 2022
Ah, I misunderstood. Thanks.
rhettinger commentedon May 9, 2022
Irit, 'git annotate' indicates that you made this change.
Fix _perfcheck in pprint.py
gh-92546: Move pprint benchmark into pyperformance (GH-94613)
ddurgoji commentedon Jul 26, 2022
I recently started working towards becoming python core developer. I came across this issue marked as easy. Can I take up and fix this issue?
arhadthedev commentedon Jul 27, 2022
@ddurgoji It's an open project, no preliminary assignment is required. The only thing you need is to follow the contributor's manual at https://devguide.python.org/ where conventions and processes are described.
ddurgoji commentedon Jul 27, 2022
@arhadthedev , Yes I am going through it thanks.
denballakh commentedon Oct 5, 2022
I think this issue is no longer relevant because it is solved in #94613
iritkatriel commentedon Oct 5, 2022
Indeed. Thanks.