[C++-sig] Re: Can't convert to unsigned int

Mike Rovner mike at bindkey.com
Wed Dec 11 21:12:16 CET 2002


"David Abrahams" <dave at boost-consulting.com> wrote in message
news:uy96wwimc.fsf at boost-consulting.com...

> Well, that's an interesting question.  A C++ unsigned long actually
> has values that can't be represented as a Python INT.  Should
> Boost.Python use Python LONGs to represent these?
...
> This very issue has caused a lot of contention on Python-dev.  I'm
> honestly unsure of what the best approach is, and would value a
> discussion.

2.3+ is going to treat numbers outside int diapason as long.
So should BPL IMHO.








More information about the Cplusplus-sig mailing list