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 eric.snow
Recipients dino.viehland, eric.smith, eric.snow, giampaolo.rodola, njs, rhettinger, scoder, serhiy.storchaka
Date 2019-05-04.15:54:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FWIW, I've followed this pattern (one function is both decorator and factory) in my own code for quite a while.  I've never found it confusing nor has anyone else (that I'm aware) that has used those decorators.

One reason I've done decorators this way is because the empty parentheses are a visual distraction to readers.  They also imply to readers that more is going on than really is.  So I'm in favor of Raymond's plan.
Date User Action Args
2019-05-04 15:54:18eric.snowsetrecipients: + eric.snow, rhettinger, scoder, eric.smith, giampaolo.rodola, dino.viehland, njs, serhiy.storchaka
2019-05-04 15:54:18eric.snowsetmessageid: <>
2019-05-04 15:54:18eric.snowlinkissue36772 messages
2019-05-04 15:54:18eric.snowcreate