What's the best practice for the client side of a TLS connection that covers Python 3.8 through 3.13? Should I instantiate SSLContext(args) directly? Or create_default_context(args) instead? What additional flags must I set? It seems that some defaults were changed in Python 3.10 and 3.13, how should I set the same flags to cover Python 3.8 through 3.13 with a single code base? P.S. Mozilla has a great generator for common web servers. I'm looking for something similar for my client. Continue reading...