[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

R. David Murray report at bugs.python.org
Sat May 17 15:46:14 CEST 2014


R. David Murray added the comment:

I'd prefer to get rid of it, otherwise we might get requests to add all the other os.path functions to the shutil namespace, and I don't think having that kind of "more than one way to do it" serves anyone.  I suppose we'll have to deprecate it first if we do get rid of it :(.

----------
nosy: +r.david.murray
title: PATCH: using the abspath shortcut in Lib/shutil -> shutil uses both os.path.abspath and an 'import from' of abspath

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21391>
_______________________________________


More information about the Python-bugs-list mailing list