I'm experiencing the following:
$ python
Python 2.7.4 (v2.7.4:026ee0057e2d, Apr 6 2013, 11:43:10)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ','.join(['1','2','3']
...
...
... )
Segmentation fault: 11
$ python
Python 2.7.4 (v2.7.4:026ee0057e2d, Apr 6 2013, 11:43:10)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ','.join(['1','2','3'])
'1,2,3'
>>> ','.join(['1','2','3']
Segmentation fault: 11
$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
This looks like an interpreter bug to me, am I right?
(My instinct says I should be getting a
SyntaxError: unexpected EOF while parsing
)