[New-bugs-announce] [issue36690] A typing error in demo rpython.py

jiawei zhou report at bugs.python.org
Sun Apr 21 08:52:55 EDT 2019


New submission from jiawei zhou <jw.brifuture at gmail.com>:

Hi. There is an error in file `Tools/demo/rpython.py` at line 22.
The original statement is  `port = int(port[i+1:])`, but it will crash if the port is specified as parameters. 
The correct code should be `port = int(host[i+1:])`. Then the program can read specified port from parameter sys.argv[1].

----------
components: Demos and Tools
messages: 340606
nosy: jiawei zhou
priority: normal
severity: normal
status: open
title: A typing error in demo rpython.py
type: crash

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


More information about the New-bugs-announce mailing list