- 30 Jun, 2021 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
* pickle setstate: setattr __dict__ only if not empty, to not force use of py::dynamic_attr() unnecessarily. * Adding unit test. * Clang 3.6 & 3.7 compatibility. * PyPy compatibility. * Minor iwyu fix, additional comment. * Addressing reviewer requests. * Applying clang-tidy suggested fixes. * Adding check_dynamic_cast_SimpleCppDerived, related to issue #3062.
-
- 26 Jun, 2021 1 commit
-
-
Cris Luengo authored
* Allow casting from None to a custom object, closes #2778 * ci.yml patch from the smart_holder branch for full CI coverage.
-
- 22 Jun, 2021 2 commits
-
-
Ralf W. Grosse-Kunstleve authored
* Updating and slightly enhancing instructions for running clang-tidy. * Making documented commands identical to workflow commands. Adding comment in workflow file pointing to documentation.
-
Aaron Gokaslan authored
* Initial fixes * Whoops * Finish clang-tidy manual fixes * Add two missing fixes * Revert * Update clang-tidy * Try to fix unreachable code error * Move nolint comment * Apply missing fix * Don't override clang-tidy config * Does this fix clang-tidy? * Make all clang-tidy errors visible * Add comments about NOLINTs and remove a few * Fix typo
-
- 21 Jun, 2021 1 commit
-
-
Aaron Gokaslan authored
* Enable and apply clang-tidy readability and misc fixes. * Revert deprecated tester * add space to tests/test_constants_and_functions.cpp
-
- 19 Jun, 2021 4 commits
-
-
Robert Schütz authored
-
dependabot[bot] authored
-
Aaron Gokaslan authored
* Add more modernize clang-tidy checks * Enable a few more
-
Aaron Gokaslan authored
* Apply performance fixes from clang-tidy * 2nd Round of Perf Optimizations * 3rd round of fixes & handle false-positive * Apply missing fix and clang-format * Apply reviewer comment
-
- 18 Jun, 2021 2 commits
-
-
jbarlow83 authored
-
Ralf W. Grosse-Kunstleve authored
* Experiment using -DCMAKE_BUILD_TYPE=Debug for Centos 8. * Moving comment because the current placement seems to mess up the cmake command. * Using `echo > VAR_XXX` and `$(cat VAR_XXX)` trick to emulate using variables (https://github.com/actions/starter-workflows/issues/68#issuecomment-524937002).
-
- 17 Jun, 2021 2 commits
-
-
Aaron Gokaslan authored
-
Aaron Gokaslan authored
-
- 08 Jun, 2021 1 commit
-
-
Jack S. Hale authored
* Add const T to docstring generation. * Change order. * See if existing test triggers for a const type. * Add tests. * Fix test. * Remove experiment. * Reformat. * More tests, checks run. * Adding `test_fmt_desc_` prefix to new test functions. * Using pytest.mark.parametrize to 1. condense test; 2. exercise all functions even if one fails; 3. be less platform-specific (e.g. C++ float is not necessarily float32). Co-authored-by:Ralf W. Grosse-Kunstleve <rwgk@google.com>
-
- 27 May, 2021 3 commits
-
-
Ralf W. Grosse-Kunstleve authored
Adjusting valgrind suppression for pypocketfft to resolve systematic failures that started to appear on 2020-05-27. (#3022)
-
Yichen authored
* Set visibility of exceptions to default. Co-authored-by:XZiar <czktc2007@gmail.com> * add test * update docs * Skip failed test.
-
dependabot[bot] authored
-
- 14 May, 2021 2 commits
-
-
dependabot[bot] authored
-
dependabot[bot] authored
-
- 06 May, 2021 2 commits
-
-
Eric Cousineau authored
test_call_policies: Explicitly check free-functions and static methods
-
Akira Kawata authored
-
- 04 May, 2021 1 commit
-
-
Pieter P authored
* Crash when printing Unicode to redirected cout Add failing tests * Fix Unicode crashes redirected cout * pythonbuf::utf8_remainder check end iterator * Remove trailing whitespace and formatting iostream * Avoid buffer overflow if ostream redirect races This doesn't solve the actual race, but at least it now has a much lower probability of reading past the end of the buffer even when data races do occur.
-
- 22 Apr, 2021 1 commit
-
-
Henry Schreiner authored
-
- 21 Apr, 2021 2 commits
-
-
dependabot[bot] authored
Bumps [pre-commit/action](https://github.com/pre-commit/action) from v2.0.2 to v2.0.3. - [Release notes](https://github.com/pre-commit/action/releases) - [Commits](https://github.com/pre-commit/action/compare/v2.0.2...9b88afc9cd57fd75b655d5c71bd38146d07135fe ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Henry Schreiner authored
-
- 19 Apr, 2021 1 commit
-
-
mvoelkle-cern authored
When the user defines _GLIBCXX_USE_CXX11_ABI=0 to force the pre-c++11 ABI, numpy.h assumes that is_trivially_copyable is available. It is not necessarily the case. This patch uses clang's feature detection instead. The workaround is for certain libstdc++ versions, so the test should target these particular versions.
-
- 15 Apr, 2021 1 commit
-
-
Henry Schreiner authored
-
- 14 Apr, 2021 1 commit
-
-
Philipp Bucher authored
* correcting Werror for Intel * adding ward for Intel * adding wards for intel * another ward for Intel * missed one intel ward * exact match for intel compiler * removing inline limits * disable warnings about inline limits * formatter suggestion * more indent * hopefully make formatter happy * addressed review * fix && * Update tests/CMakeLists.txt Co-authored-by:
Henry Schreiner <HenrySchreinerIII@gmail.com> Co-authored-by:
Henry Schreiner <HenrySchreinerIII@gmail.com>
-
- 13 Apr, 2021 1 commit
-
-
Tamaki Nishino authored
* Add a failure test for overloaded functions * Allow function pointer extraction from overloaded functions
-
- 10 Apr, 2021 1 commit
-
-
Henry Schreiner authored
* chore: add myself to CODEOWNERS This will ensure I get notified about pull requests where these files change. * Update .github/CODEOWNERS
-
- 06 Apr, 2021 2 commits
-
-
Weiming Zhao authored
-
dependabot[bot] authored
-
- 03 Apr, 2021 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
* Adding PyGILState_Check() in object_api<>::operator(). * Enabling PyGILState_Check() for Python >= 3.6 only. Possibly, this explains why PyGILState_Check() cannot safely be used with Python 3.4 and 3.5: https://github.com/python/cpython/pull/10267#issuecomment-434881587 * Adding simple micro benchmark. * Reducing test time to minimum (purely for coverage, not for accurate results). * Fixing silly oversight. * Minor code organization improvement in test. * Adding example runtimes. * Removing capsys (just run with `-k test_callback_num_times -s` and using `.format()`.
-
- 02 Apr, 2021 4 commits
-
-
Eric Cousineau authored
env: Add surrogate for pytest.deprecated_call for ptyest<3.9
-
Jerome Robert authored
* Pybind11Extension add the "/EHsc /bigobj /std:c++14" flags on Windows. This is good for Visual C++ but not for Mingw. * According https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-python2/0410-MINGW-build-extensions-with-GCC.patch sysconfig.get_platform() is the way to check for a Mingw64
-
Robert Haschke authored
-
JYX authored
-
- 09 Mar, 2021 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
* Adding suppression for pypocketfft. * Generalize existing pypocketfft Valgrind suppression Co-authored-by:Yannick Jadoul <yannick.jadoul@belgacom.net>
-
- 08 Mar, 2021 1 commit
-
-
Boris Staletic authored
Use correct duration representation when casting from datetime.timdelta to std::chrono::duration (#2870) * Use correct duration representation when casting from datetime.timdelta to std::chrono::duration * When asserting datetime/timedelta/date/time we can equality-compare whole objects
-
- 05 Mar, 2021 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
Shuffling code in test_multiple_inheritance.cpp to separate struct/class definitions from bindings code. (#2890)
-