Uh oh!
There was an error while loading. Please reload this page.
adapt to Python3.8 with PEP570 - #267
Conversation
.... please update also vendored joblib
Codecov Report
@@ Coverage Diff @@## master #267 +/- ##
=========================================
- Coverage 88.22% 87.9% -0.32%
=========================================
Files 1 1 Lines 552 554 +2 Branches 112 113 +1 =========================================
Hits 487 487 - Misses 42 43 +1 - Partials 23 24 +1
Continue to review full report at Codecov.
|
stonebig
commented
May 11, 2019
if you want to be more precise, test should be "if sys.version_info > (3, 8, 0, 'alpha', 3):" as in https://github.com/ipython/ipython/pull/11720/files#diff-1c766d4a0b1ea9ed8b2d14058b8234ab |
ogrisel
left a comment
There was a problem hiding this comment.
This LGTM. I am not sure we really need to distinguish alpha releases though. Maybe sys.version_info >= (3, 8) is enough.
Any opinion on this change @pierreglaser?
| (), | ||
| ) | ||
| if sys.version_info > (3, 8, 0, 'alpha', 3): |
There was a problem hiding this comment.
maybe hasattr(types.CodeType, "co_posonlyargcount")?
This whole part of the code is only useful for versions of python before PEP 3104. For recent python version (python3?), |
ogrisel
commented
May 14, 2019
Closing in favor of #269. |
.... please update also vendored joblib