diff options
author | David Ostrovsky <david@ostrovsky.org> | 2015-07-26 21:38:38 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-25 08:29:39 +0000 |
commit | 147cb6a2ae63debed3dd500e19b2776cebbc0031 (patch) | |
tree | 79c23c3ee4c0dde4cb5e17b025d0fabd55bf0243 /pyuno | |
parent | 1a4fc613e13d2ac3cf9cf96f29aa3f367a8fb25a (diff) |
Bump python to 3.5
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5
removed build toolchain support for MSVC 2013. Because we still need
to support it, we duplicate the Python directory in externals and
copy old patches and dispatch to this directory for MSVC 2013. Once
the support for MSVC 2013 is dropped on master, this directory can be
removed again.
Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089
Reviewed-on: https://gerrit.libreoffice.org/17352
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index feca36d57669..e35bec04cc3f 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -1610,6 +1610,10 @@ static PyNumberMethods PyUNONumberMethods[] = nullptr, /* nb_inplace_true_divide */ nullptr, /* nb_index */ +#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 5 + nullptr, /* nb_matrix_multiply */ + nullptr, /* nb_inplace_matrix_multiply */ +#endif }; static PySequenceMethods PyUNOSequenceMethods[] = |