Commit 21bb17d
committed
FIX: guard second usage of PyWeakref_GetObject
This function was deprecated in 3.13 and will be removed in 3.15. There
are two usages in pycurl, one in easy.c was already correctly guarded, the
other in share.c was not.1 parent 2aff67c commit 21bb17d
1 file changed
Lines changed: 12 additions & 1 deletion
File tree
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
268 | 278 | | |
269 | 279 | | |
270 | 280 | | |
| |||
285 | 295 | | |
286 | 296 | | |
287 | 297 | | |
| 298 | + | |
288 | 299 | | |
289 | 300 | | |
290 | 301 | | |
| |||
0 commit comments