[Checkins] [zopefoundation/ZEO] 2d7987: Don't pickle errors.

GitHub noreply at github.com
Fri Aug 5 16:11:59 CEST 2016


  Branch: refs/heads/dont-pickle-errors
  Home:   https://github.com/zopefoundation/ZEO
  Commit: 2d7987685dc3fc2791c2950e822772d6e79aab84
      https://github.com/zopefoundation/ZEO/commit/2d7987685dc3fc2791c2950e822772d6e79aab84
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-05 (Fri, 05 Aug 2016)

  Changed paths:
    M src/ZEO/Exceptions.py
    M src/ZEO/asyncio/client.py
    M src/ZEO/asyncio/server.py

  Log Message:
  -----------
  Don't pickle errors.

Don't send errors as pickles. Send error names and class dict or arguments.

This is a step toward eliminating instance pickles from the ZEO protocol.

This is much messier than I'd like it to be because of the way both
python and ZEO handle exceptions.




More information about the checkins mailing list