Re: [sqlalchemy] try: except KeyError:

2012-01-27 Thread Michael Bayer
that was likely for performance yes. On Jan 25, 2012, at 5:04 PM, Kent wrote: At some point you changed the InstrumentedAttribute.get() method from try: return dict_[self.key] except KeyError: ... To this: 432 - def get(self, state, dict_, passive=PASSIVE_OFF): 433

[sqlalchemy] New error in table inheritance in 0.7.4

2012-01-27 Thread Fayaz Yusuf Khan
This simple inheritance mapping script (attached) would work in version 0.7.3 but not in 0.7.4. In the new version it would raise an ArgumentError: Traceback (most recent call last): File inheritance_discriminator.py, line 22, in module class PhoneContactTimeline(A): File