Eisuke Kawashima
5f5f38fa8a
fix: fix quotation
2025-11-03 09:30:32 -05:00
Stefan Seefeld
5d7b9a0648
Stop testing c++98 support
2025-11-03 08:40:38 -05:00
Stefan Seefeld
7fd39323ac
Don't rely on Py_REFCNT to test upcast.
2025-11-03 08:40:38 -05:00
Eisuke Kawashima
aa458d2ca9
fix(test.properties): use doctest.ELLIPSIS for traceback
...
Since python 3.11 (PEP 657) traceback info is changed
fix #460
2025-10-25 15:22:21 -04:00
Eisuke Kawashima
16627261f1
fix(test.pickle): fix for change in the return value of object.__reduce__()
...
https://docs.python.org/3.11/library/pickle.html#object.__reduce__
fix #461
2025-10-25 14:14:07 -04:00
Eisuke Kawashima
f604eb8d0f
fix(test.numpy/ufunc): fix import error and value comparison
2025-04-02 08:21:09 -04:00
Eisuke Kawashima
d30c1bb7a8
refactor: switch to python 3
2025-03-31 21:58:42 -04:00
Jakob van Santen
95e53011d8
Conditionalize nested test for py2
...
__qualname__ didn't exist before python 3.3. Skip checks that depend on it if running in earlier Python versions
2024-09-18 10:36:45 -04:00
Jakob van Santen
0102b31945
Unwrap back_reference in get_pytype()
...
This prevents back_reference parameters from decaying to "object" in py signatures
2024-09-17 17:07:44 -04:00
Jakob van Santen
4c6f40fb82
Add generated docstrings to property fget/fset
2024-09-17 17:07:44 -04:00
Jakob van Santen
d1910f3d65
Avoid degrading slice to object in generated sig
2024-09-17 17:07:44 -04:00
Jakob van Santen
c4e3b13dc2
Use qualname for enum repr
2024-09-17 17:07:44 -04:00
Jakob van Santen
7a3cc07042
Emit qualfied names in docstrings
2024-09-17 17:07:44 -04:00
Jakob van Santen
58b1a010bb
Set __qualname__ for Python >= 3.3
2024-09-17 17:07:44 -04:00
Rene Rivera
8ca8724ad9
Update build deps.
2024-08-18 13:16:00 -04:00
Rene Rivera
f6d20e1099
Make the library modular usable.
2024-08-18 13:16:00 -04:00
TaWeiTu
aee2667407
Fix deprecated usage of <boost/bind.hpp>
...
Replace <boost/bind.hpp> with <boost/bind/bind.hpp> and use namespace
boost::placeholders when necessary.
2021-06-09 07:16:19 -04:00
Stefan Seefeld
aca3c80c4f
Respect alignment of by-value storage.
2021-04-30 22:59:25 -04:00
Dmitry Bely
f7254f5d8a
Add a test case for issue #280
2021-02-07 23:07:30 -05:00
Tyler Kieft
bf824c1b98
Ensure all doctests run
2020-08-08 02:19:03 -04:00
Stefan Seefeld
15115eb1f8
Fix appveyor build failures.
2020-08-07 14:04:30 -04:00
Nikita Kniazev
fdc9ec760f
Fixed module tests fail
...
Since recently lightweight_test introduced a sanitation to ensure that
`boost::report_errors()` is called, and it does not in module tests.
The problem could be fixed by exporting the function and calling it from
these python tests, but as it already done in other module tests I just
turned those usages lightweight_test to a regular assertation.
2019-03-31 20:36:56 -04:00
Stefan Seefeld
6b8ab7a5a3
Conditionalize tests.
2018-03-09 13:08:07 -05:00
Stefan Seefeld
1db3871f50
Remove obsolete scons-based build logic.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
65be0e0f0f
Only iterate over multiple calling conventions on x86.
2018-02-15 22:17:04 -05:00
Stefan Seefeld
ebba009a9f
First attempt at faber-based build system.
2017-11-10 07:41:21 -05:00
Mark Borgerding
ecf05c4a90
ndarray.shape(k),strides(k) act more like their python counterparts (negative indexing, bounds checking) (issue #157 )
2017-09-25 09:08:14 -04:00
Edward Diener
00b7ed03a7
Remove executable attribute for files.
2017-09-18 08:21:30 -04:00
Stefan Seefeld
2d1f66fd19
Remove module as obsoleted by Boost.NumPy.
2017-07-20 11:39:58 -04:00
Stefan Seefeld
8536e97c67
Use utf-8 encoding
2017-06-25 14:33:42 -04:00
shreyans800755
142661dac8
Use std type_traits instead of boost type_traits
...
Fixes https://github.com/boostorg/python/issues/106
2017-06-25 14:17:41 -04:00
Stefan Seefeld
664d443df3
Fix Python3 compatibility bug.
2017-06-03 18:26:14 -04:00
Stefan Seefeld
7cfc47008e
Rename test source
2017-06-02 19:31:54 -04:00
Raphael Isemann
1452dfe713
Reencoded a few headers that used Windows-1252 with UTF-8.
...
Nearly every header in the boost codebase is UTF-8, but here there
are a few headers which are using Windows-1252, which makes it impossible
for some tools to parse those files. This patch just reencodes them
with UTF-8 like the rest of the codebase. I checked that the name of the
author is still correct after this change.
No functional change intended.
2017-06-02 17:44:46 -04:00
Stefan Seefeld
3066c73c09
Fix Windows builds.
2017-03-24 15:39:13 -04:00
Tadeu Manoel
4e0b96faa8
Fix conversion of PyUnicodeObject to wstring ( #93 )
2016-12-14 07:58:07 -05:00
Tadeu Manoel
7178a70176
Fix a problem where test_builtin_converters.py is not being run ( #94 )
...
This was happening because the module docstring was not the first statement.
2016-12-14 07:54:37 -05:00
Stefan Seefeld
1df6d84b80
Fix Python 3 incompatibility.
2016-10-27 08:37:25 -04:00
Stefan Seefeld
84c96447e2
Add NumPy support to the BB-based build logic.
2016-10-18 16:32:05 -04:00
Stefan Seefeld
b9431cd326
Remove obsolete tests from build logic.
2016-10-09 09:19:20 -04:00
Stefan Seefeld
4ce4821111
Remove obsolete tests.
2016-10-08 15:29:56 -04:00
Stefan Seefeld
3ace4a0015
Adjust NumPy code to work with new directory / namespace structure.
2016-10-08 13:34:17 -04:00
Stefan Seefeld
cbb3851488
Merge NumPy extension from https://github.com/ndarray/Boost.NumPy/ .
2016-10-07 20:03:12 -04:00
vmurashev
aaf0d220ae
tests for python3 - get rid of 'from past.builtins import long'
2016-09-28 22:44:46 -04:00
vmurashev
bb6f52dc35
test/exec.cpp - register builtin module before call 'Py_Initialize'
2016-09-28 22:44:46 -04:00
Stefan Seefeld
d422058fb4
Adjust BB logic to shared_ptr test changes.
2016-09-28 16:59:44 -04:00
Stefan Seefeld
97e4b34a15
Add support for std::shared_ptr.
2016-09-27 13:53:37 -04:00
Stefan Seefeld
5029273ca8
Use std::unique_ptr instead of std::auto_ptr
2016-09-22 20:30:33 -04:00
Giuseppe Corbelli
f0d5bef32d
Merge branch 'develop' of https://github.com/boostorg/python into develop
2016-06-27 09:33:44 +02:00
Giuseppe Corbelli
e820537f3b
past module is not available in v2 interpreters
2016-06-27 09:24:16 +02:00