[Python-ideas] Why make ‘shutil.destinsrc’ private?

Benjamin Peterson benjamin at python.org
Fri Jul 15 05:45:51 CEST 2011


Ben Finney <ben+python at ...> writes:
>> Benjamin Peterson <benjamin <at> python.org>
> > Please see http://bugs.python.org/issue2047
>> Thank you. (Has the Python development team considered a policy of
> noting bug report URLs in the commits that address those bug reports?
> That would have made the forensic work easier.)

They generally do when they remember. :)
>> So AFAICT the strongest justification for the change has its origin in
> <URL:http://bugs.python.org/issue2047#msg63157> by Raghuram Devarakonda:
>> destinsrc() is an internal function used only in shutil.move().
>> But I don't see an argument made against Joseph Armbruster's suggestion
> <URL:http://bugs.python.org/issue2047#msg63156>:
>> I would have expected to find a function like this in os.path, not
> shutil.

Sounds more like an observation than a suggestion. I personally don't care
whether/where this functionality is exposed, so by all means file an issue if
you want.


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /