do anonymous pipes normally work on NT?

Mark Hammond MHammond at skippinet.com.au
Thu Jun 17 17:57:31 EDT 1999


Bill Tutt wrote in message
<4D0A23B3F74DD111ACCD00805F31D8100DB90DE4 at RED-MSG-50>...
>

>Alter the PyHANDLE_Check() branch of win32processmodule_win32.cpp:sethandle
>to:
> *pobHandle = v;
> if (PyWinObject_AsHANDLE(v, ph))
> {
> Py_INCREF(v);
> }
> else
> {
> rc = -1;
> }

Ahh - excellent analysis.  I made the mistake of attempting to use some
fancy C++ operators, and, like many C++ features, turned around and bit me
in the bum.  I will also seek out and destroy any similar casts.

Good stuff!

Mark.







More information about the Python-list mailing list