This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anthony-flury
Recipients anthony-flury, cbelu, xtreak
Date 2018-09-16.00:02:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems to me that we have three alternatives : 

  1. Refuse to create the mock object with a suitable Exception (rather than a crash
  2. Copy the object and simply ignore the missing dunder_name (so that funcopy dunder_name is not set
  3. Set funcopy dunder_name to a known string when the source dunder_name is missing

It seems obvious to me that option 3 is correct - just a question of what funcopy dunder_name should be set to. I would imagine there is code that uses funcopy dunder_name in some way ?
Date User Action Args
2018-09-16 00:02:54anthony-flurysetrecipients: + anthony-flury, cbelu, xtreak
2018-09-16 00:02:54anthony-flurysetmessageid: <>
2018-09-16 00:02:54anthony-flurylinkissue32153 messages
2018-09-16 00:02:54anthony-flurycreate