[Python-Dev] Re: Riddle: Funny decorator chaining behaviour

2022-05-24 Thread Steven D'Aprano
I believe that your example is the same as this recently opened bug report. https://github.com/python/cpython/issues/93167 -- Steve ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org

[Python-Dev] Riddle: Funny decorator chaining behaviour

2022-05-24 Thread Jesus Cea
Chatting in a Spanish python podcast about how convenient would be for abstract classes to raise exceptions intermediately instead of at instantiation time (how could you create an abstract class in that case?), somebody produced this code: import abc class a(abc.ABC): @classmethod

[Python-Dev] Re: compiled python3.10 is unable to find _ssl

2022-05-24 Thread Lou King
Christian Heimes wrote: > For PEP 644 I added new instructions how to build Python 3.10 with > custom OpenSSL builds. The instructions should work on all major Linux > distributions. They have been tested on Debian-like and Fedora-like > platforms: >