Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It's not an optical illusion, it just looks like one. -- Phil White


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

SubjectAuthor
o [Python-announce] attrs 22.1.0Hynek Schlawack

1
[Python-announce] attrs 22.1.0

<B3D69525-B850-4A8C-B53F-897751055D05@ox.cx>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16782&group=comp.lang.python.announce#16782

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!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 22.1.0
Date: Thu, 28 Jul 2022 15:40:18 +0200
Lines: 65
Approved: python-announce-list@python.org
Message-ID: <B3D69525-B850-4A8C-B53F-897751055D05@ox.cx>
Reply-To: python-list@python.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de +qjLn1QzTnTZEbOwIVxA6QLmSZu4roTsPB0S02zSbWkg==
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=ox.cx header.i=@ox.cx header.b=EiGhzHhD; dkim-adsp=pass;
dkim-atps=neutral
X-Spam-Status: OK 0.080
X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'url-ip:140.82/16': 0.03;
'argument': 0.04; '2.7': 0.09; '<>,': 0.09; 'anymore.': 0.09;
'arrival': 0.09; 'options,': 0.09; 'to:addr:python-announce-list':
0.09; 'url:github': 0.14; 'announce': 0.15; 'supported': 0.15;
'url-ip:140/8': 0.15; 'boilerplate': 0.16; 'received:10.202':
0.16; 'received:10.202.2': 0.16; 'received:internal': 0.16;
'received:messagingengine.com': 0.16; 'removed.': 0.16;
'supported.': 0.16; 'url:releases': 0.16; 'python': 0.16;
'github': 0.17; 'sponsors': 0.19; 'version': 0.23; 'classes':
0.26; 'library': 0.26; 'creating': 0.27; 'project.': 0.27;
'course.': 0.32; 'but': 0.32; 'release': 0.34; 'same': 0.34;
"didn't": 0.34; 'officially': 0.35; 'url-ip:104.17/16': 0.35;
'received:66': 0.35; 'people': 0.36; 'missing': 0.37; 'main':
0.37; 'others': 0.37; 'thanks': 0.38; 'changes': 0.39; 'added':
0.39; 'list': 0.39; 'block': 0.39; 'difficult': 0.40; 'want':
0.40; 'paid': 0.61; 'to:': 0.62; 'feel': 0.63; 'skip:b 20': 0.63;
'our': 0.64; 'key': 0.64; 'down': 0.64; 'full': 0.64; 'remains':
0.64; 'your': 0.64; 'years': 0.65; 'time.': 0.66; 'order': 0.69;
'2015': 0.69; 'companies': 0.70; '2021': 0.71; 'direct': 0.73;
'features': 0.75; 'powerful': 0.84; 'attribute': 0.84;
'heartfelt': 0.84; 'highlights': 0.84; 'repetitive': 0.84;
'subscribing': 0.84; 'url-ip:34.227/16': 0.84; 'url:pkg': 0.84;
'affect': 0.91; 'goals': 0.96
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ox.cx; h=cc
:content-transfer-encoding:content-type:date:date:from:from
:in-reply-to:message-id:mime-version:reply-to:sender:subject
:subject:to:to; s=fm1; t=1659015621; x=1659102021; bh=N7HttjqjSp
ZXVdGhnK+tL52OFgiGJGnOspqmE/Qwr64=; b=EiGhzHhD1/1bilfMFmUNsd3Vag
OV3XY0OFYm6OGCEyuPqweTMvBwzunavYzOZCf4cSohBj+MI04UVh30Z9bdrFEO7s
Nm4dBBNpa+1BgBFkpCca00W1NXNWi1N2iwNV7BkhECOn6tvAXKVc3ydS4eF3Ruvg
ZIC6cxcMx60HDacBnUcYJ01EZsBAEEmQg7Yh8oJTG1LPlf8Ytk7aPX1Shtlzx9YS
BR+xJDZ8J0Za7zVenE7ykXrELOvnh3tj3CY1fKo16kOMCYKoEoSuEldUtWHbLY5S
3ike5R+d22hI5wc5DvhKPtq1jAyX1KhoMnxWRlSNRBDziUk1YrNV4lNZLUBQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding: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=1659015621; x=1659102021; bh=N7HttjqjSpZXVdGhnK+tL52OFgiG
JGnOspqmE/Qwr64=; b=o3KS3FYX/qMRUIF7L0BajG7Fgt7RWL7AmoX1F/7UVqlF
NhjycsKDm15YGTbsJnKjmZTw0CBX5KRiHyx2h+vjwV2WvvvToaHRIdu34GS4GpCe
dLj3YdFcm6Yv31yhD3t7BCc077buvSEeRwe4Znq3+PnA1fs57G+ID9MqzCw6geQT
zwlIFqmqIHZDAnr+r1ruciNQu6K2wSx1OqOCRQ2/KRZjthJ+MjcJc2x4LZpzavrj
47Jdt9iUcTw/5F4iEiMFfdtDadHGSWT4Hv7VhMUJ/0dx9XjVFqhEPlPTncFxvLY4
2/lDsyAkq9VgrxyT54XlPfA1pguOpb3z+dBAKNWTCQ==
X-ME-Sender: <xms:xZHiYkp9FdCITCCIUEwH7xpRi7XciDp3Ubr9GR4d2mThZlfMnZgnmQ>
<xme:xZHiYqrw5NsNpMbuWurgpZHyl-81-Xo9y_vf5rzDLWWCe-NZ5vpUd06i_AtGKjcUW
0xlUUUZu4lMsIw>
X-ME-Received: <xmr:xZHiYpOMy5A3etLJx7fyo119pwmKC3ZZscYBUDC--3lRlJ6PvPaLpeFgbvC_NzH7IHjVbAWAvfXQQtooPBaWlO2MNv3r-Lxa>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdduhedgtdeiucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd
hhtdejnecuhfhrohhmpefjhihnvghkucfutghhlhgrfigrtghkuceohhhssehogidrtgig
qeenucggtffrrghtthgvrhhnpeegtedtuedtgfetgeejvdfgheehteehveffgeevvedvhe
eviedvffduhffhffdtfeenucffohhmrghinheprghtthhrshdrohhrghdpghhithhhuhgs
rdgtohhmpdhtihguvghlihhfthdrtghomhdpkhhoqdhfihdrtghomhdpvhgrlhhiuggrth
horhhsrdhinhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr
ohhmpehhshesohigrdgtgi
X-ME-Proxy: <xmx:xZHiYr5YXt1cCO3L01jgW5T5JgpB6BkXu1wni9-HpOawaWl5EEHcog>
<xmx:xZHiYj5BUtSsCTAlVEU0GEGZ9zeFdqDZ8V8sQ_GeYK4lY45bQmnmxQ>
<xmx:xZHiYrgXsrejw4ZxMPwPHzuhWlcWX_J_5h_R_qEnWP8Dol0UcZevTQ>
<xmx:xZHiYlm88OXJMg_vIQ8dNcNqfFqWzoLzD_tmKbJldly2PAfpjZ78BQ>
Feedback-ID: i64444179:Fastmail
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-MailFrom: hs@ox.cx
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: G27CL3HYUGVU5Y6YQA5NZDDDV4KFYNDW
X-Message-ID-Hash: G27CL3HYUGVU5Y6YQA5NZDDDV4KFYNDW
X-Mailman-Approved-At: Thu, 28 Jul 2022 10:12:30 -0400
X-Mailman-Version: 3.3.6b1
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/G27CL3HYUGVU5Y6YQA5NZDDDV4KFYNDW/>
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 - Thu, 28 Jul 2022 13:40 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/>

My heartfelt thanks go to:

- My generous GitHub sponsors <https://github.com/sponsors/hynek>,
- companies subscribing to attrs on Tidelift <https://tidelift.com/subscription/pkg/pypi-attrs>,
- and people who buy me coffees on <https://ko-fi.com/the_hynek>!

❤️ That's the support that made me maintain attrs since 2015 with no end in sight! ❤️

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

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

Highlights

The main features of this release are:

- The departure of Python 2.7 (enjoy your retirement!),
- and the arrival of Python 3.11.

We had loftier goals feature-wise, but didn't want to block others embracing Python 3.11.

Full Changelog

Backwards-incompatible Changes

- Python 2.7 is not supported anymore.

Dealing with Python 2.7 tooling has become too difficult for a volunteer-run project.

We have supported Python 2 more than 2 years after it was officially discontinued and feel that we have paid our dues. All version up to 21.4.0 from December 2021 remain fully functional, of course. #936

- The deprecated cmp attribute of attrs.Attribute has been removed. This does not affect the cmp argument to attr.s that can be used as a shortcut to set eq and order at the same time. #939

Changes

- Instantiation of frozen slotted classes is now faster. #898
- If an eq key is defined, it is also used before hashing the attribute. #909
- Added attrs.validators.min_len(). #916
- attrs.validators.deep_iterable()'s member_validator argument now also accepts a list of validators and wraps them in an attrs.validators.and_(). #925
- Added missing type stub re-imports for attrs.converters and attrs.filters. #931
- Added missing stub for attr(s).cmp_using(). #949
- attrs.validators._in()'s ValueError is not missing the attribute, expected options, and the value it got anymore. #951
- Python 3.11 is now officially supported. #969


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor