Re: [Python-Dev] zipimport.c broken with implicit namespace packages

2016-01-03 Thread mike . romberg
> " " == Brett Cannon writes: ... > So it's possible that some abstraction might be possible, but > up to this point there hasn't been a motivating factor for > importlib to do this as zipimport is written in C and thus > won't benefit from any

Re: [Python-Dev] PEP 257 and __init__

2016-01-03 Thread Guido van Rossum
On Tue, Dec 29, 2015 at 1:03 PM, Facundo Batista wrote: > On Tue, Dec 29, 2015 at 4:38 PM, Andrew Barnert > wrote: > > > Isn't the same thing true for every special method? There are lots of > classes where __add___ just says "a.__add__(b) = a + b"

Re: [Python-Dev] PEP 257 and __init__

2016-01-03 Thread Nick Coghlan
On 4 January 2016 at 17:01, Terry Reedy wrote: > Ask the PSF/pypi people to either prohibit such names or require a > disclaimer of some sort. They are inherently confusing: "I took a look at > pep008" does not mean that one even looked at the PEP. Even when the > context

Re: [Python-Dev] PEP 257 and __init__

2016-01-03 Thread Terry Reedy
On 1/3/2016 6:21 PM, Guido van Rossum wrote: On Tue, Dec 29, 2015 at 1:03 PM, Facundo Batista > wrote: On Tue, Dec 29, 2015 at 4:38 PM, Andrew Barnert > wrote: > Isn't the same

Re: [Python-Dev] zipimport.c broken with implicit namespace packages

2016-01-03 Thread Phil Thompson
On 3 Jan 2016, at 3:41 am, Guido van Rossum wrote: > > On Sat, Jan 2, 2016 at 3:26 PM, wrote: > > -- > > "Brett" == Brett Cannon writes: > > > I opened > > https://bugs.python.org/issue25711 to specifically try to >

Re: [Python-Dev] zipimport.c broken with implicit namespace packages

2016-01-03 Thread Brett Cannon
On Sun, 3 Jan 2016 at 02:55 Phil Thompson wrote: > On 3 Jan 2016, at 3:41 am, Guido van Rossum wrote: > > > > On Sat, Jan 2, 2016 at 3:26 PM, wrote: > > > > -- > > > "Brett" == Brett Cannon writes:

Re: [Python-Dev] zipimport.c broken with implicit namespace packages

2016-01-03 Thread Brett Cannon
On Sat, 2 Jan 2016 at 21:31 wrote: > > " " == Brett Cannon writes: > > > I just wanted to quickly say that Guido's observation as to how > > a VFS is overkill is right. Imagine implementing a loader using > > sqlite and you quickly