Bugs item #1247765, was opened at 2005-07-29 23:37 Message generated for change (Comment added) made by hoffmanm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1247765&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jürgen Hermann (jhermann) Assigned to: Nobody/Anonymous (nobody) Summary: "new" not marked as deprecated in the docs Initial Comment: While >>> help('new') shows the deprecation of this module starting with 2.3, the docs at http://www.python.org/doc/current/lib/module-new.html don't. Shouldn't they? ---------------------------------------------------------------------- Comment By: Michael Hoffman (hoffmanm) Date: 2005-08-03 09:12 Message: Logged In: YES user_id=987664 When searching Python-dev all I could find was discussion over the eventual deprecation of types. If you deprecate the types module you still need a way to access the five types exposed in new. new is not listed in PEP 4 (Deprecation of Standard Modules). ---------------------------------------------------------------------- Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-08-03 08:51 Message: Logged In: YES user_id=1188172 Shouldn't it be deprecated? Look at the code in new.py. The only thing I can say in favour of new is that new.instancemethod() is prettier and clearer than types.MethodType(). ---------------------------------------------------------------------- Comment By: Michael Hoffman (hoffmanm) Date: 2005-08-03 08:16 Message: Logged In: YES user_id=987664 The new module should not be deprecated yet; it is help("new") that should be fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1247765&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com