Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Thanks for the confirmation. You can download the patch for the PR by appending 
.diff/.patch to the PR URL. The patch can be applied to your source locally 
with "git apply patch_file" to run my example. Reverting patch would cause 
AttributeError

Diff URL : https://github.com/python/cpython/pull/16784.diff

The PR also includes regression test so reverting the patch to mock.py and 
running below command would cause error in test.

./python -m test test_unittest

Checking out a different branch and doing below command should do a clean 
rebuild with a different version of python. Also for reference : 
https://devguide.python.org/

git clean -xdf && ./configure && make -j4

Hope it helps

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue21478>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to