Re: [Python-Dev] Bad python 2.5 build on OSX 10.8 mountain lion

2012-10-05 Thread Ned Deily
In article , Ned Deily wrote: > In article <20121002073135.ga26...@sleipnir.bytereef.org>, > Stefan Krah wrote: > > Ned Deily wrote: > > > > Forgot the link... > > > > http://code.google.com/p/googleappengine/issues/detail?id=7885 > > > > On Monday, October 1, 2012, Guido van Rossum wrote: > >

Re: [Python-Dev] Split unicodeobject.c into subfiles?

2012-10-05 Thread Chris Jerdonek
On Thu, Oct 4, 2012 at 6:49 PM, Stephen J. Turnbull wrote: > Chris Jerdonek writes: > > > You can create multiple files this way. I just verified it. But the > > problem happens with merging. You will create merge conflicts in the > > deleted portions of every split file on every merge. The

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-05 Thread Terry Reedy
On 10/5/2012 9:01 AM, Larry Hastings wrote: On 10/05/2012 01:59 PM, Devin Jeanpierre wrote: I've never understood why locals() returned a mutable dictionary either, except that Python has no immutable dictionary type. Ah, but these days it has types.MappingProxyType which provides a read-only

[Python-Dev] Summary of Python tracker Issues

2012-10-05 Thread Python tracker
ACTIVITY SUMMARY (2012-09-28 - 2012-10-05) 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 and deltas: open3770 (+16) closed 24149 (+43) total 27919 (+59) Open issues wit

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-05 Thread Steven D'Aprano
On 05/10/12 22:58, Nick Coghlan wrote about locals(): As for *why* changes don't get written back, it's because the compiler is allowed to assume it knows about every variable name that exists in the local scope (by design), and that doesn't fit with writable locals() for functions. And to be

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-05 Thread Larry Hastings
On 10/05/2012 01:59 PM, Devin Jeanpierre wrote: I've never understood why locals() returned a mutable dictionary either, except that Python has no immutable dictionary type. Ah, but these days it has types.MappingProxyType which provides a read-only wrapper around another mapping type. Perhap

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-05 Thread Nick Coghlan
On Fri, Oct 5, 2012 at 5:29 PM, Devin Jeanpierre wrote: > On Wed, Oct 3, 2012 at 11:34 AM, Steven D'Aprano wrote: >> I find myself unable to choose between 2) and 4), which suggests that >> the status quo wins and we keep the current behaviour. > > What is the benefit of having a dict that repres

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-05 Thread Devin Jeanpierre
On Wed, Oct 3, 2012 at 11:34 AM, Steven D'Aprano wrote: > I find myself unable to choose between 2) and 4), which suggests that > the status quo wins and we keep the current behaviour. What is the benefit of having a dict that represents a namespace, but whose mutations don't mutate said namespac

Re: [Python-Dev] [Python-checkins] cpython: Issue #14446: Remove deprecated tkinter functions: Delete an unused function to

2012-10-05 Thread Andrew Svetlov
Thank you, Jesus. I've missed this function. On Fri, Oct 5, 2012 at 5:03 AM, jesus.cea wrote: > http://hg.python.org/cpython/rev/e278f3ab0190 > changeset: 79484:e278f3ab0190 > user:Jesus Cea > date:Fri Oct 05 04:02:41 2012 +0200 > summary: > Issue #14446: Remove deprecated tk

Re: [Python-Dev] Split unicodeobject.c into subfiles?

2012-10-05 Thread M.-A. Lemburg
Victor Stinner wrote: > Hi, > > I would like to split the huge unicodeobject.c file into smaller > files. It's just the longest C file of CPython: 14,849 lines. > > I don't know exactly how to split it, but first I would like to know > if you would agree with the idea. > > Example: > - Objects/

Re: [Python-Dev] Thread/garbage collection race in Popen

2012-10-05 Thread Gregory P. Smith
On Thu, Oct 4, 2012 at 8:56 PM, Ben Leslie wrote: > Hi all, > > I have a Python program where I have many threads each calling Popen, and > I was hitting some trouble. > > I've been seeing this on 3.2.3, however I believe the same issue is still > potentially a problem on head. > > The error mani