lol @ the fact that the type hints are breaking github's syntax highlighter
:)
On 23 April 2015 at 14:44, Paul Sokolovsky wrote:
> Hello,
>
> On Thu, 23 Apr 2015 14:48:58 +0200
> Wolfgang Langner wrote:
>
> > Hello,
> >
> > On Thu, Apr 23, 2015 at 11:59 AM, Paul Sokolovsky
> > wrote:
> >
> > >
Hey, I just wanted to say to everyone, thanks for being so patient and
willing to engage with this discussion, despite my not having done my
research and read the (substantial) prior discussion on the topic. Here it
is (or at least, some of it!) for any other newcomers:
https://mail.python.org/p
exactly. yay stub files! we all agree! everyone loves them! boo type
annotations inline in python source. only some people love them. and even
then, only after a while, and only tentatively... and some people fear
them, mightily...
On 20 April 2015 at 23:14, Ćukasz Langa wrote:
> On Apr 20,
> On Mon, Apr 20, 2015 at 1:50 PM, Harry Percival
> wrote:
>
>> > stub files are only used to type-check *users* of a module. If you want
>> a module itself to be type-checked you have to use inline type hints
>>
>> is this a fundamental limitation, or just
cases where I don't need to see them, I
shouldn't have to... that's why i'm so keen on this stub files idea.
One thing I don't understand is this "local variable inference" thing --
can that not be made to work in stub files?
On 20 April 2015 at 21:50, Harry Perc
> stub files are only used to type-check *users* of a module. If you want a
module itself to be type-checked you have to use inline type hints
is this a fundamental limitation, or just the current state of tooling?
On 20 April 2015 at 21:48, Harry Percival wrote:
> > "I h
> "I hate stub files. [...] in my opinion, [it] just about guarantees a
maintenance burden that will fall by the side of the road.
I'm not so pessimistic. It's not like documentation or docstrings or
comments -- the whole point is that it should be very easy to have an
automated check for whether
Hi all,
tldr; type hints in python source are scary. Would reserving them for stub
files be better?
For people that don't know me (most of you I think), I don't have a long
experience of programming (perhaps 5 years, barring a bit of messing about
with BASIC in the 80s), I've never made any commi