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
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
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
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
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
>>>
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
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