pybind11/tests/test_cmake_build
Aaron Gokaslan 4c6bee3514
fix: Set __file__ constant when using eval_file (#1300) (#3233)
* Set __file__ constant when using eval_file

* Use const ref

* Use a move instead

* Revert

* Improve test

* Guard test with Python version

* Fix tests

* Dont support Python2 API

* Drop Python2 eval __file__ support

* Hack

* Semisupport Python2

* Take2

* Remove Python2 support
2021-09-09 14:06:33 -04:00
..
installed_embed chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
installed_function chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
installed_target chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
subdirectory_embed chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
subdirectory_function chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
subdirectory_target chore: increase CMake upper limit (#3124) 2021-07-28 18:04:14 -07:00
CMakeLists.txt fix: support basic dual includes (#2804) 2021-01-19 18:49:03 -05:00
embed.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
main.cpp Replace PYBIND11_PLUGIN with PYBIND11_MODULE 2017-05-29 03:21:19 +02:00
test.py fix: Set __file__ constant when using eval_file (#1300) (#3233) 2021-09-09 14:06:33 -04:00