1. 01 Dec, 2018 1 commit
  2. 20 Nov, 2018 1 commit
  3. 16 Nov, 2018 2 commits
  4. 13 Nov, 2018 1 commit
  5. 11 Nov, 2018 3 commits
  6. 09 Nov, 2018 3 commits
  7. 03 Nov, 2018 1 commit
  8. 01 Nov, 2018 1 commit
  9. 24 Oct, 2018 4 commits
  10. 14 Oct, 2018 1 commit
  11. 11 Oct, 2018 1 commit
    • 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
  12. 10 Oct, 2018 1 commit
  13. 02 Oct, 2018 1 commit
  14. 27 Sep, 2018 1 commit
  15. 25 Sep, 2018 1 commit
    • oremanj's avatar
      Fix potential crash when calling an overloaded function (#1327) · e7761e33
      oremanj authored
      * Fix potential crash when calling an overloaded function
      
      The crash would occur if:
      - dispatcher() uses two-pass logic (because the target is overloaded and some arguments support conversions)
      - the first pass (with conversions disabled) doesn't find any matching overload
      - the second pass does find a matching overload, but its return value can't be converted to Python
      
      The code for formatting the error message assumed `it` still pointed to the selected overload,
      but during the second-pass loop `it` was nullptr. Fix by setting `it` correctly if a second-pass
      call returns a nullptr `handle`. Add a new test that segfaults without this fix.
      
      * Make overload iteration const-correct so we don't have to iterate again on second-pass error
      
      * Change test_error_after_conversions dependencies to local classes/variables
      e7761e33
  16. 14 Sep, 2018 2 commits
  17. 11 Sep, 2018 8 commits
  18. 08 Sep, 2018 1 commit
  19. 29 Aug, 2018 4 commits
  20. 28 Aug, 2018 2 commits