[Python-Dev] posixmodule.c patch- revision 43586
"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,
> PyUnicode_AS_UNICODE(woperation),
> PyUnicode_AS_UNICODE(unipath),
> NULL, NULL, SW_SHOWNORMAL);
> """
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