[Patches] [ python-Patches-1557890 ] missing imports ctypes in documentation examples

SourceForge.net noreply at sourceforge.net
Thu Nov 2 21:03:30 CET 2006


Patches item #1557890, was opened at 2006-09-13 14:54
Message generated for change (Comment added) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1557890&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
>Status: Open
>Resolution: None
Priority: 5
Private: No
Submitted By: Daniele Varrazzo (dvarrazzo)
Assigned to: Thomas Heller (theller)
Summary: missing imports ctypes in documentation examples

Initial Comment:
The attached patch fixes a couple of missing imports in
ctypes documentation examples.

----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2006-11-02 21:03

Message:
Logged In: YES 
user_id=11105

Unfortuately ;-), dvarrazzo is right.  WinError is a symbol
exported by ctypes.  I'll update the docs.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-10-29 00:15

Message:
Logged In: YES 
user_id=33168

Thanks for the patch.  I think WinError is meant to be a
user defined error.  There isn't one in ctypes that I saw. 
So I left that part of the patch out.  Instead of adding an
import, I used UINT which was already imported and conformed
to the prototype given above.

Committed revision 52515. (2.5)
Committed revision 52514. (2.6)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1557890&group_id=5470


More information about the Patches mailing list