[issue44879] How to insert newline characters as normal characters while input()?

2021-08-10 Thread Larry Hastings


Larry Hastings  added the comment:

This is not a bug, you are asking for programming help.  Please don't use the 
Python issue tracker for programming help.  You won't get any, you'll just 
waste people's time.

--
components:  -Argument Clinic, FreeBSD, IO, Interpreter Core, Windows
nosy:  -koobs, paul.moore, prasechen, steve.dower, tim.golden, zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> 
versions:  -Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, 
Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44879] How to insert newline characters as normal characters while input()?

2021-08-10 Thread chen-y0y0

New submission from chen-y0y0 :

# Ɪ know, if Ɪ press enter key while input(), the method will be completed and 
return a str value.
# Ɪ am trying to insert newline characters as normal characters while input() 
method.
# The “normal characters” means:
# 1. It can be deleted by backspace(“\x7b”) or EOF or delete key.
# 2. It can be interprered as a normal byte.
# Ɪ tried by the readline module, it did work. But it may crash, like:
# Traceback (most recent call last):
#   File "", line 1, in 
# SyntaxError: multiple statements found while compiling a single statement

--
components: Argument Clinic, FreeBSD, IO, Interpreter Core, Windows
messages: 399327
nosy: koobs, larry, paul.moore, prasechen, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: How to insert newline characters as normal characters while input()?
type: crash
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 
3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com