1. Oct 10, 2016
    • Wenzel Jakob's avatar
      extra python version sanity check at import time · 4c00fd9e
      Wenzel Jakob authored
      Python 3.5 can often import pybind11 modules compiled compiled for
      Python 3.4 (i.e. all symbols can be resolved), but this leads to crashes
      later on due to changes in various Python-internal data structures. This
      commit adds an extra sanity check to prevent a successful import when
      the Python versions don't match.
      4c00fd9e
  2. Oct 09, 2016
  3. Oct 08, 2016
    • Wenzel Jakob's avatar
      unpacking_collector: allow nullptr-valued kwargs argument · e71ab8f4
      Wenzel Jakob authored
      This fixes an issue that can arise when forwarding (*args, **kwargs)
      captured from a pybind11-bound function call to another Python function.
      When the initial function call includes no keyword arguments, the
      py::kwargs field is set to nullptr and causes a crash later on.
      e71ab8f4
  4. Oct 07, 2016
  5. Oct 03, 2016
  6. Sep 30, 2016
  7. Sep 29, 2016
  8. Sep 28, 2016
  9. Sep 27, 2016
  10. Sep 23, 2016
  11. Sep 22, 2016
  12. Sep 20, 2016
  13. Sep 19, 2016
  14. Sep 17, 2016
  15. Sep 16, 2016
    • Jason Rhinelander's avatar
      Added py::register_exception for simple case (#296) · b3794f10
      Jason Rhinelander authored
      The custom exception handling added in PR #273 is robust, but is overly
      complex for declaring the most common simple C++ -> Python exception
      mapping that needs only to copy `what()`.  This add a simpler
      `py::register_exception<CppExp>(module, "PyExp");` function that greatly
      simplifies the common basic case of translation of a simple CppException
      into a simple PythonException, while not removing the more advanced
      capabilities of defining custom exception handlers.
      b3794f10