Re: [Python-Dev] Are undocumented functions part of the stable ABI?

2018-04-09 Thread Jeroen Demeyer
On 2018-04-08 05:17, Nick Coghlan wrote: Changing macro definitions doesn't break the stable ABI, as long as the *old* macro expansions still do the right thing. To me, it looks like a bad idea to change macros. Imagine that the PyCFunction_Check macro changes in Python 3.8. Then an extension

Re: [Python-Dev] Is it useful to update cgitb module?

2018-04-09 Thread João Santos
cgitb is useful even outside of cgi scripts. I've used "cgitb.enable(format='text')" in the several scripts to get "better" exceptions. On Sun, 8 Apr 2018 at 08:52 Glenn Linderman wrote: > On 4/7/2018 9:45 PM, Alex Walters wrote: > > Are there people still actively developing new cgi scripts in

Re: [Python-Dev] Is it useful to update cgitb module?

2018-04-09 Thread Tres Seaver
On 04/08/2018 12:45 AM, Alex Walters wrote: > Are there people still actively developing new cgi scripts in python? In addition to the "magic" support triggered by 'cgitb.enable()', the module also exposes useful utility functions ('cgitb.html()' and 'cgitb.text()') which are used by non-CGI thir

Re: [Python-Dev] Trying to build from source, test-poplib fails

2018-04-09 Thread Christian Heimes
On 2018-04-09 10:30, Serhiy Storchaka wrote: >> 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. > > I get the different issue with test_poplib (running with the -j option). > All tests except test_multi

Re: [Python-Dev] Trying to build from source, test-poplib fails

2018-04-09 Thread INADA Naoki
FYI, there is filed issue. https://bugs.python.org/issue33099 ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.co

Re: [Python-Dev] Trying to build from source, test-poplib fails

2018-04-09 Thread Christian Heimes
On 2018-04-08 01:33, Skip Montanaro wrote: >> Do you have ca-certificates installed? > > It seems so: > > % apt search ca-certificates | grep installed > > ca-certificates/artful,artful,now 20170717 all [installed] > ca-certificates-mono/artful,artful,now 4.6.2.7+dfsg-1ubuntu1 all > [installed,a

Re: [Python-Dev] Trying to build from source, test-poplib fails

2018-04-09 Thread Serhiy Storchaka
08.04.18 19:10, Antoine Pitrou пише: 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

Re: [Python-Dev] Is it useful to update cgitb module?

2018-04-09 Thread Serhiy Storchaka
07.04.18 23:21, Stéphane Blondon пише: I wonder if it's useful to update the cgitb module, in particular the html output. I see some possible improvements: 1. In both text and html versions: When a module is called, there are no parameters (displayed as '()'). I think they are unnecessary. Perh

Re: [Python-Dev] Is it useful to update cgitb module?

2018-04-09 Thread Alex Walters
Extremely useful … for CGI scripts. Now, my sample size is quite small – mainly the #python irc channel on freenode, but I have been informally asking for a few years, and you are the first person I have encountered who admitted to writing and maintaining new CGI based sites. I still say the v