wmayer
3f212ad8ac
Porting Py3.8/Py3.9:
...
Since Py3.3: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations]
Since Py3.9: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations]
Since Py3.9: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
ae641dc527
Python: [skip ci] tp_print slot has been replaced with tp_vectorcall_offset in Py3.8
2020-06-07 12:53:47 +02:00
wmayer
b50b21576e
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
e0db5b62be
workaround in PyCXX classes due to removed support of old-style classes
2019-06-25 18:15:10 +02:00
wmayer
3c205946e2
fixes #0003993 : Memory leak with Python3
2019-06-24 14:30:12 +02:00
Michal Ulianko
faf8834484
py3.7 fix
...
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
wmayer
68f6c82eb1
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
5a7bc3376d
disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions
2018-04-29 11:00:28 +02:00
wmayer
01a26172c2
disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions
2018-04-18 19:45:07 +02:00
wmayer
a29e8725b4
fix compiler warnings with Py3
2018-04-16 13:51:04 +02:00
wmayer
8ce343291b
py3: fox compiler warnings
...
issue 0000995
2017-06-04 00:17:57 +02:00
looooo
852a984195
py3: CXX: remaining diff:
...
win: exernalize missing CXX-functions
define PYCXX_PYTHON_2TO3
2017-05-27 20:00:57 -03:00
wmayer
50ca24fd55
upgrade PyCXX from v6.2.5 to v6.2.8
2016-08-10 11:55:23 +02:00
Yorik van Havre
8d2e08ffa0
Little fixes to allow pycxx to compile with python3
2014-10-05 17:31:17 -03:00
Yorik van Havre
f87bd2ac35
Patched PyCXX 6.2.5 with original FreeCAD changes made in 6.2.0
2014-09-24 18:19:26 -03:00
Yorik van Havre
ad3908cca6
Upgraded PyCXX to version 6.2.5
2014-09-24 18:19:25 -03:00