I have found that sys.stdin.fileno() and sys.stdout.fileno() always return -1 when executed from within a win32 service written using the win32 extensions for Python.
Anyone have experience with this or know why? -- http://mail.python.org/mailman/listinfo/python-list