Re: [Python-Dev] Multiple inheritance from builtin (C) types [still] supported in Python3?

2014-04-30 Thread Guido van Rossum
It would be a disaster if the base class's slot descriptors would be broken
by that though, so the implementation of slot descriptors would have to
become more complicated. (It's worth understanding how __slots__ works. the
interpreter first finds the slot on the class and then calls its __get__
method to retrieve the actual value from the instance. Each slot
descriptor, in the current implementation, knows the offset of its slot
within the instance.


On Tue, Apr 29, 2014 at 11:48 PM, Greg Ewing wrote:

> Paul Sokolovsky wrote:
>
>  Well, here it itches to ask if C++-like offsetting of subclass to base
>> class "this" pointer was considered,
>>
>
> I suppose in theory it would be possible to build a new
> set of __slot__ descriptors for the subclass. It mightn't
> even be all that difficult. My guess would be that it
> wasn't considered worth the effort, if it was considered
> at all.
>
> --
> Greg
>
> ___
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> guido%40python.org
>



-- 
--Guido van Rossum (python.org/~guido)
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] API and process questions (sparked by Claudiu Popa on 16104

2014-04-30 Thread Claudiu Popa
On Tue, Apr 29, 2014 at 11:11 PM, Charles-François Natali
 wrote:
> 2014-04-28 21:24 GMT+01:00 Claudiu Popa :
>> [...]
>>
>> If anyone agrees with the above, then I'll modify the patch. This will
>> be its last iteration, any other bikeshedding
>> should be addressed by the core dev who'll apply it.
>
> I'm perfectly happy with those proposals.


I've just updated the issue with the latest patch. If any core dev
could pick it up
and commit it, I'll be thankful.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [issue6839] zipfile can't extract file

2014-04-30 Thread francis

On 04/30/2014 04:45 AM, Adam Polkosnik wrote:
> Gentlemen,
>

On 04/30/2014 04:48 AM, Jessica McKellar wrote:

Hi Adam,

Gentlemen,




Thanks for contributing to Python! But not everyone on this list is a guy.



That was a fast reply (< 2min -> Ain't you playing with bots
searching for the "Gentlemen" word?). Just a joke ;-)

Regards,
francis



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


Re: [Python-Dev] [issue6839] zipfile can't extract file

2014-04-30 Thread Nathaniel Smith
On 30 Apr 2014 19:17, "francis"  wrote:
>
> On 04/30/2014 04:45 AM, Adam Polkosnik wrote:
> > Gentlemen,
>
> >
>
> On 04/30/2014 04:48 AM, Jessica McKellar wrote:
>>
>> Hi Adam,
>>
>> Gentlemen,
>>>
>>>
>>
>> Thanks for contributing to Python! But not everyone on this list is a
guy.
>>
>
> That was a fast reply (< 2min -> Ain't you playing with bots
> searching for the "Gentlemen" word?). Just a joke ;-)

When people are defending their right to be included is probably not a
great time to make jokes about them not being human. Tacking a smiley face
on the end just gives the impression that you realize that your words will
come off as aggressive and are trying to preemptively make sure that if
anyone tries to hold you responsible for this then you can claim that it's
their fault for not having a sense of humor. Trying to further defend this
position is just going to dig you in deeper, so let's drop the discussion
here.

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


Re: [Python-Dev] [issue6839] zipfile can't extract file

2014-04-30 Thread francis

Hi Nathaniel,


their fault for not having a sense of humor. Trying to further defend this
position is just going to dig you in deeper, so let's drop the discussion
here.


You're right, the formulation wasn't correct. My excuses. I just better 
do the review. Thanks.


Regards,
francis

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