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

Created on 2019-03-30 02:11 by Quanthir, last changed 2019-04-03 08:38 by SilentGhost.

Pull Requests
URL Status Linked Edit
PR 12623 open python-dev, 2019-03-30 02:43
Messages (2)
msg339166 - (view) Author: Gökhan Öztürk (Quanthir) * 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.
History
Date User Action Args
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:13Quanthircreate