-
Notifications
You must be signed in to change notification settings - Fork 35
Fix PyPy/twisted incompatibility #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…h the expected attrubutes of Code objects
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
Hmmm shouldn't there be some sort of backwards compatibility with old pickle format? Any particular reason you reverted bf15d92 ? |
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? |
Just do a check like in bf15d92 - should be fine I guess. |
This is a PR which fixes the issues described in #30. It adds a
co_code
attribute to theCode
class, which allows TwistedFailure
objects to be created which expects theco_code
attribute to exist: https://github.com/twisted/twisted/blob/twisted-18.4.0/src/twisted/python/failure.py#L458I 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.