[issue6326] Add a "swap" method to list

Adam Olsen report at bugs.python.org
Wed Jul 1 01:52:52 CEST 2009


Adam Olsen <rhamph at gmail.com> added the comment:

Fix it at its source: patch your database engine to use the type you
want.  Or wrap the list without subclassing (__iter__ may be the only
method you need to wrap).

Obscure performance hacks don't warrant language extensions.

----------
nosy: +Rhamphoryncus

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6326>
_______________________________________


More information about the Python-bugs-list mailing list