[Python-Dev] posixmodule.c patch- revision 43586 (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 4 08:32:53 CEST 2006


A.B., Khalid wrote:

Shouldn't that part read as follows? Or am I missing something?

""" rc = ShellExecuteW((HWND)0, PyUnicodeASUNICODE(woperation), PyUnicodeASUNICODE(unipath), NULL, NULL, SWSHOWNORMAL); """

That's certainly better, though not correct, yet: woperation might be NULL. So I fixed all that (I hope).

Regards, Martin



More information about the Python-Dev mailing list