Commit c2cef08
bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (pythonGH-3859)
(cherry picked from commit d518d8b)
Co-authored-by: Oren Milman <orenmn@gmail.com>1 parent fa40fc0 commit c2cef08
3 files changed
Lines changed: 16 additions & 1 deletion
File tree
- Lib/ctypes/test
- Misc/NEWS.d/next/Core and Builtins
- Modules/_ctypes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
85 | 98 | | |
86 | 99 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5327 | 5327 | | |
5328 | 5328 | | |
5329 | 5329 | | |
5330 | | - | |
| 5330 | + | |
5331 | 5331 | | |
5332 | 5332 | | |
5333 | 5333 | | |
| |||
0 commit comments