[Python-ideas] Type hinting for path-related functions
Brett Cannon
brett at python.org
Tue May 17 12:33:08 EDT 2016
On Mon, 16 May 2016 at 22:09 Guido van Rossum <guido at python.org> wrote:
> For the mailing list folks here's a draft of the promised blog post:
>
> https://paper.dropbox.com/doc/Adding-type-annotations-for-PEP-519-SQuovLc1ZyrC4EEIkeVzE
>
> Hopefully some of you can actually add comments in the sidebar (it
> requires a Dropbox login).
>
No comments from me, although it's going to be interesting making this all
work in Typeshed if we backport the PathLike support to the pathlib
constructor to 3.4 and 3.5 but (obviously) not os.PathLike itself.
-Brett
>
> I'll convert it to my usual Blogger format tomorrow.
>
> --Guido
>
> On Mon, May 16, 2016 at 9:08 PM, Guido van Rossum <guido at python.org>
> wrote:
> > On its way. It's longer than I expected. Hopefully to be finished
> tomorrow...
> >
> > On Mon, May 16, 2016 at 1:48 PM, Brett Cannon <brett at python.org> wrote:
> >>
> >>
> >> On Mon, 16 May 2016 at 11:38 Guido van Rossum <guido at python.org> wrote:
> >>>
> >>> On Mon, May 16, 2016 at 9:15 AM, Brett Cannon <brett at python.org>
> wrote:
> >>>>
> >>>> This might make a nice example in the docs and/or blog post since
> this is
> >>>> hitting the intermediate/advanced space for typing that almost none
> of us
> >>>> have hit.
> >>>
> >>>
> >>> I'll see if I can follow up on this idea. But if anyone else feels like
> >>> blogging about this, please go ahead! If you post a link here I'll
> retweet.
> >>
> >>
> >> If you don't get to it then maybe I will in a blog post on PEP 519, but
> I
> >> don't think I will be much faster than you for the foreseeable future.
> :)
> >
> >
> >
> > --
> > --Guido van Rossum (python.org/~guido)
>
>
>
> --
> --Guido van Rossum (python.org/~guido)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160517/e973cc37/attachment.html>
More information about the Python-ideas
mailing list