Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Brett Cannon
On Mon, 5 Oct 2015 at 13:55 Steve Wedig wrote: > Brett and Alexander, > > I am concerned about deprecation of arbitrary function annotations because > Pep 484 suggests that two paths are under consideration. Here is the > relevant section: > > " > We do hope that type hints will eventually become

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Sven R. Kunze
Not really being affected by the "python annotation movement", I supply some non-constructive comment: I would not prefer any of these outcomes but would always allow all possible meanings that people wish to encode in the annotations. My $0.02 and I am out. On 05.10.2015 22:46, Steve Wed

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
Uh, I kind of knew that. Then I rushed the email and my brain momentarily left me. Sorry... On October 5, 2015 3:23:29 PM CDT, Guido van Rossum wrote: >Maybe I should clarify how the process of changing the language works. > >The PSF doesn't enter into it -- they manage the infrastructure (e.g.

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Steve Wedig
Brett and Alexander, I am concerned about deprecation of arbitrary function annotations because Pep 484 suggests that two paths are under consideration. Here is the relevant section: " We do hope that type hints will eventually become the sole use for annotations, but this will require additional

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Guido van Rossum
Maybe I should clarify how the process of changing the language works. The PSF doesn't enter into it -- they manage the infrastructure (e.g. mailing lists, Hg repo, tracker, python.org) but they don't have anything to do with deciding how or when the language changes. Language changes are done *h

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
PSF. Nothing personal, of course... On October 5, 2015 3:01:11 PM CDT, Guido van Rossum wrote: >"They"? > >On Mon, Oct 5, 2015 at 12:57 PM, Ryan Gonzalez >wrote: > >> There is one reason I would be really freaking mad if they deprecated >> other uses of annotations: >> >> https://pypi.python.org

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Brett Cannon
Function annotations for uses other than types are not deprecated, just discouraged if they don't have an appropriate decorator: https://docs.python.org/3/library/typing.html#typing.no_type_check . There is even a decorator for decorators since most uses previous to type hints utilized some form of

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Guido van Rossum
"They"? On Mon, Oct 5, 2015 at 12:57 PM, Ryan Gonzalez wrote: > There is one reason I would be really freaking mad if they deprecated > other uses of annotations: > > https://pypi.python.org/pypi/plac > > On October 5, 2015 1:55:37 PM CDT, Steve Wedig > wrote: > >Congratulations on the release

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
There is one reason I would be really freaking mad if they deprecated other uses of annotations: https://pypi.python.org/pypi/plac On October 5, 2015 1:55:37 PM CDT, Steve Wedig wrote: >Congratulations on the release of 3.5 and Pep 484. I've used Python >professionally for 10 years and I believ