A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/085497.html below:

[Python-Dev] FormatError() in callproc.c under win32

[Python-Dev] FormatError() in callproc.c under win32 [Python-Dev] FormatError() in callproc.c under win32"Martin v. Löwis" martin at v.loewis.de
Mon Jan 26 23:12:22 CET 2009
> In callproc.c from trunk is a function called SetException(), which calls 
> FormatError() only to discard the contents. Can anyone enlighten me to the 
> reasons thereof? 

Interestingly enough, the code used to say

   PyErr_SetString(PyExc_WindowsError, lpMsgBuf);

Then it was changed to its current form, with a log message of

   Changes for windows CE, contributed by Luke Dunstan.  Thanks a lot!

See

http://ctypes.cvs.sourceforge.net/viewvc/ctypes/ctypes/source/callproc.c?hideattic=0&r1=1.127.2.15&r2=1.127.2.16

I suggest you ask Thomas Heller and Luke Dunstan (if available) what the
rationale for this partial change was.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4