Message306040
| Author | eric.araujo |
|---|---|
| Recipients | ataraxy, eric.araujo, rhettinger, serhiy.storchaka |
| Date | 2017-11-10.17:30:35 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1510335035.83.0.213398074469.issue32001@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I remember seeing code needed to make a decorator that works with and without parens and finding it quite obscure and confusing for a long time. When you understand the distinction between, things become clear and simple again. I like that the stdlib keeps that distinction. We could change the doc to include an example without parameters. We may also make sure to call lru_cache a decorator factory, with a glossary link or link to decorator reference doc. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-11-10 17:30:35 | eric.araujo | set | recipients: + eric.araujo, rhettinger, serhiy.storchaka, ataraxy |
| 2017-11-10 17:30:35 | eric.araujo | set | messageid: <1510335035.83.0.213398074469.issue32001@psf.upfronthosting.co.za> |
| 2017-11-10 17:30:35 | eric.araujo | link | issue32001 messages |
| 2017-11-10 17:30:35 | eric.araujo | create | |