🌐 AI搜索 & 代理
🔍
主页
Sign in
chromium
/
external
/
github.com
/
python-attrs
/
attrs
/
refs/tags/25.4.0
/
src
tag
91983f38be8b623619dee14e9eacf2e3f8b15eb5
tagger
Hynek Schlawack <hs@ox.cx>
Mon Oct 06 09:22:26 2025
object
9a98e00a7c078360add417c5d62db820d4645ab1
Release 25.4.0.
112dd1d
Expose effective class construction properties (#1454)
by Hynek Schlawack
· 2 months ago
f8f7a2e
Improve type hinting of or_ (#1471)
by John Marsden
· 3 months ago
1315e42
Improve performance of attr.astuple (#1469)
by Pieter Eendebak
· 3 months ago
7369ad9
Improve performance of asdict in the common case (#1463)
by Pieter Eendebak
· 3 months ago
ce358ed
Fix `attrs.field(converter=...)` type annotations (#1461)
by Finite State Machine
· 4 months ago
19175d9
Use sys._clear_type_descriptors() on 3.14 to break slot reference cycle (#1459)
by Jelle Zijlstra
· 4 months ago
6e3786c
Make `kw_only=True` behavior consistent with dataclasses (#1457)
by Zecong Hu
· 4 months ago
61e8179
Allow forward-references on 3.14 (#1451)
by Tin Tvrtković
· 5 months ago
5bab46d
Allow deep_iterable and deep_mapping take lists/tuples (#1449)
by Hynek Schlawack
· 5 months ago
000c563
Fix slotted reference cycles on 3.14 (#1446)
by Hynek Schlawack
· 5 months ago
cbaef3f
Make validators optional in deep_mapping (#1448)
by Hynek Schlawack
· 5 months ago
937b1e2
Fixes issue #1427 (#1428)
by redruin1
· 5 months ago
577c782
update ruff
by Hynek Schlawack
· 6 months ago
269b9f5
Use proper formatting for docstring (#1432)
by A5rocks
· 7 months ago
00f6ac4
Use a fully locked test environment (#1349)
by Hynek Schlawack
· 7 months ago
3d42a69
doc: fix typo in attrs.validators.gt's docstring: ge -> gt (#1423)
by jfs
· 8 months ago
3b0378d
Cope with `field_transformer` being a generator (#1417)
by Ash Berlin-Taylor
· 9 months ago
1c962d1
Mention what argument has both annotation and type argument (#1410)
by Hynek Schlawack
· 9 months ago
74007f6
ClassBuilder: eval only once (#1407)
by Tin Tvrtković
· 10 months ago
e048efc
Perform attr order checks after field transformer. (#1401)
by James Murphy
· 10 months ago
75723b7
Accept valid unicode identifiers as class parameter to make_class (#1406)
by serge-sans-paille
· 10 months ago
5820ce7
docs: stress that make_class doesn't validate names
by Hynek Schlawack
· 10 months ago
c17b1f3
Update Ruff
by Hynek Schlawack
· 11 months ago
119e043
docs: fix markup
by Hynek Schlawack
· 12 months ago
e82cde4
docs: add note to make_class about non-NG-ness
by Hynek Schlawack
· 12 months ago
d3f320e
typing: allow union types for instance_of (#1385)
by Hynek Schlawack
· 12 months ago
62bdbf2
Implement __replace__ on 3.13 (#1383)
by Hynek Schlawack
· 12 months ago
d18763c
Introduce NothingType (#1358)
by Tin Tvrtković
· 1 year ago
1e07f46
Make attrs.converters.pipe only return a Converter instance if one is passed (#1380)
by Filipe Brandenburger
· 1 year ago
45b6b6b
Update Ruff
by Hynek Schlawack
· 1 year ago
6c89173
Fix type annotations for converter types, considering the Converter class (#1373)
by Filipe Brandenburger
· 1 year, 1 month ago
13105a6
Use an explicit comparison to None for the converter of a field (#1374)
by Filipe Brandenburger
· 1 year, 1 month ago
e21793e
Allow converter.optional to take a Converter such as converter.pipe as its argument (#1372)
by Filipe Brandenburger
· 1 year, 1 month ago
cf6af79
Remove stale comment
by Hynek Schlawack
· 1 year, 1 month ago
1921da6
allow __suppress_context__ and __notes__ to be mutated on frozen exceptions (#1365)
by Thomas Grainger
· 1 year, 2 months ago
0e8e82a
Remove mention of cmp= from next gen docs (#1355)
by Tim Stumbaugh
· 1 year, 2 months ago
2f1014a
Black dropped us 5 years ago
by Hynek Schlawack
· 1 year, 3 months ago
a8e24b0
Drop Python 3.7 (#1340)
by Hynek Schlawack
· 1 year, 4 months ago
ae73409
Cull Ruff ignores
by Hynek Schlawack
· 1 year, 4 months ago
5d6d21a
Make Converter (including pipe) correctly infer the return type (#1331)
by Hynek Schlawack
· 1 year, 4 months ago
6fda0a4
Make Converter a kind of adapter, fix converters.pipe (#1328)
by Hynek Schlawack
· 1 year, 4 months ago
7373d88
Restore basic functionality on 3.14[sic] (#1329)
by Hynek Schlawack
· 1 year, 4 months ago
f520d9a
Only soft-deprecate hash (#1330)
by Hynek Schlawack
· 1 year, 4 months ago
bde3f58
Deprecate hash for unsafe_hash (#1323)
by Hynek Schlawack
· 1 year, 4 months ago
dbb25ce
Add support for __attrs_init_subclass__ (#1321)
by Hynek Schlawack
· 1 year, 4 months ago
fd7538f
validators.in_ now transforms certain unhashable options to tuples (#1320)
by Hynek Schlawack
· 1 year, 4 months ago
09161fc
Fix crash when __pre_init__, kw_only, and defaults come together (#1319)
by Hynek Schlawack
· 1 year, 4 months ago
689a0e6
Simplify & optimize own attribute detection (#1322)
by Hynek Schlawack
· 1 year, 4 months ago
f7e4e91
docs: fix typo
by Hynek Schlawack
· 1 year, 4 months ago
42c9548
Invert API docs to point from NG to OG (#1316)
by Hynek Schlawack
· 1 year, 4 months ago
b78abad
docs: add glossary entries for field & attribute
by Hynek Schlawack
· 1 year, 4 months ago
a365cdc
More f-strings (#1317)
by Hynek Schlawack
· 1 year, 5 months ago
f5683b8
converters: allow wrapping and passing self and fields (#1267)
by Hynek Schlawack
· 1 year, 5 months ago
8a8cd91
Switch docstrings to Napoleon style (#1308)
by Hynek Schlawack
· 1 year, 5 months ago
a8808a2
Speed up __eq__ (#1310)
by Tin Tvrtković
· 1 year, 5 months ago
7c9b31e
Add `attrs.validators.or_` validator (#1303)
by Libor Martínek
· 1 year, 5 months ago
edcaf04
make_class(): Add "__annotations_" to generated class (#1285)
by Stefan Scherfke
· 1 year, 5 months ago
e1b2c94
refactor: Only loop once on "cached_properties" when building slotted classes (#1290)
by Denis Laxalde
· 1 year, 6 months ago
88e2896
Preserve AttributeError in slotted classes with cached_property (#1253)
by Denis Laxalde
· 1 year, 9 months ago
2446e64
Remove non-version metadata hack (#1268)
by Hynek Schlawack
· 1 year, 9 months ago
1b3898a
Avoid unnecessary assignment/append
by Hynek Schlawack
· 1 year, 9 months ago
028797b
Switching to tuples removed this case
by Hynek Schlawack
· 1 year, 9 months ago
189ab7f
Improve docstring
by Hynek Schlawack
· 1 year, 9 months ago
d812e92
Explain what autodata
by Hynek Schlawack
· 1 year, 9 months ago
9e803dd
to_bool: avoid creating sets on each call
by Hynek Schlawack
· 1 year, 9 months ago
9cf3d33
Improve/harmonize docstrings
by Hynek Schlawack
· 1 year, 9 months ago
447f8a4
Tuples are cheaper than lists
by Hynek Schlawack
· 1 year, 9 months ago
4b1d869
Simplify slot field detection
by Hynek Schlawack
· 1 year, 9 months ago
deb9763
Refactor setters determination into function
by Hynek Schlawack
· 1 year, 9 months ago
9b9a691
Upper-case private constants for better readability
by Hynek Schlawack
· 1 year, 9 months ago
8460190
Remove attrs.validators.provides (#1265)
by Hynek Schlawack
· 1 year, 9 months ago
278d3a5
evolve: remove support for passing instances per kw (#1264)
by Hynek Schlawack
· 1 year, 9 months ago
d9ed593
Deprecate attr.s's repr_ns (#1263)
by Hynek Schlawack
· 1 year, 9 months ago
f590f44
docs: style improvements
by Hynek Schlawack
· 1 year, 9 months ago
d4e98b1
Simplify name
by Hynek Schlawack
· 1 year, 9 months ago
d129b1f
pre-commit autoupdate
by Hynek Schlawack
· 1 year, 9 months ago
f9ff913
Fix test_ne in test_cmp.py for Python 3.13 (#1255)
by Lumír 'Frenzy' Balhar
· 1 year, 9 months ago
06dc279
Tweak stubs for better VS Code import (#1234)
by Tin Tvrtković
· 1 year, 10 months ago
75d54c2
Black 24
by Hynek Schlawack
· 1 year, 11 months ago
26d8dd7
Slotted cached property reference (#1221)
by diabolo-dan
· 2 years ago
597c3a8
Add support for cached_properties to slotted attrs classes. (#1200)
by diabolo-dan
· 2 years ago
01413df
Fix for a tiny typo in `_MinLengthValidator` (#1209)
by Çağlar Kutlu
· 2 years ago
1fcd29f
Add optional namespace arguments for `make_class` (#1203)
by Aaron Pham
· 2 years, 1 month ago
079954e
Remove work-arounds for setting cell_contents (#1201)
by Eugene Toder
· 2 years, 1 month ago
c849440
Add more cross-references
by Hynek Schlawack
· 2 years, 2 months ago
5f1d588
doc: invert sentence on setattr logic in NG
by Hynek Schlawack
· 2 years, 2 months ago
67e4ff2
[pre-commit.ci] pre-commit autoupdate (#1189)
by pre-commit-ci[bot]
· 2 years, 2 months ago
c2824ac
Pass args from `__init__` to `__attrs_pre_init__` if requested (#1187)
by Victor Song
· 2 years, 3 months ago
46a03dc
Fix typo in src/attr/_next_gen.py::define's docstring (#1184)
by InSync
· 2 years, 3 months ago
a5cbd51
Tighten linting (#1175)
by Hynek Schlawack
· 2 years, 4 months ago
c824bbe
Allow subclassing of AttrsInstance and Protocol at once (#1172)
by Hynek Schlawack
· 2 years, 4 months ago
0bf0678
Fix TypeError for `asdict(<class with namedtuple>, retain_collection_types=True)` (#1165)
by Vitaliy Yelnik
· 2 years, 5 months ago
36d4762
Switched from __dataclass_transform__() to typing.dataclass_transform() (#1158)
by Sergei Lebedev
· 2 years, 5 months ago
a08bfb9
Un-deprecate __version__ for now
by Hynek Schlawack
· 2 years, 6 months ago
ecdb117
Fix type annotation for resolve_types() (#1141)
by Hynek Schlawack
· 2 years, 6 months ago
8dbd2db
Fix docstring markup
by Hynek Schlawack
· 2 years, 7 months ago
3786d5a
Fix next version
by Hynek Schlawack
· 2 years, 8 months ago
c4c6fdd
Add literal string support to include and exclude filters (#1068)
by Lanqing Huang
· 2 years, 8 months ago
c8b342d
Deprecate zope-interface support (#1120)
by Hynek Schlawack
· 2 years, 8 months ago
7d55876
Accept tuples in attrs.validators.optional (#1122)
by Hynek Schlawack
· 2 years, 8 months ago
Next »