[New-bugs-announce] [issue40472] IDLE Shell not allowing more than two line inputs

Raymond Hettinger report at bugs.python.org
Fri May 1 15:35:30 EDT 2020


New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:

In Python3.8 and prior, you can type this in a shell session
------------------------------------------------------------

Python 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license()" for more information.
>>> def square(x):
	s = x ** 2
	return s


In Python3.9, the input is terminated prematurely
-------------------------------------------------

Python 3.9.0a6 (v3.9.0a6:bc1c8af8ef, Apr 27 2020, 17:05:28) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license()" for more information.
>>> def square(x):
	s = x ** 2             # <-- On first return, the statement evaluates
	
>>> 

>>> square(5)
25

----------
assignee: terry.reedy
components: IDLE
messages: 367875
nosy: rhettinger, terry.reedy
priority: high
severity: normal
status: open
title: IDLE Shell not allowing more than two line inputs
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40472>
_______________________________________


More information about the New-bugs-announce mailing list