These are chat archives for evhub/coconut

7th
Dec 2017
Evan Hubinger
@evhub
Dec 07 2017 04:01
@amacfie All the built-in Coconut objects should be pickleable, though it won't work in the interpreter, only in the actual compiled code--if you're having an issue pickling something in Coconut, definitely report it as a bug. For --no-tco in the Jupyter kernel, just do what I was saying with %load_ext coconut, which will work from the Coconut kernel.
Raffaello
@raffomartini
Dec 07 2017 15:42
Found an inconsistence with Python in unpacking arguments in a function call - hoep this is the right place to report it:
python 3.6

In [1]: def test (a,b,c,d):
...: return (a,b,c,d)
...:

In [2]: test(*range(3), '5')
Out[2]: (0, 1, 2, '5')

coconut:

In [253]: def test (a,b,c,d):
: return (a,b,c,d)
:
:

In [254]: test(*range(3), '5')
Out[254]: ('5', 0, 1, 2)

is it expected or a bug?
Evan Hubinger
@evhub
Dec 07 2017 23:37
@raffomartini That's definitely a bug--would you mind opening an issue with that information in it?