Files
LI d8227bbe4f Fix Python custom layer factory lifetime (#7049)
* fix(python): scope custom layer factories to Net lifetime

Replace the process-global ten-slot callback table with stable per-Net userdata. Preserve registrations across clear() and destroy layers before releasing their factories.

Add real-binding regression coverage for repeated and simultaneous Nets, numeric and named registrations, reloads, callback lifetime, subclassing and interpreter shutdown.

Fixes #4560

* fix(python): release superseded custom layer callbacks

* fix(python): guard unencodable named custom layer slots
2026-10-12 15:27:04 +08:00
..
2025-08-22 11:05:59 +08:00
2026-08-17 15:44:30 +08:00