Re: [Python-Dev] Allow annotations using basic types in the stdlib?

2017-11-06 Thread R. David Murray
I agree with Steve. There is *cognitive* overhead to type annotations. I find that they make Python code harder to read and understand. So I object to them in the documentation and docstrings as well. (Note: while I agree that the notation is compact for the simple types, the fact that it would

Re: [Python-Dev] PEP 548: More Flexible Loop Control

2017-09-06 Thread R. David Murray
On Wed, 06 Sep 2017 09:43:53 -0700, Guido van Rossum wrote: > I'm actually not in favor of this. It's another way to do the same thing. > Sorry to rain on your dream! So it goes :) I learned things by going through the process, so it wasn't wasted time for me even if (or

Re: [Python-Dev] PEP 548: More Flexible Loop Control

2017-09-06 Thread R. David Murray
On Wed, 06 Sep 2017 15:05:51 +1000, Chris Angelico <ros...@gmail.com> wrote: > On Wed, Sep 6, 2017 at 10:11 AM, R. David Murray <rdmur...@bitdance.com> > wrote: > > I've written a PEP proposing a small enhancement to the Python loop > > control statements. Short ve

[Python-Dev] PEP 548: More Flexible Loop Control

2017-09-05 Thread R. David Murray
I've written a PEP proposing a small enhancement to the Python loop control statements. Short version: here's what feels to me like a Pythonic way to spell "repeat until": while: break if The PEP goes into some detail on why this feels like a readability improvement in the

[Python-Dev] Version and Last-Modified headers are no longer required in PEPs.

2017-09-05 Thread R. David Murray
The Version and Last-Modified headers required by PEP1 used to be maintained by the version control system, but this is not true now that we've switched to git. We are therefore deprecating these headers and have removed them from PEP1. The PEP generation script now considers them to be

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-07-07 Thread R. David Murray
On Wed, 06 Jul 2016 16:14:34 -, Alexandru Croitor wrote: > I'm interested to find out if debugging Python scripts with GDB is supported > on OSX at all? > > I'm referring to the functionality described on > https://wiki.python.org/moin/DebuggingWithGdb and on >

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

2016-06-16 Thread R. David Murray
On Wed, 15 Jun 2016 11:51:05 +1200, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > R. David Murray wrote: > > The fundamental purpose of the base64 encoding is to take a series > > of arbitrary bytes and reversibly turn them into another series of > > by

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

2016-06-14 Thread R. David Murray
On Tue, 14 Jun 2016 14:05:19 -0300, "Joao S. O. Bueno" wrote: > On 14 June 2016 at 13:32, Toshio Kuratomi wrote: > > > > On Jun 14, 2016 8:32 AM, "Joao S. O. Bueno" wrote: > >> > >> On 14 June 2016 at 12:19, Steven D'Aprano

Re: [Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits?

2016-06-09 Thread R. David Murray
On Thu, 09 Jun 2016 13:12:22 +0100, Cory Benfield wrote: > The Linux kernel can’t change this stuff easily because they mustn’t > break userspace. Python *is* userspace, we can do what we like, and we I don't have specific input on the rest of this discussion, but I

Re: [Python-Dev] Proper way to specify that a method is not defined for a type

2016-06-07 Thread R. David Murray
For those interested in this topic, if you are not already aware of it, see also http://bugs.python.org/issue25958, which among other things has a relevant proposed patch for datamode.rst. On Tue, 07 Jun 2016 10:56:37 -0700, Guido van Rossum wrote: > Setting it to None in the

Re: [Python-Dev] FIXED: I broke the 3.5 branch, apparently

2016-06-03 Thread R. David Murray
On Fri, 03 Jun 2016 23:21:25 +0100, MRAB <pyt...@mrabarnett.plus.com> wrote: > On 2016-06-03 22:50, R. David Murray wrote: > > I don't understand how it happened, but apparently I got a merge commit > > backward and merged 3.6 into 3.5 and pushed it without realizing

[Python-Dev] I broke the 3.5 branch, apparently

2016-06-03 Thread R. David Murray
I don't understand how it happened, but apparently I got a merge commit backward and merged 3.6 into 3.5 and pushed it without realizing what had happened. If anyone has any clue how to reverse this cleanly, please let me know. (There are a couple people at the sprints looking in to it, but the

Re: [Python-Dev] Pathlib enhancments - method name only

2016-04-10 Thread R. David Murray
On Sun, 10 Apr 2016 18:51:23 +1200, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > On 9 April 2016 at 23:02, R. David Murray <rdmur...@bitdance.com> wrote: > > > >>That is, a 'filename' is the identifier we've assigned to this thing > >>point

Re: [Python-Dev] Pathlib enhancments - method name only

2016-04-09 Thread R. David Murray
On Sat, 09 Apr 2016 17:48:38 +1000, Nick Coghlan wrote: > On 9 April 2016 at 04:25, Brett Cannon wrote: > > On Fri, 8 Apr 2016 at 11:13 Ethan Furman wrote: > >> On 04/08/2016 10:46 AM, Koos Zevenhoven wrote: > >> > On Fri, Apr 8, 2016

Re: [Python-Dev] Pathlib enhancments - method name only

2016-04-08 Thread R. David Murray
On Fri, 08 Apr 2016 19:24:44 -, Brett Cannon wrote: > On Fri, 8 Apr 2016 at 12:10 Chris Angelico wrote: > > > On Sat, Apr 9, 2016 at 5:03 AM, Chris Barker > > wrote: > > > On Fri, Apr 8, 2016 at 11:34 AM, Koos Zevenhoven

Re: [Python-Dev] bugs.python.org email blockage at gmail

2016-04-06 Thread R. David Murray
On Wed, 06 Apr 2016 12:03:36 +0900, "Stephen J. Turnbull" <step...@xemacs.org> wrote: > R. David Murray writes: > > > again. However, the IPV4 address has a poor reputation, and Verizon > > at least appears to be blocking it. So more work is still needed

Re: [Python-Dev] bugs.python.org email blockage at gmail

2016-04-06 Thread R. David Murray
On Wed, 06 Apr 2016 12:21:04 +1000, Nick Coghlan wrote: > On 6 April 2016 at 11:27, Terry Reedy wrote: > bugs.python.org is currently sending notification emails directly to > recipients, rather than routing them via the outbound SMTP server on >

[Python-Dev] bugs.python.org email blockage at gmail

2016-04-05 Thread R. David Murray
We think we have a partial (and hopefully temporary) solution to the bugs email blockage: ipv6 has been turned off on bugs, so it is sending only from the ipv4 address. Google appears to be accepting the emails again. However, the IPV4 address has a poor reputation, and Verizon at least appears

Re: [Python-Dev] Not receiving bug tracker emails

2016-03-30 Thread R. David Murray
On Wed, 30 Mar 2016 08:08:59 +0300, Serhiy Storchaka wrote: > On 30.03.16 03:23, Victor Stinner wrote: > > same for me, i'm using using gmail with a @gmail.com email. > > > > Victor > > > > 2016-03-30 1:30 GMT+02:00 Martin Panter : > >> For the last ~36

Re: [Python-Dev] Bug in build system for cross-platform builds

2016-03-14 Thread R. David Murray
On Mon, 14 Mar 2016 03:04:08 -, "Gregory P. Smith" wrote: > On Sun, Mar 13, 2016 at 7:41 PM Martin Panter wrote: > > > On 13 March 2016 at 01:13, Russell Keith-Magee > > wrote: > > > The patches that I've uploaded to

Re: [Python-Dev] Python should be easily compilable on Windows with MinGW

2016-02-26 Thread R. David Murray
On Fri, 26 Feb 2016 10:05:19 -0800, Dan Stromberg wrote: > But what do you really think? > > IMO, windows builds probably should do both visual studio and mingw. > That is, there probably should be two builds on windows, since there's > no clear consensus about which to use.

Re: [Python-Dev] More optimisation ideas

2016-02-01 Thread R. David Murray
On Mon, 01 Feb 2016 14:12:27 +1100, Steven D'Aprano wrote: > On Sun, Jan 31, 2016 at 08:23:00PM +, Brett Cannon wrote: > > So freezing the stdlib helps on UNIX and not on OS X (if my old testing is > > still accurate). I guess the next question is what it does on Windows

Re: [Python-Dev] Asynchronous context manager in a typical network server

2015-12-18 Thread R. David Murray
On Fri, 18 Dec 2015 18:29:35 +0200, Andrew Svetlov wrote: > I my asyncio code typical initialization/finalization procedures are > much more complicated. > I doubt if common code can be extracted into asyncio. > Personally I don't feel the need for `wait_forever()` or >

Re: [Python-Dev] "python.exe is not a valid Win32 app"

2015-12-15 Thread R. David Murray
On Tue, 15 Dec 2015 15:41:35 +0100, Laura Creighton wrote: > In a message of Tue, 15 Dec 2015 11:46:03 +0100, Armin Rigo writes: > >Hi all, > > > >On Tue, Dec 1, 2015 at 8:13 PM, Laura Creighton wrote: > >> Python 3.5 is not supported on windows XP. Upgrade

Re: [Python-Dev] Python Language Reference has no mention of list comÃprehensions

2015-12-04 Thread R. David Murray
On Fri, 04 Dec 2015 18:38:03 +1000, Nick Coghlan wrote: > Summarising that idea: > > * literals: any of the dedicated expressions that produce an instance > of a builtin type > * constant literal: literals that produce a constant object that can > be cached in the bytecode >

Re: [Python-Dev] Python Language Reference has no mention of list comÃprehensions

2015-12-03 Thread R. David Murray
On Thu, 03 Dec 2015 16:15:30 +, MRAB wrote: > On 2015-12-03 15:09, Random832 wrote: > > On 2015-12-03, Laura Creighton wrote: > >> Who came up with the word 'display' and what does it have going for > >> it that I have missed? Right now I think

Re: [Python-Dev] Avoiding CPython performance regressions

2015-11-30 Thread R. David Murray
On Mon, 30 Nov 2015 09:02:12 -0200, Fabio Zadrozny wrote: > Note that uploading the data to SpeedTin should be pretty straightforward > (by using https://github.com/fabioz/pyspeedtin, so, the main issue would be > setting up o machine to run the benchmarks). Thanks, but Zach

Re: [Python-Dev] Request for pronouncement on PEP 493 (HTTPS verification backport guidance)

2015-11-25 Thread R. David Murray
On Thu, 26 Nov 2015 09:17:02 +1300, Robert Collins wrote: > On 26 November 2015 at 08:57, Barry Warsaw wrote: > > There's a lot to process in this thread, but as I see it, the issue breaks > > down to these questions: > > > > * How should PEP 493 be

Re: [Python-Dev] Benchmark results across all major Python implementations

2015-11-18 Thread R. David Murray
On 17 Nov 2015, at 21:22, Stewart, David C <david.c.stew...@intel.com> wrote: > On 11/17/15, 10:40 AM, "Python-Dev on behalf of R. David Murray" > <python-dev-bounces+david.c.stewart=intel@python.org on behalf of > rdmur...@bitdance.com> wrote: >> >&

Re: [Python-Dev] Benchmark results across all major Python implementations

2015-11-17 Thread R. David Murray
On Mon, 16 Nov 2015 23:37:06 +, "Stewart, David C" wrote: > Last June we started publishing a daily performance report of the latest > Python tip against the previous day's run and some established synch point. > We mail these to the community to act as a "canary

Re: [Python-Dev] Benchmark results across all major Python implementations

2015-11-16 Thread R. David Murray
On Mon, 16 Nov 2015 21:23:49 +0100, Maciej Fijalkowski wrote: > Any thoughts on improving the benchmark set (I think all of > {cpython,pypy,pyston} introduced new benchmarks to the set). > "speed.python.org" becoming a thing is generally stopped on "noone > cares enough to set

Re: [Python-Dev] doc tests failing

2015-11-13 Thread R. David Murray
We don't have clean doctests for the docs. Patches welcome. At one point I had made the turtle doctests pass (it draws a bunch of stuff on the screen) because otherwise we don't have very many turtle tests, but I haven't checked it in a couple years. Hmm. We could list making the doc doctests

Re: [Python-Dev] Rationale behind lazy map/filter

2015-11-05 Thread R. David Murray
On Thu, 05 Nov 2015 03:59:05 +, Michael Selik wrote: > > I'm not suggesting restarting at the top (I've elsewhere suggested that > > many such methods would be better as an *iterable* that can be restarted > > at the top by calling iter() multiple times, but that's not the

Re: [Python-Dev] If you shadow a module in the standard library that IDLE depends on, bad things happen

2015-10-29 Thread R. David Murray
On Thu, 29 Oct 2015 16:56:38 -0700, Nathaniel Smith wrote: > On Thu, Oct 29, 2015 at 1:50 PM, Ryan Gonzalez wrote: > > Why not just check the path of the imported modules and compare it with the > > Python library directory? > > It works, but it requires that

Re: [Python-Dev] Generated Bytecode ...

2015-10-22 Thread R. David Murray
On Thu, 22 Oct 2015 17:02:48 -, Brett Cannon wrote: > On Thu, 22 Oct 2015 at 09:37 Stéphane Wirtel wrote: > > > Hi all, > > > > When we compile a python script > > > > # test.py > > if 0: > > x = 1 > > > > python -mdis test.py > > > > There is

Re: [Python-Dev] Rationale behind lazy map/filter

2015-10-13 Thread R. David Murray
On Tue, 13 Oct 2015 14:59:56 +0300, Stefan Mihaila wrote: > Maybe it's just python2 habits, but I assume I'm not the only one > carelessly thinking that "iterating over an input a second time will > result in the same thing as the first time (or raise an error)".

Re: [Python-Dev] Rationale behind lazy map/filter

2015-10-13 Thread R. David Murray
On Tue, 13 Oct 2015 11:26:09 -0400, Random832 <random...@fastmail.com> wrote: > "R. David Murray" <rdmur...@bitdance.com> writes: > > > On Tue, 13 Oct 2015 14:59:56 +0300, Stefan Mihaila > > <stefanmihail...@gmail.com> wrote: > >> Maybe it's

Re: [Python-Dev] Rationale behind lazy map/filter

2015-10-13 Thread R. David Murray
On Tue, 13 Oct 2015 12:08:12 -0400, Random832 <random...@fastmail.com> wrote: > "R. David Murray" <rdmur...@bitdance.com> writes: > > On Tue, 13 Oct 2015 11:26:09 -0400, Random832 <random...@fastmail.com> > > wrote: > > > > And the answ

Re: [Python-Dev] Committing a bug fix

2015-09-27 Thread R. David Murray
On Sun, 27 Sep 2015 21:08:02 -0400, Alexander Belopolsky wrote: > Can someone remind me which branches regular (non-security) bug fixes go to > these days? See for context. 3.4, 3.5, and default. (3.4 for only another few

Re: [Python-Dev] xunit unittest.TestSuite

2015-09-26 Thread R. David Murray
On Sat, 26 Sep 2015 10:26:39 -0700, vijayram wrote: > I am facing this same issue described here: > https://github.com/nose-devs/nose/issues/542 > > > any alternative or solution to this issue that anyone is aware of...

Re: [Python-Dev] My collection of Python 3.5.0 regressions

2015-09-18 Thread R. David Murray
Once Steve comes back from vacation he's going to have a lot of Windows install issues to look at. IMO, we should resolve those, and then issue 3.5.1. It's really too bad more people didn't test the installation with the release candidates, and I'm very glad that those people who did so did

Re: [Python-Dev] PEP: Collecting information about git

2015-09-16 Thread R. David Murray
On Wed, 16 Sep 2015 19:59:28 +1000, Chris Angelico wrote: > On Wed, Sep 16, 2015 at 7:46 PM, Oleg Broytman wrote: > > For example, I develop > > SQLObject using two private clones (clean backup repo and dirty working > > repo) and three public clones at Gitlab,

Re: [Python-Dev] PEP: Collecting information about git

2015-09-16 Thread R. David Murray
On Wed, 16 Sep 2015 09:17:38 -0700, Nikolaus Rath <nikol...@rath.org> wrote: > On Sep 16 2015, "R. David Murray" <rdmur...@bitdance.com> wrote: > > The DAG plus git branches-as-labels *fits in my head* in a way that the > > DAG plus named-branches-and-other-

Re: [Python-Dev] PEP: Collecting information about git

2015-09-15 Thread R. David Murray
On Tue, 15 Sep 2015 20:32:33 +0200, Georg Brandl wrote: > On 09/15/2015 08:22 PM, Guido van Rossum wrote: > > For one, because *I* have been a (moderate) advocate for switching to git > > and > > GitHub. > > Fair enough. Still strange to read this PEP with the explicit caveat

Re: [Python-Dev] Can't post to bugs.python.org

2015-09-10 Thread R. David Murray
On Thu, 10 Sep 2015 13:27:42 +0300, Serhiy Storchaka wrote: > I can't neither post a message to existing issue nor open a new issue. > The irker854 bot on IRC channel #python-dev cites my message and the > tracker updates activity time of existing issue, but doesn't show

Re: [Python-Dev] Can't post to bugs.python.org

2015-09-10 Thread R. David Murray
On Thu, 10 Sep 2015 09:02:01 -0400, "R. David Murray" <rdmur...@bitdance.com> wrote: > If this continues to plague you, we'll probably need to do some live > debugging. You can ping me (bitdancer) on IRC, I should be on for the > next 8 hours or so. This turns

Re: [Python-Dev] what is wrong with hg.python.org

2015-09-09 Thread R. David Murray
On Wed, 09 Sep 2015 20:02:38 +0200, Ivan Levkivskyi wrote: > https://hg.python.org/ returns 503 Service Unavailable for an hour or so. > Is it a maintenance? When it is expected to end? It was an attempt at maintenance (upgrade) that went bad. No ETA yet, I'm afraid. The

Re: [Python-Dev] Yet another "A better story for multi-core Python" comment

2015-09-08 Thread R. David Murray
On Tue, 08 Sep 2015 10:12:37 -0400, Gary Robinson wrote: > 2) Have a mode where a particular data structure is not reference > counted or garbage collected. This sounds kind of like what Trent did in PyParallel (in a more generic way). --David

Re: [Python-Dev] Testing tkinter on Linux

2015-08-27 Thread R. David Murray
On Thu, 27 Aug 2015 14:24:36 -0400, Terry Reedy tjre...@udel.edu wrote: On 8/27/2015 12:35 AM, Chris Angelico wrote: On Thu, Aug 27, 2015 at 2:20 PM, Terry Reedy tjre...@udel.edu wrote: None of the linux buildbots run with X enabled. Consequently none of the tkinter (or tkinter user) gui

Re: [Python-Dev] django_v2 benchmark compatibility fix for Python 3.6

2015-08-25 Thread R. David Murray
On Tue, 25 Aug 2015 13:11:37 -, Papa, Florin florin.p...@intel.com wrote: My name is Florin Papa and I work in the Server Languages Optimizations Team at Intel Corporation. I would like to submit a patch that solves compatibility issues of the django_v2 benchmark in the Grand Unified

Re: [Python-Dev] django_v2 benchmark compatibility fix for Python 3.6

2015-08-25 Thread R. David Murray
On Tue, 25 Aug 2015 11:18:54 -0400, Terry Reedy tjre...@udel.edu wrote: On 8/25/2015 10:51 AM, R. David Murray wrote: On Tue, 25 Aug 2015 13:11:37 -, Papa, Florin florin.p...@intel.com wrote: My name is Florin Papa and I work in the Server Languages Optimizations Team at Intel

Re: [Python-Dev] Profile Guided Optimization active by-default

2015-08-25 Thread R. David Murray
On Tue, 25 Aug 2015 15:59:23 -, Brett Cannon br...@python.org wrote: On Mon, 24 Aug 2015 at 23:19 Nick Coghlan ncogh...@gmail.com wrote: On 25 August 2015 at 05:52, Gregory P. Smith g...@krypto.org wrote: What we tested and decided to use on our own builds after benchmarking at work

Re: [Python-Dev] Burning down the backlog.

2015-08-18 Thread R. David Murray
On Tue, 18 Aug 2015 12:47:22 +1000, Ben Finney ben+pyt...@benfinney.id.au wrote: Robert Collins robe...@robertcollins.net writes: However - 9 isn't a bad number for 'patches that the triagers think are ready to commit' inventory. So yay!. Also - triagers, thank you for feeding patches

Re: [Python-Dev] [python-committers] How are we merging forward from the Bitbucket 3.5 repo?

2015-08-16 Thread R. David Murray
On Sun, 16 Aug 2015 11:24:32 -0400, R. David Murray rdmur...@bitdance.com wrote: On Sun, 16 Aug 2015 00:13:10 -0700, Larry Hastings la...@hastings.org wrote: 3. After your push request is merged, you pull from bitbucket.com/larry/cpython350 into hg.python.org/cpython and merge

Re: [Python-Dev] How are we merging forward from the Bitbucket 3.5 repo?

2015-08-16 Thread R. David Murray
On Sun, 16 Aug 2015 00:13:10 -0700, Larry Hastings la...@hastings.org wrote: So far I've accepted two pull requests into bitbucket.com/larry/cpython350 in the 3.5 branch, what will become 3.5.0rc2. As usual, it's the contributor's responsibility to merge forward; if their checkin goes

Re: [Python-Dev] How are we managing 3.5 NEWS?

2015-08-16 Thread R. David Murray
The 3.5.0 patch flow question also brings up the question of how we are managing NEWS for 3.5.0 vs 3.5.1. We have some commits that are going in to both 3.5.0a2 and 3.5.1, and some that are only going in to 3.5.1. Currently the 3.5.1 NEWS says things are going in to 3.5.0a2, but that's obviously

Re: [Python-Dev] About closures creates in exec

2015-08-12 Thread R. David Murray
On Wed, 12 Aug 2015 21:05:50 +0200, Andrea Griffini agr...@tin.it wrote: Is it intended that closures created in exec statement/function cannot see locals if the exec was provided a locals dictionary? This code gives an error (foo is not found during lambda execution): exec(def foo(x):

Re: [Python-Dev] PEP needed for http://bugs.python.org/issue9232 ?

2015-08-11 Thread R. David Murray
On Tue, 11 Aug 2015 18:09:34 +1200, Robert Collins robe...@robertcollins.net wrote: So, there's a patch on issue 9232 - allow trailing commas in function definitions - but there's been enough debate that I suspect we need a PEP. Would love it if someone could correct me, but I'd like to be

Re: [Python-Dev] trailing commas on statements

2015-08-11 Thread R. David Murray
On Wed, 12 Aug 2015 01:03:38 +1000, Chris Angelico ros...@gmail.com wrote: On Wed, Aug 12, 2015 at 12:46 AM, R. David Murray rdmur...@bitdance.com wrote: (If you wanted to fix an 'oops' trailing comma syntax issue, I'd vote for disallowing trailing commas outside of (). The number of times

Re: [Python-Dev] PEP needed for http://bugs.python.org/issue9232 ?

2015-08-11 Thread R. David Murray
On Tue, 11 Aug 2015 08:31:57 -0700, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: Looking back at the previous discussion, it looked like it's all been said, and there was almost unanimous approval (with some key mild disapproval) for the idea, so what we need now is a

Re: [Python-Dev] Status on PEP-431 Timezones

2015-07-29 Thread R. David Murray
On Wed, 29 Jul 2015 06:26:44 +0200, Lennart Regebro rege...@gmail.com wrote: On Tue, Jul 28, 2015 at 10:26 PM, Tim Peters tim.pet...@gmail.com wrote: I have yet to see a use case for that. Of course you have. When you address them, you usually dismiss them as calendar operations (IIRC).

Re: [Python-Dev] Status on PEP-431 Timezones

2015-07-27 Thread R. David Murray
On Mon, 27 Jul 2015 02:09:19 -0500, Tim Peters tim.pet...@gmail.com wrote: Seriously, try this exercise: how would you code Paul's example if your kind of arithmetic were in use instead? For a start, you have no idea in advance how many hours you may need to add to get to the same local time

Re: [Python-Dev] Status on PEP-431 Timezones

2015-07-27 Thread R. David Murray
On Mon, 27 Jul 2015 16:37:47 +0200, Lennart Regebro rege...@gmail.com wrote: On Mon, Jul 27, 2015 at 3:59 PM, R. David Murray rdmur...@bitdance.com wrote: I don't remember what that does to the time, and I have no intuition about it (I just want it to do the naive arithmetic!) But what

Re: [Python-Dev] Burning down the backlog.

2015-07-26 Thread R. David Murray
On Sun, 26 Jul 2015 22:59:51 +0100, Paul Moore p.f.mo...@gmail.com wrote: On 26 July 2015 at 16:39, Berker Peksağ berker.pek...@gmail.com wrote: I'm not actually clear what Commit Review status means. I did do a quick check of the dev guide, and couldn't come up with anything,

Re: [Python-Dev] Where are bugs with the web site reported?

2015-07-16 Thread R. David Murray
On Thu, 16 Jul 2015 12:24:45 -0700, Glenn Linderman v+pyt...@g.nevcal.com wrote: On 7/16/2015 12:11 PM, Ryan Gonzalez wrote: I have encountered this weird issue on Chrome for Android where scrolling up just a little causes the page to dart to the top. I was going to report it in the bug

Re: [Python-Dev] Cross compiling C-python 2.7.10 maintenance release for ARM on 64 bit x86_64 systems.

2015-07-14 Thread R. David Murray
On Tue, 14 Jul 2015 10:22:05 -, Andrew Robinson andr...@r3dsolutions.com wrote: I'm trying to cross compile C-python 2.7.10 for an embedded system. (Eg: a Kobo reader). But there appears to be some bugs that do not allow the latest maintenance release of Python to correctly cross

Re: [Python-Dev] Freeze exception for http://bugs.python.org/issue23661 ?

2015-07-13 Thread R. David Murray
On Tue, 14 Jul 2015 14:01:25 +1200, Robert Collins robe...@robertcollins.net wrote: So unittest.mock regressed during 3.5, and I found out when I released the mock backport. The regression is pretty shallow - I've applied the fix to 3.6, its a one-liner and comes with a patch. Whats the

Re: [Python-Dev] What's New editing

2015-07-06 Thread R. David Murray
On Mon, 06 Jul 2015 21:45:01 +0300, Serhiy Storchaka storch...@gmail.com wrote: On 05.07.15 20:52, R. David Murray wrote: Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3 and 3.4. I've

[Python-Dev] What's New editing

2015-07-05 Thread R. David Murray
Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3 and 3.4. I've tried to encourage people to keep What's New up to date, but *someone* should make a final editing pass. Ideally they'd do at least

Re: [Python-Dev] What's New editing

2015-07-05 Thread R. David Murray
On Mon, 06 Jul 2015 11:06:41 +1000, Nick Coghlan ncogh...@gmail.com wrote: On 6 July 2015 at 03:52, R. David Murray rdmur...@bitdance.com wrote: Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3

Re: [Python-Dev] Should asyncio ignore KeyboardInterrupt?

2015-07-04 Thread R. David Murray
Once long ago in Internet time (issue 581232) time.sleep on windows was not interruptible and this was fixed. Is it possible the work on EINTR has broken that fix? (I don't currently have 3.5 installed on windows to test that theory...) On Sat, 04 Jul 2015 17:46:34 +0200, Guido van Rossum

Re: [Python-Dev] Importance of async keyword

2015-06-26 Thread R. David Murray
On Sat, 27 Jun 2015 01:10:33 +1000, Chris Angelico ros...@gmail.com wrote: The way I'm seeing it, coroutines are like cooperatively-switched threads; you don't have to worry about certain operations being interrupted (particularly low-level ones like refcount changes or list growth), but any

Re: [Python-Dev] Tracker reviews look like spam

2015-06-09 Thread R. David Murray
On Tue, 09 Jun 2015 21:41:23 -, Gregory P. Smith g...@krypto.org wrote: I *believe* you can get this to happen today in a review if you add the rep...@bugs.python.org email address to the code review as the issueX in the subject line will make the tracker turn it into a bug comment.

Re: [Python-Dev] Tracker reviews look like spam

2015-06-07 Thread R. David Murray
mapping to it nor a reverse pointer from IP address to name in DNS. See the second-first comment where R. David Murray states that Mail is consistently sent from The ipv6 reverse dns issue is being worked on. ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] speed.python.org (was: 2.7 is here until 2020, please don't call it a waste.)

2015-06-04 Thread R. David Murray
of reliably and reproducibly testing Python performance. I'm very interested in speed.python.org and feel regret that the project is standing still. I have a mind to contribute something ... On 03.06.2015 18:59, Maciej Fijalkowski wrote: On Wed, Jun 3, 2015 at 3:49 PM, R. David Murray I

Re: [Python-Dev] 2.7 is here until 2020, please don't call it a waste.

2015-06-03 Thread R. David Murray
On Wed, 03 Jun 2015 12:04:10 +0200, Maciej Fijalkowski fij...@gmail.com wrote: On Wed, Jun 3, 2015 at 11:38 AM, M.-A. Lemburg m...@egenix.com wrote: On 02.06.2015 21:07, Maciej Fijalkowski wrote: Hi There was a PSF-sponsored effort to improve the situation with the

Re: [Python-Dev] [Python-checkins] cpython (3.4): Issue #23840: tokenize.open() now closes the temporary binary file on error to

2015-05-26 Thread R. David Murray
On Tue, 26 May 2015 08:20:01 +0200, Victor Stinner victor.stin...@gmail.com wrote: What is wrong with except: in this specific case? Nothing is wrong with it from a technical standpoint. However, if we use 'except BaseException' that makes it clear that someone has thought about it and decided

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread R. David Murray
On Tue, 21 Apr 2015 10:10:06 -0700, Guido van Rossum gu...@python.org wrote: On Tue, Apr 21, 2015 at 9:17 AM, R. David Murray rdmur...@bitdance.com wrote: Please be respectful rather than inflammatory. If you read what I wrote, I did not say that I was going to stop contributing, I

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread R. David Murray
On Tue, 21 Apr 2015 16:55:49 -, Gregory P. Smith g...@krypto.org wrote: We will not be putting type annotations anywhere in the stdlib or expecting anyone else to maintain them there. That would never happen until tools that are convincing enough in their utility for developers to _want_ to

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread R. David Murray
On Tue, 21 Apr 2015 21:31:49 +0300, Paul Sokolovsky pmis...@gmail.com wrote: On Tue, 21 Apr 2015 09:50:59 -0700 Ethan Furman et...@stoneleaf.us wrote: On 04/21, Paul Sokolovsky wrote: And for example yesterday's big theme was people blackmailing that they stop contributing to stdlib

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread R. David Murray
On Wed, 22 Apr 2015 01:09:52 +1000, Chris Angelico ros...@gmail.com wrote: def incremental_parser(input: FileLike) - List[Token]: tokens = [] data = while True: if not data: data = input.read(64) token = Token(data[0]); data = data[1:] while

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread R. David Murray
On Tue, 21 Apr 2015 18:27:50 +0300, Paul Sokolovsky pmis...@gmail.com wrote: I was replying to Steven's message. Did you read it? Yes. And I try to follow general course of discussion, as its hard to follow individual sub-threads. And for example yesterday's big theme was people

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-20 Thread R. David Murray
I wrote a longer response and then realized it didn't really add much to the discussion. So let me be short: type annotations do *not* appeal to me, and I am not looking forward to the cognitive overhead of dealing with them. Perhaps I will eventually grow to like them if the tools that use them

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-20 Thread R. David Murray
+1 to this from me too. I'm afraid that means I'm -1 on the PEP. I didn't write this in my earlier email because I wasn't sure about it, but my gut reaction after reading Harry's email was if type annotations are used in the stdlib, I'll probably stop contributing. That doesn't mean that's

Re: [Python-Dev] Summary of Python tracker Issues

2015-04-17 Thread R. David Murray
On Fri, 17 Apr 2015 18:08:24 +0200, Python tracker sta...@bugs.python.org wrote: ACTIVITY SUMMARY (2015-04-10 - 2015-04-17) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts

Re: [Python-Dev] Not being able to compile: make: *** [Programs/_freeze_importlib] Error 1

2015-04-16 Thread R. David Murray
On Thu, 16 Apr 2015 18:09:01 -0300, Facundo Batista facundobati...@gmail.com wrote: Full trace here: http://linkode.org/TgkzZw90JUaoodvYzU7zX6 Before going into a deep debug, I thought about sending a mail to see if anybode else hit this issue, if it's a common problem, if there's a

Re: [Python-Dev] TypeError messages

2015-02-21 Thread R. David Murray
On Sun, 22 Feb 2015 00:26:23 +1000, Nick Coghlan ncogh...@gmail.com wrote: On 21 February 2015 at 00:05, Brett Cannon br...@python.org wrote: I agree that type names don't need to be quoted. As a user, I actually appreciate the quotes, because they make the error pattern easier for me to

Re: [Python-Dev] Any grammar experts?

2015-01-26 Thread R. David Murray
On Mon, 26 Jan 2015 09:43:26 -0500, Barry Warsaw ba...@python.org wrote: On Jan 25, 2015, at 09:31 PM, R. David Murray wrote: {*x for x in it} which is a set comprehension, while the other is a dict comprehension :) That distinction doesn't bother me -- you might

Re: [Python-Dev] Any grammar experts?

2015-01-26 Thread R. David Murray
On Mon, 26 Jan 2015 22:05:44 +0100, Antoine Pitrou solip...@pitrou.net wrote: On Mon, 26 Jan 2015 12:22:20 -0800 Ethan Furman et...@stoneleaf.us wrote: On 01/26/2015 12:09 PM, Antoine Pitrou wrote: On Mon, 26 Jan 2015 12:06:26 -0800 Ethan Furman et...@stoneleaf.us wrote: It destroy's

Re: [Python-Dev] Any grammar experts?

2015-01-26 Thread R. David Murray
On Tue, 27 Jan 2015 00:07:08 +0100, Antoine Pitrou solip...@pitrou.net wrote: On Mon, 26 Jan 2015 16:28:24 -0500 R. David Murray rdmur...@bitdance.com wrote: My use case is a configuration method that takes keyword parameters. In tests I want to specify a bunch of default values

Re: [Python-Dev] Why are generated files in the repository?

2015-01-25 Thread R. David Murray
On Sun, 25 Jan 2015 14:00:57 +1000, Nick Coghlan ncogh...@gmail.com wrote: It's far more developer friendly to aim to have builds from a source check-out just work if we can. That's pretty much where we are today (getting external dependencies for the optional parts on *nix can still be a bit

Re: [Python-Dev] Any grammar experts?

2015-01-25 Thread R. David Murray
On Mon, 26 Jan 2015 01:21:24 +0100, Antoine Pitrou solip...@pitrou.net wrote: On Sun, 25 Jan 2015 14:59:42 -0800 Guido van Rossum gu...@python.org wrote: On Sun, Jan 25, 2015 at 7:32 AM, Georg Brandl g.bra...@gmx.net wrote: On 01/25/2015 04:08 PM, Antoine Pitrou wrote: On Sat, 24 Jan

Re: [Python-Dev] rst files

2015-01-23 Thread R. David Murray
On Fri, 23 Jan 2015 15:55:29 -0800, Guido van Rossum gu...@python.org wrote: This adds entries to the index of the document -- similar to the index at the end of a book. I think single vs. double refers to different types of entries. Check out this page: https://docs.python.org/3/genindex.html

Re: [Python-Dev] incorrect docstring for sys.int_info.sizeof_digit?

2015-01-21 Thread R. David Murray
On Wed, 21 Jan 2015 14:53:19 +, Tim Golden m...@timgolden.me.uk wrote: On 21/01/2015 11:07, Pfeiffer, Phillip E., IV wrote: Apologies if this has already been reported; I couldn't find a readily searchable archive for this mailing list (and apologies if I've just missed it).

Re: [Python-Dev] New Windows installer for Python 3.5

2015-01-12 Thread R. David Murray
On Mon, 12 Jan 2015 17:26:43 +, Steve Dower steve.do...@microsoft.com wrote: David Anthoff wrote: Yes, those are good examples. Right now doing this in the way these guys do is too much work for our small project... Anything that makes this easier would be appreciated. I don't

Re: [Python-Dev] contributing to multiprocessing

2015-01-08 Thread R. David Murray
On Thu, 08 Jan 2015 17:08:07 -0800, Ethan Furman et...@stoneleaf.us wrote: On 01/08/2015 03:21 PM, Davin Potts wrote: I am interested in making some serious ongoing contributions around multiprocessing. Great! Rather than me simply walking through that backlog, offering comments or

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-16 Thread R. David Murray
On Tue, 16 Dec 2014 10:48:07 -0800, Mark Roberts wiz...@gmail.com wrote: On Tue, Dec 16, 2014 at 2:45 AM, Antoine Pitrou solip...@pitrou.net wrote: Iterating accross a dictionary doesn't need compatibility shims. It's dead simple in all Python versions: $ python2 Python 2.7.8

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-13 Thread R. David Murray
On Sat, 13 Dec 2014 10:17:59 -0500, Barry Warsaw ba...@python.org wrote: On Dec 13, 2014, at 12:29 AM, Donald Stufft wrote: For what it’s worth, I almost exclusively write 2/3 compatible code (and that’s with the “easy” subset of 2.6+ and either 3.2+ or 3.3+) and doing so does make

Re: [Python-Dev] My thinking about the development process

2014-12-08 Thread R. David Murray
On Mon, 08 Dec 2014 12:27:23 -0800, Jim J. Jewett jimjjew...@gmail.com wrote: Brett Cannon wrote: 4. Contributor creates account on bugs.python.org and signs the [contributor agreement](https://www.python.org/psf/contrib/contrib-form/) Is there an expiration on such forms? If there

Re: [Python-Dev] Tracker test instances (was: My thinking about the development process)

2014-12-06 Thread R. David Murray
On Sat, 06 Dec 2014 15:21:46 +, Brett Cannon br...@python.org wrote: On Sat Dec 06 2014 at 10:07:50 AM Donald Stufft don...@stufft.io wrote: On Dec 6, 2014, at 9:11 AM, Brett Cannon br...@python.org wrote: On Fri Dec 05 2014 at 8:31:27 PM R. David Murray rdmur...@bitdance.com wrote

  1   2   3   4   5   6   7   8   9   10   >