[pytest-dev] [proposal] introducing attrs to the codebase

Ronny Pfannschmidt ronny.pfannschmidt at redhat.com
Tue Dec 6 06:16:27 EST 2016


*resend after mistake*
Hi Bruno,

i was thinking of doing it in the features branch,

as far as i can tell it can be applied to all classes of the
code/traceback, report and node details as well of a lot of mark related
inner details

having low cost classes should also ease de-tangling node mark handling and
keywords

we still should investigate how to use it and if we should vendor it

-- Ronny

2016-12-06 10:52 GMT+01:00 Bruno Oliveira <nicoddemus at gmail.com>:

> Hi Ronny,
>
> Could you list the classes which you think would be changed to use
> 'attrs'? I'm not against adding another dependency if it can help us
> maintain the codebase. Also, introducing a new dependency should be done in
> `3.1.0`, not in a patch release.
>
> Cheers,
> Bruno.
>
> On Tue, Dec 6, 2016 at 5:44 AM Ronny Pfannschmidt <
> opensource at ronnypfannschmidt.de> wrote:
>
>> Hi all,
>>
>> i'd like to introduce https://pypi.python.org/pypi/attrs as a
>> dependency,
>>
>> its a fairly usefull library that takes away quite some boilerplate and
>> common error cause while automatically adding repr, comparators and
>> similar small details to python classes.
>>
>> I have used it in a number of personal projects, and dont want to miss
>> it by now.
>>
>> -- Ronny
>> _______________________________________________
>> pytest-dev mailing list
>> pytest-dev at python.org
>> https://mail.python.org/mailman/listinfo/pytest-dev
>>
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20161206/19808f05/attachment.html>


More information about the pytest-dev mailing list