Re: [sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Mike Bayer
On Sun, Oct 23, 2022, at 5:04 AM, Lele Gaifax wrote: > Lele Gaifax writes: > > > I will propose a PR soon. > > An ethical concern: given that the proposed methods are so simple, is it > legal/acceptable to verbatim copy them, and their tests, from the > psycopg (LGPL) and asyncpg (Apache licen

Re: [sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Mike Bayer
On Sun, Oct 23, 2022, at 4:13 AM, Lele Gaifax wrote: > "Mike Bayer" 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

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Lele Gaifax
Lele Gaifax writes: > I will propose a PR soon. An ethical concern: given that the proposed methods are so simple, is it legal/acceptable to verbatim copy them, and their tests, from the psycopg (LGPL) and asyncpg (Apache license)? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Lele Gaifax
"Mike Bayer" 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 > p