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

As explained copy would cause backwards incompatible change on objects that 
depend on identity comparison. I am not sure if this can be fixed in a 
backwards compatible manner.

> One possibility would be for mock to copy the arguments you pass in. This 
> could then cause problems if you do assertions that rely on object identity 
> for equality.

----------
nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak

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

Reply via email to