Re: Python 3 compatability... RFH (request for help)

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Fri, 2017-04-07 at 14:58 +0100, Russel Winder wrote:
> 
[…]
> I can spare a bit of time to make anything D related not fail. There
> is
> a feature of Dub builds that really could with being ported to SCons,
> Meson, and CMake.
> 
> I'll just give it a go, if there are any failures, I'll send in a
> pull
> request.
> 
> I will be running on Python 3.6.1 though, but I can also test on
> 3.5.3.

All the D tests pass with Python 3.6.1 on Fedora Rawhide. Which is
nice.

I have a project (OK I'm doing Factorial in D, see https://github.com/r
ussel/Factorial/tree/master/D) that builds and cleans fine with Python
2. It cleans fine with Python 3 (after a Python 2 build), but will not
build with Python 3. I get:

|> scons_py3 --tree=all
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [factorial_test] TypeError : function takes exactly 5
arguments (1 given)
+-test
  +-factorial_test
    +-factorial.d
    +-ut_main.d
      +-factorial.d
      +-/home/russel/.dub/packages/unit-threaded-0.7.11/unit-
threaded/gen_ut_main
scons: building terminated because of errors.

If someone can give me direction how to find the problem, I'll try and
make a failing test.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljnt3EACgkQ1L3V0s7N
p7gWtQ//VxB4Z9zkqMSd7IJXuNNgTbc8pWhcIfqobBVsdrWgkwLgE4ODoqDBmqIe
O5/6yja2Z8pSv4pvDptg7fLqdYxHcn4LMCEF5mRDLyGXFbFyBSjhHK2woI5trO6w
Eh2r2+G1wfq2fZAEuSWicL0gIBY5qD4NmebWIUR+S/3NsR/bZnIlQVEOoTyA5AJN
pjR6Zgur7m9Z5E5+Kxi8eHUK2nOpESMnhQgRtvi8s627kupSVTTRK/Z8zvl0L6Nd
kzjYNjdG7JdBVYxndnCPzUi2vZMvZqrLfwSy1nX7fnsZXZbpsSpRquQwTySZ8W0d
BzSmiJ740Z86P4Qntn8Thb1l4kHJLhjU3/zyp2+6AG09XoojFyCQ9JIwHWy12LQM
FeSXJENFjbVpXld+AHNtmfHZaOIMDJlO3y2TcHNg7LvNYb3zM0BwHG4qx98k0zIy
L8A3ev+B2f90WXHUbzx4iA/atth9AIOHzEvI3RhcbVQybOy9Jv0FP7nAdPzB1BeT
UyX4I2pcXNozgh/joCICv9fLfkN/RLeJP2Yazg3QWdvgSIthnfUq86ZbmK5MQxvG
kWAmCl5sXA//1CT6t77EVxuDJ6wegdfXT5lNLO5FFnqeAnc6GzUAO70YTxdn3avD
sagfPLtnKHH3u9NqqQPY58V18Xc3RSxaIa9GmlbgL/yi6jySNU8=
=eM9Y
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.