]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use consistent method signature for Alias.self_group()
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 16 Mar 2017 21:28:41 +0000 (17:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Apr 2017 16:14:33 +0000 (12:14 -0400)
commit7bb4923391f98db517dde59d813322a948d10bfe
tree7221ab187fa4307a116d1a6fc3100ad4122515c7
parentb32a0fd286de3cd4cbfd248d74e200985d7e214a
Use consistent method signature for Alias.self_group()

Fixed bug where the use of an :class:`.Alias` object in a column
context would raise an argument error when it tried to group itself
into a parenthesized expression.   Using :class:`.Alias` in this way
is not yet a fully supported API, however it applies to some end-user
recipes and may have a more prominent role in support of some
future Postgresql features.

Change-Id: I81717e30416e0350f08d1e022c3d84656e0a9735
Fixes: #3939
doc/build/changelog/changelog_12.rst
lib/sqlalchemy/sql/selectable.py
test/sql/test_selectable.py