pybind11/include/pybind11
Jason Rhinelander ee2e5a5086 Make string conversion stricter (#695)
* Make string conversion stricter

The string conversion logic added in PR #624 for all std::basic_strings
was derived from the old std::wstring logic, but that was underused and
turns out to have had a bug in accepting almost anything convertible to
unicode, while the previous std::string logic was much stricter.  This
restores the previous std::string logic by only allowing actual unicode
or string types.

Fixes #685.

* Added missing 'requires numpy' decorator

(I forgot that the change to a global decorator here is in the
not-yet-merged Eigen PR)
2017-02-24 11:33:31 +01:00
..
attr.h Enable static properties (py::metaclass) by default 2017-02-23 15:45:26 +01:00
cast.h Make string conversion stricter (#695) 2017-02-24 11:33:31 +01:00
chrono.h Simplify redundant code, conform to style suggestions, improve logic 2016-09-28 01:01:44 +10:00
class_support.h Enable static properties (py::metaclass) by default 2017-02-23 15:45:26 +01:00
common.h Make all classes with the same instance size derive from a common base 2017-02-23 15:45:26 +01:00
complex.h Made arithmetic and complex casters respect convert 2017-02-03 20:16:14 -05:00
descr.h std::valarray support for stl.h (#545) 2016-12-08 00:43:29 +01:00
eigen.h Fix pointer to reference error in type_caster on MSVC (#583) 2017-01-03 11:52:05 +01:00
eval.h WIP: PyPy support (#527) 2016-12-16 15:00:46 +01:00
functional.h Fixed compilation error when binding function accepting some forms of std::function (#689) 2017-02-22 20:00:59 +01:00
numpy.h Revert noexcept deduction in favour of better SFINAE on lambda functions (#677) 2017-02-17 12:56:41 +01:00
operators.h Multiple inheritance support 2016-09-19 13:45:31 +02:00
options.h Provide more control over automatic generation of docstrings (#486) 2016-11-15 12:38:05 +01:00
pybind11.h Enable static properties (py::metaclass) by default 2017-02-23 15:45:26 +01:00
pytypes.h Fix sequence_item reference leak (#660) 2017-02-14 01:43:20 +01:00
stl_bind.h Change all_of_t/any_of_t to all_of/any_of, add none_of 2016-12-14 20:42:36 +01:00
stl.h WIP: PyPy support (#527) 2016-12-16 15:00:46 +01:00
typeid.h minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00