---
**[tickets:#3391] osaf: tcp_server.py does not work from python 3.12 and later**
**Status:** unassigned
**Milestone:** 5.25.09
**Created:** Tue Nov 18, 2025 02:59 AM UTC by Thang Duc Nguyen
**Last Updated:** Tue Nov 18, 2025 02:59 AM UTC
**Owner:** nobody
**Attachments:**
-
[tcp_server.py.patch](https://sourceforge.net/p/opensaf/tickets/3391/attachment/tcp_server.py.patch)
(1.9 kB; application/octet-stream)
In modern Python (3.12 and later), the old ssl.wrap_socket() function was
deprecated and removed.
`AttributeError: module 'ssl' has no attribute 'wrap_socket'`
Should adapt it to work on both old and new python.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets