-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Deprecate is_* functions. #12824
Comments
This comment has been minimized.
This comment has been minimized.
comment:1
Attachment: remove_is.py.gz |
Attachment: trac12824.patch.gz |
This comment has been minimized.
This comment has been minimized.
Work Issues: rebase |
comment:5
Please rebase your patch. |
comment:11
Most hunks in this monster patch are either already applied or are failing, so I'm uploading what's left. However, docs do not build with this, something is seriously wrong. New commits:
|
Changed work issues from rebase to docs do not build |
Commit: |
Changed work issues from docs do not build to split patch, docs do not build |
comment:12
This should be split up, at least in a |
This comment has been minimized.
This comment has been minimized.
comment:13
You cannot just remove functions without deprecation first. |
comment:14
I think the split up should done in a different way:
|
This comment has been minimized.
This comment has been minimized.
comment:16
superseded by Meta-ticket #32414 |
Changed author from Jim Stark to none |
Reviewer: Dima Pasechnik |
As discussed here: http://groups.google.com/group/sage-devel/browse_thread/thread/e8c2470e270f616b/c760f4a79d28f467?lnk=gst&q=is_#, functions of the form is_SomeName(x) should be deprecated.
This patch removes 106 of them and replaces them with calls to isinstance. The patch was created by running the attached python script. It searches through the source for functions of the form
where SomeName is the class of a Sage object, deletes them, and replaces any calls with calls to isinstance. After the script ran I made sure sage built, passed all its tests, and I looked through the diff to make sure nothing silly happened.
CC: @nilesjohnson
Component: misc
Keywords: is_functions
Work Issues: split patch, docs do not build
Branch/Commit: u/rws/delete_some_of_the_depreciated_is___functions_ @
4236760
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/12824
The text was updated successfully, but these errors were encountered: