[Python-Dev] Rationale for NamedTemporaryFile?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 21 22:39:47 CET 2007


Georg Brandl wrote:

> The class/function distinction is not so clear in Python from the user's
> point of view since there is no different calling syntax.

There *is* a visible distinction, though --
you can subclass classes but not functions.

If these are uppercased because they wrap
classes, why not just expose the class
directly? Or if that's an implementation
detail, it shouldn't affect the casing of
the name.

--
Greg


More information about the Python-Dev mailing list