Re: Support Python 3 tests under MSVC

2018-05-01 Thread Andrew Dunstan
On Mon, Apr 30, 2018 at 4:52 PM, Peter Eisentraut wrote: > On 4/30/18 15:52, Andrew Dunstan wrote: >> I'd like to apply these - they only affect the testing script >> vcregress.pl, so they should be very low risk. > > In case there are concerns about maintaining a second copy of the > "mangle" scr

Re: Support Python 3 tests under MSVC

2018-04-30 Thread Yuriy Zhuravlev
Interesting, this working fine more than year with CMake build version. On Tue, 1 May 2018, 04:53 Andrew Dunstan, wrote: > > Here are a couple of patches, one for master and one for the back > branches from 9.5 to 10 to allow testing of plpython3 and associated > contrib modules when building wi

Re: Support Python 3 tests under MSVC

2018-04-30 Thread Peter Eisentraut
On 4/30/18 15:52, Andrew Dunstan wrote: > I'd like to apply these - they only affect the testing script > vcregress.pl, so they should be very low risk. In case there are concerns about maintaining a second copy of the "mangle" script: The obvious answer is to rewrite that script in Python. I tri

Support Python 3 tests under MSVC

2018-04-30 Thread Andrew Dunstan
Here are a couple of patches, one for master and one for the back branches from 9.5 to 10 to allow testing of plpython3 and associated contrib modules when building with MSVC. I've tested this out on a Windows 2016 machine with Visual Studio 2017. I'd like to apply these - they only affect the t