[Zope-dev] Fwd: Multi-argument append() is illegal

Martijn Pieters mj@digicool.com
Fri, 3 Mar 2000 18:23:42 +0100


From: "Patrick Phalen" <zope@teleo.net>
> Here, courtesy of Tim Peters, is checkappend.py.It might be interesting
> to see if it also turns up eight examples.

It gets you 7, which is one more direct one then I found (my regexp must've
missed the newline
in that one somehow), and 2 that would be missed (as documented). The ones
missed are of the bound method type, like this one:

utilities\FS.py(145):
    self._tappend(oid, here)

where self._tappend is a bound append.

The one more that was found:

ZServer\medusa\asyncore.py(377):
  tbinfo.append (
     tb.tb_frame.f_code.co_filename,
     tb.tb_frame.f_code.co_name,
     str(tb.tb_lineno)
     )

Thanks for that pointer Patrick.

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------