]> granicus.if.org Git - python/commit
- When the log reader detects end-of-file, close the file.
authorFred Drake <fdrake@acm.org>
Thu, 18 Jul 2002 19:11:44 +0000 (19:11 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 18 Jul 2002 19:11:44 +0000 (19:11 +0000)
commit666bf52a168d79396ef9144568e95b778e1e5293
treed418245687d54d04d8244d437cb9d838b8d6a1f0
parentd1fedb6ab59547f914a1958804a0658b68e4d6b2
- When the log reader detects end-of-file, close the file.
- The log reader now provides a "closed" attribute similar to the
  profiler.
- Both the profiler and log reader now provide a fileno() method.
- Use METH_NOARGS where possible, allowing simpler code in the method
  implementations.
Modules/_hotshot.c