[prev in list] [next in list] [prev in thread] [next in thread]
List: python-cpp-sig
Subject: [C++-sig] Avoiding implicit boost::python::extract<> conversions
From: Murray Cumming <murrayc () murrayc ! com>
Date: 2011-04-07 14:02:47
Message-ID: 1302184967.2458.22.camel () murrayc-desktop
[Download RAW message or body]
It looks like boost::python::extract<bool>::check() will happily succeed
on an int python object, and boost::python::extract<int>::check() will
likewise succeed on a bool python object.
Is there an easy way to discover the actual python type so I can really
get the data I want in the correct type?
--
murrayc@murrayc.com
www.murrayc.com
www.openismus.com
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic