On 1/31/07, Christoph Haas <[EMAIL PROTECTED]> wrote: > > On Wednesday 31 January 2007 09:12, Daniel NĂ©ri wrote: > > Note that raising of strings as exceptions is deprecated in Python > > 2.5[*] and triggers a warning. > > Thanks for the pointer. I already wondered why some people already use > '''raise Exception, "blah blah"'''
I'm guessing that this is what you want in this case: raise ValueError("msg...") > I currently attempt to rewrite the paginator anyway and hope to come up > with more than this trivial patch. Last evening I used to learn about > partials and closures. Today the real work continues. :) Curry is good, partial is better, and closures are *the bomb*! -jj -- http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---