Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

2012-08-02 Thread Nick Coghlan
On Fri, Aug 3, 2012 at 12:41 AM, Chris Jerdonek wrote: > On Thu, Aug 2, 2012 at 7:32 AM, Barry Warsaw wrote: >> On Aug 02, 2012, at 03:04 PM, nick.coghlan wrote: >> >>>-module. Specifically, any module that contains an ``__path__`` attribute is >>>+module. Specifically, any module that contains

Re: [Python-Dev] [Python-checkins] cpython: Update the What's New details for importlib based on doc/ABC changes.

2012-08-02 Thread Brett Cannon
Sorry about accidentally committing another minor cleanup to importlib in this commit; thought I had already committed it separately. On Thu, Aug 2, 2012 at 5:50 PM, brett.cannon wrote: > http://hg.python.org/cpython/rev/083534cd7874 > changeset: 78388:083534cd7874 > user:Brett Cannon

Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

2012-08-02 Thread Stephen J. Turnbull
Chris Jerdonek writes: > On Thu, Aug 2, 2012 at 7:32 AM, Barry Warsaw wrote: > > I find this change hilarious! Is it "an under-under path" or "a > > dunder path"? > > Personally, I just say "path" (same with __init__, __main__, etc) and > rely on context. I think that's what the Chicago

Re: [Python-Dev] PEP 0424: A method for exposing a length hint

2012-08-02 Thread Raymond Hettinger
On Aug 1, 2012, at 1:46 AM, Mark Shannon wrote: > > ''' > Being able to pre-allocate lists based on the expected size, as estimated by > __length_hint__, > can be a significant optimization. > PyPy has been observed to run some code slower than CPython, purely because > this optimization is ab

Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Bring the importlib ABCs into line with the current state of the

2012-08-02 Thread Brett Cannon
Mostly as a note to myself (although if someone else wants to change this, then great), PathEntryFinder.find_loader() specifies self while the other docs don't bother to list it. And I just realized that the other classes defined in the importlib docs don't list their superclasses like MetaPathFin

Re: [Python-Dev] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

2012-08-02 Thread Antoine Pitrou
On Thu, 2 Aug 2012 07:41:05 -0700 Chris Jerdonek wrote: > On Thu, Aug 2, 2012 at 7:32 AM, Barry Warsaw wrote: > > On Aug 02, 2012, at 03:04 PM, nick.coghlan wrote: > > > >>-module. Specifically, any module that contains an ``__path__`` attribute > >>is > >>+module. Specifically, any module th

Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

2012-08-02 Thread Chris Jerdonek
On Thu, Aug 2, 2012 at 7:32 AM, Barry Warsaw wrote: > On Aug 02, 2012, at 03:04 PM, nick.coghlan wrote: > >>-module. Specifically, any module that contains an ``__path__`` attribute is >>+module. Specifically, any module that contains a ``__path__`` attribute is > > I find this change hilarious!

Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

2012-08-02 Thread Barry Warsaw
On Aug 02, 2012, at 03:04 PM, nick.coghlan wrote: >http://hg.python.org/cpython/rev/1f8351cf00f3 >changeset: 78382:1f8351cf00f3 >user:Nick Coghlan >date:Thu Aug 02 23:03:58 2012 +1000 >summary: > Issue #15502: Bring the importlib.PathFinder docs and docstring more in line > wi

[Python-Dev] Failed issue tracker submission

2012-08-02 Thread Python tracker
There was a problem with the message you sent: This issue can't be closed until issue http://bugs.python.org/issue15502";>15502 is closed. Mail Gateway Help = Incoming messages are examined for multiple parts: . In a multipart/mixed message or part, each subpart is extracte

Re: [Python-Dev] Introduction

2012-08-02 Thread Xavier Morel
On 2012-08-02, at 09:28 , Shanth Kumar wrote: > Hi I am Shanthkumar from Bangalore, India, working for a software firm. > Good to see the mailing group, as i am new to python curious to ask you > people couple of queireis. I fear that is very likely the wrong mailing list for that: python-dev is

[Python-Dev] Introduction

2012-08-02 Thread Shanth Kumar
Hi I am Shanthkumar from Bangalore, India, working for a software firm. Good to see the mailing group, as i am new to python curious to ask you people couple of queireis. -- Regards..., Shanthkumara O.D. ___ Python-Dev mailing list Python-Dev@python.or