[Patches] [Patch #101250] Use '*args' instead of providing defaults in User*.py
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 18 Oct 2000 07:44:16 -0700
Patch #101250 has been updated.
Project:
Category: library
Status: Open
Summary: Use '*args' instead of providing defaults in User*.py
Follow-Ups:
Date: 2000-Aug-21 09:30
By: twouters
Comment:
Use the '*args' construct rather than providing function defaults that are passed on to the underlying datatype, in the UserList, UserDict and UserString modules. Note: UserString.encode() might like a **kwargs argument as well, I don't know how it's used.
-------------------------------------------------------
Date: 2000-Aug-21 17:27
By: tim_one
Comment:
Postponed, unless you can justify why this should be considered a bugfix instead of a new feature.
I confess I don't see the point even as a feature: the list etc interfaces are well-defined, and aren't *meant* to support arbitrary collections of signatures. Passing on arbitrary *args *will* have the effect of making tracebacks more confusing when things finally get down to the level where the concrete implementation finally gets a chance to complain about a goofy arglist.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101250&group_id=5470