[Python-ideas] os.path.isparent and os.path.ischild

Oleg Broytman phd at phdru.name
Thu Jul 14 13:11:24 CEST 2011


On Thu, Jul 14, 2011 at 08:45:06PM +1000, Ben Finney wrote:
> Oleg Broytman <phd at phdru.name> writes:
> >    It's already in the stdlib, called shutil.destinsrc ("destination
> > in source").
> 
> Not according to <URL:http://docs.python.org/library/shutil.html> nor
> <URL:http://docs.python.org/py3k/library/shutil.html>; no mention of a
> ???destinsrc???. Which documentation should we be looking at to find that?

   In py3k it was renamed to _destinsrc. It never was documented. So to
"add" it to the stdlib just rename it back and document it.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.



More information about the Python-ideas mailing list