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.araujo
Recipients David.Townshend, eric.araujo
Date 2011-08-12.17:39:31
SpamBayes Score 1.2060605e-06
Marked as misclassified No
Message-id <1313170772.45.0.47993307646.issue12741@psf.upfronthosting.co.za>
In-reply-to
Content
About new function vs. new argument: this could be asked on python-dev (or on the core-mentorship list if you prefer an environment guaranteed friendly).  If you look at copy and copy2, you’ll see that adding a function was chosen, but the names are not helpful at all.  In more recent shutil development, arguments like copy_function and ignore (on copytree) were added to let people customize behavior without rewriting all the function logic.  Guido van Rossum has a rule about not adding an argument when the value is always a constant, preferring another function instead, but I’m not sure I remember it clearly, so asking for other developers’ thoughts would be good.
History
Date User Action Args
2011-08-12 17:39:32eric.araujosetrecipients: + eric.araujo, David.Townshend
2011-08-12 17:39:32eric.araujosetmessageid: <1313170772.45.0.47993307646.issue12741@psf.upfronthosting.co.za>
2011-08-12 17:39:31eric.araujolinkissue12741 messages
2011-08-12 17:39:31eric.araujocreate