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 methane
Recipients Guido.van.Rossum, Mark.Shannon, gvanrossum, iritkatriel, methane, rhettinger, serhiy.storchaka, terry.reedy
Date 2021-10-03.02:14:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633227296.16.0.755095039667.issue36521@roundup.psfhosted.org>
In-reply-to
Content
And as a bonus, creating function without docstring is little faster.

```
$ cpython/release/bin/pyperf timeit --duplicate=100 "def f(): pass"
.....................
Mean +- std dev: 62.5 ns +- 1.2 ns

$ load-none-remove-docstring/release/bin/pyperf timeit --duplicate=100 "def f(): pass"
.....................
Mean +- std dev: 60.5 ns +- 1.3 ns
```
History
Date User Action Args
2021-10-03 02:14:56methanesetrecipients: + methane, gvanrossum, rhettinger, terry.reedy, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, iritkatriel
2021-10-03 02:14:56methanesetmessageid: <1633227296.16.0.755095039667.issue36521@roundup.psfhosted.org>
2021-10-03 02:14:56methanelinkissue36521 messages
2021-10-03 02:14:56methanecreate