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/2010-July/101876.html below:

[Python-Dev] More C API abstraction for user defined types

[Python-Dev] More C API abstraction for user defined types [Python-Dev] More C API abstraction for user defined typesMark Dickinson dickinsm at gmail.com
Tue Jul 13 10:44:12 CEST 2010
On Mon, Jul 12, 2010 at 10:19 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Tue, Jul 13, 2010 at 3:35 AM, Petre Galan <Petre.Galan at gmail.com> wrote:
>> ival should not be resolved through PyLong_AsLong, but through
>> functionality/interface like PyNumber_Long

+1, but I'd prefer it if PyNumber_Index were used, rather than PyNumber_Long.
It shouldn't be possible to pass a Decimal instance to something expecting an
integer argument.

Mark
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