El mié., 21 mar. 2018 a las 16:23, Guido van Rossum ()
escribió:
> Roberto,
>
> That looks like an interesting class. I presume you're intending to
> publish this as a pip package on PyPI.python.org?
>
>
Precisely.
I'm no lawyer, but I believe you can license your code under a new license
> (I re
Hi,
I've made a custom concurrent.futures.Executor mixing the
ProcessPoolExecutor and ThreadPoolExecutor.
I've published it here:
https://github.com/nilp0inter/threadedprocess
This executor is very similar to a ProcessPoolExecutor, but each process in
the pool have it's own ThreadPoolExecutor i
I can't see the lists either. Same message "No such list security-announce".
Cheers.
On Wed, Sep 27, 2017, 18:05 Jesus Cea wrote:
> On 21/09/17 17:30, Barry Warsaw wrote:
> > https://mail.python.org/mailman/listinfo/security-announce
>
> "No such list security-announce".
>
> > https://mail.pyth
nd you're better off just checking for __set__ (if it only has __set__ but
not __get__, do you care what it is?).
On Tue, Jan 17, 2017 at 10:18 AM, Roberto Martínez <
robertomartin...@gmail.com> wrote:
Well, for me having to check both __get__ and __str__ for a data descriptor
f
ió:
> For this use case I see nothing wrong with hasattr(myobj, '__set__').
>
> On Tue, Jan 17, 2017 at 9:41 AM, Roberto Martínez <
> robertomartin...@gmail.com> wrote:
>
> I need to check if some objects obey the descriptor protocol in the
> construction of a me
situation where you miss them?
>
> --Guido
>
> On Tue, Jan 17, 2017 at 8:51 AM, Roberto Martínez <
> robertomartin...@gmail.com> wrote:
>
> Hi,
>
> I miss abstract base classes in collections.abc implementing the
> descriptor protocol. Any reason why they do not ex
Hi,
I miss abstract base classes in collections.abc implementing the descriptor
protocol. Any reason why they do not exist?
What do you think of adding NonDataDescriptor and DataDescriptor ABCs?
Best regards,
Roberto
___
Python-Dev mailing list
Python-
Why the 'start' parameter default is 1? 0 (zero) is more consistent with
other parts of the language: indexes, enumerate, range...
El mié., 29 de jun. de 2016 21:26, Ethan Furman
escribió:
> On 06/29/2016 12:11 PM, Guido van Rossum wrote:
>
> > And how would you implement that without support fr
Hi,
I am having a hard time trying to choose one of this two products:
Phyton 27:
http://www.amazon.com/Phyton-27-Systemic-Bactericide-Fungicide/dp/B00VKPL8FU
Phyton 35:
http://www.amazon.com/Phyton-Bactericide-fungicide-Substitute-Liter/dp/B00BGE65VM
Phyton 35 is announced as the "Substitute fo
Hi folks,
I am trying to replace dinamically the __call__ method of an object using
setattr.
Example:
$ cat testcall.py
class A:
def __init__(self):
setattr(self, '__call__', self.newcall)
def __call__(self):
print("OLD")
def newcall(self):
print("NEW")
a=A(
10 matches
Mail list logo