In April (revision 685) Douglas ported web2py to 2.4 and all try...except...finally were fixed. The problem is that new utils.py and validators.py broke. I am confident there are no problem with the other files.
Massimo On Aug 24, 10:07 am, "mr.freeze" <nat...@freezable.com> wrote: > Also, the syntax of try/except/finally was changed from 2.4 to 2.5 so > all of those would need to be changed to make 2.4 work. Not worth it > in my opinion as there are other roadblocks to getting web2py working > on 2.4. For my selfish purposes, the CRYPT patch gets me working on > Dreamhost's outdated 2.5 > install.http://en.wikibooks.org/wiki/Python_Programming/Exceptions#Trying_ove... > > On Aug 24, 9:42 am, "mr.freeze" <nat...@freezable.com> wrote: > > > Is it just that hashlib isn't included in Python > > 2.4?:http://pypi.python.org/pypi/hashlib/20060408ahttp://pypi.python.org/p... > > > On Aug 24, 4:33 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > I added Mr Freeze patch to CRYPT so that you can specify the > > > digest_alg. > > > > Can somebody please look into usage of hashlib and send me a patch > > > that makes it work with python 2.4? I thnk the utils.py file breaks > > > with Python 2.4 and it should not. > > > > Massimo- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---