Re: [Python-Dev] Are undocumented functions part of the stable ABI?
On Sun, 8 Apr 2018 13:17:36 +1000 Nick Coghlan wrote: > On 6 April 2018 at 14:45, Guido van Rossum wrote: > > As you may guess from the silence, it may be hard to get a definitive answer > > to this question -- PEP 384's author has stopped actively participating in > > the Python community and I'm not sure if any core developers currently > > consider themselves to be the "guardians of the ABI". > > It's only been a few days, and there are definitely some of us that > genuinely want the stable ABI to meet its guarantees (e.g. me, Steve > Dower, Eric Snow, Victor Stinner). It just isn't likely to come fully > into its own until more library developers are able to drop support > for Python 2.7. Note there are issues with PyType_FromSpec() which make the stable ABI rather delicate to use: https://bugs.python.org/issue15727 https://bugs.python.org/issue16690 Regards Antoine. ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Trying to build from source, test-poplib fails
On Sat, 7 Apr 2018 17:31:47 -0500 Skip Montanaro wrote: > It's been a long while since I rebuilt Python from the Git source. I > tried for the first time the other day. Everything passed except > test_poplib and test_asyncio. The former just runs and runs and runs. > Here's the first traceback I encounter when executing ./python > Lib/test/test_poplib.py: > > test_stls_context (__main__.TestPOP3Class) ... Exception in thread Thread-16: > Traceback (most recent call last): > File "/home/skip/src/python/cpython/Lib/threading.py", line 917, in > _bootstrap_inner > self.run() > File "Lib/test/test_poplib.py", line 227, in run > asyncore.loop(timeout=0.1, count=1) > File "/home/skip/src/python/cpython/Lib/asyncore.py", line 207, in loop > poll_fun(timeout, map) > File "/home/skip/src/python/cpython/Lib/asyncore.py", line 150, in poll > read(obj) > File "/home/skip/src/python/cpython/Lib/asyncore.py", line 87, in read > obj.handle_error() > File "/home/skip/src/python/cpython/Lib/asyncore.py", line 83, in read > obj.handle_read_event() > File "/home/skip/src/python/cpython/Lib/asyncore.py", line 422, in > handle_read_event > self.handle_read() > File "Lib/test/test_poplib.py", line 194, in handle_read > self._do_tls_handshake() > File "Lib/test/test_poplib.py", line 174, in _do_tls_handshake > self.socket.do_handshake() > File "/home/skip/src/python/cpython/Lib/ssl.py", line 1108, in do_handshake > self._sslobj.do_handshake() > ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert > certificate unknown (_ssl.c:1049) [...] I get the same issues too, and this has been happening for quite some time. The tests and/or poplib itself may be written in a fragile way. Regards Antoine. ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Soliciting comments on the future of the cmd module (bpo-33233)
On 2018-04-07 02:08, Steven D'Aprano wrote: This isn't gopher, or something with serious unfixable security vulnerabilities. It works. What more needs to be said? Interesting, I'd forgotten about the module but this thread brought it from dusty backup tape back into my brain. Part of the problem may be the generic name. I just used it for a programming challenge and it worked quite well. :-) The source is close to trivial, not a burden, and I found the module useful and easy to use. Only nitpick is that the "repeat last action on empty line" is a poor default I think. -Mike p.s. The bug listed above has the authors of cmd2 planning a simplified/compatible version that could become the next "cmd." ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Soliciting comments on the future of the cmdmodule (bpo-33233)
On Sat, Apr 07, 2018 at 06:53:44PM +, Brett Cannon wrote: > > Raymond has stated that he is happy to work on it if there are any bugs > > reported on it, and if he's not available, I'm sure somebody will. > > Actually Raymond said he *teaches* the module, not that he wanted to > maintain it. And I definitely would not assume that someone will pick up to > help maintain any module in the stdlib. Raymond said: "If a bug were reported for cmd, I would be happy to work on it." https://bugs.python.org/issue33233#msg315061 -- Steve ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
