It is not that simple. zero='' was introduced about one year ago because of popular demand at the time and very few people spoke against it. If you change it now you revert to the behavior you had one year ago but most recent applications will change behavior.
This consultation should have a deadline. Massimo On Mar 24, 9:43 am, Iceberg <iceb...@21cn.com> wrote: > On Mar23, 2:29pm, weheh <richard_gor...@verizon.net> wrote: > > > Thadeus, it's 6 of one, half-dozen of the other to me. I use both. So > > in theory, it doesn't really matter which is the default. Therefore, I > > prefer that the default remain whatever it currently is so that I > > don't have to change any of my code. > > To those who use either zero=None or zero='' fifty-fifty, or who > always specify zero=something explicitly, > > Congratulations, because you are lucky enough that you don't need to > care the vote result very much. However, in this case, it is not about > what you choose, it is about what you believe. > > First of all, we should know that it was zero=None at the very > beginning when this feature was invented. Somehow, later it changed to > zero='' or zero='something else' back and forth. > > Now, do you believe, from the backward-compatible point of view, we > should choose a default value which is compatible with the old > versions even without zero=... being invented? If you do believe, you > should choose zero=None. > > Do you believe, from a minimum-changing-code point of view, this > efficiency appeal should not only apply for you, whom might > coincidentally start using web2py after it is in zero!=None era, but > also apply for all the developers whom already finish more or less > legacy apps even before the zero=... was invented? If you do believe, > you should choose zero=None. > > Do you believe, from a community point of view, we should not allow > such a precedent that, an arguable and non-backward-compatible feature > creep in, and then stay as-is just because "it already happen anyway"? > That is not wise. If you do believe, you should choose zero=None. > > It is now! Let's just end the debate. > I want you to > vote.http://www.collegelax.us/news/wp-content/uploads/2009/01/i-want-you-t... > > Sincerely, > Iceberg -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.