Skip to content

Conversation

arnimarj
Copy link

This is a PR which fixes the issues described in #30. It adds a co_code attribute to the Code class, which allows Twisted Failure objects to be created which expects the co_code attribute to exist: https://github.com/twisted/twisted/blob/twisted-18.4.0/src/twisted/python/failure.py#L458

I also updated the .travis installed pypy versions to 6.0.0, for both Python 2 and 3.

In order to make the build succeed, deprecated links in README.rst were updated.

@codecov-io
Copy link

codecov-io commented May 31, 2018

Codecov Report

Merging #35 into master will increase coverage by 0.92%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   87.25%   88.17%   +0.92%     
==========================================
  Files           4        4              
  Lines         204      203       -1     
  Branches       28       27       -1     
==========================================
+ Hits          178      179       +1     
+ Misses         16       15       -1     
+ Partials       10        9       -1
Impacted Files Coverage Δ
src/tblib/pickling_support.py 100% <100%> (ø) ⬆️
src/tblib/__init__.py 91.12% <100%> (+1.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a963527...7d6bded. Read the comment docs.

@ionelmc
Copy link
Owner

ionelmc commented Jun 11, 2018

Hmmm shouldn't there be some sort of backwards compatibility with old pickle format? Any particular reason you reverted bf15d92 ?

@arnimarj
Copy link
Author

Hi. I wasn't sure what the policy was w.r.t. backwards compatibility, or even if it was the appropriate way to handle backwards compatibility. Any thoughts?

@ionelmc
Copy link
Owner

ionelmc commented Jun 11, 2018

Just do a check like in bf15d92 - should be fine I guess.

@arnimarj arnimarj closed this Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants