Here are a couple of simple-minded fixes for the PEP.

Near the bottom of "Replacing older functions with the Path class":

 >    fname = Path("Python2.4.tar.gz")
 >    base, ext = fname.namebase, fname.extx

Surely this should be:
      base, ext = fname.namebase, fname.ext

 >    lib_dir = "/lib"
 >    libs = glob.glob(os.path.join(lib_dir, "*s.o"))
 >    ==>
 >    lib_dir = Path("/lib")
 >    libs = lib_dir.files("*.so")

Probably that should be:
      ...
      libs = glob.glob(os.path.join(lib_dir, "*.so"))
      ...

--Scott David Daniels
[EMAIL PROTECTED]

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to