[Python-Dev] PEP 3147 ready for pronouncement and merging (original) (raw)

Guido van Rossum guido at python.org
Wed Apr 14 01:44:49 CEST 2010


On Tue, Apr 13, 2010 at 1:21 PM, Barry Warsaw <barry at python.org> wrote:

I am attaching the latest revision of PEP 3147 to this message, which is also available here:

http://www.python.org/dev/peps/pep-3147/ I think the PEP is ready for pronouncement, and the patch is pretty much ready for merging into py3k.  The only thing that I can think of that is not implemented yet is this section on PEP 302 loaders:  PEP 302 [18] defined loaders have a .getfilename() method which  points to the _file_ for a module.  As part of this PEP, we will  extend this API, to include a new method .getpaths() which will  return a 2-tuple containing the path to the source file and the path  to where the matching pyc file is (or would be). I'm honestly not sure whether this is still essential, or whether the importlib ABC changes Brett and I talked about at Pycon are still required.  I now believe they are at best a minor part of the implementation if so.  Maybe Brett can chime in on that. Everything else is implemented, tested, and has undergone four rounds of Rietveld reviews (thanks Antoine, Benjamin, Brett, and Georg!).  A fifth patch set has been uploaded and is available here: http://codereview.appspot.com/842043/show This addresses all previous comments, includes some fixes from Brian Curtin for Windows (thanks!) and fixes main and -m support.  I'd like to commit this to py3k sooner rather than later so that we can shake out any additional issues that might crop up, without having to continue to maintain my external branches. Guido, what say you?

Give me a couple of days; but I don't expect any problems given how the earlier discussion went. If you didn't hear from me by Friday go ahead and merge.

-Barry

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list