[python-ldap] PEP 484 -- Type Hints for python-ldap?
Philipp Hahn
hahn at univention.de
Wed Jul 1 12:34:50 EDT 2020
Hello,
Am 29.06.20 um 12:04 schrieb Jens Vagelpohl:
>> On 29. Jun 2020, at 11:26 , Christian Heimes <christian at python.org> wrote:
>>
>> On 29/06/2020 10.04, Philipp Hahn wrote:
>>> Sadly "python-ldap" does not yet seem to contain those annotations nor
>>> am I aware of any project doing that.
>>
>> One personal note:
>> I don't like how you phrased 'Sadly "python-ldap" does not yet seem to
>> contain those annotations'. It feels like you are putting emotional
>> pressure on us and shaming us for not providing more free labor. It was
>> probably not your intention, but I still like to point out that the
>> prase is problematic.
>
>
> I am sure there wasn’t any specific negative intent here, but I am
> 1000% behind your sentiment that many people have a serious lack of
> appreciation for the work others do in their spare time. This issue
> comes up again and again in the projects I help maintain.
Sorry if my use of "sadly" put emotional pressure on you, that was not
my intention. I use `mypy` a lot and for our product "Univention
Corporate Server" (UCS) "python-ldap" plays an important role, so I/we
very much appreciate the work you're doing. As we use "python-ldap" a
lot, I get lots of "warnings" about missing types, so this was the part
which made me sad.
I/we have been contributing back to "python-ldap" in the past already
and will still do so, which was my motivation to ask if
- that work would be appreciated
- someone other was already doing it as to not waste time on double
implementing this.
I have worked on adding those type annotation to other projects in the
past, and they were gladly accepted by the "typeshed" project, but one
of my other projects to add those annotations to "libvirt-python" is
currently (and since some time) stalled, which is not that motivating.
They were/are also currently in a transition to Python-3-only parallel
to the switch from GitHub to GitLab, so the reasons are somehow known to
me. Still it sucks.
So Thank you all again for python-ldap, keep up the excellent work.
Philipp Hahn
PS: I'm getting payed to work on UCS, but contributing type annotation
is not my main work and I do most of it in my unpaid overdue and spare
times.
More information about the python-ldap
mailing list