4 ms·
Which makes it ambiguous: Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright"
by username223 12y ago
Which makes it ambiguous:
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 1/2.3
0.4347826086956522
>>> 1 / 2.3
fish: Job 2, 'python' terminated by signal SIGSEGV (Address boundary error)
(I didn't expect that last part.)
- crdoconnor 12y agoThere's something weird going on with your system. There is absolutely no way under normal circumstances that you'd get a segmentation fault dividing 1 by 2.3.
- a_bonobo 12y agoPython 2.7.5 (default, Nov 3 2014, 14:26:24) [GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> 1/2.3 0.4347826086956522 >>> 1 / 2.3 0.4347826086956522 Identical output under Python 3.3.2
- username223 12y ago> There's something weird going on with your system. Yep -- it seems like a readline problem. As you can tell, I don't use this machine for Python.