Support Python 3.8.#41
Conversation
| arg = (self._arg if isinstance(self._arg, int) else | ||
| 0 if self._opcode >= _opcode.HAVE_ARGUMENT else None) | ||
| return dis.stack_effect(self._opcode, arg) | ||
| 0 if self._opcode >= _opcode.HAVE_ARGUMENT else None) |
There was a problem hiding this comment.
Done. Also duplicated tests for 3.8.
674cb26 to
e5a2872
Compare
Codecov Report
@@ Coverage Diff @@
## master #41 +/- ##
=========================================
Coverage ? 92.99%
=========================================
Files ? 17
Lines ? 2655
Branches ? 0
=========================================
Hits ? 2469
Misses ? 186
Partials ? 0
Continue to review full report at Codecov.
|
|
This was broken by #43 |
|
@serhiy-storchaka could you point me to the bpo discussing the changes in the bytecode that require to change the tests (for my own education) ? |
61f6731 to
608882d
Compare
|
This is mainly https://bugs.python.org/issue17611 (PR python/cpython#5006). |
608882d to
29ba6aa
Compare
|
I will merge now and open a new issue for updating the documentation. Thanks @serhiy-storchaka |
No description provided.