[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - Fixed regression where using a ``functools.partia
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-01-04 05:36:48
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/c450cd6cb6d0/ Changeset: c450cd6cb6d0 Branch: master User: zzzeek Date: 2014-01-04 06:35:48 Summary: - Fixed regression where using a ``functools.partial()`` with the event system would cause a recursion overflow due to usage of inspect.getargspec() on it in order to detect a legacy calling signature for certain events, and apparently there's no way to do this with a partial object. Instead we skip the legacy check and assume the modern style; the check itself now only occurs for the SessionEvents.after_bulk_update and SessionEvents.after_bulk_delete events. Those two events will require the new signature style if assigned to a "partial" event listener. [ticket:2905] Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |