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.

classification
Title: telnetlib process_rawq() callback
Type: enhancement Stage: patch review
Components: IO Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: SilentGhost, giampaolo.rodola, goztrk
Priority: normal Keywords: patch

Created on 2019-03-30 02:11 by goztrk, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 12623 closed python-dev, 2019-03-30 02:43
PR 29052 open goztrk, 2021-10-19 07:13
Messages (3)
msg339166 - (view) Author: Gökhan Öztürk (goztrk) * Date: 2019-03-30 02:11
telnetlib.Telnet class requires a callback so that the raw data that comes from socket can be processed first.

This will be useful for the compressed incoming data. Most of the MUD servers have MCCP V2 (byte: 86) protocol that send compressed data. But as for now. the only option is to create new class that inherits telnetlib.Telnet and override process_rawq()
msg339383 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-04-03 08:38
As a general rule, your PR would have to include documentation (including a NEWS entry) and tests for the new functionality. Naturally, by itself it's not a guarantee that this suggestion would be accepted.
msg404272 - (view) Author: Gökhan Öztürk (goztrk) * Date: 2021-10-19 07:26
Made updates, tests for this old issue.
History
Date User Action Args
2022-04-11 14:59:13adminsetgithub: 80662
2021-10-20 23:14:20goztrksetversions: + Python 3.11, - Python 3.8
2021-10-19 07:26:27goztrksetmessages: + msg404272
2021-10-19 07:13:53goztrksetpull_requests: + pull_request27323
2019-04-03 08:38:00SilentGhostsetnosy: + SilentGhost, giampaolo.rodola

messages: + msg339383
versions: + Python 3.8, - Python 3.7
2019-03-30 02:43:58python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12557
2019-03-30 02:11:13goztrkcreate