Telethon/telethon/network
Lonami Exo 33ce702ab9 Pre-pack outgoing TLMessage
This has several benefits:
- The message can be resent without re-calling bytes(),
  which for some requests may be expensive.
- Converting requests to bytes early lets us detect
  errors early, such as OverflowError on bad requests.
- Containers can't exceed 1044456 bytes so knowing their
  length is important. This can now be done in O(1).

But also several drawbacks:
- If the object is modified the bytes won't reflect this.
  This isn't an issue because it's only done for in msgs.
- Incoming messages can no longer be reconverted into
  bytes but this was never needed anyway.
2018-07-07 11:46:21 +02:00
..
connection Pump up default timeout from 5 to 10s 2018-06-17 11:46:56 +02:00
__init__.py Create auth_key if not present 2018-06-07 16:32:12 +02:00
authenticator.py More useful messages from authenticator.py 2018-06-26 11:32:09 +02:00
mtprotoplainsender.py Update mtprotoplainsender.py asserts 2018-06-28 09:48:03 +02:00
mtprotosender.py Pre-pack outgoing TLMessage 2018-07-07 11:46:21 +02:00
mtprotostate.py Pre-pack outgoing TLMessage 2018-07-07 11:46:21 +02:00