Re: [Python-Dev] Grammar for plus and minus unary ops

2009-03-27 Thread Joe Smith
Jared Grubb wrote: I'm not a EBNF expert, but it seems that we could modify the grammar to be more restrictive so the above code would not be silently valid. E.g., "++5" and "1+++5" and "1+-+5" are syntax errors, but still keep "1++5", "1+-5", "1-+5" as valid. (Although, '~' throws in a kin

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-21 Thread Joe Smith
"Jesse Noller" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Tue, Aug 19, 2008 at 1:28 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: > My understanding is that if there is a system Python, you shouldn't > change it. Ever. Huge, big, honkin' +1 from me on that. Besides, for a

Re: [Python-Dev] UCS2/UCS4 default

2008-07-04 Thread Joe Smith
Martin v. Löwis v.loewis.de> writes: > > > Wrong term - code units and code points are equivalent in UTF-16 and > > UTF-32. What you're looking for is unicode scalar values. > > How so? Section 2.5, UTF-16 says > > "code points in the supplementary planes, in the range > U+1..U+10, ar

Re: [Python-Dev] Invitation to try out open source code review tool

2008-05-05 Thread Joe Smith
"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Sun, May 4, 2008 at 2:58 AM, Stefan Behnel <[EMAIL PROTECTED]> wrote: Personally, I would consider the following sufficient: 1) people who have authenticated themselves against the underlying VCS (i.e. proj

Re: [Python-Dev] Typo.pl scan of Python 2.5 source code

2006-09-24 Thread Joe Smith
"Neal Norwitz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I ignored these as I'm not certain all the platforms we run on accept > free(NULL). > That sounds like exactly what the autotools are designed for. You simply use free(), and have autoconf check for support of free(NUL

Re: [Python-Dev] Python 2.4, VS 2005 & Profile Guided Optmization

2006-07-24 Thread Joe Smith
"Joe Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Neil Hodgson" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Trent Nelson: >> >>> I ended up playing around with Profile Guided Optimization

Re: [Python-Dev] Python 2.4, VS 2005 & Profile Guided Optmization

2006-07-24 Thread Joe Smith
"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Joe Smith wrote: > >> Microsoft as a general rule, does not go after people distributing >> products >> that Microsoft has labeled >> free, even after Microsoft no longer di

Re: [Python-Dev] Python 2.4, VS 2005 & Profile Guided Optmization

2006-07-23 Thread Joe Smith
"Neil Hodgson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Trent Nelson: > >> I ended up playing around with Profile Guided Optimization, running >> ``python.exe pystones.py'' to collect call-graph data after >> python.exe/Python24.dll had been instrumented, then recompiling wit

Re: [Python-Dev] Python 2.4, VS 2005 & Profile Guided Optmization

2006-07-23 Thread Joe Smith
"James Y Knight" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Jul 23, 2006, at 4:41 PM, Giovanni Bajo wrote: >> I think Martin decided to keep VC71 (Visual Studio .NET 2003) for >> another >> release cycle. Given the impressive results of VC8 with PGO, and >> the fact >> that

Re: [Python-Dev] PEP 3101 Update

2006-05-07 Thread Joe Smith
"Edward Loper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Talin wrote: >> Braces can be escaped using a backslash: >> >> "My name is {0} :-\{\}".format('Fred') >> >> Which would produce: >> >> "My name is Fred :-{}" > > Do backslashes also need to be

Re: [Python-Dev] PEP 3102: Keyword-only arguments

2006-04-30 Thread Joe Smith
"Talin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Abstract > > This PEP proposes a change to the way that function arguments are > assigned to named parameter slots. In particular, it enables the > declaration of "keyword-only" arguments: arguments that can only >

Re: [Python-Dev] Dropping __init__.py requirement for subpackages

2006-04-26 Thread Joe Smith
"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > (Context: There's a large crowd with pitchforks and other sharp pointy > farm implements just outside the door of my office at Google. They are > making an unbelievable racket. It appears they are Google engineers >

Re: [Python-Dev] conditional expressions - add parens?

2006-03-11 Thread Joe Smith
"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeremy Hylton wrote: >> Perhaps the solution >> is to require parens around all expressions, a simple consistent rule. > > I actually designed a language with that feature once. > It was an exercise in minimality, with har

Re: [Python-Dev] conditional expressions - add parens?

2006-03-06 Thread Joe Smith
"Steve Holden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jim Jewett wrote: >> I think that adding parentheses would help, by at least signalling that >> the logic is longer than just the next (single) expression. >> >> level = (0 if "absolute_import" in self.futures else -

Re: [Python-Dev] bdist_* to stdlib?

2006-02-14 Thread Joe Smith
"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In private email, Phillip Eby suggested to add these things to the > 2.5. standard library: > > bdist_deb, bdist_msi, and friends > > He explained them as follows: > > """ > bdist_deb makes .deb files (packages for D

Re: [Python-Dev] SourceForge Download Page, Subversion Home Page

2006-01-28 Thread Joe Smith
"Steve Holden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You may be aware that Tim Parkin's work on our "next-generation" web > presence has borne fruit in the shape of beta.python.org. While there's > still a lot to be done Tim has given us a great start by creating a > frame