]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Check for __module__ not present in util.wrap_callable()
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Oct 2016 17:26:35 +0000 (13:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Oct 2016 17:26:35 +0000 (13:26 -0400)
commit665b92d83f3a93d8df54338a35f2b3e70e7f21a0
tree064340abd9aec00f989aa39c2453144bc15af536
parent055b207a9f80e1899a30cce8d11e79eb1136612a
Check for __module__ not present in util.wrap_callable()

The newly added wrap_callable() function assumes __module__
is present when this is not the case for objects such as
functools.partial.

Change-Id: Ia226260e9a65419e26d5c1f7187512f7fd4bb7c1
Fixes: #3823
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/util/langhelpers.py
test/base/test_utils.py