Commit Graph

  • 4c6bee3514
    fix: Set __file__ constant when using eval_file (#1300) (#3233) Aaron Gokaslan 2021-09-09 14:06:33 -04:00
  • 6abf2baa62
    CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) Ralf W. Grosse-Kunstleve 2021-09-08 18:53:38 -07:00
  • 39a0aac88e
    docs fix to avoid nonexistent SmartCompile (#3241) Thomas Ballinger 2021-09-08 13:00:00 -05:00
  • d71ba0cb73
    (perf): Add a missing noexcept to a pytype constructor (#3236) Aaron Gokaslan 2021-09-02 15:18:42 -04:00
  • 49173e472f
    Minor follow-on to PR #1334 (Fix enum value's __int__ returning non-int when underlying type is bool or of char type) (#3232) Ralf W. Grosse-Kunstleve 2021-08-31 08:52:04 -07:00
  • a46f623782
    Minor tweaks. (#3230) Ralf W. Grosse-Kunstleve 2021-08-31 06:44:14 -07:00
  • d6474ed7d2
    fix: memory leak in cpp_function (#3228) (#3229) Tailing Yuan 2021-08-31 09:48:33 +08:00
  • 76d939de53
    [pre-commit.ci] pre-commit autoupdate (#3231) pre-commit-ci[bot] 2021-08-30 16:00:33 -04:00
  • 777352fcd1
    Adding ssize_t_cast to support passing size_t or ssize_t values where ssize_t is needed. (#3219) Ralf W. Grosse-Kunstleve 2021-08-28 16:40:46 -07:00
  • cb60ed49e4
    Fix enum value's __int__ returning non-int when underlying type is bool or of char type (#1334) Ye Zhihao 2021-08-27 05:34:24 +08:00
  • 930bb16c79
    Call PySys_SetArgv when initializing interpreter. (#2341) Dan 2021-08-26 17:12:54 -04:00
  • 503ff2a6fb
    view for numpy arrays (#987) Nick Cullen 2021-08-26 23:11:01 +02:00
  • db44afa33b
    tests: fix pytest usage on Python 3.10 (#3221) Henry Schreiner 2021-08-26 10:52:13 -07:00
  • 59ad1e7d05
    reshape for numpy arrays (#984) Nick Cullen 2021-08-26 17:12:35 +02:00
  • 031a700dfd
    Add make_simple_namespace function and tests (#2840) Jouke Witteveen 2021-08-26 17:04:22 +02:00
  • c8ce4b8df8
    Clone of @virtuald's PR #2112 with minor enhancements. (#3215) Ralf W. Grosse-Kunstleve 2021-08-23 17:30:01 -07:00
  • 6cbabc4b8c
    maint(clang-tidy): Enable cpp-coreguideline slicing checks (#3210) Aaron Gokaslan 2021-08-23 18:42:19 -04:00
  • fdac5fbf7c
    chore: support targeting different Python versions with nox (#3214) Henry Schreiner 2021-08-23 15:05:54 -07:00
  • b3d18f382f
    [pre-commit.ci] pre-commit autoupdate (#3213) pre-commit-ci[bot] 2021-08-23 15:22:12 -04:00
  • 4f29b8a45b
    ci: extend msys2 mingw CI (#3207) Liam Keegan 2021-08-19 20:42:55 +02:00
  • 998d45e431
    Cleanup of file-scoped and globally-scoped warning suppression pragmas across pybind11 header files. (#3201) Ralf W. Grosse-Kunstleve 2021-08-19 11:37:04 -07:00
  • 774b5ff90b
    Removing obsolete eigen.h warning suppression pragmas. (#3198) Ralf W. Grosse-Kunstleve 2021-08-17 16:49:39 -07:00
  • 617cb653ec
    [Bugfix] Fix errant const methods (#3194) Aaron Gokaslan 2021-08-14 12:25:54 -04:00
  • 1bcd94c481
    Removing last remnants of pragma block at the top of pybind11.h (#3186) Ralf W. Grosse-Kunstleve 2021-08-14 07:41:27 -07:00
  • 9df2f1ff13
    maint(precommit): Apply isort (#3195) Aaron Gokaslan 2021-08-13 12:37:05 -04:00
  • d6841f60cc
    chore(deps): bump jwlawson/actions-setup-cmake from 1.9 to 1.10 (#3196) dependabot[bot] 2021-08-13 12:27:54 -04:00
  • 7d3b05715b
    Improved workaround for Centos 8 failure (follow-on to PR #3030). (#3193) Ralf W. Grosse-Kunstleve 2021-08-12 13:21:49 -07:00
  • 0be2ea065e
    [pre-commit.ci] pre-commit autoupdate (#3185) pre-commit-ci[bot] 2021-08-09 15:08:19 -04:00
  • 4c7e509fa4
    PYBIND11_NOINLINE-related cleanup. (#3179) Ralf W. Grosse-Kunstleve 2021-08-09 10:10:38 -07:00
  • ff590c1258
    maint(perf): Optimize Numpy constructor to remove copies by value. (#3183) Aaron Gokaslan 2021-08-09 12:48:27 -04:00
  • 61ee923bb1
    Consistent step name "Python tests". (#3180) Ralf W. Grosse-Kunstleve 2021-08-07 11:51:28 -07:00
  • 6ac8efe52d
    test_eval: Show example of working closure (#2743) Eric Cousineau 2021-08-06 15:51:53 -04:00
  • af7007331a
    Removing GCC -Wunused-but-set-parameter from pragma block at the top of pybind11.h (#3164) Ralf W. Grosse-Kunstleve 2021-08-06 12:27:11 -07:00
  • 3893f37bce
    maint(clang-tidy): Bugprone enable checks (#3166) Aaron Gokaslan 2021-08-06 14:30:28 -04:00
  • 089328f779 Revert "fix: apply simpler expression with fewer workarounds" Henry Schreiner 2021-08-06 13:09:48 -04:00
  • 1fafd1b447
    fix: apply simpler expression with fewer workarounds Henry Schreiner 2021-08-06 13:03:26 -04:00
  • 5f4d725918
    fix: version number hex Henry Schreiner 2021-08-03 17:03:11 -04:00
  • c30f57d2ed
    chore: start development for 2.8.0 Henry Schreiner 2021-08-03 16:11:07 -04:00
  • 787d2c88ca fix: include hex version in bump Henry Schreiner 2021-08-03 15:20:23 -04:00
  • 82adacb31d
    fix: include hex version in bump Henry Schreiner 2021-08-03 15:20:23 -04:00
  • 5f34c42d70 chore: bump to version 2.7.1 Henry Schreiner 2021-08-03 15:05:54 -04:00
  • 078c116749
    chore: bump to version 2.7.1 Henry Schreiner 2021-08-03 15:05:54 -04:00
  • 9095984850 chore: changelog update (#3163) Henry Schreiner 2021-08-03 10:16:14 -07:00
  • 9f204a1857 fix: func_handle for rule of two (#3169) Aaron Gokaslan 2021-08-03 13:15:48 -04:00
  • ada6b79104 [pre-commit.ci] pre-commit autoupdate (#3167) pre-commit-ci[bot] 2021-08-03 10:56:57 -04:00
  • a2b78a8c27
    chore: changelog update (#3163) Henry Schreiner 2021-08-03 10:16:14 -07:00
  • c0756ccd93
    fix: func_handle for rule of two (#3169) Aaron Gokaslan 2021-08-03 13:15:48 -04:00
  • f4f4632e28
    [pre-commit.ci] pre-commit autoupdate (#3167) pre-commit-ci[bot] 2021-08-03 10:56:57 -04:00
  • dcbda8d7ff
    Removing MSVC C4127 from pragma block at the top of pybind11.h (#3152) Ralf W. Grosse-Kunstleve 2021-07-30 11:25:29 -07:00
  • b961ac644f Moving pragma for MSVC warning C4505 from pybind11.h to existing list in detail/common.h (#3160) Ralf W. Grosse-Kunstleve 2021-07-30 10:51:50 -07:00
  • c80e059345 fix: Mingw64 corrected and add a CI job to test it (#3132) Jerome Robert 2021-07-30 19:48:41 +02:00
  • 46c51fc03b Limiting pragma for ignoring GCC 7 -Wnoexcept-type to the scope of pybind11.h. (#3161) Ralf W. Grosse-Kunstleve 2021-07-30 07:09:55 -07:00
  • e2573dc961
    Moving pragma for MSVC warning C4505 from pybind11.h to existing list in detail/common.h (#3160) Ralf W. Grosse-Kunstleve 2021-07-30 10:51:50 -07:00
  • 9e8a741baa
    fix: Mingw64 corrected and add a CI job to test it (#3132) Jerome Robert 2021-07-30 19:48:41 +02:00
  • b42597291f
    Limiting pragma for ignoring GCC 7 -Wnoexcept-type to the scope of pybind11.h. (#3161) Ralf W. Grosse-Kunstleve 2021-07-30 07:09:55 -07:00
  • b1fdbe6954
    chore: add discussions link (#3159) Henry Schreiner 2021-07-29 16:10:18 -07:00
  • 05852fb6bc
    Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) Ralf W. Grosse-Kunstleve 2021-07-28 08:58:36 -07:00
  • ed5fb66bd7
    Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) Ralf W. Grosse-Kunstleve 2021-07-27 15:33:31 -07:00
  • 0ac4c8afd6
    maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) Aaron Gokaslan 2021-07-27 18:32:26 -04:00
  • 5c6bdb7215
    fix: the CMake config in Python package had a hard coded path (#3144) Henry Schreiner 2021-07-27 14:23:52 -07:00
  • fd71bd486d
    Allow python builtins to be used as callbacks (#1413) David Hewitt 2021-07-27 19:16:28 +01:00
  • e93d94594b
    Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) Ralf W. Grosse-Kunstleve 2021-07-26 13:26:36 -07:00
  • c973660d6c
    [pre-commit.ci] pre-commit autoupdate (#3143) pre-commit-ci[bot] 2021-07-26 15:05:58 -04:00
  • 85b38c69de
    Adding pragma warning(disable: 4522) for MSVC <= 2017. (#3142) Ralf W. Grosse-Kunstleve 2021-07-26 12:02:50 -07:00
  • b193d42c32
    Removing MSVC C4996 from pragma block at the top of pybind11.h (#3129) Ralf W. Grosse-Kunstleve 2021-07-26 11:28:36 -07:00
  • ee3ecb8ae2
    Specified encoding in setup.py calls of open() (#3137) ka-bo 2021-07-21 18:00:57 +02:00
  • c14b193308
    chore: increase CMake upper limit (#3124) Henry Schreiner 2021-07-28 18:04:14 -07:00
  • b72ca7d1bd
    Removing MSVC C4100 from pragma block at the top of pybind11.h (#3150) Ralf W. Grosse-Kunstleve 2021-07-28 17:01:21 -07:00
  • f4721a7b44
    Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) Ralf W. Grosse-Kunstleve 2021-07-28 08:58:36 -07:00
  • 2164c2e0e7
    Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) Ralf W. Grosse-Kunstleve 2021-07-27 15:33:31 -07:00
  • 9beaa925db
    maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) Aaron Gokaslan 2021-07-27 18:32:26 -04:00
  • 7cc0ebb475
    fix: the CMake config in Python package had a hard coded path (#3144) Henry Schreiner 2021-07-27 14:23:52 -07:00
  • a0b975965f
    Allow python builtins to be used as callbacks (#1413) David Hewitt 2021-07-27 19:16:28 +01:00
  • a0f862d428
    Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) Ralf W. Grosse-Kunstleve 2021-07-26 13:26:36 -07:00
  • 7f76d79508
    [pre-commit.ci] pre-commit autoupdate (#3143) pre-commit-ci[bot] 2021-07-26 15:05:58 -04:00
  • 7904ba1a5c
    Adding pragma warning(disable: 4522) for MSVC <= 2017. (#3142) Ralf W. Grosse-Kunstleve 2021-07-26 12:02:50 -07:00
  • ff97f101d9
    Removing MSVC C4996 from pragma block at the top of pybind11.h (#3129) Ralf W. Grosse-Kunstleve 2021-07-26 11:28:36 -07:00
  • e58c6897cc
    Specified encoding in setup.py calls of open() (#3137) ka-bo 2021-07-21 18:00:57 +02:00
  • d65edfb024
    Feature/local exception translator (#2650) jesse-sony 2021-07-21 08:22:18 -04:00
  • 6d5d4e738c
    Move object in pop method of List. (#3116) blacktea 2021-07-20 18:48:09 +03:00
  • 9626483cdf
    [pre-commit.ci] pre-commit autoupdate (#3134) pre-commit-ci[bot] 2021-07-20 11:29:42 -04:00
  • 34f587dd23
    Removing all warning pragmas that have not effect. (#3127) Ralf W. Grosse-Kunstleve 2021-07-17 08:54:31 -07:00
  • 74935f8d67
    chore: post-release (#3128) Henry Schreiner 2021-07-17 11:50:42 -04:00
  • 65e95ea867
    chore: bump to 2.7.0 (#3123) Henry Schreiner 2021-07-16 09:27:47 -04:00
  • 6642f389dc
    docs: update changelog (#3122) Henry Schreiner 2021-07-15 20:00:07 -04:00
  • 4359e00b97
    Introducing PYBIND11_VERSION_HEX (#3120) Ralf W. Grosse-Kunstleve 2021-07-15 15:00:57 -07:00
  • 1b10292c05
    chore: support PDF from nox (#3121) Henry Schreiner 2021-07-15 16:54:40 -04:00
  • 55f6f6e9bf
    Fix: RTD Docutils Build (#3119) Axel Huebl 2021-07-15 12:41:36 -07:00
  • 2415c09459
    feat(package): support pipx run (#3117) Henry Schreiner 2021-07-15 15:01:29 -04:00
  • 31843d455d
    docs: reduce visibility of 3.9.0 warning (#3105) Henry Schreiner 2021-07-15 15:01:13 -04:00
  • 5cd3750757
    Enable -Wstrict-aliasing warning (#2816) Boris Staletic 2021-07-15 16:38:52 +00:00
  • c4b0dc7cdd
    Add shellcheck style checking (#3114) Aaron Gokaslan 2021-07-14 16:52:13 -04:00
  • cd061aeef1
    style: pre-commit cleanup (#3111) Henry Schreiner 2021-07-14 16:49:13 -04:00
  • 7331d381af
    Raise codec errors when casting to std::string (#2903) Shane Loretz 2021-07-13 21:21:55 -07:00
  • aca6c3ba37
    * Removing stray semicolons (discovered by running clang-format v12 followed by tools/check-style.sh). (#3087) Ralf W. Grosse-Kunstleve 2021-07-13 18:14:58 -07:00
  • 1be0a0a610
    Add helper to build in-tree extensions. (#2831) Antony Lee 2021-07-13 23:21:55 +02:00
  • 2b7985e548
    Improve documentation of discard_as_unraisable() API (#2697) jbarlow83 2021-07-13 12:32:56 -07:00
  • 25e470c57d
    fix(clang-tidy): Add cppcoreguidelines-init-vars,slicing, and throw-by-value-catch-by-reference checks (#3094) Aaron Gokaslan 2021-07-13 09:54:32 -04:00
  • 6a644c8f04
    docs: update changelog (#3099) Henry Schreiner 2021-07-13 00:08:29 -04:00
  • 0e2e003508 style: add pyupgrade check, 2.7+ Henry Schreiner 2021-07-12 15:01:19 -04:00