A short discussion from #sqlalchemy at freenode: [09:48] < filip> hi, could somebody please run http://filip.eu.org/sqlawtf.py and tell me whether an exception is being raised?
[09:49] < filip> because on my machines it is, and on zzzeek's it is not... [09:55] < stepz_> filip: I looked at that a bit, it's some dict ordering thing [09:56] < stepz_> 50:50 chance of it failing depending on exact system config [09:56] < stepz_> small modifications, or just repeatedly running that in a single interpreter will make it fail [09:58] < stepz_> the issue is that while Task.result.impl is not DeliveryTask.result.impl, Task.result.impl.extensions is DeliveryTask.result.impl.extensions [09:58] < stepz_> I didn't find at a glance where ScalarAttributeImpl.extensions gets populated so couldn't track the reason [09:59] < stepz_> but maybe jek or zzzeek can make something of that [09:59] < filip> stepz_: it's done this way according to zzzeek's suggestion from the ML [09:59] < jezier> stepz_: i've traced filips code to sqlalchemy/orm/strategies.py _register_attribute [10:00] < jezier> stepz_: in for m in mapper.polymorphic_iterator(): you get random order i think bye, Filip Zyzniewski Tefnet --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---