Gregory P. Smith <g...@krypto.org> added the comment:

Thanks for the patch!  I'm leaving this open as dealing with the other aspect:

* Wrong attribute names around asserts: autospect/auto_spec -> autospec, 
set_spec -> spec_set

is still a possibility.  (given you also found a number of those in our 
codebase leading to hidden testing bugs)


Vedran: We're not claiming these are fixes for the fundamental problem.  But 
they are useful practical bandaids on the existing APIs that a hundred of 
millions of lines of existing unittest code around the world make use of to 
prevent common unintended consequences of our existing API's now well know 
flaws.  issue24651 looks like the better place to take up future design ideas.

----------

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

Reply via email to