New submission from jiawei zhou <jw.brifut...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue36690> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com