Telethon/telethon
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
..
client Fix hachoir don't close files by itself (#875) 2018-06-29 16:45:18 +02:00
crypto Fix connect not saving different authkeys 2018-06-26 16:20:30 +02:00
errors Remove underscore from module names 2018-06-18 21:02:42 +02:00
events Update to v1.0 2018-06-27 13:41:20 +02:00
extensions Don't remove reader if fd == -1 2018-06-30 13:26:28 +02:00
network Pre-pack outgoing TLMessage 2018-07-07 11:46:21 +02:00
sessions Explicitly open files as 'r' instead of leaving it out 2018-06-29 11:34:57 +02:00
tl Pre-pack outgoing TLMessage 2018-07-07 11:46:21 +02:00
__init__.py Include TAKEOUT_INIT_DELAY_X in the available errors 2018-06-27 09:46:14 +02:00
helpers.py Avoid cyclic imports on older Python versions 2018-06-29 11:04:42 +02:00
sync.py Syncify async generators too 2018-06-27 09:34:35 +02:00
updatestate.py Remove underscore from module names 2018-06-18 21:02:42 +02:00
utils.py Update to layer 82 2018-06-29 13:23:56 +02:00
version.py Update to v1.0.3 2018-07-04 15:41:11 +02:00