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 serhiy.storchaka
Recipients crusaderky, docs@python, pitrou, serhiy.storchaka
Date 2020-03-14.18:26:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the name of the first parameter is "s" (it was "str" in 2.7), not "data". And in the module docstring it is "string". So we have two options:

1. Make the first parameter positional-only. This is not breaking change because the documentation and two implementations had four different names, so there was no official way to pass it by keyword.

2. Make it positional-and-keyword parameter officially. All implementations, documentation and docstrings should be synchronized.

What is more preferable? Do we need to pass the first argument to pickle.loads() by keyword?

After resolving this issue we may want to revise other modules which have the loads() function.
Date User Action Args
2020-03-14 18:26:06serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, docs@python, crusaderky
2020-03-14 18:26:06serhiy.storchakasetmessageid: <>
2020-03-14 18:26:06serhiy.storchakalinkissue39435 messages
2020-03-14 18:26:06serhiy.storchakacreate