Check interface implementations for correct argument names

Bug #1242341 reported by Richard Wall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twistedchecker
New
Undecided
Unassigned

Bug Description

For example, FilePath.child, IFilePath.child and ZipFile.child use different argument names, which means that you can't be certain that it is safe to call the child method with keyword arguments.

 * https://twistedmatrix.com/documents/current/api/twisted.python.filepath.IFilePath.html#child
 * https://twistedmatrix.com/documents/current/api/twisted.python.filepath.FilePath.html#child
 * https://twistedmatrix.com/documents/current/api/twisted.python.zippath.ZipArchive.html#child
 * https://twistedmatrix.com/documents/current/api/twisted.python.zippath.ZipPath.html#child

Maybe it would also be a good idea for twistedchecker to automatically to zope.interface.verify.verifyClass tests, except that would require actually importing the module.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.