docs: Maximum size of pencode values

This commit is contained in:
Alex Willmer 2018-03-12 19:39:34 +00:00 committed by David Wilson
parent e24db89f3a
commit a1fc21bb06
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ As with Execnet it includes its own serialization - pencode_ supports
pencode lacks support for arbitrary classes. Byte strings require special
treatment if they contain non-ascii characters. Some primitive types
(e.g. ``complex``), but adding support would be trivial.
(e.g. ``complex``) are not handled. This would be straightforwar to address.
Values are length-prefixed with a 32 bit unsigned integer, meaning values
are limited to 4 billion bytes or items in length.
design is reminiscent of Mitogen in places (Tunnel is practically identical to
Mitogen's Stream), and closer to Execnet elsewhere (lack of uniformity,