Author serhiy.storchaka
Recipients John Jones, alex, benjamin.peterson, dhduvall, gennad, gregory.p.smith, martin.panter, miss-islington, ned.deily, neologix, pablogsal, serhiy.storchaka, vstinner
Date 2018-05-08.09:53:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525773232.36.0.682650639539.issue20104@psf.upfronthosting.co.za>
In-reply-to
Content
I propose the following changes to the file_actions parameter in PR 6725. Currently it is the fourth positional-only parameter with the default value None.

1. Change its default value to an empty tuple. None will no longer be accepted as a special case. This will simplify a mental model.

2. Since the order of parameters already doesn't math the natural order of the corresponding C function, and many other keyword-only parameters will be added in PR 6693, it makes sense to make file_actions a keyword-only parameter too.
History
Date User Action Args
2018-05-08 09:53:52serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith, vstinner, benjamin.peterson, ned.deily, alex, dhduvall, neologix, gennad, martin.panter, John Jones, pablogsal, miss-islington
2018-05-08 09:53:52serhiy.storchakasetmessageid: <1525773232.36.0.682650639539.issue20104@psf.upfronthosting.co.za>
2018-05-08 09:53:52serhiy.storchakalinkissue20104 messages
2018-05-08 09:53:52serhiy.storchakacreate