Hi,

With the results show by Sharoon about namedtuple, I thought about an other
change which is to force to put the logical operator on each set of argument
instead of having implicit 'AND'.

So where are the advantages?

- we have at some place tests to differentiate between list and tuple to know
  if we have an operand or a clause. These tests are not very flexible nor
  pythonic.
- we could use in many place tuple instead of list which is better for
  performance.
- we could make search as generic as possible to allow to use any iterable
  like Set.
- it will remove the difference between clauses from netrpc and
  xml-rpc/json-rpc.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgplbXeWkQW7G.pgp
Description: PGP signature

Reply via email to