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 louielu
Recipients THRlWiTi, ajaksu2, drhok, gpolo, josiahcarlson, kbk, louielu, rhettinger, roger.serwy, terry.reedy
Date 2017-07-18.05:05:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500354317.7.0.0922222751623.issue1442493@psf.upfronthosting.co.za>
In-reply-to
Content
Besides warping text, there has a performance issue inside the RPCServer and Client.

The (console, write, (text, file), {}) command is sent by server `asynccall`->`putmessage`. It should be sent by chunk size to client, and render on IDLE shell.

The result is performed as sent by chunk size, but the client will gather all chunk until it receives all data, then render on IDLE shell.

This cause the shell seems like hanging there, and doing nothing (in REPL, it will output the long string to stdout and so on).

We can manually detect this then manully chunk out (console, write, args, kwargs) command's args size, so that it will look like not hanging there.

The attach patch is a PoC about this.

-----

For the text widget performance, I dislike the wrap method, it shouldn't be a limit to the user on IDLE (GUI IDE), even it can be set to 80 or 100 or whatever.
History
Date User Action Args
2017-07-18 05:05:17louielusetrecipients: + louielu, rhettinger, terry.reedy, kbk, josiahcarlson, drhok, ajaksu2, gpolo, roger.serwy, THRlWiTi
2017-07-18 05:05:17louielusetmessageid: <1500354317.7.0.0922222751623.issue1442493@psf.upfronthosting.co.za>
2017-07-18 05:05:17louielulinkissue1442493 messages
2017-07-18 05:05:17louielucreate