From a1fc21bb06da6d6b9ab648a895ed5cc2e16dfe21 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Mon, 12 Mar 2018 19:39:34 +0000 Subject: [PATCH] docs: Maximum size of pencode values --- docs/compared.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/compared.rst b/docs/compared.rst index 2f5279ec..b75ae3f2 100644 --- a/docs/compared.rst +++ b/docs/compared.rst @@ -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,