view tests/test-check-code.out @ 11628:68a30daead3f stable

inotify: make inotifydirstate.status() returns a tuple of lists. This makes it consistent with dirstate.status(), which is important if there are other extensions messing with the output of status(). Those extensions can safely assume that dirstate.status() returns a tuple of lists, because its docstring says it does. But inotifystatus.dirstate() returns a list of lists, which can break those other extensions.
author Greg Ward <greg-hg@gerg.ca>
date Tue, 20 Jul 2010 14:00:47 -0400
parents f325db39c8b9
children
line wrap: on
line source

./wrong.py:1:
 > def toto( arg1, arg2):
 gratuitous whitespace in () or []
./wrong.py:2:
 >     del(arg2)
 del isn't a function
./wrong.py:3:
 >     return ( 5+6, 9)
 missing whitespace in expression
 gratuitous whitespace in () or []
./quote.py:5:
 > '"""', 42+1, """and
 missing whitespace in expression
./non-py24.py:2:
 > if any():
 any/all/format not available in Python 2.4
./non-py24.py:3:
 >     x = all()
 any/all/format not available in Python 2.4
./non-py24.py:4:
 >     y = format(x)
 any/all/format not available in Python 2.4