Re: [Python-Dev] devguide: Point out that OS X users need to change examples to use python.exe instead of

2011-01-11 Thread Łukasz Langa
Wiadomość napisana przez Glyph Lefkowitz w dniu 2011-01-10, o godz. 22:56:

> On Jan 10, 2011, at 1:37 PM, Łukasz Langa wrote:
> 
>> I'm using the case-sensitive variant of HFS+ since 10.4. It works, I like it 
>> and you get ./python with it.
> 
> I realize that this isn't a popularity contest for this feature, but I feel 
> like I should pipe up here and mention that it breaks some applications.

Yes, it unfortunately does. Vendors should test their software on both 
filesystem variants but they don't. So it's probably safer to go with the 
case-insensitive option.

I myself noticed three happy examples of bugs related to that:
* Pro Applications Update 2008-05 reappears in Software Update and there's no 
fix for that
* in MacVim, you can't at the same time open two files for which the 
insensitive path is the same (MacVim matches the first opened file and assumes 
the other is the same)
* sometimes with multiple case variants of a single album, iTunes shows them as 
separate (but most of the time it doesn't)

OTOH, I remember having strange problems with Fink and later MacPorts on a 
case-insensitive system. With case-sensitivity it works okay.

Best part is, once you have a case-sensitive file system, it's quite difficult 
to switch to the other option. The first problem is changing the format, the 
second is ensuring you have no clashing data. I just wrote a script (Python 3.2 
required) that lists all clashes: https://github.com/LangaCore/casecheck Funny 
it found quite a few on my drive I wasn't aware of.

That was awfully off topic for this list. Sorry, I have been provoked ;-)

-- 
Best regards,
Łukasz Langa
tel. +48 791 080 144
WWW http://lukasz.langa.pl/

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] r87903 - python/branches/py3k/Doc/whatsnew/3.2.rst

2011-01-11 Thread Daniel Stutzbach
Thanks for catching the misspelling of my name!

If you have a moment, could you look over my patch for Issue
8743
?

On Mon, Jan 10, 2011 at 1:26 PM, raymond.hettinger <
[email protected]> wrote:

> Author: raymond.hettinger
> Date: Mon Jan 10 22:26:49 2011
> New Revision: 87903
>
> Log:
> Misspelling.
>
>
> Modified:
>   python/branches/py3k/Doc/whatsnew/3.2.rst
>
> Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
>
> ==
> --- python/branches/py3k/Doc/whatsnew/3.2.rst   (original)
> +++ python/branches/py3k/Doc/whatsnew/3.2.rst   Mon Jan 10 22:26:49 2011
> @@ -553,7 +553,7 @@
>   >>> range(0, 100, 2)[0:5]
>   range(0, 10, 2)
>
> -  (Contributed by Daniel Stutzback in :issue:`9213` and by Alexander
> Belopolsky
> +  (Contributed by Daniel Stutzbach in :issue:`9213` and by Alexander
> Belopolsky
>   in :issue:`2690`.)
>
>  * The :func:`callable` builtin function from Py2.x was resurrected.  It
> provides
> @@ -1514,7 +1514,7 @@
>   and it saves time lost during comparisons which were delegated by the
>   sort wrappers.
>
> -  (Patch by Daniel Stutzback in :issue:`9915`.)
> +  (Patch by Daniel Stutzbach in :issue:`9915`.)
>
>  * JSON decoding performance is improved and memory consumption is reduced
>   whenever the same string is repeated for multiple keys.  Also, JSON
> encoding
> ___
> Python-checkins mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-checkins
>



-- 
Daniel Stutzbach
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] FYI: Python 2.7.1 + gcc 4.6 (experimental) probable optimizer problem

2011-01-11 Thread Daniel Stutzbach
On Sat, Jan 8, 2011 at 12:03 PM, Ralf W. Grosse-Kunstleve wrote:

> g++ (GCC) 4.6.0 20101206 (experimental)
> % make
> /bin/sh: line 1: 41686 Segmentation fault  (core dumped) CC='gcc
> -pthread'
> LDSHARED='gcc -pthread -shared ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes' ./python -E ./setup.py build
> make: *** [sharedmods] Error 139


Does that version of gcc emit any warnings during compilation?

-- 
Daniel Stutzbach
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread anatoly techtonik
I need Python 2.5.5 binaries to run Google AppEngine SDK 1.4.1 on
Windows, but can't find them on
http://www.python.org/download/releases/2.5.5/

Why are they removed?
--
anatoly t.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread Brian Curtin
On Tue, Jan 11, 2011 at 13:04, anatoly techtonik wrote:

> I need Python 2.5.5 binaries to run Google AppEngine SDK 1.4.1 on
> Windows, but can't find them on
> http://www.python.org/download/releases/2.5.5/
>
> Why are they removed?
> --
> anatoly t.


Nothing was removed. From that page: "This is a source-only release that
only includes security fixes."
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] devguide: Add a doc listing the various places Python's development is discussed.

2011-01-11 Thread Brett Cannon
Tweaked. Will show up in my next push.

On Mon, Jan 10, 2011 at 12:53, Terry Reedy  wrote:

>
>  +The primary mailing list where discussions about Python's development
>> occur is
>> +python-dev_
>>
>
> suggest adding
> ", mirrored as newsgroup gmane.comp.python.devel."
>
> ...
>
>  +python-ideas_. Technical support questions should also not be asked here
>> and
>> +instead should go to comp.lang.python_ or python-help_.
>>
>
> Suggest replace "comp.lang.python" with "python-list, mirrored as
> gmane.comp.python.general". c.l.p is another mirror, but does not get the
> spam filtering of p-l and g.c.p.g and is indeed the source or transmitter
> (from google groups) of the spam that needs to be filtered.
>
>
>  +
>> +The python-committers_ mailing list is publicly archived but only open to
>> core
>> +developers to subscribe to. If something only affect core developers
>> (e.g., the
>> +tree is frozen for commits, etc.), it is discussed here instead of
>> python-dev
>> +to keep traffic down on the latter.
>> +
>> +Python-ideas_ is a mailing list open to the public to discuss ideas on
>> changing
>> +Python. If a new idea does not start here (or comp.lang.python_), it will
>> get
>>
>
> Again, /c.l.p/python-list/
>
>
>  +subscribe to this list and are known to reply to these emails to make
>> comments
>> +about various issues they catch in the commit.
>>
>
> ;-)
>
> ...
>
>  +.. _python-help: http://mail.python.org/mailman/listinfo/python-help
>> +.. _python-ideas: http://mail.python.org/mailman/listinfo/python-ideas
>>
>
> _python-list: http://mail.python.org/mailman/listinfo/python-list
>
>  +Newsgroups
>> +--
>>
>
> "The free news site news.gmane.org mirrors (and archives) about 300
> python-related mailing lists, including most or all of those at
> mail.python.org. Most are listed as gmane.comp.python.*."
>
> I would barely, if at all, mentions c.l.p: it is spammy, only mirrors 1
> list rather than 300, and is not an archive in itself.
>
> Terry
>
>
> ___
> Python-checkins mailing list
> [email protected]
>
> http://mail.python.org/mailman/listinfo/python-checkins
>
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] devguide: Add an intermediate task of helping triage issues (not to be confused with the

2011-01-11 Thread Brett Cannon
On Mon, Jan 10, 2011 at 11:44, Antoine Pitrou  wrote:

> Le lundi 10 janvier 2011 à 19:37 +, Michael Foord a écrit :
> > On 10/01/2011 19:31, Antoine Pitrou wrote:
> > > Le lundi 10 janvier 2011 à 19:26 +, Michael Foord a écrit :
> > >>>
> > >>> Fair enough. I will remove it.
> > >>>
> > >> Well, *often* a test that exposes the issue can be written - and if so
> > >> it is a useful exercise (surely).
> > > Yes, well, that's a matter of "useful exercise for the contributor" vs.
> > > "required to advance on the issue". AFAICT the "stage" field aims at
> > > conveying the latter piece of information (the current wording says
> > > "unit test *needed*").
> >
> > Aren't we discussing the dev guide? Discussion about tracker field is
> > that away <-.
>
> Oh, well. I think we're discussing the directions that a contributor
> willing to help triage could give so to advance an issue. I hope I'm not
> mistaken.


The doc has already been tweaked on my machine, so there is no need to
continue this discussion.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread anatoly techtonik
On Tue, Jan 11, 2011 at 9:08 PM, Brian Curtin  wrote:
> On Tue, Jan 11, 2011 at 13:04, anatoly techtonik 
> wrote:
>>
>> I need Python 2.5.5 binaries to run Google AppEngine SDK 1.4.1 on
>> Windows, but can't find them on
>> http://www.python.org/download/releases/2.5.5/
>>
>> Why are they removed?
>> --
>> anatoly t.
>
> Nothing was removed. From that page: "This is a source-only release that
> only includes security fixes."

Oh. Thanks. The page should have a more prominent Download section
with a direct link to a page with previous release binaries. Not many
people know English to figure this out from the text even if they are
able to follow AppEngine tutorials in Russian.
--
anatoly t.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread Brian Curtin
On Tue, Jan 11, 2011 at 13:56, anatoly techtonik wrote:

> On Tue, Jan 11, 2011 at 9:08 PM, Brian Curtin 
> wrote:
> > On Tue, Jan 11, 2011 at 13:04, anatoly techtonik 
> > wrote:
> >>
> >> I need Python 2.5.5 binaries to run Google AppEngine SDK 1.4.1 on
> >> Windows, but can't find them on
> >> http://www.python.org/download/releases/2.5.5/
> >>
> >> Why are they removed?
> >> --
> >> anatoly t.
> >
> > Nothing was removed. From that page: "This is a source-only release that
> > only includes security fixes."
>
> Oh. Thanks. The page should have a more prominent Download section
> with a direct link to a page with previous release binaries.


That's right next to the other sentence I mentioned: "The last full bug-fix
release of Python 2.5 was Python
2.5.4
."

Not many
> people know English to figure this out from the text even if they are
> able to follow AppEngine tutorials in Russian.
> --
> anatoly t.
>

There hasn't been a problem with this in the past that I know of, so I
suspect a lot of people actually do understand the page and English, but I
imagine translations of the page might be accepted.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] devguide: Add coredev.rst to the index.

2011-01-11 Thread David Malcolm
On Tue, 2011-01-11 at 21:56 +0100, brett.cannon wrote:
> brett.cannon pushed a2d0edc3420e to devguide:
> 
> http://hg.python.org/devguide/rev/a2d0edc3420e
> changeset:   83:a2d0edc3420e
> tag: tip
> user:Brett Cannon 
> date:Tue Jan 11 12:56:47 2011 -0800
> summary:
>   Add coredev.rst to the index.
> 
> files:
>   faq.rst
>   index.rst
> 
> diff --git a/faq.rst b/faq.rst
> --- a/faq.rst
> +++ b/faq.rst
> @@ -41,9 +41,6 @@
>  Repository  read-only  
> read-write
>  --- -- 
> --
>  PEPshttp://svn.python.org/projects/peps/trunk  
> svn+ssh://[email protected]/peps/trunk
> -2.7 http://svn.python.org/projects/python/branches/release27-maint 
> svn+ssh://[email protected]/python/branches/release27-maint
> -3.1 http://svn.python.org/projects/python/branches/release31-maint 
> svn+ssh://[email protected]/python/branches/release31-maint
> -3.2 http://svn.python.org/projects/python/branches/py3k
> svn+ssh://[email protected]/python/branches/py3k
>  === == 
> ==
>  
> 
> diff --git a/index.rst b/index.rst

Was this removal of some of the SVN info from faq.rst an accident?

[...snip addition of coredev.rst to index.rst...]


Hope this is helpful
Dave

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] "unit test needed"

2011-01-11 Thread Ron Adam



On 01/10/2011 12:01 PM, Antoine Pitrou wrote:


Hello,

I would like to advocate again for the removal of the "unit test
needed" stage on the tracker, which regularly confuses our triagers
into thinking it's an actual requirement or expectation from
contributors and bug reporters.



This keeps coming up because the logic of the different things in the 
tracker are not as clearly defined as they could be.


There are differences between a sequential stage, and a non-sequential 
requirement or status.  Here's an example of separating those well.


Status: (Set as required)
  __  Bug   - Set in New stage.
  __  Feature-request   - Set in New stage.
  __  Commit-approved   - Set in Patch-ready stage.
  __  Closed-committed  - set in final stage.
  __  Closed-rejected   - Set in any stage. (Add message for reason.)

Stage:  (Set next stage as each stage is completed)
  __  New   - Check Validity, set Bug or Feature request
  status, and set Requirements as needed.
  __  Patch-development - Until requirements are satisfied.
  __  Patch-ready   - Set Commit-approved if/when accepted.
  __  Final - Set Closed-committed status after commit.

Requirements:  (Set all that is needed, preferable in New stage.)
  __  Code patch
  __  Test patch
  __  Docs patch
  __  PEP Needed.

User input:
  __ request-review - Set by tracker user.
  (Add message for reason.)


Notes:

+ Patch-ready is be a nicer description of the Commit-review stage.
+ Remove "unittest needed" from stage, as its a requirement, not a stage.
+ Languishing should be a keyword.
+ Pending is too vague! (please remove!)
+ Move feature-request from type to status.
+ Add bug to status.

"Bug" and "Feature-request" are an *issue status* as far as the tracker is 
concerned.  This allows both bugs and features to set *Type*.


"Type" refers to something in or about Python itself, rather than something 
in the tracker.  (Something the issue *addresses* in python.) That 
description fits well with the items already there.


An open status is the same as (not (closed-committed or closed-rejected)).

The placement of some items could be better.  Status, and priority would 
fit better in the classification section.  Stage would fit better in the 
process section.


Cheers,
   Ron

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] r87946 - python/branches/py3k/Doc/howto/sorting.rst

2011-01-11 Thread Antoine Pitrou
On Wed, 12 Jan 2011 00:05:56 +0100 (CET)
terry.reedy  wrote:
> +>>> def cmp_to_key(mycmp):

http://docs.python.org/dev/library/functools.html#functools.cmp_to_key



___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread anatoly techtonik
On Tue, Jan 11, 2011 at 10:08 PM, Brian Curtin  wrote:
>> >>
>> >> I need Python 2.5.5 binaries to run Google AppEngine SDK 1.4.1 on
>> >> Windows, but can't find them on
>> >> http://www.python.org/download/releases/2.5.5/
>> >>
>> >> Why are they removed?
>> >> --
>> >> anatoly t.
>> >
>> > Nothing was removed. From that page: "This is a source-only release that
>> > only includes security fixes."
>>
>> Oh. Thanks. The page should have a more prominent Download section
>> with a direct link to a page with previous release binaries.
>
> That's right next to the other sentence I mentioned: "The last full bug-fix
> release of Python 2.5 was Python 2.5.4."

That's not consistent with the download section present on all other pages.

>> Not many
>> people know English to figure this out from the text even if they are
>> able to follow AppEngine tutorials in Russian.
> There hasn't been a problem with this in the past that I know of, so I
> suspect a lot of people actually do understand the page and English, but I
> imagine translations of the page might be accepted.

Of course you can't know about problems that users complain about in
Russian, but ok, the page can be translated.

BTW, the page http://www.python.org/download/releases/2.5.5/ lists
wrong latest release of Python 2.7 version.
-- 
anatoly t.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] FYI: Python 2.7.1 + gcc 4.6 (experimental) probable optimizer problem

2011-01-11 Thread Ralf W. Grosse-Kunstleve
> Does that version of gcc emit any warnings during compilation?

Yes, there are a few:

http://cci.lbl.gov/~rwgk/tmp/gcc_trunk_168695_fc14_py271/

This is with:

g++ (GCC) 4.6.0 20110112 (experimental)

Ralf___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Where are Python 2.5.5 binaries for Windows?

2011-01-11 Thread Nick Coghlan
On Wed, Jan 12, 2011 at 9:54 AM, anatoly techtonik  wrote:
>>> Oh. Thanks. The page should have a more prominent Download section
>>> with a direct link to a page with previous release binaries.
>>
>> That's right next to the other sentence I mentioned: "The last full bug-fix
>> release of Python 2.5 was Python 2.5.4."
>
> That's not consistent with the download section present on all other pages.

Deliberately so - we don't really want people to download those binary
releases while naively thinking they're getting all the security fixes
from the source-only updates (see also the notice at the top of the
2.5.4 page).

Regards,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] devguide: Start the core dev intro doc.

2011-01-11 Thread Nick Coghlan
On Wed, Jan 12, 2011 at 6:56 AM, brett.cannon
 wrote:
> +Mailing Lists
> +'
> +
> +You are expected to subscribe to python-committers, python-dev,
> +python-checkins, and one of new-bugs-announce or python-bugs-list. See
> +:ref:`communication` for links to these mailing lists.

I'd disagree with those last two - people that want to work on triage
or general bug fixing should certainly subscribe to one of the bug
lists, but a lot of us just look at the weekly summary and/or rely on
the triagers to add us to the nosy list on relevant issues.

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] devguide: Start the core dev intro doc.

2011-01-11 Thread Brett Cannon
On Tue, Jan 11, 2011 at 19:43, Nick Coghlan  wrote:

> On Wed, Jan 12, 2011 at 6:56 AM, brett.cannon
>  wrote:
> > +Mailing Lists
> > +'
> > +
> > +You are expected to subscribe to python-committers, python-dev,
> > +python-checkins, and one of new-bugs-announce or python-bugs-list. See
> > +:ref:`communication` for links to these mailing lists.
>
> I'd disagree with those last two - people that want to work on triage
> or general bug fixing should certainly subscribe to one of the bug
> lists, but a lot of us just look at the weekly summary and/or rely on
> the triagers to add us to the nosy list on relevant issues.
>

I would rather have people make the conscious decision not to subscribe to
the bug lists than to unconsciously forget.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com