Commits

Jason R. Coombs committed df0f162

Removed translation of unicode in make_tarball

  • Participants
  • Parent commits 7b5139b
  • Branches 2.7

Comments (0)

Files changed (1)

Lib/distutils/archive_util.py

 
     mkpath(os.path.dirname(archive_name), dry_run=dry_run)
 
-    # tarfile requires that the filename be bytes
-    if isinstance(archive_name, unicode):
-        try:
-            archive_name = archive_name.encode('ascii')
-        except UnicodeEncodeError:
-            raise ValueError("Due to #13639, the filename must be ascii")
-
     # creating the tarball
     import tarfile  # late import so Python build itself doesn't break