Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The clothes have no emperor. -- C. A. R. Hoare, commenting on ADA.


devel / comp.lang.python.announce / [Python-announce] attrs 23.1.0

SubjectAuthor
o [Python-announce] attrs 23.1.0Hynek Schlawack

1
[Python-announce] attrs 23.1.0

<488BE0D4-03C1-44F9-AC4D-8B4F630BAF4F@ox.cx>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=922&group=comp.lang.python.announce#922

  copy link   Newsgroups: comp.lang.python.announce
Path: rocksolid2!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: hs@ox.cx (Hynek Schlawack)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] attrs 23.1.0
Date: Sun, 16 Apr 2023 12:49:53 +0200
Lines: 74
Approved: python-announce-list@python.org
Message-ID: <488BE0D4-03C1-44F9-AC4D-8B4F630BAF4F@ox.cx>
Reply-To: python-list@python.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\))
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de MobXeUBfxpAm2ulPYYEZJwfZOlXk1Yeo05dFs8VTS3iQ==
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=ox.cx header.i=@ox.cx header.b=XVr5PkMw; dkim-adsp=pass;
dkim-atps=neutral
X-Spam-Status: OK 0.013
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'url-ip:140.82/16': 0.03;
'argument': 0.04; '3.6': 0.05; 'parameter': 0.05; 'e.g.': 0.07;
'dependencies': 0.09; 'instances': 0.09; 'to:addr:python-announce-
list': 0.09; 'url:github': 0.14; 'announce': 0.15; 'url-ip:140/8':
0.15; 'boilerplate': 0.16; 'cpython': 0.16; 'default.': 0.16;
'instance': 0.16; 'protocol.': 0.16; 'received:10.202': 0.16;
'received:10.202.2': 0.16; 'received:10.202.2.163': 0.16;
'received:64.147': 0.16; 'received:64.147.123': 0.16;
'received:internal': 0.16; 'received:messagingengine.com': 0.16;
'static': 0.16; 'tuple': 0.16; 'url:releases': 0.16; 'validator':
0.16; 'workflow': 0.16; 'python': 0.16; 'pull': 0.17; 'implement':
0.19; 'exception': 0.22; 'instructions': 0.22; 'skip:_ 10': 0.22;
'version': 0.23; '(and': 0.25; 'classes': 0.26; 'library': 0.26;
'creating': 0.27; 'function': 0.27; 'dropped': 0.32; 'keyword':
0.32; 'but': 0.32; 'release': 0.34; 'package': 0.34; 'url-
ip:104.17/16': 0.35; "we're": 0.35; 'request': 0.35; 'fix': 0.36;
'change': 0.36; 'lists': 0.37; 'using': 0.37; "it's": 0.37;
'class': 0.37; 'changes': 0.39; 'added': 0.39; 'handle': 0.39;
'use': 0.39; 'in,': 0.60; 'skip:z 10': 0.62; 'skip:b 20': 0.63;
'pass': 0.64; 'our': 0.64; 'down': 0.64; 'remains': 0.64;
'updating': 0.64; 'named': 0.65; 'let': 0.66; 'skip:t 20': 0.66;
'accept': 0.67; 'received:64': 0.67; 'slots': 0.69; 'within':
0.69; 'raised': 0.70; 'ability': 0.71; 'ignore': 0.71; 'addition':
0.71; 'direct': 0.73; 'powerful': 0.84; 'publish': 0.84;
'attribute': 0.84; 'closure': 0.84; 'lot.': 0.84; 'repetitive':
0.84; 'restored': 0.84; 'unavailable.': 0.84; 'caused': 0.86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ox.cx; h=cc
:content-transfer-encoding:content-type:content-type:date:date
:from:from:in-reply-to:message-id:mime-version:reply-to:sender
:subject:subject:to:to; s=fm2; t=1681642206; x=1681728606; bh=Bz
iWAej+DauPgtJAqcuNKUCrdL03Q8cjB5teW+FtUBo=; b=XVr5PkMwj2M4uWIy6U
/9vghXFiIjadvMZ/zg9koecGsG9sfBLNC0PskBufPL48R0MWQoIffhqzBj7YIHFu
v4epIa1jO1bzDb8cOXtI3VbuaUAO70+c8QK2gB89T/TkSFsnLq06IP3XofTPYuUJ
tiVqjBefOk/sYDnMxti8ml7uAGuMuj6qeYCex93kf1N6HgybkF7yR/rsn0/++Z+j
coRLlCBPvLwomCvrQ8FKj8SEWTqBudF+m3KZ2Ijs/YqpYOB2nQAbK4+oTrUIc3wq
aPbpB17H/Lvw+RRUzbHLFCcaZZjP8dEu4yjnoiMR9niaUVvs7pZDBfhPP+fOa77P
AnEQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:content-type:date:date:feedback-id:feedback-id:from:from
:in-reply-to:message-id:mime-version:reply-to:sender:subject
:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
:x-sasl-enc; s=fm3; t=1681642206; x=1681728606; bh=BziWAej+DauPg
tJAqcuNKUCrdL03Q8cjB5teW+FtUBo=; b=XZPx9BrWNIFZkl9zXM5btxvkg9Dou
Cq1ApWKMn3M6h8INh0pOYwhtxjSUqCVjxvQ4hybAHJCCTU62atWyewOatPpgWhUg
U6k9Wf4UGYsGNGjx04ePr/pDrA8xQ/ok6at2oRPPG9P6o/aMFBK5CEtYWg4H1Bft
lqDA/d32xdQuBahkGwuKknTNN8EyDbdiDMDTccYZA2jzeal+ATqDvRlsqeu3GkG+
Jl0ckjuzGvxi5IB3k3xuxw7RE7h0JZVhm3WPSRJp+a3VqGRPmtVOG1bariW7lofn
l2davqt9zEN6ox72l5PH9g/HyHWQ2xSWymFGHqSiSQVeGDPQYIZ+g0Cdg==
X-ME-Sender: <xms:3dI7ZCX1zOB4KJDgpLOuSd729lDQF6Xstf4WO--znmlv1CmypPeKTA>
<xme:3dI7ZOm6lTd6cYzF5CPyYJGvz4Bc282CQdb6EaTE8tX2cM9_7RPIKjGm-S8ykWXbV
dreKXuXkge6i40>
X-ME-Received: <xmr:3dI7ZGZD2oRvOfG-sy1YuSnzi4EfKatd69nN5QYxjDihqPaVaVint_3JQlwkO6DdnZMyc9_djlIqCIhkrXbgQwFdiJEWwN4S4g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelgedgudeiucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd
hhtdejnecuhfhrohhmpefjhihnvghkucfutghhlhgrfigrtghkuceohhhssehogidrtgig
qeenucggtffrrghtthgvrhhnpeejuddvueevvdekieekteegveegiefgvdegtdefjeetvd
fhieejudfggffgtdevieenucffohhmrghinheprghtthhrshdrohhrghdpghhithhhuhgs
rdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh
ephhhssehogidrtgig
X-ME-Proxy: <xmx:3dI7ZJXCZ4SWd4TtHGY1wSuvYFUYc5CVM616-0lv6sceARYBAP_mZw>
<xmx:3dI7ZMl7n2xlDr5tw8c9J8GHVqrZUhXsLoMCxsHexyMB6iggcA-cig>
<xmx:3dI7ZOfmUHUIXRCeRUjnCf4yUDmxVLc1YFS7JMxPcXdOt4u7vp3mzg>
<xmx:3tI7ZGii4hwfUPq3B7W-vAw102A0QjdgbRr6Lx4V6MzE-3Tnz4o44w>
Feedback-ID: i64444179:Fastmail
X-Mailer: Apple Mail (2.3731.500.231)
X-MailFrom: hs@ox.cx
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: DABSSDI3OTXRUTWB2563DDWJJCIAHDOJ
X-Message-ID-Hash: DABSSDI3OTXRUTWB2563DDWJJCIAHDOJ
X-Mailman-Approved-At: Sun, 16 Apr 2023 08:10:12 -0400
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/DABSSDI3OTXRUTWB2563DDWJJCIAHDOJ/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Hynek Schlawack - Sun, 16 Apr 2023 10:49 UTC

Iā€™m happy to announce a new release of attrs!

attrs is the direct ancestor of ā€“ and the inspiration for ā€“ dataclasses in the standard library and remains the more powerful toolkit for creating regular classes without getting bogged down with writing repetitive boilerplate code: <https://www.attrs.org/>

------------------------------------------------------------------------

(alternatively, see <https://github.com/python-attrs/attrs/releases/> for a richer-formatted version of the following)

Backwards-incompatible Changes

- Python 3.6 has been dropped and packaging switched to static package data using Hatch. #993

Deprecations

- The support for zope-interface via the attrs.validators.provides validator is now deprecated and will be removed in, or after, April 2024.

The presence of a C-based package in our developement dependencies has caused headaches and we're not under the impression it's used a lot.

Let us know if you're using it and we might publish it as a separate package. #1120

Changes

- attrs.filters.exclude() and attrs.filters.include() now support the passing of attribute names as strings. #1068

- attrs.has() and attrs.fields() now handle generic classes correctly. #1079

- Fix frozen exception classes when raised within e.g. contextlib.contextmanager, which mutates their __traceback__ attributes. #1081

- @frozen now works with type checkers that implement PEP-681 (ex. pyright). #1084

- Restored ability to unpickle instances pickled before 22.2.0. #1085

- attrs.asdict()'s and attrs.astuple()'s type stubs now accept the attrs.AttrsInstance protocol. #1090

- Fix slots class cellvar updating closure in CPython 3.8+ even when __code__ introspection is unavailable. #1092

- attrs.resolve_types() can now pass include_extras to typing.get_type_hints() on Python 3.9+, and does so by default. #1099

- Added instructions for pull request workflow to CONTRIBUTING.md. #1105

- Added type parameter to attrs.field() function for use with attrs.make_class().

Please note that type checkers ignore type metadata passed into make_class(), but it can be useful if you're wrapping attrs. #1107

- It is now possible for attrs.evolve() (and attr.evolve()) to change fields named inst if the instance is passed as a positional argument.

Passing the instance using the inst keyword argument is now deprecated and will be removed in, or after, April 2024. #1117

- attrs.validators.optional() now also accepts a tuple of validators (in addition to lists of validators). #1122

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor