mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Back out fix for issue #13886; it introduced a new bug in interactive readline use.
This commit is contained in:
commit
c27bcbf863
3 changed files with 1 additions and 12 deletions
|
@ -20,13 +20,6 @@ try:
|
|||
import pty, signal
|
||||
except ImportError:
|
||||
pty = signal = None
|
||||
# Importing this module has the side-effect of changing the behavior of input().
|
||||
# Ensure that we always use the readline version (if available), so we don't get
|
||||
# different results depending on what other tests have already imported.
|
||||
try:
|
||||
import readline
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
class Squares:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue