Author serhiy.storchaka
Recipients Naitree Zhu, ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, steven.daprano, zach.ware
Date 2018-09-08.12:31:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536409883.5.0.56676864532.issue34596@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn't look like a good design to me if allow a function be a decorator and a decorator fabric at the same time. It always lead to cumbersome and errorprone implementation. Currently there is only one example of such design in the stdlib, other propositions were rejected.

Checking that the argument is a string and raising exception otherwise looks good to me for 3.8. There is no a bug that need to be fixed in maintained versions. If you use unittest.skip() improperly, it is your failure. Helping to catch such mistakes is a new feature.
History
Date User Action Args
2018-09-08 12:31:23serhiy.storchakasetrecipients: + serhiy.storchaka, rbcollins, ezio.melotti, steven.daprano, michael.foord, zach.ware, Naitree Zhu
2018-09-08 12:31:23serhiy.storchakasetmessageid: <1536409883.5.0.56676864532.issue34596@psf.upfronthosting.co.za>
2018-09-08 12:31:23serhiy.storchakalinkissue34596 messages
2018-09-08 12:31:23serhiy.storchakacreate