This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jiawei zhou
Recipients jiawei zhou
Date 2019-04-21.12:52:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555851175.4.0.109460284038.issue36690@roundup.psfhosted.org>
In-reply-to
Content
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].
History
Date User Action Args
2019-04-21 12:52:55jiawei zhousetrecipients: + jiawei zhou
2019-04-21 12:52:55jiawei zhousetmessageid: <1555851175.4.0.109460284038.issue36690@roundup.psfhosted.org>
2019-04-21 12:52:55jiawei zhoulinkissue36690 messages
2019-04-21 12:52:55jiawei zhoucreate