Message349375
This isn't interacting well with IDLE.
====================================================
--- Works fine at the regular interactive prompt ---
$ python3.8
Python 3.8.0b3 (v3.8.0b3:4336222407, Jul 29 2019, 09:46:03)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> data = [
... (1, 2, 3) # oops, missing comma!
... (4, 5, 6)
... ]
<stdin>:2: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma?
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
====================================================
--- Behaves differently in the IDLE Shell ---
Python 3.8.0b3 (v3.8.0b3:4336222407, Jul 29 2019, 09:46:03)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license()" for more information.
>>> data = [
(1, 2, 3) # oops, missing comma!
(4, 5, 6)
]
SyntaxError: 'tuple' object is not callable; perhaps you missed a comma? |
|
Date |
User |
Action |
Args |
2019-08-11 06:01:19 | rhettinger | set | recipients:
+ rhettinger, gvanrossum, terry.reedy, ezio.melotti, eric.araujo, steven.daprano, docs@python, serhiy.storchaka, o11c, storymode7 |
2019-08-11 06:01:19 | rhettinger | set | messageid: <1565503279.7.0.170649380919.issue15248@roundup.psfhosted.org> |
2019-08-11 06:01:19 | rhettinger | link | issue15248 messages |
2019-08-11 06:01:19 | rhettinger | create | |
|