[Checkins] [zopefoundation/ZEO] 6e6831: Don't pickle errors.
    GitHub 
    noreply at github.com
       
    Mon Aug  8 14:10:21 CEST 2016
    
    
  
  Branch: refs/heads/dont-pickle-errors
  Home:   https://github.com/zopefoundation/ZEO
  Commit: 6e683133c8b792ab25b1d1bc9e2d6c1afb02638a
      https://github.com/zopefoundation/ZEO/commit/6e683133c8b792ab25b1d1bc9e2d6c1afb02638a
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 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.
  Commit: 2c7a04f7ad886667951f76a8648844c0ad6c3666
      https://github.com/zopefoundation/ZEO/commit/2c7a04f7ad886667951f76a8648844c0ad6c3666
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)
  Changed paths:
    M src/ZEO/asyncio/client.py
  Log Message:
  -----------
  standard exceptions live in different places in Python 2 and Python 3.
Compare: https://github.com/zopefoundation/ZEO/compare/6e683133c8b7^...2c7a04f7ad88
    
    
More information about the checkins
mailing list