[Python-Dev] Adding poll() system call
Fred L. Drake, Jr.
fdrake@beopen.com
Tue, 11 Jul 2000 11:56:42 -0400 (EDT)
Thomas Wouters writes:
> I would suggest 'poll.Poller()' or some such, for similarity with pickle and
> such. 'new()' looks a bit C++ish to me ;) Definately +1 on the idea tho ;)
Both have precedents in the standard library; the MD5 and SHA hash
modules both provide a new() function to create the objects.
It's not clear that the class-like name is terribly appropriate
since a C type could not be subclassed.
-Fred
--
Fred L. Drake, Jr. <fdrake at beopen.com>
BeOpen PythonLabs Team Member