Skip to content
Snippets Groups Projects
  1. Sep 14, 2017
  2. Sep 13, 2017
  3. Sep 12, 2017
    • Dean Moldovan's avatar
      Make TypeErrors more informative when an optional header is missing · 2b4477eb
      Dean Moldovan authored
      E.g. trying to convert a `list` to a `std::vector<int>` without
      including <pybind11/stl.h> will now raise an error with a note that
      suggests checking the headers.
      
      The note is only appended if `std::` is found in the function
      signature. This should only be the case when a header is missing.
      E.g. when stl.h is included, the signature would contain `List[int]`
      instead of `std::vector<int>` while using stl_bind.h would produce
      something like `MyVector`. Similarly for `std::map`/`Dict`, `complex`,
      `std::function`/`Callable`, etc.
      
      There's a possibility for false positives, but it's pretty low.
      2b4477eb
    • Gunnar Läthén's avatar
      c64e6b16
  4. Sep 11, 2017
  5. Sep 10, 2017
  6. Sep 08, 2017
  7. Sep 07, 2017
  8. Sep 06, 2017
  9. Sep 05, 2017
  10. Sep 02, 2017
  11. Sep 01, 2017
  12. Aug 31, 2017
  13. Aug 30, 2017
  14. Aug 28, 2017
Loading