Re: [Python-Dev] Integrating the PEP 397 launcher

2012-03-29 Thread Brian Curtin
On Thu, Mar 29, 2012 at 18:08, Glenn Linderman wrote: > All it needs is official acceptance now, and integration into the release, > no? If it wasn't clear, this is what I said in the first post. ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] Integrating the PEP 397 launcher

2012-03-29 Thread Brian Curtin
On Thu, Mar 29, 2012 at 22:48, wrote: > Now that we do have the PEP, I think that should be done properly. > I thought you offered to rewrite it. There are definitely areas that I would like to work on, especially pulling implementation details out and replacing with, as you say, end-user prose.

Re: [Python-Dev] Issue13210 : Support Visual Studio 2010

2012-03-31 Thread Brian Curtin
2012/3/31 Kristján Valur Jónsson : > Hi, > > Does anyone object if I submit my patches sxs.patch and errnomodule.patch? > > These allow python to work correctly when built with vs2010. > > > > There is also the PCBuild10.patch, but that can wait.  I'm sure a number of > people are regularly buildin

Re: [Python-Dev] .{git,bzr}ignore in cpython HG repo

2012-04-01 Thread Brian Curtin
On Fri, Mar 30, 2012 at 10:00, Matěj Cepl wrote: > Why does HG cpython repo contains .{bzr,git}ignore at all? > IMHO, all .*ignore files should be strictly repository dependent and they > should not be mixed together. For what reason? Are the git or bzr files causing issues on HG? ___

Re: [Python-Dev] .{git,bzr}ignore in cpython HG repo

2012-04-01 Thread Brian Curtin
On Sun, Apr 1, 2012 at 17:31, Matěj Cepl wrote: > On 1.4.2012 23:46, Brian Curtin wrote: >> >> For what reason? Are the git or bzr files causing issues on HG? > > > No, but wrong .gitignore causes issues with git repo obtained via > hg-fast-import. If it is meant as

[Python-Dev] Preparation for VS2010 - MSDN for Windows build slaves, core devs

2012-04-02 Thread Brian Curtin
Hi all, If you are a running a build slave or otherwise have an MSDN account for development work, please check that your MSDN subscription is still in effect. If the subscription expired, please let me know in private what your subscriber ID is along with the email address you use for the account

Re: [Python-Dev] Remove of w9xopen

2012-04-03 Thread Brian Curtin
On Tue, Apr 3, 2012 at 14:59, Andrew Svetlov wrote: > I filed the issue http://bugs.python.org/issue14470 for removing > w9xopen from subprocess as python 3.3 has declaration about finishing > support of Windows 2000 and Win9x family. > But, as I see, VC project for building w9xopen is still prese

[Python-Dev] Upgrading tcl/tk deps

2012-04-09 Thread Brian Curtin
Can someone let me in on the process to upgrade tcl and tk on svn.python.org? For the VS2010 port it looks like I need to upgrade since the 8.5.9 versions do not work. They use link options that choke on 2010. Taking 8.5.11, which is the current release, seems to work out alright so far. It seems

Re: [Python-Dev] Upgrading tcl/tk deps

2012-04-09 Thread Brian Curtin
On Mon, Apr 9, 2012 at 18:41, Terry Reedy wrote: > In particular, it should include a recent fix so that French keyboards work > with tk/tkinter and hence Idle better than now. There has been more than one > complaint about this. Do you know when this was fixed or have any information about it? T

Re: [Python-Dev] Upgrading tcl/tk deps

2012-04-09 Thread Brian Curtin
On Mon, Apr 9, 2012 at 20:53, Terry Reedy wrote: > On 4/9/2012 7:53 PM, Brian Curtin wrote: >> >> On Mon, Apr 9, 2012 at 18:41, Terry Reedy  wrote: >>> >>> In particular, it should include a recent fix so that French keyboards >>> work >>> with t

Re: [Python-Dev] A couple of PEP 418 comments

2012-04-13 Thread Brian Curtin
On Fri, Apr 13, 2012 at 11:29, Victor Stinner > I will move the precision of monotonic clock of Windows 9x info into this > table. I would just remove it entirely. It's not relevant since it's not supported. ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] cpython: Fix #10854. Make use of the new path and name attributes on ImportError

2012-04-16 Thread Brian Curtin
new function isn't documented anywhere. >> > > I forgot to write the docs for it when I committed Brian's code. > > Brian, do you mind writing the docs for the two functions? I'll take care of it today. ___ Python-Dev mail

Re: [Python-Dev] cpython: Fix #10854. Make use of the new path and name attributes on ImportError

2012-04-16 Thread Brian Curtin
On Mon, Apr 16, 2012 at 09:54, Brian Curtin wrote: > On Mon, Apr 16, 2012 at 09:52, Brett Cannon wrote: >> >> >> On Mon, Apr 16, 2012 at 07:19, Antoine Pitrou wrote: >>> >>> On Mon, 16 Apr 2012 07:10:31 +0200 >>> brian.curtin wrot

Re: [Python-Dev] cpython: Add documentation for the new PyErr_SetFromImport* functions

2012-04-16 Thread Brian Curtin
On Mon, Apr 16, 2012 at 18:02, Georg Brandl wrote: > On 16.04.2012 22:14, brian.curtin wrote: >> >> http://hg.python.org/cpython/rev/5cc8b717b38c >> changeset:   76363:5cc8b717b38c >> user:        Brian Curtin >> date:        Mon Apr 16 15:14:36 2012 -0500 >&

Re: [Python-Dev] __hash__ documentation

2012-04-18 Thread Brian Curtin
On Wed, Apr 18, 2012 at 13:07, Ethan Furman wrote: > http://bugs.python.org/issue14617 > > Patch attached to issue. Can I request that you not immediately post issues to python-dev? Those who follow the bug tracker will see the issue and act accordingly. (unless I missed some explicit request th

Re: [Python-Dev] Cython for cPickle?

2012-04-19 Thread Brian Curtin
On Thu, Apr 19, 2012 at 05:38, Nick Coghlan wrote: > On Thu, Apr 19, 2012 at 6:55 PM, Stefan Behnel wrote: >> What do you think? > > I think the possible use of Cython for standard library extension > modules is potentially worth looking into for the 3.4 timeframe (c.f. > the recent multiple chec

Re: [Python-Dev] Cython for cPickle?

2012-04-19 Thread Brian Curtin
On Thu, Apr 19, 2012 at 16:08, Stefan Behnel >> While code generation alleviates the burden of tedious languages, it's also >> infinitely more complex, makes debugging very difficult and adds to >> prerequisite knowledge, among other drawbacks. > > You can use gdb for source level debugging of Cyth

Re: [Python-Dev] Cython for cPickle?

2012-04-19 Thread Brian Curtin
On Thu, Apr 19, 2012 at 17:21, Stefan Behnel wrote: > Brian Curtin, 19.04.2012 23:19: >> On Thu, Apr 19, 2012 at 16:08, Stefan Behnel >>>> While code generation alleviates the burden of tedious languages, it's also >>>> infinitely more complex, make

Re: [Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.

2012-04-24 Thread Brian Curtin
On Tue, Apr 24, 2012 at 14:34, Éric Araujo wrote: > Le 24/04/2012 15:02, Georg Brandl a écrit : >> >> On 24.04.2012 20:34, Benjamin Peterson wrote: >>> >>> 2012/4/24 Georg Brandl: I think that's misleading: there's no way to "correctly" parse malformed HTML. >>> >>> There is in the

Re: [Python-Dev] [Python-checkins] cpython: Fix #3561. Add an option to place the Python installation into the Windows Path

2012-04-25 Thread Brian Curtin
On Wed, Apr 25, 2012 at 08:13, brian.curtin wrote: > http://hg.python.org/cpython/rev/4e9f1017355f > changeset:   76556:4e9f1017355f > user:        Brian Curtin > date:        Wed Apr 25 08:12:37 2012 -0500 > summary: >  Fix #3561. Add an option to place the Python installatio

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Brian Curtin
On Wed, May 2, 2012 at 12:06 PM, Ezio Melotti wrote: > On 02/05/2012 19.33, Michael Foord wrote: >> >> On 2 May 2012, at 16:55, Terry Reedy wrote: >>> >>> I would send the above to webmas...@python.org (should be at the bottom >>> of pages). We develop CPython but do not directly manage the websit

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-04 Thread Brian Curtin
On Fri, May 4, 2012 at 10:08 AM, Dirkjan Ochtman wrote: > On Wed, May 2, 2012 at 10:43 AM, Larry Hastings wrote: >> Do we officially support any C compilers that *don't* permit "intermingled >> variable declarations and code"?  Do we *unofficially* support any?  And if >> we do, what do we gain?

Re: [Python-Dev] Preparation for VS2010 - MSDN for Windows build slaves, core devs

2012-05-12 Thread Brian Curtin
On Mon, Apr 2, 2012 at 9:12 PM, Brian Curtin wrote: > Hi all, > > If you are a running a build slave or otherwise have an MSDN account > for development work, please check that your MSDN subscription is > still in effect. If the subscription expired, please let me know in >

Re: [Python-Dev] Preparation for VS2010 - MSDN for Windows build slaves, core devs

2012-05-13 Thread Brian Curtin
On Sun, May 13, 2012 at 2:30 AM, wrote: >> If build slave owners could let me know when their machine has VS2010 >> I'd appreciate it. I got the go-ahead to commit the port but want to >> wait until the build slaves are ready for it. > > > Please don't wait, but let the build slaves break. This i

Re: [Python-Dev] [Python-checkins] devguide: Add VS2010 link and text, then restructure a few things

2012-05-16 Thread Brian Curtin
On Wed, May 16, 2012 at 2:52 AM, "Martin v. Löwis" wrote: >> +All versions previous to 3.3 use Microsoft Visual Studio 2008, available >> at >> >> +https://www.microsoft.com/visualstudio/en-us/products/2008-editions/express. > > > This isn't actually the case. 2.4 and 2.5 used Visual Studio 2003,

Re: [Python-Dev] 64-bit Windows buildbots needed

2012-05-16 Thread Brian Curtin
On Wed, May 16, 2012 at 7:44 AM, Antoine Pitrou wrote: > > Hello all, > > We still need 64-bit Windows buildbots to test for regressions. > Otherwise we might let regressions slip through, since few people seem > to run the test suite under Windows at home. The machine that I used to run a Server

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-18 Thread Brian Curtin
On May 18, 2012 1:26 PM, "Barry Warsaw" wrote: > > At what point should we cut over docs.python.org to point to the Python 3 > documentation by default? Today sounds good to me. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] possible bug in distutils (Mingw32CCompiler)?

2012-05-24 Thread Brian Curtin
On Thu, May 24, 2012 at 7:03 AM, Sturla Molden wrote: > > Mingw32CCompiler in cygwincompiler.py emits the symbol -mno-cygwin. > > This is used to make Cygwin's gcc behave as mingw. As of gcc 4.6 it is not > recognized by the mingw gcc compiler itself, and causes as crash. It should > be removed be

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-24 Thread Brian Curtin
On Thu, May 24, 2012 at 5:21 PM, Terry Reedy wrote: > The free Visual Studio 11 Express for Windows 8 (still in beta) will produce > both 32 and 64 bit binaries and allow multiple languages but will only > produce Metro apps. For desktop apps, either the paid Visual Studio versions > or the free 2

Re: [Python-Dev] cpython (3.2): Issue12510: Attempting to get invalid tooltip no longer closes Idle.

2012-05-28 Thread Brian Curtin
On Mon, May 28, 2012 at 8:44 PM, Terry Reedy wrote: >>> +            except: >>>                  return None >> >> >> "except Exception" may be better here. > > > Idle's Shell catches all exceptions. I think the attempt to provide an > optional help (a function signature) should too. Can you exp

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Brian Curtin
On Wed, May 30, 2012 at 10:46 AM, Kristján Valur Jónsson wrote: > > >> -Original Message- >> From: R. David Murray [mailto:rdmur...@bitdance.com] >> >> >> The "ValueError: Invalid format string" was coming from a broken-on- >> windows test_calendar test I checked in.  It is fixed now and t

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Brian Curtin
On Wed, May 30, 2012 at 3:35 PM, Kristján Valur Jónsson wrote: > > > -Original Message- > From: Brian Curtin [mailto:br...@python.org] > Sent: 30. maí 2012 15:56 > To: Kristján Valur Jónsson > Cc: python-dev@python.org > Subject: Re: [Python-Dev] cpython: Issue #1

Re: [Python-Dev] PEP 11 change: Windows Support Lifecycle

2012-06-01 Thread Brian Curtin
On Fri, Jun 1, 2012 at 8:22 AM, wrote: > I have just codified our current policy on supporting > Windows releases, namely that we only support some Windows > version until Microsoft ends its extended support period. > As a consequence, Windows XP will be supported until > 08/04/2014, and Windows

Re: [Python-Dev] what is happening with the regex module going into Python 3.3?

2012-06-01 Thread Brian Curtin
On Fri, Jun 1, 2012 at 1:57 PM, Terry Reedy wrote: > On 6/1/2012 1:27 PM, Brett Cannon wrote: >> >> About the only thing I can think of from the language summit that we >> discussed doing for Python 3.3 that has not come about is accepting the >> regex module and getting it into the stdlib. Is thi

Re: [Python-Dev] what is happening with the regex module going into Python 3.3?

2012-06-01 Thread Brian Curtin
On Fri, Jun 1, 2012 at 7:37 PM, Mark Lawrence wrote: > Umpteen versions of regex have been available on pypi for years. Umpteen > bugs against the original re module have been fixed.  If regex can't now go > into the standard library, what on earth can? Reviewing a 4000 line patch is probably the

Re: [Python-Dev] what is happening with the regex module going into Python 3.3?

2012-06-04 Thread Brian Curtin
On Mon, Jun 4, 2012 at 7:31 PM, Steven D'Aprano wrote: > But changes to the stdlib (bug fixes or functional changes) are very likely > to run at a slower pace to what third-party packages can afford. If you > continue to develop regex outside of the stdlib, that could cause > complications. Devel

Re: [Python-Dev] Using pdb with greenlet

2012-06-12 Thread Brian Curtin
On Tue, Jun 12, 2012 at 2:31 PM, Salman Malik wrote: > Hi All, > > I am sort of a newbie to Python ( have just started to use pdb). > My problem is that I am debugging an application that uses greenlets and > when I encounter something in code that spawns the coroutines or wait for an > event, I l

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-13 Thread Brian Curtin
On Jun 13, 2012 8:31 PM, "Stephen J. Turnbull" wrote: > > Cameron Simpson writes: > > > This approach has its own problems. Is the proposed list, like many lists, > > restricted to accept posts only from subscribers? If that is the case, > > when someone CCs the VM list, everyone honouring the

Re: [Python-Dev] FWD: Windows 3.2.3 64 bit installers are actually 3.2

2012-06-14 Thread Brian Curtin
On Thu, Jun 14, 2012 at 4:12 PM, Aahz wrote: > Note: I'm no-mail on python-dev > > - Forwarded message from Sean Johnson - > >> Date: Thu, 14 Jun 2012 03:48:55 -0400 >> From: Sean Johnson >> To: webmas...@python.org >> Subject: Windows 3.2.3 64 bit installers are actually 3.2 >> >> The i

Re: [Python-Dev] 3.3 beta in one week

2012-06-18 Thread Brian Curtin
On Mon, Jun 18, 2012 at 2:17 AM, "Martin v. Löwis" wrote: >> this is just a quick reminder that the feature freeze for 3.3 >> will start next weekend with the release of beta1.  Since  I >> won't be able to shift that date for short periods (the next >> possible date for me would be around July 16

[Python-Dev] PEP 397 - Last Comments

2012-06-18 Thread Brian Curtin
y of the updates were in line with what Martin and I briefly talked about at PyCon, and I believe some of them came out of previous PEP discussions on here, so I see nothing unexpected at this point. My only additional comment would be to have the "Configuration file" implementation details supplem

Re: [Python-Dev] PEP 397 - Last Comments

2012-06-19 Thread Brian Curtin
work, but it's out of scope of the PEP. > > The PEP actually only talks about launcher binaries in c:\windows, and > essentially says that they must match the bitness of the system. True, got it. >> My only additional comment would be to

[Python-Dev] Accepting PEP 397

2012-06-20 Thread Brian Curtin
As the PEP czar for 397, after Martin's final updates, I hereby pronounce this PEP "accepted"! Thanks to Mark Hammond for kicking it off, Vinay Sajip for writing up the code, Martin von Loewis for recent updates, and everyone in the community who contributed to the discussions. I will begin integ

Re: [Python-Dev] Accepting PEP 397

2012-06-21 Thread Brian Curtin
On Wed, Jun 20, 2012 at 11:54 AM, Brian Curtin wrote: > As the PEP czar for 397, after Martin's final updates, I hereby > pronounce this PEP "accepted"! > > Thanks to Mark Hammond for kicking it off, Vinay Sajip for writing up > the code, Martin von Loewis for recen

Re: [Python-Dev] Bitbucket mirror?

2012-06-28 Thread Brian Curtin
On Thu, Jun 28, 2012 at 12:42 PM, Tim Golden wrote: > Just recently I'm sure I saw a post saying that the main Python repo was > mirrored on bitbucket.org for the convenience of developers who could then > fork to their own accounts. > > For the life of me I can't find it now. Can someone confirm

Re: [Python-Dev] Bitbucket mirror?

2012-06-28 Thread Brian Curtin
On Thu, Jun 28, 2012 at 1:08 PM, Vinay Sajip wrote: > Tim Golden timgolden.me.uk> writes: > >> >> Just recently I'm sure I saw a post saying that the main Python repo was >> mirrored on bitbucket.org for the convenience of developers who could >> then fork to their own accounts. >> >> For the lif

Re: [Python-Dev] venv scripts for fish and csh shells

2012-07-23 Thread Brian Curtin
On Mon, Jul 23, 2012 at 11:24 AM, Andrew Svetlov wrote: > I thought my proposition is minor change, but if it's too late for 3.3 > — I'm ok. Very simply, the first beta is when feature freeze goes into effect. This is a really common policy that has been in effect for a long time in CPython and m

Re: [Python-Dev] Doc/ACKS and Misc/ACKS

2012-07-23 Thread Brian Curtin
On Mon, Jul 23, 2012 at 1:28 PM, Jesus Cea wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 23/07/12 19:30, Eli Bendersky wrote: >>> That said, we could probably merge Doc/ACKS and Misc/ACKS (*). >>> There doesn't seem to be any strong argument for separating doc >>> contributions f

Re: [Python-Dev] Building python 2.7.3 with Visual Studio 2012 (VS11.0)

2012-07-24 Thread Brian Curtin
On Tue, Jul 24, 2012 at 1:02 PM, Wim Colgate wrote: > Please forgive me if this is not the prescribed method for asking this > question. > > For various reasons, I would like to build python 2.7.3 from source > using the latest VS tools (VS11.0 is in RC -- which is close enough > for my purposes).

Re: [Python-Dev] Tests of of 2.7 tip on Ubuntu 12.04 amd64

2012-08-10 Thread Brian Curtin
On Fri, Aug 10, 2012 at 3:52 PM, "Juancarlo Añez (Apalala)" wrote: > Hello, > > Please let me know if this is normal: > > 1 test failed: > test_readline > 1 test altered the execution environment: > test_subprocess > 32 tests skipped: > test_aepack test_al test_applesingle test_bsddb t

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Merge 3.2

2012-08-13 Thread Brian Curtin
On Mon, Aug 13, 2012 at 5:13 PM, brian.curtin wrote: > http://hg.python.org/cpython/rev/256bfee696c5 > changeset: 78552:256bfee696c5 > parent: 78549:edcbf3edf701 > parent: 78551:fcad4566910b > user:Brian Curtin > date:Mon Aug 13 17:12:02 20

Re: [Python-Dev] Python 2.7: only Visual Studio 2008?

2012-08-21 Thread Brian Curtin
On Tue, Aug 21, 2012 at 5:24 AM, Luc Bourhis wrote: > Greetings, > > it is my understanding that the patches floating around the net to support > Visual Studio 2010 to compile the Python core and for distutils will never be > accepted and therefore that the 2.7 line is stuck to VS 2008 for the

Re: [Python-Dev] core dev IRC nicks

2012-08-28 Thread Brian Curtin
On Tue, Aug 28, 2012 at 10:58 PM, Chris Jerdonek wrote: > Is there a list somewhere of the IRC nicks of the core developers that > use IRC (and who wish to be listed) alongside their real names? If > there is no such list, has there ever been discussion on python-dev of > creating such a list? I

Re: [Python-Dev] Python Bug Day in October

2012-09-27 Thread Brian Curtin
On Thu, Sep 27, 2012 at 5:30 PM, Éric Araujo wrote: > Hi all, > > The Montreal-Python user group would like to host a bug day on October > 27 (to be confirmed) at a partner university in Montreal. It would be > cool to do a bug day on IRC like we used to (and in other physical > locations if peop

Re: [Python-Dev] Python Bug Day in October

2012-10-01 Thread Brian Curtin
On Mon, Oct 1, 2012 at 5:18 PM, Maciej Szulik wrote: > On 09/28/2012 12:30 AM, Éric Araujo wrote: >> >> Hi all, >> >> The Montreal-Python user group would like to host a bug day on October >> 27 (to be confirmed) at a partner university in Montreal. It would be >> cool to do a bug day on IRC like

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Brian Curtin
On Wed, Oct 3, 2012 at 10:13 AM, Larry Hastings wrote: > On 10/03/2012 04:55 PM, Nick Coghlan wrote: > > Regardless of when the first alpha happens, I'll be promoting the hell > out of it, begging for feedback on any of these changes that are > available by then (which should be quite a few, given

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Brian Curtin
On Wed, Oct 3, 2012 at 11:02 AM, Larry Hastings wrote: > > On 10/03/2012 05:28 PM, Brian Curtin wrote: > > The webstats in April 2012 show 5628 downloads of 3.3a1 and 4946 > downloads of 3.3a2 Windows installers. > > > I'd love to know how much feedback we got as a re

Re: [Python-Dev] Stdlib and timezones, again

2012-10-04 Thread Brian Curtin
On Thu, Oct 4, 2012 at 12:01 PM, Zachary Ware wrote: > It occurred to me this morning that Python already ships a set of > timezone data with the Windows installer: Tcl/Tk's. Is there any way > we could use that as the default on Windows? I would say no. You could choose not to include Tcl/Tk in

Re: [Python-Dev] AUTO: Jon K Peck is out of the office

2012-10-15 Thread Brian Curtin
On Mon, Oct 15, 2012 at 11:04 AM, Jon K Peck wrote: > I am out of the office until 10/16/2012. > > I will be out of the office Monday 10/15/12. I will not have email access > during this time. > > > Note: This is an automated response to your message "Python-Dev Digest, Vol > 111, Issue 31" sent

Re: [Python-Dev] Python Bug Day in October

2012-10-23 Thread Brian Curtin
hon) > decided to move the bug day instead of announcing it late. The date > that would work for us is November 3rd. > > Brian, is it okay for Boston? > Maciej, what about your group? > Comitters, who could join on IRC? > > Sorry for the false start. Nothing was formally plan

[Python-Dev] Acceptance of PEPs

2012-10-28 Thread Brian Curtin
I just found out that PEP 430 came up again and was approved, but only because of another website. After that I looked back through my email only to find mention via python-checkins. Aren't PEPs typically acted on here on python-dev? I mention this because I was writing up a blog.python.org post a

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread Brian Curtin
On Wed, Nov 14, 2012 at 10:12 AM, Mark Adam wrote: > On Wed, Nov 14, 2012 at 3:12 AM, Chris Withers wrote: >> Hi All, >> >> A colleague pointed me at Doug's excellent article here: >> ...which made me a little sad, I suspect I'm not the only one who finds: >> >> a_dict = dict( >> x = 1, >>

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread Brian Curtin
On Wed, Nov 14, 2012 at 3:20 PM, MRAB wrote: > On 2012-11-14 20:53, Mark Adam wrote: >> >> On Wed, Nov 14, 2012 at 1:37 PM, Xavier Morel >> wrote: >>> >>> On 2012-11-14, at 19:54 , Mark Adam wrote: Merging of two dicts is done with dict.update. >>> >>> >>> No, dict.update merges on

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread Brian Curtin
On Wed, Nov 14, 2012 at 3:40 PM, Brandon W Maister wrote: > >> >> To (mis-)quote Antoine: >> >--> d1 = {1:2} >> >--> d2 = {'3':4} >> >--> dict(d1, **d2) >> > {1: 2, '3': 4} >> >> Apparently it is valid syntax. Just make sure you keys for the ** >> operator are valid strings. :) >> > > or not: >

Re: [Python-Dev] externals?

2012-11-18 Thread Brian Curtin
On Sun, Nov 18, 2012 at 6:18 AM, wrote: > > Zitat von Armin Rigo : > > >> Hi, >> >> On Sun, Nov 18, 2012 at 8:22 AM, Georg Brandl wrote: >>> >>> One way would be to use one hg repo per version, and (maybe, if needed) >>> a master repo that has them as subrepos. >> >> >> Or have all versions in t

[Python-Dev] New Contributor Experience in Python and other FOSS Communities - A Survey

2012-11-19 Thread Brian Curtin
lang=en There's a longer blog post up at http://blog.python.org/2012/11/new-contributor-experience-in-python.html if you would like a bit more information. On behalf of Kevin Carillo, I thank you for your time and consideration of this survey. Bri

Re: [Python-Dev] New Contributor Experience in Python and other FOSS Communities - A Survey

2012-11-27 Thread Brian Curtin
On Mon, Nov 19, 2012 at 9:01 AM, Brian Curtin wrote: > Hi all, > > Along with a number of other free and open communities, Python is > being included in a survey of new contributors since January 2010. The > survey is being done by Kevin Carillo, a PhD student at Victoria

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-04 Thread Brian Curtin
On Tue, Dec 4, 2012 at 3:54 PM, Brett Cannon wrote: > But going through python-ideas for this I think is a bit much. It would never end. I think an issue on roundup could work just fine. ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyt

Re: [Python-Dev] Is is worth disentangling distutils?

2012-12-10 Thread Brian Curtin
On Mon, Dec 10, 2012 at 1:22 AM, Antonio Cavallo wrote: > I'm not into the py3 at all so I wonder how possibly it could fit/collide > into the big plan. > > Or I'll be wasting my time? If you're not doing it on Python 3 then you are wasting your time. _

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-11 Thread Brian Curtin
On Tue, Dec 11, 2012 at 9:48 AM, Paul Moore wrote: > On 11 December 2012 15:39, Dirkjan Ochtman wrote: >>> Should the windows installer include the data package? >>> -- >>> >>> It has been suggested that the Windows installer should include the

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Brian Curtin
On Wed, Dec 12, 2012 at 9:56 AM, Lennart Regebro wrote: > General comments: > > > It seems like the consensus is moving towards making sure there always is a > database available. If this means including it in the standard Python > distribution as well, or only on Windows, I don't know, opinions o

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Brian Curtin
On Wed, Dec 12, 2012 at 6:10 PM, MRAB wrote: > On 2012-12-12 23:33, Lennart Regebro wrote: >> >> On Thu, Dec 13, 2012 at 12:23 AM, Terry Reedy wrote: >>> >>> As a Windows user, I would like there to be one tz data file used by all >>> Python versions on my machine, including ones included with ot

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Brian Curtin
On Dec 12, 2012 7:24 PM, "Terry Reedy" wrote: > > On 12/12/2012 7:27 PM, Brian Curtin wrote: >> >> On Wed, Dec 12, 2012 at 6:10 PM, MRAB wrote: >>> >>> On 2012-12-12 23:33, Lennart Regebro wrote: >>>> >>>> >>>> On

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Brian Curtin
On Wed, Dec 12, 2012 at 8:10 PM, Janzert wrote: > On 12/12/2012 8:43 PM, Glenn Linderman wrote: >> >> On 12/12/2012 5:36 PM, Brian Curtin wrote: >>> >>> >>> >> C:\ProgramData\Python >>> >> >>^ That. Is not the pat

[Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Brian Curtin
Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the PandaBoard purchased by the PSF, and a Raspberry Pi should be coming shortly as well. http://blog.python.org/2012/12/pandaboard-raspberry-pi-com

Re: [Python-Dev] [Python-checkins] cpython: Fix #14470. Remove w9xpopen per PEP 11.

2012-12-24 Thread Brian Curtin
On Mon, Dec 24, 2012 at 2:36 AM, Andrew Svetlov wrote: > You missed artifacts in ./PC/VC6 ./PC/VS7.1 ./PC/VS8.0 ./PC/VS9.0 Fixed in http://hg.python.org/cpython/rev/deee9f0a4b98 Also reported http://bugs.python.org/issue16769 about removing some those directories because they are pretty much use

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-24 Thread Brian Curtin
On Mon, Dec 24, 2012 at 7:42 AM, anatoly techtonik wrote: > What should I do in case Eric lost interest after his GSoC project for PSF > appeared as useless for python-dev community? Should I rewrite the proposal > from scratch? Before you attempt that, start by trying to have a better attitude t

[Python-Dev] FYI - wiki.python.org compromised

2013-01-07 Thread Brian Curtin
On December 28th, an unknown attacker used a previously unknown remote code exploit on http://wiki.python.org/. The attacker was able to get shell access as the "moin" user, but no other services were affected. Some time later, the attacker deleted all files owned by the "moin" user, including all

Re: [Python-Dev] BDFL delegation for PEP 426 (PyPI metadata 1.3)

2013-02-03 Thread Brian Curtin
On Sun, Feb 3, 2013 at 2:00 PM, Simon Cross wrote: > On Sun, Feb 3, 2013 at 9:42 PM, Daniel Holth wrote: >> Bento is the only available packaging tool to heap praise onto and it is >> impressive. > > If Bento is cool, is there some way we can help it gain more traction > in the Python ecosystem?

[Python-Dev] PyCon Tickets Almost Sold Out

2013-02-06 Thread Brian Curtin
Since the Language Summit is held at PyCon I think this counts as on-topic... If you're interested in going to the conference, there are under 50 tickets remaining: https://us.pycon.org/2013/registration/ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] My CLA

2013-02-11 Thread Brian Curtin
python-dev is a proper list to > discuss PSF-related legal issues. There are no further details. Either the proper document is signed or it isn't. Hopefully this is the end of the discussion. Brian Curtin Director Python Software Foundation ___

[Python-Dev] code blocks using 'for' loops and generators

2005-03-11 Thread Brian Sabbey
irs http://www.python.org/peps/pep-0310.html [2] PEP 325 Resource-Release Support for Generators http://www.python.org/peps/pep-0325.html [3] PEP 288 Generators Attributes and Exceptions http://www.python.org/peps/pep-0288.html [4] http://mail.python.org/pipermail/python-dev/2003-February/032800.html [5] http://mail.python.org/pipermail/python-dev/2003-February/032826.html [6] http://mail.python.org/pipermail/python-dev/2002-March/021923.html -Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Python2.4.1c1 and win32com

2005-03-11 Thread Brian Dorsey
the tracker for > the project: <http://sf.net/projects/pywin32>. Here is a link to the specific (closed) bug: http://sourceforge.net/tracker/?func=detail&aid=1085454&group_id=78018&atid=551954 And, in case you can't update to the C

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-12 Thread Brian Sabbey
y to pass it to the generator? Your argument is like saying one does not need to return values from a function because we could always just use a global variable to do it. Hrm, not good enough? Use a Queue, or use another variable in a namespace accessable to both you

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-12 Thread Brian Sabbey
were reading the pickled_file code, I would have no idea where the self.l comes from. If it is coming from the 'for' loop, why not just be able to explicitly say that? I agree that this is a confusing way to use generators. But it is the expected way to

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-12 Thread Brian Sabbey
ia syntax. My impression is that being able to use yield in this way is one of the primary reasons for the success of ruby. Therefore, I do not see it as just a clever hack. It is a clean, explicity way to pass values when changing scope. -Brian ___ P

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-12 Thread Brian Sabbey
On Sat, 12 Mar 2005, Steven Bethard wrote: Brian Sabbey <[EMAIL PROTECTED]> wrote: I agree that this is a confusing way to use generators. But it is the expected way to use "code blocks" as found in other languages. It would take some getting used to that 'for' can be

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-12 Thread Brian Sabbey
and unnecessary, and I find it clean and useful. -Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-13 Thread Brian Sabbey
On Sun, 13 Mar 2005, Greg Ewing wrote: Brian Sabbey wrote: I prefer re-using the 'for' loop for this purpose because it allows the problem to be solved in a general way by re-using a structure with which most users are already familiar, and uses generators, which are easier to use in

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-13 Thread Brian Sabbey
On Mon, 14 Mar 2005, Greg Ewing wrote: Brian Sabbey wrote: The problem with creating a new mechanism is that sometimes you will want to loop. For example, reading a bunch of items from a shared resource, modifying them, and sending them back. A new, non-looping mechanism will not be adequate

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-14 Thread Brian Sabbey
k1, y.k1) or (x.k2, y.k2)) Not that I find either form better than the other, but I do find both better than have to define a named function. I am going to see if I can make a PEP for this. -Brian ___ Python-Dev mailing list Python-Dev@python.org http://ma

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-14 Thread Brian Sabbey
uot;epsilon" of functions take a single thunk, then I would guess that "epsilon**2" take two thunks, and it is not worth creating syntax for such a small number of cases, especially if that syntax compromises what would otherwise be a much cleaner sy

Re: [Python-Dev] code blocks using 'for' loops and generators

2005-03-15 Thread Brian Sabbey
y issue here. Ok. Allow me to try. Up to a choice of (or existence of!) keywords, the simplest to me is: def add(thunk1, thunk2, other): print thunk1(1,2) + thunk2(3,4) + other with x,y from add(100): value x*y also a,b: # yikes?? value

[Python-Dev] thunks (was: code blocks using 'for' loops and generators)

2005-03-16 Thread Brian Sabbey
rationale that Josiah Carlson was looking for. But, in short: Brian Sabbey's example from message http://mail.python.org/pipermail/python-dev/2005-March/052202.html *seems* reasonably clear, but I don't see how it relates in any way to "for" loops or generators, except as one (but no

Re: [Python-Dev] anonymous blocks

2005-04-19 Thread Brian Sabbey
s, a suite can be used to define keyword arguments. -Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] anonymous blocks

2005-04-19 Thread Brian Sabbey
) try: code code code finally: myLock.release() Well, that was my other proposal, "pre-PEP: Simple Thunks" (there is also an implementation). It didn't seem to go over all that well. I am going to try to rewrite it and give more motivation and explana

Re: [Python-Dev] Re: anonymous blocks

2005-04-19 Thread Brian Sabbey
op example. -Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] anonymous blocks

2005-04-19 Thread Brian Sabbey
ment list in that way would be different than the behavior of decorators as they are now. -Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] anonymous blocks

2005-04-19 Thread Brian Sabbey
rever' can throw exceptions at you. Without the '()' one does not get this reminder. I also believe it is more difficult to read without '()'. The call to the function is implicit in the fact that it sits next to '@'. But, again, if such argument list

Re: [Python-Dev] Re: Re: anonymous blocks

2005-04-19 Thread Brian Sabbey
Fredrik Lundh wrote: Brian Sabbey wrote: If suites were commonly used as above to define properties, event handlers and other callbacks, then I think most people would be able to comprehend what the first example above is doing much more quickly than the second. wonderful logic, there. good

<    1   2   3   4   5   6   >