-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make stl.h list|set|map_caster
more user friendly.
#4686
Commits on May 30, 2023
-
Add
test_pass_std_vector_int()
,test_pass_std_set_int()
in test_stlRalf W. Grosse-Kunstleve committedMay 30, 2023 Configuration menu - View commit details
-
Copy full SHA for d2a36d9 - Browse repository at this point
Copy the full SHA d2a36d9View commit details -
Change
list_caster
to also accept generator objects (`PyGen_Check(s……rc.ptr()`). Note for completeness: This is a more conservative change than google/pybind11clif#30042
Ralf W. Grosse-Kunstleve committedMay 30, 2023 Configuration menu - View commit details
-
Copy full SHA for 7d30378 - Browse repository at this point
Copy the full SHA 7d30378View commit details
Commits on Jun 5, 2023
-
Drop in (currently unpublished) PyCLIF code, use in
list_caster
, ad……just tests.
Ralf W. Grosse-Kunstleve committedJun 5, 2023 Configuration menu - View commit details
-
Copy full SHA for 039d1b7 - Browse repository at this point
Copy the full SHA 039d1b7View commit details -
Use
PyObjectTypeIsConvertibleToStdSet()
inset_caster
, adjust tests.Ralf W. Grosse-Kunstleve committedJun 5, 2023 Configuration menu - View commit details
-
Copy full SHA for bdba857 - Browse repository at this point
Copy the full SHA bdba857View commit details -
Use
PyObjectTypeIsConvertibleToStdMap()
inmap_caster
, add tests.Ralf W. Grosse-Kunstleve committedJun 5, 2023 Configuration menu - View commit details
-
Copy full SHA for ec50ca0 - Browse repository at this point
Copy the full SHA ec50ca0View commit details -
Simplify
list_caster
load()
implementation, push str/bytes check ……into `PyObjectTypeIsConvertibleToStdVector()`.
Ralf W. Grosse-Kunstleve committedJun 5, 2023 Configuration menu - View commit details
-
Copy full SHA for eeb59af - Browse repository at this point
Copy the full SHA eeb59afView commit details -
clang-tidy cleanup with a few extra
(... != 0)
to be more consistent.Ralf W. Grosse-Kunstleve committedJun 5, 2023 Configuration menu - View commit details
-
Copy full SHA for 3631886 - Browse repository at this point
Copy the full SHA 3631886View commit details
Commits on Jun 7, 2023
-
Also use
PyObjectTypeIsConvertibleToStdVector()
inarray_caster
.Ralf W. Grosse-Kunstleve committedJun 7, 2023 Configuration menu - View commit details
-
Copy full SHA for b4f767b - Browse repository at this point
Copy the full SHA b4f767bView commit details -
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJun 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 42e22d7 - Browse repository at this point
Copy the full SHA 42e22d7View commit details
Commits on Jun 27, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJun 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 9647a92 - Browse repository at this point
Copy the full SHA 9647a92View commit details
Commits on Jul 14, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 1ed90cf - Browse repository at this point
Copy the full SHA 1ed90cfView commit details -
Update comment pointing to clif/python/runtime.cc (code is unchanged).
Ralf W. Grosse-Kunstleve committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 3cc034b - Browse repository at this point
Copy the full SHA 3cc034bView commit details -
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 18c4153 - Browse repository at this point
Copy the full SHA 18c4153View commit details -
Comprehensive test coverage, enhanced set_caster load implementation.
Ralf W. Grosse-Kunstleve committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for e7330f2 - Browse repository at this point
Copy the full SHA e7330f2View commit details
Commits on Jul 15, 2023
-
Ralf W. Grosse-Kunstleve committed
Jul 15, 2023 Configuration menu - View commit details
-
Copy full SHA for da29bf5 - Browse repository at this point
Copy the full SHA da29bf5View commit details -
Add a long C++ comment explaining what led to the `PyObjectTypeIsConv…
…ertibleTo*()` implementations.
Ralf W. Grosse-Kunstleve committedJul 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 1fa338e - Browse repository at this point
Copy the full SHA 1fa338eView commit details -
Minor function name change in test.
Ralf W. Grosse-Kunstleve committedJul 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 6b5c780 - Browse repository at this point
Copy the full SHA 6b5c780View commit details -
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 9150a88 - Browse repository at this point
Copy the full SHA 9150a88View commit details
Commits on Jul 17, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 62fda81 - Browse repository at this point
Copy the full SHA 62fda81View commit details -
strcmp -> std::strcmp (thanks @Skylion007 for catching this)
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 4b25f74 - Browse repository at this point
Copy the full SHA 4b25f74View commit details -
Add
PyCallable_Check(items)
inPyObjectTypeIsConvertibleToStdMap()
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 3cfc95b - Browse repository at this point
Copy the full SHA 3cfc95bView commit details -
Ralf W. Grosse-Kunstleve committed
Jul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 59509f2 - Browse repository at this point
Copy the full SHA 59509f2View commit details -
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 903faac - Browse repository at this point
Copy the full SHA 903faacView commit details -
Use
PyMapping_Items()
instead ofsrc.attr("items")()
, to be inter……nally consistent with `PyMapping_Check()`
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 4ab40d7 - Browse repository at this point
Copy the full SHA 4ab40d7View commit details -
Update link to PyCLIF sources.
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 5f7c9d4 - Browse repository at this point
Copy the full SHA 5f7c9d4View commit details -
Fix typo (thanks @wangxf123456 for catching this)
Ralf W. Grosse-Kunstleve committedJul 17, 2023 Configuration menu - View commit details
-
Copy full SHA for ccfeb02 - Browse repository at this point
Copy the full SHA ccfeb02View commit details
Commits on Jul 23, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 6c1ec6a - Browse repository at this point
Copy the full SHA 6c1ec6aView commit details
Commits on Aug 4, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedAug 4, 2023 Configuration menu - View commit details
-
Copy full SHA for cc4d69c - Browse repository at this point
Copy the full SHA cc4d69cView commit details
Commits on Aug 31, 2023
-
Add
test_pass_std_vector_int()
,test_pass_std_set_int()
in test_stlRalf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for dacb827 - Browse repository at this point
Copy the full SHA dacb827View commit details -
Change
list_caster
to also accept generator objects (`PyGen_Check(s……rc.ptr()`). Note for completeness: This is a more conservative change than google/pybind11clif#30042
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 3fc2d2a - Browse repository at this point
Copy the full SHA 3fc2d2aView commit details -
Drop in (currently unpublished) PyCLIF code, use in
list_caster
, ad……just tests.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for ff0724f - Browse repository at this point
Copy the full SHA ff0724fView commit details -
Use
PyObjectTypeIsConvertibleToStdSet()
inset_caster
, adjust tests.Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for be02291 - Browse repository at this point
Copy the full SHA be02291View commit details -
Use
PyObjectTypeIsConvertibleToStdMap()
inmap_caster
, add tests.Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 0a79f55 - Browse repository at this point
Copy the full SHA 0a79f55View commit details -
Simplify
list_caster
load()
implementation, push str/bytes check ……into `PyObjectTypeIsConvertibleToStdVector()`.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for ae95424 - Browse repository at this point
Copy the full SHA ae95424View commit details -
clang-tidy cleanup with a few extra
(... != 0)
to be more consistent.Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 8aa81d7 - Browse repository at this point
Copy the full SHA 8aa81d7View commit details -
Also use
PyObjectTypeIsConvertibleToStdVector()
inarray_caster
.Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 4435ed0 - Browse repository at this point
Copy the full SHA 4435ed0View commit details -
Update comment pointing to clif/python/runtime.cc (code is unchanged).
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 9aca5e8 - Browse repository at this point
Copy the full SHA 9aca5e8View commit details -
Comprehensive test coverage, enhanced set_caster load implementation.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 9dc7d7c - Browse repository at this point
Copy the full SHA 9dc7d7cView commit details -
Ralf W. Grosse-Kunstleve committed
Aug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for d9eeea8 - Browse repository at this point
Copy the full SHA d9eeea8View commit details -
Add a long C++ comment explaining what led to the `PyObjectTypeIsConv…
…ertibleTo*()` implementations.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 9ac319b - Browse repository at this point
Copy the full SHA 9ac319bView commit details -
Minor function name change in test.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for b834767 - Browse repository at this point
Copy the full SHA b834767View commit details -
strcmp -> std::strcmp (thanks @Skylion007 for catching this)
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for d19a0ff - Browse repository at this point
Copy the full SHA d19a0ffView commit details -
Add
PyCallable_Check(items)
inPyObjectTypeIsConvertibleToStdMap()
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 69a0da8 - Browse repository at this point
Copy the full SHA 69a0da8View commit details -
Ralf W. Grosse-Kunstleve committed
Aug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for c86fa97 - Browse repository at this point
Copy the full SHA c86fa97View commit details -
Use
PyMapping_Items()
instead ofsrc.attr("items")()
, to be inter……nally consistent with `PyMapping_Check()`
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 940e190 - Browse repository at this point
Copy the full SHA 940e190View commit details -
Update link to PyCLIF sources.
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for f7725e4 - Browse repository at this point
Copy the full SHA f7725e4View commit details -
Fix typo (thanks @wangxf123456 for catching this)
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for fa72918 - Browse repository at this point
Copy the full SHA fa72918View commit details -
Merge branch 'list_caster_pass_generator' of https://github.com/rwgk/…
…pybind11 into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for a6b9a00 - Browse repository at this point
Copy the full SHA a6b9a00View commit details
Commits on Sep 12, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedSep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for ac3ac4d - Browse repository at this point
Copy the full SHA ac3ac4dView commit details
Commits on Nov 16, 2023
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedNov 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 87ff92a - Browse repository at this point
Copy the full SHA 87ff92aView commit details -
Fix typo discovered by new version of codespell.
Ralf W. Grosse-Kunstleve committedNov 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 3ae34f3 - Browse repository at this point
Copy the full SHA 3ae34f3View commit details
Commits on Jul 31, 2024
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedJul 31, 2024 Configuration menu - View commit details
-
Copy full SHA for d1ffe4f - Browse repository at this point
Copy the full SHA d1ffe4fView commit details
Commits on Aug 10, 2024
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedAug 10, 2024 Configuration menu - View commit details
-
Copy full SHA for 2267e5c - Browse repository at this point
Copy the full SHA 2267e5cView commit details
Commits on Aug 13, 2024
-
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedAug 13, 2024 Configuration menu - View commit details
-
Copy full SHA for a38d0bd - Browse repository at this point
Copy the full SHA a38d0bdView commit details -
Merge branch 'master' into list_caster_pass_generator
Ralf W. Grosse-Kunstleve committedAug 13, 2024 Configuration menu - View commit details
-
Copy full SHA for fbf41fd - Browse repository at this point
Copy the full SHA fbf41fdView commit details