These are chat archives for evhub/coconut

29th
Aug 2017
Evan Hubinger
@evhub
Aug 29 2017 20:22
@ShalokShalom What part about that is confusing you? I'd like to know so I can make it less confusing! To me it very clearly reads "Coconut syntax is based off Python 3" but compiled Coconut "should run on any Python version," which is exactly correct--Coconut is based on Python 3, but runs anywhere, which means it can convert Python 3 to any version, but not Python 2, since Coconut syntax is a superset of Python 3, not Python 2.
ShalokShalom
@ShalokShalom
Aug 29 2017 20:23
Coconut adds in new Python 3 built-ins and overwrites Python 2 built-ins to use the Python 3 versions where possible
Coconut automatically maps imports under Python 3 names to imports under Python 2 names
Evan Hubinger
@evhub
Aug 29 2017 22:29
yep, exactly, Coconut syntax uses the Python 3 built-ins, which on Python 2 overwrite the default Python 2 built-ins--I'm not sure what the confusion is?
ShalokShalom
@ShalokShalom
Aug 29 2017 22:50
probably my English
thy
Evan Hubinger
@evhub
Aug 29 2017 23:40
no problem! I think this confusion is deserving of an FAQ entry, so I'm going to add one on this point.