Re: [Python-Dev] [bpo-30421]: Pull request review

2017-08-28 Thread Terry Reedy
On 8/28/2017 3:42 AM, Robert Schindler wrote: Hello, In May, I submitted a pull request that extends the functionality of argparse.ArgumentParser. The argparse maintainer, bethard (Peter Bethard), was not added to the nosy list. And he does not seem to have been active lately -- his bpo

Re: [Python-Dev] Py_Main() seems to be a NOOP

2017-08-10 Thread Terry Reedy
On 8/10/2017 3:26 AM, Patrick Rutkowski wrote: On Thu, Aug 10, 2017 at 2:26 AM, Patrick Rutkowski wrote: I'm working on Windows with Python 3.6. I'm trying to make a wWinMain() GUI application that uses an embedded python interpreter. I'm having various issues with

Re: [Python-Dev] bugs.python.org - outage 08/09/17 until 8:00pm PST

2017-08-10 Thread Terry Reedy
On 8/9/2017 8:24 PM, Terry Reedy wrote: On 8/9/2017 7:12 PM, MRAB wrote: On 2017-08-09 23:18, Mark Mangoba wrote: Dear Colleagues, I was just informed from our hosting provider for bugs.python.org <http://bugs.python.org>, Hetzner Online - that the server is currently being mi

Re: [Python-Dev] bugs.python.org - outage 08/09/17 until 8:00pm PST

2017-08-09 Thread Terry Reedy
On 8/9/2017 7:12 PM, MRAB wrote: On 2017-08-09 23:18, Mark Mangoba wrote: Dear Colleagues, I was just informed from our hosting provider for bugs.python.org , Hetzner Online - that the server is currently being migrated to a new data center. Unfortunately I was not

[Python-Dev] bugs.python.org appears down

2017-08-09 Thread Terry Reedy
And not just for me, for last couple of hours. http://downforeveryoneorjustme.com/bugs.python.org --- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] for...else

2017-07-26 Thread Terry Reedy
This discussion belongs on python-list (where is it mostly a repeat). -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Is Windows XP still supported on Python 2.7?

2017-07-24 Thread Terry Reedy
On 7/24/2017 5:04 AM, Victor Stinner wrote: We have a Windows XP buildbot for Python 2.7, run by David Bolen: http://buildbot.python.org/all/builders/x86%20Windows%20XP%202.7/ test_bsddb3 fails randomly on this buildbot: http://bugs.python.org/issue30778 If that turns out to be an unfixable

Re: [Python-Dev] Python startup time

2017-07-20 Thread Terry Reedy
On 7/19/2017 10:05 AM, Nick Coghlan wrote: P.S. I'll also note that we're not *actually* limited to resolving such conflicts in public venues (even though I think that's a good default habit for us to retain): as long as we report the outcome of any mutual agreements about design priorities back

[Python-Dev] Python most popular progamming language on github?

2017-07-19 Thread Terry Reedy
https://blog.sourced.tech/post/language_migrations/ Waren Long analyzed several years of Github data for 22 top languages (excluding browser Javascript) with respect to language use and change of use, defined a 'centrality measure' based on the stationary distribution of a markov chain model

Re: [Python-Dev] Articles on my contributions to CPython during 2017 Q1 and Q2

2017-07-14 Thread Terry Reedy
On 7/13/2017 11:33 AM, Victor Stinner wrote: I wrote a serie of new articles on my contributions to CPython during 2017 Q1 and Q2. ... "Work on Python buildbots, 2017 Q2" https://haypo.github.io/python-buildbots-2017q2.html "During this quarter, I tried to mark "easy" issues using a

Re: [Python-Dev] Star the CPython GitHub project if you like Python!

2017-07-04 Thread Terry Reedy
On 7/4/2017 10:22 AM, Ben Hoyt wrote: Nice! I also posted it on reddit.com/r/Python , where it got a bit of traction: https://www.reddit.com/r/Python/comments/6kg4w0/cpython_recently_moved_to_github_star_the_project/ I just posted on python-list. -- Terry Jan

Re: [Python-Dev] Buildbot report (almost July)

2017-06-30 Thread Terry Reedy
On 6/29/2017 5:34 PM, Rob Boehne wrote: Hello, I¹m new to the list, and contributing to Python specifically, and I¹m interested in getting master and 3.6 branches building and working ³better² on UNIX. I¹ve been looking at a problem building 3.6 on HP-UX and see a PR was merged into master,

Re: [Python-Dev] Buildbot report (almost July)

2017-06-29 Thread Terry Reedy
On 6/29/2017 1:54 PM, Steve Dower wrote: On 29Jun2017 1013, Terry Reedy wrote: Great work. Agreed. Thanks, Victor! How about compiler warnings (and errors)? When I compile on Windows, there are a boatload of orange-yellow warnings. Some are about using a deprecated featured; some about

Re: [Python-Dev] Buildbot report (almost July)

2017-06-29 Thread Terry Reedy
On 6/29/2017 11:09 AM, Victor Stinner wrote: Hi, Our buildbots are now even more stable than in my previous buildbot report. Many random failures have been fixed, even if there are still many rare random failures (most of them are related to multiprocessing). Search for issues created by

Re: [Python-Dev] New work-in-progress bisection tool for the Python test suite (in regrtest)

2017-06-27 Thread Terry Reedy
On 6/27/2017 8:39 PM, Victor Stinner wrote: 2017-06-27 7:33 GMT+02:00 Serhiy Storchaka : You could make it just a submodule in the test package. ./python -m test.bisect -R 3:3 test_os I like the idea :-) I proposed a PR which was approved by Yury Selivanov, and so I

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-26 Thread Terry Reedy
On 6/25/2017 4:09 PM, Guido van Rossum wrote: On Sun, Jun 25, 2017 at 12:23 PM, Brett Cannon <br...@python.org <mailto:br...@python.org>> wrote: On Sun, Jun 25, 2017, 11:24 Terry Reedy, <tjre...@udel.edu <mailto:tjre...@udel.edu>> wrote: I was

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-25 Thread Terry Reedy
On 6/25/2017 12:39 PM, Brett Cannon wrote: The entire reason I want to have this check is I don't want or have to ask another PR submitter to include a draft of a news item. It's much easier to edit an existing news entry through the web UI than either ask for it and deal with the turnaround

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-25 Thread Terry Reedy
On 6/25/2017 12:16 PM, Terry Reedy wrote: On 6/25/2017 8:06 AM, Serhiy Storchaka wrote: 24.06.17 18:57, Larry Hastings пише: On 06/24/2017 01:53 AM, Antoine Pitrou wrote: Would you like to make it 3.5-compatible? 3.6 is quite young and not all systems have it (e.g. Ubuntu 16.04, which many

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-25 Thread Terry Reedy
On 6/25/2017 8:06 AM, Serhiy Storchaka wrote: 24.06.17 18:57, Larry Hastings пише: On 06/24/2017 01:53 AM, Antoine Pitrou wrote: Would you like to make it 3.5-compatible? 3.6 is quite young and not all systems have it (e.g. Ubuntu 16.04, which many people use, has 3.5). Well, tbh I think

Re: [Python-Dev] PEP 538 warning at startup: please remove it

2017-06-25 Thread Terry Reedy
On 6/12/2017 4:30 PM, Glenn Linderman wrote: On 6/12/2017 1:11 PM, Terry Reedy wrote: I do not have any locale-related env vars. You should check whether the warning is off on all Win10 systems, as well as Win7 and Win8. Many Windows users know nothing about ENV VARS, and even if they do

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-25 Thread Terry Reedy
On 6/25/2017 12:30 AM, Serhiy Storchaka wrote: 25.06.17 06:04, Nick Coghlan пише: On 25 June 2017 at 11:56, Terry Reedy <tjre...@udel.edu> wrote: On 6/24/2017 7:48 PM, Brett Cannon wrote: I should also mention that after Larry blows up Misc/NEWS into individual files in about a

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-25 Thread Terry Reedy
On 6/25/2017 12:19 AM, Serhiy Storchaka wrote: 25.06.17 04:51, Nick Coghlan пише: So count me in as a +1 for standardising on a model where: - client-side core-workflow tools are free to use features from the latest released version of Python - we expect core devs to set up a venv or conda env

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-24 Thread Terry Reedy
On 6/24/2017 7:48 PM, Brett Cannon wrote: I should also mention that after Larry blows up Misc/NEWS into individual files in about a week I will add a check to Bedevere for a news file unless the PR is labeled as trivial. And what if there isn't? There are sometimes good reasons to have

Re: [Python-Dev] [python-committers] New workflow change: Welcome to blurb

2017-06-24 Thread Terry Reedy
On 6/24/2017 12:45 PM, Larry Hastings wrote: On 06/24/2017 09:40 AM, Terry Reedy wrote: On 6/23/2017 11:24 PM, Larry Hastings wrote: > You can install blurb from pip: > > % pip3.6 install blurb This does not seem to work right. On Windows: C:\Users\Terry>py -3 -m pip i

Re: [Python-Dev] [python-committers] New workflow change: Welcome to blurb

2017-06-24 Thread Terry Reedy
On 6/23/2017 11:24 PM, Larry Hastings wrote: > You can install blurb from pip: > > % pip3.6 install blurb This does not seem to work right. On Windows: C:\Users\Terry>py -3 -m pip install blurb Collecting blurb Downloading blurb-1.0-py3-none-any.whl Installing collected packages: blurb

Re: [Python-Dev] New workflow change: Welcome to blurb

2017-06-24 Thread Terry Reedy
On 6/24/2017 11:57 AM, Larry Hastings wrote: On 06/24/2017 01:53 AM, Antoine Pitrou wrote: Would you like to make it 3.5-compatible? 3.6 is quite young and not all systems have it (e.g. Ubuntu 16.04, which many people use, has 3.5). Well, tbh I think that's a bit silly. First of all, it

Re: [Python-Dev] Appveyor builds fail on Windows for 3.6 backports.

2017-06-23 Thread Terry Reedy
On 6/23/2017 4:14 PM, Steve Dower wrote: We could improve life for everyone even more if we built Tcl/Tk once per update and made it a binary dependency. Nobody is updating our version of it regularly anyway, and this would significantly improve build time in CI. On Windows, I believe

Re: [Python-Dev] Appveyor builds fail on Windows for 3.6 backports.

2017-06-23 Thread Terry Reedy
On 6/23/2017 2:24 PM, Zachary Ware wrote: On Fri, Jun 23, 2017 at 11:36 AM, Terry Reedy <tjre...@udel.edu> wrote: Example: appveyor passes for https://github.com/python/cpython/pull/2335#discussion_r123724857 Appveyor build fails for 3.6 backport https://github.com/python/cpython/pul

[Python-Dev] Appveyor builds fail on Windows for 3.6 backports.

2017-06-23 Thread Terry Reedy
Example: appveyor passes for https://github.com/python/cpython/pull/2335#discussion_r123724857 Appveyor build fails for 3.6 backport https://github.com/python/cpython/pull/2359 https://ci.appveyor.com/project/python/cpython/build/3.6.1+.3673 The compile and build errors have nothing to do with

Re: [Python-Dev] bugs.python.org is down at the moment (503)

2017-06-20 Thread Terry Reedy
On 6/20/2017 2:34 PM, Terry Reedy wrote: and had been for at least a few minutes, so it is not just you ;-) --- Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later

[Python-Dev] bugs.python.org is down at the moment (503)

2017-06-20 Thread Terry Reedy
and had been for at least a few minutes, so it is not just you ;-) --- Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.16 (Debian) Server at

Re: [Python-Dev] IDLE internal layout

2017-06-14 Thread Terry Reedy
On 6/14/2017 1:48 AM, Louie Lu wrote: (Due to idle-dev mailing list low traffic, this mail was sent to python-dev and idle-dev) I'm now trying to figure out IDLE internal relation. I got some module dependency graph and count. The work is at HackMD:

Re: [Python-Dev] PEP 538 warning at startup: please remove it

2017-06-12 Thread Terry Reedy
On 6/12/2017 5:35 AM, INADA Naoki wrote: On Mon, Jun 12, 2017 at 5:56 PM, Victor Stinner wrote: Hi, Nick Coghlan pushed his implementation of his PEP 538: nice! Nice step forward to UTF-8 everywhere ;-) I would prefer to not be annoyed by warning messages about

Re: [Python-Dev] Remove embedded expat library?

2017-06-09 Thread Terry Reedy
On 6/9/2017 12:40 PM, Zachary Ware wrote: PR 1783 (https://github.com/python/cpython/pull/1783); needs another review from Steve to make sure I haven't made a complete mess of things, then it should be ready to go. Anyone else on Windows (Terry Reedy?) who can test it and provide feedback

Re: [Python-Dev] RFC: Backport ssl.MemoryBIO and ssl.SSLObject to Python 2.7

2017-06-02 Thread Terry Reedy
On 6/2/2017 12:21 PM, Barry Warsaw wrote: On Jun 03, 2017, at 02:10 AM, Nick Coghlan wrote: The benefit of making any backport a private API is that it would mean we weren't committing to support that API for general use: it would be supported *solely* for the use case discussed in the PEP

Re: [Python-Dev] "Micro-optimisations can speed up CPython"

2017-05-29 Thread Terry Reedy
On 5/29/2017 10:36 AM, Guyzmo via Python-Dev wrote: On Mon, May 29, 2017 at 05:15:43PM +0300, Serhiy Storchaka wrote: Interesting articles, thank you. I wonder why the author doesn't propose his patches for CPython. Does he fear that CPython can become faster than Lua? ;-) the author's

Re: [Python-Dev] python docs

2017-05-10 Thread Terry Reedy
On 5/10/2017 10:59 AM, Chris Angelico wrote: On Thu, May 11, 2017 at 12:53 AM, Ethan Furman wrote: Why is python-list the place to send behavioral bugs to? Where else? The people who would follow that advice are generally not registered on bpo and have no interest in

Re: [Python-Dev] Is adding support for os.PathLike an enhancement or bugfix?

2017-05-05 Thread Terry Reedy
On 5/5/2017 3:36 PM, Chris Barker wrote: Sorry to come late to the game, It wasn't immediately clear to me what the implications were of the "enhancement or bugfix" distinction... An enhancement changes the definition of the Python language, a bugfix does not. Enhancements can only be part

Re: [Python-Dev] Is adding support for os.PathLike an enhancement or bugfix?

2017-05-04 Thread Terry Reedy
On 5/4/2017 10:43 AM, Koos Zevenhoven wrote: On Thu, May 4, 2017 at 4:19 AM, Terry Reedy <tjre...@udel.edu> wrote: What did not get done for 3.6 should be proposed for 3.7. Anyone, feel free. The nightmare part is done, so this could be a case where a PR actually pays off in terms of

Re: [Python-Dev] Is adding support for os.PathLike an enhancement or bugfix?

2017-05-03 Thread Terry Reedy
On 5/3/2017 7:13 PM, Koos Zevenhoven wrote: On Thu, May 4, 2017 at 1:07 AM, Terry Reedy <tjre...@udel.edu> wrote: On 5/3/2017 2:15 PM, Brett Cannon wrote: My allergies have hit me hard so I'm not thinking at full capacity, but did we ever decide if supporting os.PathLike in the

Re: [Python-Dev] Is adding support for os.PathLike an enhancement or bugfix?

2017-05-03 Thread Terry Reedy
On 5/3/2017 2:15 PM, Brett Cannon wrote: My allergies have hit me hard so I'm not thinking at full capacity, but did we ever decide if supporting os.PathLike in the stdlib was viewed as an enhancement or bugfix? Specifically I'm thinking of https://bugs.python.org/issue30218 for adding support

Re: [Python-Dev] Guarantee the success of some object creation C API functions

2017-05-01 Thread Terry Reedy
On 5/1/2017 5:50 AM, Serhiy Storchaka wrote: I want to add promises to public C API functions that create trivial instances of immutable basic types (integers 0 and 1, empty tuple, string and bytes object) -- PyLong_FromLong(0), PyLong_FromLong(1), PyTuple_New(0),

Re: [Python-Dev] API for bugs.python.org or some statistic about lib/module merge rate?

2017-04-27 Thread Terry Reedy
On 4/27/2017 7:57 AM, Louie Lu wrote: Lib/idlelib/idle_test/test_calltips.py has 1 and 1 bpo issues: 20185 22392 24665 None of these are idlelib issues. Not that directly, but these bpo issue PR has changed the file. See: bpo-20185: PR 542 bpo-24665: PR 89, and a issue fixed but close PR

Re: [Python-Dev] API for bugs.python.org or some statistic about lib/module merge rate?

2017-04-27 Thread Terry Reedy
On 4/26/2017 1:17 AM, Louie Lu wrote: Fix some pr counting issue, and now the bpo-mergerate can choose hg (the old process), git, or all for mergerate counting. Also, relative bpo issue can be expand by clicking row for more detail. Details do not seem to be correct. I searched for

Re: [Python-Dev] Installing a newly-built python on windows

2017-04-16 Thread Terry Reedy
On 4/16/2017 1:16 PM, joao.more...@free.fr wrote: Hi all, I've followed the instructions in the 1st chapter (Getting Started) of the Python Developers's Guide to compile python 3.6 from source, using VS 2017 on a Windows 7 SP1. I successfully built 35 of the 40 subprojects, and the python

Re: [Python-Dev] windows installer and python list mention

2017-04-10 Thread Terry Reedy
On 4/10/2017 1:48 PM, Nathaniel Smith wrote: On Mon, Apr 10, 2017 at 10:32 AM, Ethan Furman wrote: Some people find it easier to follow this and other lists via gmane (http://news.gmane.org/gmane.comp.python.general), a service which offers a newsgroup interface to many

Re: [Python-Dev] CPython benchmark status, April 2017

2017-04-07 Thread Terry Reedy
On 4/7/2017 12:27 PM, Victor Stinner wrote: I succeeded to compute benchmarks on CPython master on the period April, 2014-April,2017: we now have have a timeline over 3 years of CPython performance! https://speed.python.org/timeline/ The boxes are un-scaled. Is vertical always 'time for

Re: [Python-Dev] PEP 545: Python Documentation Translations

2017-03-29 Thread Terry Reedy
On 3/29/2017 4:13 PM, Julien Palard via Python-Dev wrote: Gladly, but … how? I'm very new to all those process and have now idea on how I can get in touch with PSF lawyers. https://www.python.org/about/legal/ "If you have any questions, please send them to the legal mailing list at:

Re: [Python-Dev] Misc/NEWS entries for Python 3.7a1

2017-03-28 Thread Terry Reedy
On 3/28/2017 8:49 AM, INADA Naoki wrote: Currently, changelog of Python 3.7a1 [1] contains changes between 3.6b1 and 3.7a1. I think the changelog for x.(y+1).0a1 should start with the released x.y.0. This used to be the case (with perhaps a few exceptions) when x.y.0 was not branched off

Re: [Python-Dev] Issue with _thread.interrupt_main (29926)

2017-03-28 Thread Terry Reedy
Steven, thanks for verifying bug on *nix. On 3/28/2017 2:00 AM, Martin Panter wrote: On 28 March 2017 at 03:11, Steven D'Aprano <st...@pearwood.info> wrote: On Mon, Mar 27, 2017 at 10:33:44PM -0400, Terry Reedy wrote: https://bugs.python.org/issue29926 was opened as an IDLE issue, which

[Python-Dev] Issue with _thread.interrupt_main (29926)

2017-03-27 Thread Terry Reedy
https://bugs.python.org/issue29926 was opened as an IDLE issue, which means that most watching the new issues list would ignore it. But I think it is an issue with _thread.interrupt_main (which IDLE calls in respond to ^C) not interrupting time.sleep(n) in main thread*. I tested on Windows,

Re: [Python-Dev] PyCharm debugger became 40x faster on Python 3.6 thanks to PEP 523

2017-03-25 Thread Terry Reedy
On 3/25/2017 8:56 AM, Serhiy Storchaka wrote: On 25.03.17 12:04, Victor Stinner wrote: https://blog.jetbrains.com/pycharm/2017/03/inside-the-debugger-interview-with-elizaveta-shashkova/ "What changed in Python 3.6 to allow this? The new frame evaluation API was introduced to CPython in PEP

Re: [Python-Dev] Exact date of Python 2 EOL?

2017-03-23 Thread Terry Reedy
On 3/23/2017 4:41 AM, Victor Stinner wrote: Hi, I looked at the "Status of Python branches" to check if it was up to date. It's the case, thanks :-) But it recalled me that no exact date was decided for the official end of line of the the Python 2 branch (2.7 EOL). >

Re: [Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Terry Reedy
On 3/8/2017 4:07 PM, Oleg Broytman wrote: On Thu, Mar 09, 2017 at 07:53:04AM +1100, Steven D'Aprano wrote: On Wed, Mar 08, 2017 at 04:30:41PM +0100, Oleg Broytman wrote: On Wed, Mar 08, 2017 at 09:50:06AM -0500, Barry Warsaw wrote: It's also okay to

Re: [Python-Dev] PyQt - DLL load failed

2017-02-28 Thread Terry Reedy
On 2/28/2017 9:56 AM, Edouard ROYER wrote: Hi, I'm pretty new in Python but as I was looking for some new programmer's tool, it seemed to me that Python should be the right language for my needs. However, trying to run PyQt on my computer I have an issue that I didn't manage yet : trying to

Re: [Python-Dev] Split Misc/NEWS into individual files

2017-02-22 Thread Terry Reedy
On 2/22/2017 5:53 PM, Serhiy Storchaka wrote: On 22.02.17 22:59, Victor Stinner wrote: While we are talking about changing things... I would propose to require to specify a module name if a change is in the Library section, and then maybe even group changes per module. Some changes can be

Re: [Python-Dev] Split Misc/NEWS into individual files

2017-02-22 Thread Terry Reedy
On 2/22/2017 3:59 PM, Victor Stinner wrote: 2017-02-22 17:42 GMT+01:00 Barry Warsaw : Our release notes have different sections: * Core and Builtins * Extension Modules * Library * IDLE * Windows * C API * Documentation * Build * Tools/Demos * Tests (others?) While we

[Python-Dev] bugs.python.org access problems

2017-02-10 Thread Terry Reedy
Today I have been getting the following for about 1/3 of access attempts (with Firefox). ''' Secure Connection Failed An error occurred during a connection to bugs.python.org. A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. Error

Re: [Python-Dev] GitHub migration scheduled for Friday

2017-02-08 Thread Terry Reedy
On 2/8/2017 2:38 AM, Victor Stinner wrote: I know that different people have different expectation on GitHub. I would like to take the opportunity of migrating to Git to use the "author" and "committer" fields. If the author is set to the real author, the one who proposed the change on the bug

Re: [Python-Dev] re performance

2017-01-28 Thread Terry Reedy
On 1/28/2017 9:43 AM, Nick Coghlan wrote: On 27 January 2017 at 22:24, MRAB wrote: On 2017-01-27 17:03, Łukasz Langa wrote: What’s the status of regex inclusion in the stdlib? I'm not bothered about it. It's quite a bit bigger than the re module, and, anyway,

Re: [Python-Dev] Imports with underscores

2017-01-09 Thread Terry Reedy
On 1/9/2017 11:48 AM, Guido van Rossum wrote: I would focus on changing habits to discourage "import *" rather than The tkinter doc still has ...to use Tkinter all you need is a simple import statement: import tkinter Or, more often: from tkinter import * Should this be changed?

Re: [Python-Dev] Imports with underscores

2017-01-09 Thread Terry Reedy
On 1/9/2017 6:42 AM, Steve Holden wrote: One of my developers recently submitted a pull request incuding a number of lines like import os as _os When I asked him why he suggested a) this would improve encapsulation, and b) the practice was supported in the stdlib. Further investigation reveals

Re: [Python-Dev] enable-framework Vs. Naught

2017-01-06 Thread Terry Reedy
On 1/6/2017 12:39 PM, André Lemos wrote: I have a C++ module that I am compiling to use inside of my Python installation under Mac OS. If I compile & link it against a Framework enabled Python installation, it works fine, but if I compile & link it against a /non/ enabled Framework

Re: [Python-Dev] SystemError: new style getargs format but argument is not a tuple

2017-01-04 Thread Terry Reedy
On 1/1/2017 6:40 PM, Serhiy Storchaka wrote: On 02.01.17 01:23, Terry Reedy wrote: There are several recent question on Stackoverflow about SystemError: new style getargs format but argument is not a tuple [snip] Resulting from using 3rd party packages. No one commenting has a clue

[Python-Dev] SystemError: new style getargs format but argument is not a tuple

2017-01-01 Thread Terry Reedy
There are several recent question on Stackoverflow about SystemError: new style getargs format but argument is not a tuple PIL/pillow, 2.7, Nov 28, 2016 https://stackoverflow.com/questions/40844212/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple-even-the-argum

Re: [Python-Dev] Should I delay 3.5.3 and 3.4.6 by two weeks?

2016-12-19 Thread Terry Reedy
On 12/19/2016 12:26 AM, Larry Hastings wrote: Python 3.6.0 final just slipped by two weeks. I scheduled 3.5.3 and 3.4.6 to ship about a month after 3.6.0 did, to "let the dust settle" around the release. I expect a flood of adoption of 3.6, and people switching will find bugs, and maybe

Re: [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3

2016-12-14 Thread Terry Reedy
On 12/13/2016 8:47 AM, KH Luke Kim wrote: Yeah, but is it supposed to be avoided to apply new features in Python 3.x to Python 2.x? Sorry if there's already a consensus. The feature set of every Pythonx.y version is frozen with the release of CPython x.y.0. Thereafter, each x.y.1+ release

Re: [Python-Dev] Someons's put a "Python 2.8" on GitHub

2016-12-10 Thread Terry Reedy
On 12/10/2016 10:11 PM, Terry Reedy wrote: On 12/10/2016 5:28 PM, Wes Turner wrote: So forks with modules added or removed cannot be called Python? Distributions that make parts of the stdlib optional are not forks. The PSF Windows installer makes tcl/tk, tkinter, IDLE, and turtle? modules

Re: [Python-Dev] Someons's put a "Python 2.8" on GitHub

2016-12-10 Thread Terry Reedy
On 12/10/2016 5:28 PM, Wes Turner wrote: So forks with modules added or removed cannot be called Python? Distributions that make parts of the stdlib optional are not forks. The PSF Windows installer makes tcl/tk, tkinter, IDLE, and turtle? modules optional. Distributions that package

Re: [Python-Dev] Someons's put a "Python 2.8" on GitHub

2016-12-10 Thread Terry Reedy
On 12/10/2016 4:05 AM, David Mertz wrote: I'm forwarding this to the PSF Trademarks committee. If there is a violation, it's a misuse of trademark, not copyright on the code which has the Python license stack. I believe that this 'derived work' is both a trademark and a license violation.

Re: [Python-Dev] PyPy progress: list of CPython 3.5 crashers and bugs

2016-12-05 Thread Terry Reedy
On 12/5/2016 3:42 AM, Armin Rigo wrote: [what to do with] http://bitbucket.org/pypy/extradoc/raw/extradoc/planning/py3.5/cpython-crashers.rst Independent isssues ultimately need separate tracker issues, but a few collective issues are definitely better than nothing on the tracker. Few free

Re: [Python-Dev] Python private and protected variables and methods

2016-11-29 Thread Terry Reedy
On 11/29/2016 9:39 AM, Annapoornima Koppad wrote: While teaching Python protected variables, I figured out the oddity about Python. I am using Python 2.7.12+ for my teaching. There is not really a concept of protected variables in Python, is it? Only the _ convention. For a more detailed

[Python-Dev] New problem accessing tracker with Firefox 50.0

2016-11-18 Thread Terry Reedy
Starting today, while reviewing the "Summary of Python tracker issues", I get the following for about half the clicks. """ Secure Connection Failed An error occurred during a connection to bugs.python.org. A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred

Re: [Python-Dev] Warnings behave differently in Python 2 and Python 3?

2016-11-14 Thread Terry Reedy
On 11/14/2016 4:44 PM, Christoph Groth wrote: Thanks, Victor, for the link to the bug fix! I suspected that the original mechanism was something like that, but I believed that it was so by design. I find it a bit surprising that CPython gets changed between versions in backwards-incompatible

Re: [Python-Dev] itertools predicates

2016-11-02 Thread Terry Reedy
On 11/2/2016 6:03 PM, Francisco Couzo wrote: Some functions that take a predicate from itertools accept None as its predicate: list(itertools.filterfalse(None, range(10))) [0] list(itertools.groupby([0,0,1,1], None)) [(0, ), (1, )] While others don't: list(itertools.dropwhile(None,

Re: [Python-Dev] Implementing (parts of) copy module in C

2016-11-02 Thread Terry Reedy
On 11/2/2016 3:54 AM, Mark Lawrence via Python-Dev wrote: On 02/11/2016 06:23, Stephen J. Turnbull wrote: That is correct. This is clearly a feature, and 2.7 currently is accepting only security-related patches (broadly construed -- a sufficiently severe bug, such as a crash or infloop, is

Re: [Python-Dev] Have I got my hg dependencies correct?

2016-10-21 Thread Terry Reedy
On 10/21/2016 2:12 PM, Brett Cannon wrote: On Thu, 20 Oct 2016 at 04:48 Skip Montanaro > wrote: I've recently run into a problem building the math and cmath modules for 2.7. (I don't rebuild very often, so this problem might

Re: [Python-Dev] Update to PEP 1 re: content type

2016-10-13 Thread Terry Reedy
On 10/13/2016 5:59 PM, Barry Warsaw wrote: On Oct 13, 2016, at 05:31 PM, Terry Reedy wrote: The major issue is making knowledge of rst and sphinx a requirement for submitting a PEP. I suggest making sure that PEP 1 exemplifies the preferred usage of rst in PEPs and then suggesting using

Re: [Python-Dev] Update to PEP 1 re: content type

2016-10-13 Thread Terry Reedy
On 10/13/2016 4:38 PM, Barry Warsaw wrote: On Oct 13, 2016, at 01:32 PM, Guido van Rossum wrote: Confirming, +1 from me. Barry, Nick? You two are the most active authors of PEP 1. +1 for text/x-rst being the preferred. We'd need some time to make it the default, but I'm generally in favor

Re: [Python-Dev] Adding bytes.frombuffer() constructor to PEP 467 (was: [Python-ideas] Adding bytes.frombuffer() constructor

2016-10-12 Thread Terry Reedy
On 10/12/2016 5:42 AM, INADA Naoki wrote: On Wed, Oct 12, 2016 at 2:32 PM, Serhiy Storchaka wrote: On 12.10.16 07:08, INADA Naoki wrote: Sample code: def read_line(buf: bytearray) -> bytes: try: n = buf.index(b'\r\n') except ValueError:

Re: [Python-Dev] Optimizing list.sort() by checking type in advance

2016-10-11 Thread Terry Reedy
On 10/11/2016 10:26 AM, Chris Angelico wrote: After the first call, the list will be sorted. Any subsequent attempts will use the sorted list. This seems like a generic issue with timing mutation methods. Is the mutated output suitable input for another mutation. With list.reverse, the

Re: [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered

2016-09-14 Thread Terry Reedy
On 9/14/2016 9:33 AM, INADA Naoki wrote: I mean using a compact representation, if not an ordered one. I have no particular usecase in mind. As far as I understand the compact implementation, sets can do it just as well. The original discussion proposed trying to implement it for sets first.

Re: [Python-Dev] Drastically improving list.sort() for lists of strings/ints

2016-09-11 Thread Terry Reedy
On 9/11/2016 3:45 AM, Elliot Gorokhovsky wrote: Hello all, I am interested in making a non-trivial improvement to list.sort(), This is non-trivial, and harder than you seem to think it is. > but before I put in the work, I want to test the waters and see if this is something the community

Re: [Python-Dev] PEP520 and absence of __definition_order__

2016-09-10 Thread Terry Reedy
On 9/10/2016 5:27 AM, Nick Coghlan wrote: On 10 September 2016 at 17:49, Ethan Furman wrote: Per Victor's advice I'm posting this here. PEP 520 has been accepted, but without the __definition_order__ attribute. The accompanying comment: "Note: Since compact dict has

Re: [Python-Dev] Please reject or postpone PEP 526

2016-09-05 Thread Terry Reedy
On 9/5/2016 11:34 AM, Guido van Rossum wrote: On Mon, Sep 5, 2016 at 7:19 AM, Mark Shannon wrote: Indeed, we shouldn't panic. We should take our time, review this carefully and make sure that the version of typehints that lands in 3.7 is one that we most of us are happy with

Re: [Python-Dev] Update on PEP 523 and adding a co_extra field to code objects

2016-08-30 Thread Terry Reedy
On 8/30/2016 4:20 AM, Maciej Fijalkowski wrote: On Tue, Aug 30, 2016 at 3:00 AM, Brett Cannon <br...@python.org> wrote: On Mon, Aug 29, 2016, 17:06 Terry Reedy <tjre...@udel.edu> wrote: On 8/29/2016 5:38 PM, Brett Cannon wrote: who objected to the new field did either for memo

Re: [Python-Dev] Supported versions of OpenSSL

2016-08-30 Thread Terry Reedy
On 8/29/2016 10:59 PM, Nick Coghlan wrote: By contrast (and assuming I understand the situation correctly), the Windows build is already set up around the assumption that you'll need to build OpenSSL yourself. If one installs a minimal svn client and passes -e to Zack's wonderful built.bat,

Re: [Python-Dev] Update on PEP 523 and adding a co_extra field to code objects

2016-08-29 Thread Terry Reedy
On 8/29/2016 5:38 PM, Brett Cannon wrote: who objected to the new field did either for memory ("it adds another pointer to the struct that won't be typically used"), or for conceptual reasons ("the code object is immutable and you're proposing a mutable field"). The latter is addressed by not

Re: [Python-Dev] Supported versions of OpenSSL

2016-08-29 Thread Terry Reedy
On 8/29/2016 5:20 PM, Christian Heimes wrote: On 2016-08-29 23:00, Gregory P. Smith wrote: Lets make 3.7 require a higher version. The common OSS OS distros of its time will be better prepared. Especially is warned. My multissl test script allows me to compile and test _ssl.c and

[Python-Dev] What do we do about bad slicing and possible crashes (issue 27867)

2016-08-27 Thread Terry Reedy
Slicing can be made to malfunction and even crash with an 'evil' __index__ method. https://bugs.python.org/issue27867 The crux of the problem is this: PySlice_GetIndicesEx receives a slice object and a sequence length. Calling __index__ on the start, stop, and step components can mutate the

[Python-Dev] Anyone know Brendan Scott, author of 'Python for Kids'?

2016-08-21 Thread Terry Reedy
Brendan Scott, author of 'Python for Kids for Dummies' is revising his book to produce a Python 3 version. Great so far. Unfortunately, he thinks that Python 3 turned range() into a (generator) function that produces a generator, one that can be indexed and sliced. I left a comment on his

Re: [Python-Dev] Failures in test_site.py - how to debug?

2016-08-19 Thread Terry Reedy
On 8/19/2016 12:10 PM, Chris Angelico wrote: On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower wrote: Check any .pth files you can find. I suspect mpl_toolkits has some magic in it to make the namespace package work on 2.7. sys.path ['/usr/local/lib/python36.zip',

Re: [Python-Dev] Failures in test_site.py - how to debug?

2016-08-19 Thread Terry Reedy
On 8/19/2016 10:13 AM, Chris Angelico wrote: On my main dev system (Debian Stretch), I've had a single long-standing test failure - test_site.py, StartupImportTests.test_startup_imports. It's annoying (partly because it's such a noisy failure), and doesn't appear to be happening on the

Re: [Python-Dev] Changing the licence of statistics.py

2016-08-14 Thread Terry Reedy
On 8/14/2016 12:40 AM, Ned Deily wrote: On Aug 14, 2016, at 00:20, Steven D'Aprano wrote: I'm the author of statistics.py, and for historical reasons it was originally included in the standard library under the Apache licence. I now wish to change that and have it

Re: [Python-Dev] stuck issue 26826

2016-08-03 Thread Terry Reedy
On 8/3/2016 1:23 PM, Marcos Dione wrote: Hi pythonistas. A couple of moths ago I opened an issue in the bug tracker for adding a new syscall to the os module. It's based on new developments in the Linux kernel. Here's the link: https://bugs.python.org/issue26826 I suggest that at some

Re: [Python-Dev] Proposal: explicitly disallow function/class mismatches in accelerator modules

2016-07-09 Thread Terry Reedy
On 7/9/2016 9:50 AM, Nick Coghlan wrote: I'm in the process of trying to disentangle http://bugs.python.org/issue27137 which points out some of the behavioural differences that arise when falling back from the original C implementation of functools.partial to the pure Python emulation that uses

Re: [Python-Dev] release cadence

2016-07-03 Thread Terry Reedy
On 7/3/2016 4:22 PM, Brett Cannon wrote: So if we really wanted to go this route of breaking out the stdlib, I think we have two options. One is to have the cpython repo represent the CPython interpreter and then have a separate stdlib repo. The other option is to still have cpython represent

Re: [Python-Dev] Why does base64 return bytes?

2016-06-14 Thread Terry Reedy
On 6/14/2016 12:29 PM, Mark Lawrence via Python-Dev wrote: As I've the time to play detective I'd suggest https://mail.python.org/pipermail/python-3000/2007-July/008975.html Thank you for finding that. I reread it and still believe that bytes was the right choice. Base64 is an generic edge

Re: [Python-Dev] Why does base64 return bytes?

2016-06-14 Thread Terry Reedy
On 6/14/2016 12:32 PM, Toshio Kuratomi wrote: The input to encoding would have to remain bytes (that's the main purpose of base64... to turn bytes into an ascii string). The purpose is to turn arbitrary binary data (commonly images) into 'safe bytes' that will not get mangled on transmission

Re: [Python-Dev] mod_python compilation error in VS 2008 for py2.7.1

2016-06-14 Thread Terry Reedy
On 6/14/2016 4:44 AM, asimkon wrote: I would like to ask you a technical question regarding python module compilation for python 2.7.1. So you know, python-list, where you cross-posted this, is the right place for discussion of development *with* Python. python-dev is for development *of*

<    1   2   3   4   5   6   7   8   9   10   >