@@ -100,6 +100,7 @@ New Modules
100
100
Improved Modules
101
101
================
102
102
103
+
103
104
ast
104
105
---
105
106
110
111
111
112
(Contributed by Bénédikt Tran in :gh: `121141 `.)
112
113
114
+
115
+ ctypes
116
+ ------
117
+
118
+ * The layout of :ref: `bit fields <ctypes-bit-fields-in-structures-unions >`
119
+ in :class: `~ctypes.Structure ` and :class: `~ctypes.Union `
120
+ now matches platform defaults (GCC/Clang or MVSC) more closely.
121
+ In particular, fields no longer overlap.
122
+ (Contributed by Matthias Görgens in :gh: `97702 `.)
123
+
124
+ * The :attr: `.Structure._layout_ ` class attribute can now be set
125
+ to help match a non-default ABI.
126
+ (Contributed by Petr Viktorin in :gh: `97702 `.)
127
+
128
+
113
129
dis
114
130
---
115
131
@@ -126,13 +142,15 @@ dis
126
142
127
143
(Contributed by Bénédikt Tran in :gh: `123165 `.)
128
144
145
+
129
146
fractions
130
147
---------
131
148
132
149
Added support for converting any objects that have the
133
150
:meth: `!as_integer_ratio ` method to a :class: `~fractions.Fraction `.
134
151
(Contributed by Serhiy Storchaka in :gh: `82017 `.)
135
152
153
+
136
154
json
137
155
----
138
156
@@ -144,6 +162,7 @@ Enable :mod:`json` module to work as a script using the :option:`-m` switch: ``p
144
162
See the :ref: `JSON command-line interface <json-commandline >` documentation.
145
163
(Contributed by Trey Hunner in :gh: `122873 `.)
146
164
165
+
147
166
operator
148
167
--------
149
168
@@ -153,6 +172,7 @@ operator
153
172
to ``obj is not None ``.
154
173
(Contributed by Raymond Hettinger and Nico Mexis in :gh: `115808 `.)
155
174
175
+
156
176
os
157
177
--
158
178
161
181
by :func: `os.unsetenv `, or made outside Python in the same process.
162
182
(Contributed by Victor Stinner in :gh: `120057 `.)
163
183
184
+
164
185
pathlib
165
186
-------
166
187
@@ -172,6 +193,7 @@ pathlib
172
193
173
194
(Contributed by Barney Gale in :gh: `73991 `.)
174
195
196
+
175
197
pdb
176
198
---
177
199
@@ -182,12 +204,14 @@ pdb
182
204
:pdbcmd: `commands ` are preserved across hard-coded breakpoints.
183
205
(Contributed by Tian Gao in :gh: `121450 `.)
184
206
207
+
185
208
pickle
186
209
------
187
210
188
211
* Set the default protocol version on the :mod: `pickle ` module to 5.
189
212
For more details, please see :ref: `pickle protocols <pickle-protocols >`.
190
213
214
+
191
215
symtable
192
216
--------
193
217
0 commit comments