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 CrocoDuck
Recipients CrocoDuck
Date 2020-12-16.15:12:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608131578.78.0.823168956156.issue42659@roundup.psfhosted.org>
In-reply-to
Content
See the code example below.

```python
import platform
import pickle

pack = {
    'uname_result': platform.uname()
}

with open('test.pickle', 'wb') as f:
    pickle.dump(pack, f, protocol=pickle.HIGHEST_PROTOCOL)

with open('test.pickle', 'rb') as f:
    data = pickle.load(f)

```

It works smoothly on Python 3.8.5. However, on Python 3.9.0, the last line produces this error:

```
Traceback (most recent call last):
  File "/Users/crocoduck/pickle/3.9.0/make_pickle.py", line 12, in <module>
    data = pickle.load(f)
TypeError: <lambda>() takes 6 positional arguments but 7 were given
```

The files produced by the code snipped above are attached for reference.

This was observed in macOS Catalina 10.15.7.
History
Date User Action Args
2020-12-16 15:12:58CrocoDucksetrecipients: + CrocoDuck
2020-12-16 15:12:58CrocoDucksetmessageid: <1608131578.78.0.823168956156.issue42659@roundup.psfhosted.org>
2020-12-16 15:12:58CrocoDucklinkissue42659 messages
2020-12-16 15:12:58CrocoDuckcreate