[Python-3000] please keep open() as a builtin, and general concerns about Py3k complexity

Steve Howell showell30 at yahoo.com
Wed May 23 08:36:15 CEST 2007

--- Georg Brandl <g.brandl at gmx.net> wrote:

> ISTM that many modules using open() do also use
> os.path
> utilities to create the filename given to open(). In
> that
> case, you have an import statement in any case.

Not the case for us:

  154 modules call only open()
  11 modules call only os.path.join()
  20 modules do call both

But to your larger point, 80 out of the 174 modules
that call open() do say "import os" for other reasons.

____________________________________________________________________________________Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 

More information about the Python-3000 mailing list