
noreply at sourceforge
Nov 2, 2000, 9:55 AM
Post #4 of 4
(74 views)
Permalink
|
Bug #120082, was updated on 2000-Oct-31 14:20 Here is a current snapshot of the bug. Project: Python Category: Core Status: Closed Resolution: Wont Fix Bug Group: Feature Request Priority: 4 Summary: making vars() more useful Details: It might make sense to change built-in vars() with no arguments. Instead of being equivalent to locals(), it should be equivalent to the following Python code: d = globals().copy() d.update(locals()) Follow-Ups: Date: 2000-Nov-01 07:46 By: jhylton Comment: Is this a feature request (PEP 42) or a bug report? ------------------------------------------------------- Date: 2000-Nov-01 14:30 By: twouters Comment: At Moshe's request, who apparently conferred with Barry, marked closed. A feature request for this has been added to PEP 42. ------------------------------------------------------- Date: 2000-Nov-02 08:55 By: gvanrossum Comment: I disagree. vars() and locals() return a dictionary that might be modified. If you implement what he says, this won't work any more. This is an ill-conceived feature request and should not be honored. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=120082&group_id=5470
|