Repository navigation
CLN drop Cloudpickler's globals_ref attribute - #229
pierreglaser wants to merge 1 commit into
Conversation
Codecov Report
@@ Coverage Diff @@
## master #229 +/- ##
==========================================
- Coverage 84.92% 84.81% -0.11%
==========================================
Files 1 1
Lines 577 573 -4
Branches 114 113 -1
==========================================
- Hits 490 486 -4
Misses 63 63
Partials 24 24
Continue to review full report at Codecov.
|
|
Hum, this is fishy. I wonder if we did not break something that was not tested in the past when doing this series of changes in the handling of base globals. Maybe this is related to @suquark's comment #216 (comment) but I am not sure I understand. |
|
In summary:
Prior to the series of changes (i.e before commit 9a52ba3)
My opinion is that I made two tests that I ran using a version of CloudPickle, with HEAD at a249c44 the first one pass, the second one fails. If modifying the code by removing globals_ref: the two tests fail. After the series of changes (i.e on master)The situation has changed: I think one of the key takeaways of my endeavours is that |
|
Perhaps this is related to my issues at #230? |
|
@TheButlah so far, all the code I posted here was ran on a Linux machine, so I cannot see a clear relation between this and #230. I did not investigate your issue though, and I am sadly not familiar with windows specificities. |
|
I believe we actually want to preserve this. This is now being correctly tested as part of: #240. Let's close this issue. |
Not sure
globals_refis still needed, now thatbase_globalsis simply the function's module name.