Repository navigation
Commit d900c8f
Pickles name posixmodule types and functions either through os or
through the platform module (posix or nt). Both spellings must keep
loading.
times_result, uname_result, waitid_result, sched_param, DirEntry and
ScandirIterator were named after the platform module (posix or nt), so
pickles referenced posix.times_result and could not be loaded on
Windows. Name them os.<type> like stat_result (gh-63408). Older
pickles keep loading through the platform module.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 2781ffe commit d900c8f
3 files changed
Lines changed: 26 additions & 10 deletions
File tree
- Lib/test/test_os
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | 181 | | |
183 | | - | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
190 | 203 | | |
191 | 204 | | |
192 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2561 | 2561 | | |
2562 | 2562 | | |
2563 | 2563 | | |
2564 | | - | |
| 2564 | + | |
2565 | 2565 | | |
2566 | 2566 | | |
2567 | 2567 | | |
| |||
6768 | 6768 | | |
6769 | 6769 | | |
6770 | 6770 | | |
6771 | | - | |
| 6771 | + | |
6772 | 6772 | | |
6773 | 6773 | | |
6774 | 6774 | | |
| |||
8818 | 8818 | | |
8819 | 8819 | | |
8820 | 8820 | | |
8821 | | - | |
| 8821 | + | |
8822 | 8822 | | |
8823 | 8823 | | |
8824 | 8824 | | |
| |||
11376 | 11376 | | |
11377 | 11377 | | |
11378 | 11378 | | |
11379 | | - | |
| 11379 | + | |
11380 | 11380 | | |
11381 | 11381 | | |
11382 | 11382 | | |
| |||
16835 | 16835 | | |
16836 | 16836 | | |
16837 | 16837 | | |
16838 | | - | |
| 16838 | + | |
16839 | 16839 | | |
16840 | 16840 | | |
16841 | 16841 | | |
| |||
17392 | 17392 | | |
17393 | 17393 | | |
17394 | 17394 | | |
17395 | | - | |
| 17395 | + | |
17396 | 17396 | | |
17397 | 17397 | | |
17398 | 17398 | | |
| |||
0 commit comments