import os
import sys
import stat
-from os.path import abspath
import fnmatch
import collections
import errno
return real_dst
def _destinsrc(src, dst):
- src = abspath(src)
- dst = abspath(dst)
+ src = os.path.abspath(src)
+ dst = os.path.abspath(dst)
if not src.endswith(os.path.sep):
src += os.path.sep
if not dst.endswith(os.path.sep):
Core and Builtins
-----------------
+- Issue #21391: Use os.path.abspath in the shutil module.
+
- Issue #11471: avoid generating a JUMP_FORWARD instruction at the end of
an if-block if there is no else-clause. Original patch by Eugene Toder.