Stefan Seefeld
102acf1d34
Merge branch 'develop'
2019-03-29 09:41:46 -04:00
Nikita Kniazev
0b0c0536d6
The right hypot fix for MinGW
2019-03-26 15:56:03 -04:00
Owens
0d0cd711a7
Enable forward declaration of unwind_type() in msvc14.15 and later.
...
Name lookup in msvc has changed between 14.14 and 14.15 making it consistent with other compilers. Forward declaration of unwind_type() is now required as it is for other compilers.
Resolves compilation errors identified in:
https://github.com/boostorg/python/issues/228
2019-03-25 11:00:48 -04:00
Jonathan Wakely
72e254bf8b
Fix name of file in tutorial
...
I think it's meant to refer to the Jamroot file being discussed, not Jamrules.
2019-03-23 20:38:29 -04:00
Nikita Kniazev
1f1b9b6aef
Fix hypot issue on MinGW
2019-03-23 20:37:35 -04:00
Nikita Kniazev
6bd6d71850
Fix -Wregister error on Clang in C++17 mode
...
Suppresses the warning on GCC, Clang, and MSVC.
2019-03-21 16:40:41 -04:00
Stefan Seefeld
b9c0e58d57
Merge branch 'develop'
2019-03-05 21:39:52 -05:00
Tom Kent
4b01139720
Ssize t warning - trac #3353 ( #21 )
...
Fixes msvc unsafe type conversion warning - trac num: 3353
2019-03-03 22:02:57 -05:00
SPKorhonen
65bfec2d97
Fix static object initialization under Visual Studio 2017 ( #208 )
...
Fix static object initialization under VS 15.7.2
2019-03-03 21:59:48 -05:00
Orivej Desh
4f6d547c0a
clear python exception after expected attribute lookup failure
...
Python 3.7.0 asserts that attribute lookup functions are called without outstanding exceptions:
https://github.com/python/cpython/blob/v3.7.0a2/Objects/typeobject.c#L3037
Motivation: https://bugs.python.org/issue34068#msg321262
Therefore the error set by the first PyObject_GetItem should be cleared before calling PyObject_GetAttrString.
2019-02-13 23:38:02 -05:00
Stefan Seefeld
90813b1ad7
Merge branch 'develop'
2019-01-10 18:45:39 -05:00
Peter Dimov
b644946368
Add comments explaining the stage/install targets in build/Jamfile
2018-10-12 14:34:15 -04:00
Peter Dimov
c7799aa44f
Add empty stage/install targets when Python is not configured
2018-10-12 14:34:15 -04:00
Peter Dimov
02095af952
Use boost-install in build/Jamfile
2018-10-12 09:42:51 -04:00
Stefan Seefeld
6f72675bff
Merge branch 'develop'
2018-07-11 19:25:10 -04:00
Moritz Wanzenböck
ed4776b59c
Add missing return statement in numpy import
...
This adds a missing return statement in the python3 specific
import logic of boost.python.numpy.
For python3 wrap_import_array() needs to return a pointer value.
The import_array() macro only returns NULL in case of error. The
missing return statement is UB, so the compiler can assume it does
not happen. This means the compiler can assume the error branch
is always taken, so import_array must always fail.
2018-07-11 16:40:19 -04:00
Markus Gerstel
ac62db1cf1
Drop injector code example from tutorials.
...
This example depends on the behaviour of ```__metaclass__```. This has
changed in python 3, and the example no longer works. Removing example
code as suggested, see #210 for more details and possible alternatives.
Closes #210 .
2018-06-08 14:59:41 -04:00
Stefan Seefeld
b4230e98f6
Fix auto-linking logic for boost_numpy (Windows only).
2018-06-04 09:34:00 -04:00
Stefan Seefeld
467a89eba7
Fix issue 198.
2018-05-06 13:35:16 -04:00
The Gitter Badger
28e2c6512c
Add Gitter badge
2018-05-03 10:19:01 -04:00
Stefan Seefeld
b0f512c15a
Merge branch 'develop'
2018-04-17 21:32:48 -04:00
Stefan Seefeld
77ff0d6bbc
Fix CI OSX build failure.
2018-04-17 20:41:17 -04:00
Stefan Seefeld
24313709a7
Fix auto-linking logic (Windows only).
2018-04-12 23:39:22 -04:00
Stefan Seefeld
ac9fa536c8
Add OSX to CI test matrix.
2018-04-08 21:34:48 -04:00
Gaurav
7352c9c0f7
Remove not reachable condition.
...
Line no 138-139 suggest if condition satisfy if n_actual <=max_arity :
if (n_actual + f->m_nkeyword_values >= min_arity
&& n_actual <= max_arity)
So condition at Line no 161 is not reachable.
2018-04-08 21:18:57 -04:00
Stefan Seefeld
26ac881b9d
Fix CI links.
2018-04-08 20:41:51 -04:00
Stefan Seefeld
19f6c782aa
Improve CI test coverage.
2018-04-08 18:21:22 -04:00
Stefan Seefeld
f3df1bf912
Remove redundant pragma once directives.
2018-04-07 17:05:18 -04:00
Stefan Seefeld
a383ecdd88
Fix build warning.
2018-03-19 13:58:48 -04:00
Stefan Seefeld
d515eb82c8
Fix build warning.
2018-03-15 15:29:06 -04:00
Stefan Seefeld
0021720a46
Conditionalize targets on Python configuration.
2018-03-11 10:31:21 -04:00
Stefan Seefeld
61591f7ad2
Enable more MSVC versions.
2018-03-09 13:17:24 -05:00
Stefan Seefeld
6b8ab7a5a3
Conditionalize tests.
2018-03-09 13:08:07 -05:00
Stefan Seefeld
02e079cf4d
Merge branch 'develop'
2018-03-08 07:07:42 -05:00
Stefan Seefeld
9039286937
Remove references to scons from README.
2018-03-07 16:54:10 -05:00
Stefan Seefeld
429ac28c4a
Streamline CI logic.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
1db3871f50
Remove obsolete scons-based build logic.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
66dad425aa
Build docs with faber.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
ed3cbf8a60
Start to collect release notes.
2018-02-25 17:39:18 -05:00
Stefan Seefeld
2f6e728de5
Fix misspelled operator name.
2018-02-20 16:43:58 -05:00
Stefan Seefeld
65be0e0f0f
Only iterate over multiple calling conventions on x86.
2018-02-15 22:17:04 -05:00
Stefan Seefeld
d4d41d94ae
Add Python version to library suffix.
2018-02-13 17:22:34 -05:00
Bernhard Rosenkränzer
660487c43f
Fix build with Python 3.7
...
Python 3.7 changes the return type of _PyUnicode_AsString()
from void* to const char* -- causing the build of boost-python
to fail.
Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
2018-02-09 15:09:27 -05:00
Stefan Seefeld
d6d54ce483
This is an object, not a function declaration. Really.
2017-12-18 15:04:23 -05:00
Stefan Seefeld
7c33ff0c59
Merge branch 'develop'
2017-11-17 10:06:54 -05:00
Stefan Seefeld
b9d0d97499
Fix MSVC compilation failure.
2017-11-16 10:26:30 -05:00
Stefan Seefeld
fc978f085b
Merge branch 'develop'
2017-11-11 08:04:54 -05:00
Stefan Seefeld
ebba009a9f
First attempt at faber-based build system.
2017-11-10 07:41:21 -05:00
Stefan Seefeld
9ad3313d1f
Fix deprecated elementwise comparison warning / error.
2017-11-07 19:43:16 -05:00
Stefan Seefeld
bf9a03399b
Revert "Avoid multiple template instances of boost::python::details::get_signature when multiple calling conventions are enabled"
...
This reverts commit b49a186b6f
.
2017-10-30 08:04:01 -04:00