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

operator.*slice() should be deprecated in 2.6 #47421

Closed
scoder opened this issue Jun 22, 2008 · 2 comments
Closed

operator.*slice() should be deprecated in 2.6 #47421

scoder opened this issue Jun 22, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir

Comments

@scoder
Copy link
Contributor

scoder commented Jun 22, 2008

BPO 3171
Nosy @birkenfeld, @scoder

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-12-05.15:42:21.802>
created_at = <Date 2008-06-22.05:51:38.063>
labels = ['library', 'docs']
title = 'operator.*slice() should be deprecated in 2.6'
updated_at = <Date 2008-12-05.15:42:21.801>
user = 'https://github.com/scoder'

bugs.python.org fields:

activity = <Date 2008-12-05.15:42:21.801>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-12-05.15:42:21.802>
closer = 'georg.brandl'
components = ['Documentation', 'Library (Lib)']
creation = <Date 2008-06-22.05:51:38.063>
creator = 'scoder'
dependencies = []
files = []
hgrepos = []
issue_num = 3171
keywords = []
message_count = 2.0
messages = ['68558', '77034']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'scoder']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue3171'
versions = ['Python 2.6']

@scoder
Copy link
Contributor Author

scoder commented Jun 22, 2008

operator.delslice() and friends were removed in Python 3.0, as the
underlying object methods no longer exist. In the same way that the
slicing special methods were deprecated in favour of the item methods
should the functions in the operator module be deprecated (or at least
receive a warning that they will disappear in future interpreter versions).

@scoder scoder added docs Documentation in the Doc dir stdlib Python modules in the Lib dir labels Jun 22, 2008
@birkenfeld
Copy link
Member

Documented as deprecated in r67581.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

2 participants