[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2014-11-24 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list ma

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- Removed message: http://bugs.python.org/msg117111 ___ Python tracker ___ ___ Python-bugs-list mail

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : Removed file: http://bugs.python.org/file18958/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Mark Lawrence
8:56:51 Subject: [issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions Amaury Forgeot d'Arc added the comment: I don't think this should happen by default. but what the user wants is already possible, by using the from_param() method. For examp

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I don't think this should happen by default. but what the user wants is already possible, by using the from_param() method. For example, the AutoStrParam type converts everything to a string (and a char*): from ctypes import * class AutoStrParam(c_cha

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this ever likely to happen, given that there's been 2.75 years since the request without a response? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-07-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2008-01-29 Thread Christian Heimes
Christian Heimes added the comment: Feature request -> RFE (request for enhancement) -- assignee: -> theller nosy: +theller, tiran priority: -> normal type: behavior -> rfe versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]>

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2008-01-29 Thread mattbaas
New submission from mattbaas: This is rather a feature request instead of a bug report. Below is the mail I posted to the ctypes-users mailing list. In short: When ctypes checks input argument types using the "argtypes" attribute, it would be useful if it would try to convert the input value