Re: [Python-Dev] PEP 484 (Type Hints) announcement

2015-05-23 Thread Alex Grönholm
Would you mind updating the typing package on PyPI now to contain something useful? Thanks. 22.05.2015, 23:51, Mark Shannon kirjoitti: Hello all, I am pleased to announce that I am accepting PEP 484 (Type Hints). Given the proximity of the beta release I thought I would get this

Re: [Python-Dev] PEP 484 wishes

2015-05-18 Thread Alex Grönholm
18.05.2015, 02:50, Guido van Rossum kirjoitti: On Sun, May 17, 2015 at 3:07 PM, Alex Grönholm alex.gronh...@nextday.fi mailto:alex.gronh...@nextday.fi wrote: Looking at PEP 484, I came up with two use cases that I felt were not catered for: 1. Specifying that a parameter should

Re: [Python-Dev] PEP 484 wishes

2015-05-18 Thread Alex Grönholm
18.05.2015, 18:05, Guido van Rossum kirjoitti: On Mon, May 18, 2015 at 12:14 AM, Alex Grönholm alex.gronh...@nextday.fi mailto:alex.gronh...@nextday.fi wrote: 18.05.2015, 02:50, Guido van Rossum kirjoitti: On Sun, May 17, 2015 at 3:07 PM, Alex Grönholm alex.gronh...@nextday.fi

[Python-Dev] PEP 484 wishes

2015-05-17 Thread Alex Grönholm
Looking at PEP 484, I came up with two use cases that I felt were not catered for: 1. Specifying that a parameter should be a subclass of another (example: Type[dict] would match dict or OrderedDict; plain Type would equal type from builtins) 2. Specifying that a callable should take at