-
-
Notifications
You must be signed in to change notification settings - Fork 192
Support recursive and empty closure cells #443
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
fce797e
Fix #229
anivegesana ec190ea
.get still fails when index is unhashable
anivegesana e6decfe
Cells are not allowed to change before 3.7
anivegesana 8e1cda7
Uncomment test cases if Python > 3.7
anivegesana 007f209
Add more complex test case
anivegesana 2199ff6
Spooky edits at a distance
anivegesana 2c5d2fa
Wrap in exec to prevent syntax errors in Python 2
anivegesana 4ae150c
Fix testcase
anivegesana e33335e
Test impossible in Py2
anivegesana bb16131
Small correction
anivegesana 56fcc30
Correct the correction
anivegesana 42a93dc
Add Python 2 support
anivegesana c1566c5
Turn feature on for Python 2
anivegesana 9b56c97
Prefer function over object when possible
anivegesana 419302a
Add changes from review
anivegesana 36aa9ad
Turn off test_circular_reference for Python 2
anivegesana eb32824
Reformat and support empty cells
anivegesana 64187c9
Solve some more versioning issues
anivegesana 436e499
Add shim that chooses the correct function at unpickling
anivegesana 2c30436
Avoid pickling dill._dill
anivegesana 093d9ca
Small correction
anivegesana 8ea0e26
This is why dill._dill would try to pickle
anivegesana 15908d3
Add shim for reference cells
anivegesana 14bde51
Copy functions for sentinel
anivegesana 9eafe55
Recursive function cells
anivegesana 50bbc91
Turn on test case for Python 3 only
anivegesana 03fde84
Cell manipulation on PyPy 2.7
anivegesana c034126
Not possible in PyPy 2.7
anivegesana 2921143
Correctly remove test case
anivegesana fc711c8
Fix coverage
anivegesana 5568e79
PyPy 2.7 Attempt 3
anivegesana 9ae9552
Fix small issue
anivegesana fe842e0
Clean up _create_cell
anivegesana ac94321
Empty cells in PyPy2
anivegesana 5b60c92
Only two _create_cell functions
anivegesana 71c9aaa
Fixes from review
anivegesana dfdfc40
Was probably not a good idea
anivegesana 8692e5d
Split part of Shim into GetAttrShim
anivegesana 980241a
Strange issue with exec in PyPy3.6
anivegesana 7d41c79
Better _shims.py
anivegesana c6ea843
Rename cell_stack back to postproc
anivegesana 89c1487
Add _CELL_EMPTY to Python 3 in case it makes cPickle implementation e…
anivegesana bd350b6
Add postproc_list to _save_with_postproc
anivegesana 181aa4a
Recursive functions and warnings
anivegesana a7797cb
Better warning messages
anivegesana e2a3b98
Remove words "perfectly" and "would"
anivegesana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.