]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove unnecessary tuple; prepare for "iterator" verbiage
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Feb 2020 14:01:36 +0000 (09:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Feb 2020 17:58:09 +0000 (12:58 -0500)
commit60f2e841c8540490abfe77f39dd8027a7ddf735b
treee783bda3d36729f42112457cd67067522118e0af
parent8c9537d37292459d348214fb8befa85d9cb64059
Remove unnecessary tuple; prepare for "iterator" verbiage

Remove a tuple surrounding a generator expression that
is immediately iterated in any case.   Additionally
note that the bulk methods can likely accept non-list
objects such as arbitrary iterables, however without test
coverage this is not yet guaranteed; use the term "sequence"
for now.

Also added a warmup to a cache key profiling test to get
consistent results.

Fixes: #5163
Change-Id: If838fe214da574763115855c1a65171533c96e64
lib/sqlalchemy/orm/session.py
test/aaa_profiling/test_misc.py
test/profiles.txt