[New-bugs-announce] [issue31852] Crashes with lines of the form "async \"
Alexandre Hamelin
report at bugs.python.org
Mon Oct 23 15:22:17 EDT 2017
New submission from Alexandre Hamelin <quad.on at gmail.com>:
Hi.
Python 3.6.2 crashes when interpreting lines with the text "async \" (future keyword 'async' and ending with a backslash).
Tested in a docker environment (debian jessie). (see github.com/0xquad/docker-python36 if needed)
Examples:
$ docker run -ti --rm python36
root at 4c09392f83c8:/# python3.6
Python 3.6.2 (default, Aug 4 2017, 14:35:04)
[GCC 6.4.0 20170724] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> async \
...
File "<stdin>", line 1
\ufffd\ufffdF\ufffd\ufffd
^
SyntaxError: invalid syntax
>>> async \
Segmentation fault
root at 4c09392f83c8:/#
Also,
----- file: test.py
#/usr/bin/python3.6
async \
<repeated 30000 times>
-----
$ ./test.py
Segmentation fault
$
Haven't taken the time to produce a backtrace or investigate with latest the dev versions or any further.
Let me know if I can assist in any way.
----------
components: Interpreter Core
messages: 304835
nosy: Alexandre Hamelin
priority: normal
severity: normal
status: open
title: Crashes with lines of the form "async \"
type: crash
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31852>
_______________________________________
More information about the New-bugs-announce
mailing list