Hooray. \o/ I'll leave the code commented until I pull the next release.
Cheers, On May 26, 6:03 pm, "Michael Bayer" <mike...@zzzcomputing.com> wrote: > this is all fixed in the current trunk. release probably today as the > issue you have below is more severe than the one I had noticed. > > Bob Farrell wrote: > > > Hi hi. > > > £ diff SQLAlchemy-0.5.2-py2.5.egg/sqlalchemy/exc.py SQLAlchemy-0.5.4p1- > > py2.5.egg/sqlalchemy/exc.py > > 134a135,139 > >> if len(self.params) > 10: > >> return ' '.join((SQLAlchemyError.__str__(self), > >> repr(self.statement), > >> repr(self.params[:2]), > >> '... and a total of %i bound parameters' % > >> len(self.params))) > > > This change is resulting in this problem: > > > File "/home/bob/src/prospectspace/branches/sqlalchemy-eon-merge/ > > prospectspace/commands/pspatch.py", line 1473, in create_user > > print e > > File "/home/bob/src/prospectspace/branches/sqlalchemy-eon-merge/lib/ > > python2.5/site-packages/SQLAlchemy-0.5.4p1-py2.5.egg/sqlalchemy/ > > exc.py", line 138, in __str__ > > repr(self.params[:2]), > > TypeError: unhashable type > > > Which is a little confusing, not sure why any hashing attempt is > > happening there - I'll investigate it further and send a patch > > tomorrow, unless something blaringly obvious stands out to you as to > > what's causing this. > > > Cheers, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---