A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-June/127135.html below:

parse unsigned integer and check for overflow

[Python-Dev] PyArg_ParseTupe(): parse unsigned integer and check for overflow [Python-Dev] PyArg_ParseTupe(): parse unsigned integer and check for overflowSerhiy Storchaka storchaka at gmail.com
Sat Jun 29 18:24:11 CEST 2013
29.06.13 18:16, Nadeem Vawda написав(ла):
> I ran into the same problem in the _lzma module. My solution was to
> define a custom converter that does an explicit check before returning
> the value (see
> http://hg.python.org/cpython/file/default/Modules/_lzmamodule.c#l134).

Definitely Argument Clinic should use converters for unsigned integers 
without wraparound by default.


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