From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0D9F13835A for ; Tue, 30 Mar 2021 07:17:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30478E08C3; Tue, 30 Mar 2021 07:17:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1836BE08BD for ; Tue, 30 Mar 2021 07:17:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C94033FEB6 for ; Tue, 30 Mar 2021 07:17:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC42D635 for ; Tue, 30 Mar 2021 07:17:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1617088630.fa00c0d361f4d542dccc74bf52dec18ab944fb11.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autoprop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/autoprop/metadata.xml X-VCS-Directories: dev-python/autoprop/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fa00c0d361f4d542dccc74bf52dec18ab944fb11 X-VCS-Branch: master Date: Tue, 30 Mar 2021 07:17:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 007fa30e-9f1e-47e2-b5d4-f9fcc5e5a450 X-Archives-Hash: f58b7516d6c4991d8c81abfc1b9cbef6 commit: fa00c0d361f4d542dccc74bf52dec18ab944fb11 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 30 07:10:07 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 30 07:17:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa00c0d3 dev-python/autoprop: Add python@ as co-maint Signed-off-by: Michał Górny gentoo.org> dev-python/autoprop/metadata.xml | 44 ++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/dev-python/autoprop/metadata.xml b/dev-python/autoprop/metadata.xml index bf3801e6277..1c5fa89e280 100644 --- a/dev-python/autoprop/metadata.xml +++ b/dev-python/autoprop/metadata.xml @@ -1,26 +1,30 @@ - - 3dprint@gentoo.org - Gentoo 3D Printer Project - - - - Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as - regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, - lazily load data, maintain invariants, or react in any other way to attribute access. + + 3dprint@gentoo.org + Gentoo 3D Printer Project + + + python@gentoo.org + Python + + + + Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as + regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, + lazily load data, maintain invariants, or react in any other way to attribute access. - Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to - do it, but the most common and most succinct requires you to decorate two functions - (with two different decorators) and to type the name of the attribute three times. + Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to + do it, but the most common and most succinct requires you to decorate two functions + (with two different decorators) and to type the name of the attribute three times. - The autoprop module simplifies this process by searching your class for accessor methods and adding properties - corresponding to any such methods it finds. - - - https://github.com/kalekundert/autoprop/issues - kalekundert/autoprop - autoprop - + The autoprop module simplifies this process by searching your class for accessor methods and adding properties + corresponding to any such methods it finds. + + + https://github.com/kalekundert/autoprop/issues + kalekundert/autoprop + autoprop +