.. -*- coding: utf-8 -*- Ticket #88845 troubles with modulo operator (%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: rejected Having both % as modulo operator and substitutions with %(foo)s seems to cause trouble. Using %% currently means rql.parse fails, and using a single % breaks cubicweb's rql2sql. This could probably be fixed in cw, but it may be better to change rql's syntax to use %% as the modulo operator instead? Comments :: On 2012/02/15 16:49 - jcristau wrote : (or deprecate the operator and make it a function instead) On 2012/02/15 16:50 - acampeas wrote : mod(x, y)