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 davin
Recipients davin, jason.curtis
Date 2017-01-10.19:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484077277.87.0.457955002018.issue29229@psf.upfronthosting.co.za>
In-reply-to
Content
This arises from the behavior of pickle (which is used by default in multiprocessing to serialize objects sent to / received from other processes in data exchanges), as seen with Python 3.6:

>>> import pickle
>>> x = pickle.dumps(mock.sentinel.foo)
>>> x
b'\x80\x03cunittest.mock\n_SentinelObject\nq\x00)\x81q\x01}q\x02X\x04\x00\x00\x00nameq\x03X\x03\x00\x00\x00fooq\x04sb.'
>>> pickle.loads(x)
sentinel.foo
>>> pickle.loads(x) == mock.sentinel.foo
False
History
Date User Action Args
2017-01-10 19:41:17davinsetrecipients: + davin, jason.curtis
2017-01-10 19:41:17davinsetmessageid: <1484077277.87.0.457955002018.issue29229@psf.upfronthosting.co.za>
2017-01-10 19:41:17davinlinkissue29229 messages
2017-01-10 19:41:17davincreate