Skip to content
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

Remove deprecated code #16933

Closed
a-andre opened this issue Sep 4, 2014 · 14 comments
Closed

Remove deprecated code #16933

a-andre opened this issue Sep 4, 2014 · 14 comments

Comments

@a-andre
Copy link

a-andre commented Sep 4, 2014

Remove code deprecated in #7983, #13109, #13605, #13192, #14063.

Component: misc

Keywords: deprecated

Author: André Apitzsch

Branch/Commit: cf77bc2

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/16933

@a-andre a-andre added this to the sage-6.4 milestone Sep 4, 2014
@a-andre
Copy link
Author

a-andre commented Sep 4, 2014

Branch: u/aapitzsch/ticket/16933

@a-andre
Copy link
Author

a-andre commented Sep 4, 2014

Commit: 46f4fdc

@tscrim
Copy link
Collaborator

tscrim commented Sep 4, 2014

comment:2

I'm pretty sure the stuff in integer_list.py is not deprecated yet as it's still needed.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 4, 2014

Changed commit from 46f4fdc to ea330d3

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 4, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

ea330d3revert remove of iterator() and list()

@jdemeyer
Copy link

comment:4

I know I'm being pedantic here...

Explicitly calling Partition._repr_(self, compact=False) hasn't been deprecated so I guess the argument cannot be removed, it should just be totally ignored but not disallowed.

@jdemeyer
Copy link

comment:5

And RootSystem(['A',2]).weight_lattice().pi isn't deprecated either...

@a-andre
Copy link
Author

a-andre commented Oct 12, 2014

comment:6

Replying to @jdemeyer:

And RootSystem(['A',2]).weight_lattice().pi isn't deprecated either...

According to the comment it somehow is deprecated. But I can revert this change.

Replying to @jdemeyer:

Explicitly calling Partition._repr_(self, compact=False) hasn't been deprecated so I guess the argument cannot be removed, it should just be totally ignored but not disallowed.

Do you want me to deprecate the argument?

@jdemeyer
Copy link

comment:7

Replying to @a-andre:

Replying to @jdemeyer:

And RootSystem(['A',2]).weight_lattice().pi isn't deprecated either...

According to the comment it somehow is deprecated. But I can revert this change.

What I meant is that the deprecation warning is commented out in the code for reasons which are not entirely clear to me. I think you should just uncomment that deprecation warning (with ticket number #16933).

Replying to @jdemeyer:

Explicitly calling Partition._repr_(self, compact=False) hasn't been deprecated so I guess the argument cannot be removed, it should just be totally ignored but not disallowed.

Do you want me to deprecate the argument?

Perhaps replace the argument with def _repr(self, compact=None): and then you can do in the code

if compact is not None:

@a-andre
Copy link
Author

a-andre commented Oct 13, 2014

comment:8

Adding a deprecation warning to pi() leads to several failing doctests because of the @lazy_attribute. Removing @lazy_attribute also doesn't help.

Since there is a warning about the deprecation of pi() in documentation for more than 2 years now (see #6588), we should simply remove pi().

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 13, 2014

Changed commit from ea330d3 to cf77bc2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

2e4f269Merge remote-tracking branch 'origin/develop' into depr_func
cf77bc2deprecate compact argument

@jdemeyer
Copy link

Reviewer: Jeroen Demeyer

@vbraun
Copy link
Member

vbraun commented Oct 15, 2014

Changed branch from u/aapitzsch/ticket/16933 to cf77bc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants