[issue9030] ctypes variable limits

2012-04-18 Thread Pauli Rikula
Pauli Rikula added the comment: This enchantment overlaps with sys -module's sys.float_info (new in 2.6) and sys.long_info (new in 2.7). -- ___ Python tracker <http://bugs.python.org/i

[issue9041] raised exception is misleading

2012-02-08 Thread Pauli Rikula
Pauli Rikula added the comment: Could we overcome these issues by some kind of exception inheritance? On Tue, Aug 30, 2011 at 5:28 PM, Meador Inge wrote: > > Meador Inge added the comment: > > That is a good question.  While it is true that errors other than > 'PyExc_Ove

[issue9041] raised exception is misleading

2010-06-22 Thread Pauli Rikula
Pauli Rikula added the comment: If d_set makes the conversion, py3k does the same thing: http://svn.python.org/projects/python/branches/py3k/Modules/_ctypes/cfield.c It has a function d_set_sw, which might have same issues as well. The same function can be found from 2.6 too: http

[issue9041] raised exception is misleading

2010-06-22 Thread Pauli Rikula
Pauli Rikula added the comment: I'm a newbie what it comes to Python's C-sources, so please do not take me too seriously. I fetched the sources 'svn checkout http://svn.python.org/projects/python/branches/release26-maint ' studied the issue, and my best guess is that Modules

[issue9041] raised exception is misleading

2010-06-21 Thread Pauli Rikula
New submission from Pauli Rikula : Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes >>>

[issue9030] ctypes variable limits

2010-06-18 Thread Pauli Rikula
New submission from Pauli Rikula : ctypes should have nice interface from which one could get maximum and minimum values etc information about numeric's data types. for integers this is quite trivial, but at least long double is a bit trickier one. -- type: -> feature

[issue9030] ctypes variable limits

2010-06-18 Thread Pauli Rikula
Changes by Pauli Rikula : -- assignee: theller components: ctypes nosy: kumma, theller priority: normal severity: normal status: open title: ctypes variable limits ___ Python tracker <http://bugs.python.org/issue9