"Mike Bayer" <[email protected]> writes:

> Range is a really simple dataclass so adding a few simple value
> methods contains_value(), issubset(), issuperset() is a PR (with
> tests) away. there's no need to "proxy" things, these are pretty
> obvious methods to just implement directly. I would just disagree with
> psycopg2's more nonsensical methods like `__lt__`, `__gt__`, etc.
>

Thank you for the directions: while I'm not 100% convinced about
avoiding __contains__(), which seems very intuitive and practical, I
will propose a PR soon.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/87ilkb9cvm.fsf%40metapensiero.it.

Reply via email to