Antoine Pitrou added the comment:

As the comment just above that line says, this is for wire compatibility with 
older Python versions.

But we could have an escape hatch: a special value of the length (which happens 
to be encoded as a signed integer), such as -64, which would signal a following 
64-bit length field.  Would you like to submit a PR?

----------
nosy: +davin, pitrou
stage:  -> needs patch
type:  -> enhancement
versions: +Python 3.7 -Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30685>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to