- 02 Jul, 2021 2 commits
-
-
* Convert PyDict_GetXXX to internal error checking variant * Check unlikely error return from PyDict_DelItemString
Dustin Spicuzza committed -
Antony Lee committed
-
- 01 Jul, 2021 2 commits
-
-
cyy committed
-
jonathan-conder-sm committed
-
- 30 Jun, 2021 2 commits
-
-
Ralf W. Grosse-Kunstleve committed
-
* 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.
Ralf W. Grosse-Kunstleve committed
-
- 26 Jun, 2021 1 commit
-
-
* Allow casting from None to a custom object, closes #2778 * ci.yml patch from the smart_holder branch for full CI coverage.
Cris Luengo committed
-
- 22 Jun, 2021 2 commits
-
-
* Updating and slightly enhancing instructions for running clang-tidy. * Making documented commands identical to workflow commands. Adding comment in workflow file pointing to documentation.
Ralf W. Grosse-Kunstleve committed -
* 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
Aaron Gokaslan committed
-
- 21 Jun, 2021 1 commit
-
-
* Enable and apply clang-tidy readability and misc fixes. * Revert deprecated tester * add space to tests/test_constants_and_functions.cpp
Aaron Gokaslan committed
-
- 19 Jun, 2021 4 commits
-
-
Robert Schütz committed
-
dependabot[bot] committed
-
* Add more modernize clang-tidy checks * Enable a few more
Aaron Gokaslan committed -
* 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
Aaron Gokaslan committed
-
- 18 Jun, 2021 2 commits
-
-
jbarlow83 committed
-
* 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).
Ralf W. Grosse-Kunstleve committed
-
- 17 Jun, 2021 2 commits
-
-
Aaron Gokaslan committed
-
Aaron Gokaslan committed
-
- 08 Jun, 2021 1 commit
-
-
* 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>
Jack S. Hale committed
-
- 27 May, 2021 3 commits
-
-
Adjusting valgrind suppression for pypocketfft to resolve systematic failures that started to appear on 2020-05-27. (#3022)
Ralf W. Grosse-Kunstleve committed -
* Set visibility of exceptions to default. Co-authored-by: XZiar <czktc2007@gmail.com> * add test * update docs * Skip failed test.
Yichen committed -
dependabot[bot] committed
-
- 14 May, 2021 2 commits
-
-
dependabot[bot] committed
-
dependabot[bot] committed
-
- 06 May, 2021 2 commits
-
-
test_call_policies: Explicitly check free-functions and static methods
Eric Cousineau committed -
Akira Kawata committed
-
- 04 May, 2021 1 commit
-
-
* 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.
Pieter P committed
-
- 22 Apr, 2021 1 commit
-
-
Henry Schreiner committed
-
- 21 Apr, 2021 2 commits
-
-
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>
dependabot[bot] committed -
Henry Schreiner committed
-
- 19 Apr, 2021 1 commit
-
-
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.
mvoelkle-cern committed
-
- 15 Apr, 2021 1 commit
-
-
Henry Schreiner committed
-
- 14 Apr, 2021 1 commit
-
-
* 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>
Philipp Bucher committed
-
- 13 Apr, 2021 1 commit
-
-
* Add a failure test for overloaded functions * Allow function pointer extraction from overloaded functions
Tamaki Nishino committed
-
- 10 Apr, 2021 1 commit
-
-
* chore: add myself to CODEOWNERS This will ensure I get notified about pull requests where these files change. * Update .github/CODEOWNERS
Henry Schreiner committed
-
- 06 Apr, 2021 2 commits
-
-
Weiming Zhao committed
-
dependabot[bot] committed
-
- 03 Apr, 2021 1 commit
-
-
* 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()`.
Ralf W. Grosse-Kunstleve committed
-
- 02 Apr, 2021 2 commits
-
-
env: Add surrogate for pytest.deprecated_call for ptyest<3.9
Eric Cousineau committed -
* 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
Jerome Robert committed
-