Le 25/04/15 04:07, Steven D'Aprano a écrit :
On Sat, Apr 25, 2015 at 02:05:15AM +0100, Ronan Lamy wrote:
* Hints have no run-time effect. The interpreter cannot assume that they
are obeyed.
I know what you mean, but just for the record, annotations are runtime
inspectable, so people can
Le 24/04/15 19:45, Paul Sokolovsky a écrit :
Hello,
On Fri, 24 Apr 2015 18:27:29 +0100
Ronan Lamy wrote:
PyPy's FAQ
has an explanation of why type hints are not for performance.
http://pypy.readthedocs.org/en/latest/faq.html#would-type-annotations-help-pypy-s-performance
You pro
Le 23/04/15 14:55, Paul Sokolovsky a écrit :
Hello,
On Thu, 23 Apr 2015 09:15:44 -0400
Daniel Holth wrote:
[]
Also ask why no one used type specifier, they are possible since
Python 3.0 ?
Because it is the wrong way for Python.
That's an example of how perceptions differ. In my list, every
2013/5/24 Ethan Furman
> On 05/23/2013 02:02 PM, Ronan Lamy wrote:
>
>> 2013/5/23 Łukasz Langa mailto:luk...@langa.pl>>
>>
>>
>> On 23 maj 2013, at 20:13, Éric Araujo > mer...@netwok.org>> wrote:
>>
>> > Question: wh
. A
major use case for this is to define the implementation for a subclass by
reusing its parent's implementation, e.g. :
@some_generic.register(my_int)
def _(arg):
print("Hello from my_int!")
return some_generic[int](arg)
--
Ronan Lamy
_
Le mardi 12 juin 2012 à 11:41 -0700, Ethan Furman a écrit :
> Terry Reedy wrote:
> > http://bugs.python.org/issue12982
> >
> > Currently, cpython requires the -O flag to *read* .pyo files as well as
> > the write them. This is a nuisance to people who receive them from
> > others, without the so