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

lib-deprecated #42863

Closed
jimjjewett mannequin opened this issue Feb 3, 2006 · 4 comments
Closed

lib-deprecated #42863

jimjjewett mannequin opened this issue Feb 3, 2006 · 4 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@jimjjewett
Copy link
Mannequin

jimjjewett mannequin commented Feb 3, 2006

BPO 1423082
Nosy @birkenfeld

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 = None
closed_at = <Date 2006-03-06.19:26:36.000>
created_at = <Date 2006-02-03.00:20:19.000>
labels = ['type-feature', 'library']
title = 'lib-deprecated'
updated_at = <Date 2006-03-06.19:26:36.000>
user = 'https://bugs.python.org/jimjjewett'

bugs.python.org fields:

activity = <Date 2006-03-06.19:26:36.000>
actor = 'jimjjewett'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2006-02-03.00:20:19.000>
creator = 'jimjjewett'
dependencies = []
files = []
hgrepos = []
issue_num = 1423082
keywords = []
message_count = 4.0
messages = ['54716', '54717', '54718', '54719']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'sf-robot', 'jimjjewett']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1423082'
versions = []

@jimjjewett
Copy link
Mannequin Author

jimjjewett mannequin commented Feb 3, 2006

obsolete modules are moved to lib-old.

deprecated modules remain in the library.

This makes the search for a relevant library more
difficult. People browsing the code may not realize
that they are deprecated. (Example, I found no notice
of deprecation within the code for rfc822.) Even when
the notice is there, the modules add to the number of
alternatives, which hurts One-Obvious-Way-To-Do-It.

If these modules were moved to a deprecated directory,
these problems would be greatly reduced. (Ensure
backwards compatibility by leaving the deprecated
directory on the search path.)

@jimjjewett jimjjewett mannequin closed this as completed Feb 3, 2006
@jimjjewett jimjjewett mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Feb 3, 2006
@jimjjewett jimjjewett mannequin closed this as completed Feb 3, 2006
@jimjjewett jimjjewett mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Feb 3, 2006
@birkenfeld
Copy link
Member

Logged In: YES
user_id=1188172

I think it's common practise to add a DeprecationWarning to
those modules which are deprecated since one or two
releases. That should be enough reminder.

You should be reading the docs anyway :)

@sf-robot
Copy link
Mannequin

sf-robot mannequin commented Mar 4, 2006

Logged In: YES
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

@jimjjewett
Copy link
Mannequin Author

jimjjewett mannequin commented Mar 6, 2006

Logged In: YES
user_id=764593

Reading the docs is not a bad thing, but they aren't always
convenient when developing, and the code itself should be
correct too.

Moving them out of the standard library (and possibly the
idlelib module search) will make them less of an attractive
nuisance; at the least, it will save people the effort of
looking them up and then backing out.

@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
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant