- 27 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 26 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
Make the accessor interface more complete
-
- 23 Sep, 2016 3 commits
-
-
Dean Moldovan authored
`auto var = l[0]` has a strange quirk: `var` is actually an accessor and not an object, so any later assignment of `var = ...` would modify l[0] instead of `var`. This is surprising compared to the non-auto assignment `py::object var = l[0]; var = ...`. By overloading `operator=` on lvalue/rvalue, the expected behavior is restored even for `auto` variables.
-
Dean Moldovan authored
-
Dean Moldovan authored
-
- 22 Sep, 2016 4 commits
-
-
Dean Moldovan authored
This also adds the `hasattr` and `getattr` functions which are needed with the new attribute behavior. The new functions behave exactly like their Python counterparts. Similarly `object` gets a `contains` method which calls `__contains__`, i.e. it's the same as the `in` keyword in Python.
-
Dean Moldovan authored
-
Wenzel Jakob authored
Use consistent indentation and typenames in numpy vectorize.
-
Dzhelil Rufat authored
-
- 21 Sep, 2016 4 commits
-
-
Wenzel Jakob authored
Fix minor documentation spelling mistakes
-
Jason Rhinelander authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
- 20 Sep, 2016 2 commits
-
-
Wenzel Jakob authored
Fix missing smart_ptr test
-
Dean Moldovan authored
-
- 19 Sep, 2016 6 commits
-
-
Wenzel Jakob authored
WIP: Multiple inheritance support
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
- 17 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 16 Sep, 2016 1 commit
-
-
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.
-
- 13 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
Debug build and fix
-
- 12 Sep, 2016 2 commits
-
-
Jason Rhinelander authored
Take load_type by nested type_caster template arguments instead of by full type_caster type.
-
Jason Rhinelander authored
-
- 11 Sep, 2016 10 commits
-
-
Wenzel Jakob authored
Added a test to detect invalid RTTI caching
-
Jason Rhinelander authored
The current inheritance testing isn't sufficient to detect a cache failure; the test added here breaks PR #390, which caches the run-time-determined return type the first time a function is called, then reuses that cached type even though the run-time type could be different for a future call.
-
Wenzel Jakob authored
Add a way to deal with copied value references
-
Jason Rhinelander authored
-
Jason Rhinelander authored
-
Wenzel Jakob authored
Fix Python C API calls in desctuctors triggered by error_already_set
-
Wenzel Jakob authored
parameterize iterators by return value policy (fixes #388)
-
Jason Rhinelander authored
This adds a static local variable (in dead code unless actually needed) in the overload code that is used for storage if the overload is for some convert-by-value type (such as numeric values or std::string). This has limitations (as written up in the advanced doc), but is better than simply not being able to overload reference or pointer methods.
-
Jason Rhinelander authored
Minor change that makes this example more compliant with the C++ Core Guidelines.
-
Jason Rhinelander authored
"trampoline" is doubled in the first sentence.
-
- 10 Sep, 2016 4 commits
-
-
Wenzel Jakob authored
Add array methods via C API
-
Ivan Smirnov authored
-
Ivan Smirnov authored
-
Ivan Smirnov authored
-