del path[-1]
else:
tail.insert(0, pdir)
- return apply(os.path.join, tail)
+ return os.path.join(*tail)
else:
# Oops, got all the way through 'path' without finding a
# match in package_dir. If package_dir defines a directory
def get_module_outfile (self, build_dir, package, module):
outfile_path = [build_dir] + list(package) + [module + ".py"]
- return apply(os.path.join, outfile_path)
+ return os.path.join(*outfile_path)
def get_outputs (self, include_bytecode=1):
- Changed code in the following modules/packages to remove warnings raised
while running under the ``-3`` flag: aifc, asynchat, asyncore, bdb, bsddb,
- ConfigParser, cookielib, csv, difflib, DocXMLRPCServer, email, filecmp,
- fileinput, inspect, logging, modulefinder, pdb, pickle, profile, pstats,
- pydoc, re, rlcompleter, SimpleXMLRPCServer, shelve, socket, subprocess,
- sqlite3, tarfile, Tkinter, test.test_support, textwrap, threading, tokenize,
- traceback, urlparse, wsgiref, xml, xmlrpclib.
+ ConfigParser, cookielib, csv, difflib, distutils, DocXMLRPCServer, email,
+ filecmp, fileinput, inspect, logging, modulefinder, pdb, pickle, profile,
+ pstats, pydoc, re, rlcompleter, SimpleXMLRPCServer, shelve, socket,
+ subprocess, sqlite3, tarfile, Tkinter, test.test_support, textwrap,
+ threading, tokenize, traceback, urlparse, wsgiref, xml, xmlrpclib.
- Issue #3039: Fix tarfile.TarFileCompat.writestr() which always
raised an AttributeError.