• Allan Leal's avatar
    Fix for Issue #1258 (#1298) · e76dff77
    Allan Leal authored
    * Fix for Issue #1258
    
    list_caster::load method will now check for a Python string and prevent its automatic conversion to a list.
    This should fix the issue "pybind11/stl.h converts string to vector<string> #1258" (https://github.com/pybind/pybind11/issues/1258)
    
    * Added tests for fix of issue #1258
    
    * Changelog: stl string auto-conversion
    e76dff77
test_stl.cpp 10.4 KB