Sorry guys, didn't even think about the python complex number object. Perhaps just COMPLEXITY? So you could say: db.mytable.passwd.requires=[COMPLEXITY(),CRYPT()]
I too doubt that anyone has put this into use except me. On Jun 18, 3:17 am, Iceberg <[email protected]> wrote: > Interesting. > > I fully understand and like the backward-compatible policy of web2py. > But in this case, in this moment, I assume there aren't many people > download 1.64.2 yet, and only Mr. Freeze is using the IS_COMPLEX. So, > it is not too late now to change it to a more proper name. Otherwise, > I think the ambiguous even misleading name could be an issue in long > term. > > Just my $0.02 > > On Jun18, 1:37pm, mdipierro <[email protected]> wrote: > > > Good point but now it made it into stable. I doubt this will be an > > issue. > > > On Jun 18, 12:15 am, Markus Gritsch <[email protected]> wrote: > > > > Well, IS_COMPLEX is not a good name since Python has a complex > > > datatype: e.g. 3+5j and one could assume it is tested for this. > > > > Markus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

