Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I have made this PR because functional style looks to me more for this kind of 
tasks. For every serialization or deseralization we have a distinct set of 
functions with common state. The state can be passes between functions as 
attributes of a one-time object or as non-local variables. The latter looks 
syntactically cleaner to me and, as a side effect, is faster.

----------

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

Reply via email to