Ralf W. Grosse-Kunstleve
68e6fdaa90
embed.h Python 3.11 config.use_environment=1 + PYTHONPATH test ( #4119 )
...
* Add debug fprintf to test_interpreter.cpp
* Update `sys.path` from `PYTHONPATH` in Python >= 3.11 branch of `initialize_interpreter()`
* Use `config.isolated = 0; config.use_environment = 1;`
As suggsted by @vstinner here: https://github.com/pybind/pybind11/pull/4119#issuecomment-1219442853
* Add `TEST_CASE("PYTHONPATH is used to update sys.path")`
* Fix clang-tidy error.
* Use `_putenv_s()` under Windows.
* Fix clang-tidy error: argument name ... in comment does not match parameter name
* Remove slash from PYTHONPATH addition, to work around Windows slash-vs-backslash issue.
* Use `py::str(...)` instead of `.attr("__str__")` as suggested by @skylion007
Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
2022-08-21 09:44:01 -07:00
..
2022-08-09 00:02:45 -04:00
2022-02-11 19:06:16 -05:00
2022-02-11 19:06:16 -05:00
2022-08-21 09:44:01 -07:00
2022-05-31 11:51:13 -07:00
2022-07-07 17:51:44 -07:00
2022-02-10 12:17:07 -08:00
2022-04-18 11:09:45 -04:00
2022-05-31 11:51:13 -07:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2022-07-07 17:51:44 -07:00
2022-02-14 11:36:22 -08:00
2022-02-11 19:06:16 -05:00
2022-07-06 16:35:12 -04:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-08-01 06:18:48 -07:00
2022-02-23 18:21:03 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-06-06 12:15:45 -04:00
2022-02-10 18:28:08 -08:00
2022-05-16 13:51:01 -07:00
2022-05-16 13:51:01 -07:00
2022-08-01 11:31:31 -07:00
2022-02-25 13:25:23 -08:00
2021-09-24 12:08:22 -07:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-06-29 11:37:16 -07:00
2022-06-29 11:37:16 -07:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-07-21 06:38:00 -07:00
2022-02-10 12:17:07 -08:00
2022-08-03 11:38:07 -04:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-07-21 06:40:34 -07:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-05-02 15:30:19 -04:00
2022-07-06 16:35:12 -04:00
2022-05-28 16:40:57 -07:00
2022-05-28 16:40:57 -07:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-05-26 11:07:40 -04:00
2022-02-11 19:06:16 -05:00
2022-05-26 11:07:40 -04:00
2022-04-14 10:53:16 -04:00
2022-05-26 11:07:40 -04:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-05-02 12:39:36 -07:00
2022-05-02 12:39:36 -07:00
2022-08-11 16:14:17 -04:00
2022-08-11 16:14:17 -04:00
2022-02-11 10:42:48 -05:00
2022-02-11 19:06:16 -05:00
2022-08-01 11:31:31 -07:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-08-01 11:31:31 -07:00
2022-05-05 12:09:56 -07:00
2022-08-01 11:31:31 -07:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2019-06-11 23:28:58 +02:00
2022-02-10 18:28:08 -08:00
2022-07-13 09:06:32 -05:00
2022-02-11 19:06:16 -05:00
2021-07-04 19:58:35 -04:00
2021-01-31 17:29:09 -05:00