[Zope3-dev] Zope3 bugs found by pychecher
Guido van Rossum
guido@python.org
Fri, 27 Sep 2002 20:38:21 -0400
Neal Norwitz was kind enough to run an experimental version of
pychecker over Zope3. Here are the bugs he's found. Feel free to fix
them!
| lib/python/ZODB/Connection.py:517: No global (POSException) found
| lib/python/Zope/App/Forms/Widget.py:75: No global (CustomWidgets) found
| lib/python/Zope/App/PageTemplate/SimpleViewClass.py:32: No global (NotFound) found
| lib/python/Zope/App/OFS/Services/ServiceManager/ServiceDirective.py:48: No global (removeSecurityProxy) found
| lib/python/Zope/Server/FTP/RecvChannel.py:84: No global (socket) found
| lib/python/Zope/Misc/GetDescr.py:21: No global (AttributError) found
|
| The Attribut Error is my favourite. :-)
(It may be Neal's favorite, but I don't understand why it's a bug.)
| This may be a bug:
|
| lib/python/Zope/App/ComponentArchitecture/metaConfigure.py:197:
| Invalid arguments to (view), got 3, expected between 4 and 9
|
| The problem is that factory is not passed in.
| Is it guaranteed to be in **kw?
--Guido van Rossum (home page: http://www.python.org/~guido/)