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 BTaskaya, Mark.Shannon, pablogsal, serhiy.storchaka
Date 2021-07-03.15:00:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625324450.14.0.469582087422.issue44501@roundup.psfhosted.org>
In-reply-to
Content
Great!

Common examples are str.replace(), re.Match.groups() and __exit__(None, None, None). Common anti-patterns include slice(None, None, None) (why not slice(None)?) and datetime(1970, 1, 1) (it should be a global constant). I suspect that in most of other examples the function execution time is too large to make the optimization meaningful.

BTW, why do you not fold 2-argument calls? It would add 2-argument str.replace() and str.split().
History
Date User Action Args
2021-07-03 15:00:50serhiy.storchakasetrecipients: + serhiy.storchaka, Mark.Shannon, pablogsal, BTaskaya
2021-07-03 15:00:50serhiy.storchakasetmessageid: <1625324450.14.0.469582087422.issue44501@roundup.psfhosted.org>
2021-07-03 15:00:50serhiy.storchakalinkissue44501 messages
2021-07-03 15:00:50serhiy.storchakacreate