[Python-ideas] Re: Allow Annotated annotation in dataclass

2021-04-05 Thread Brian Marroquin
Hey Paul, Thanks for the response. That makes sense since moving it doesn't add any new functionality. ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman

[Python-ideas] Re: Allow Annotated annotation in dataclass

2021-04-05 Thread Paul Bryan
Haven't seen a reply to this yet, so I'll start the bidding at 2¢. Generally, I like the idea of using Annotated in this fashion. I'm currently using it for expressing validation rules and hints about how parameters are handled in HTTP requests. Handy! If = field(...) weren't already established,

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Eric V. Smith
> On Apr 5, 2021, at 4:43 AM, Shreyan Avigyan wrote: > > Yes you are right. But isn't informing people about a change the work of > PEP? I mean this is kind of a major change because we're trying to change the > error message and/or the type. If the type is not changed then no PEP is > requi

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Chris Angelico
On Mon, Apr 5, 2021 at 7:02 PM Shreyan Avigyan wrote: > > OkSo the text will be changed. > > I've already used the issue tracker to describe this change. I'm yet to > receive confirmation from there. I'll submit the PR as soon as I receive > confirmation. Thanks a lot everyone. > Sounds lik

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Shreyan Avigyan
Got it. Thanks. On Mon, Apr 5, 2021 at 2:24 PM Eric V. Smith wrote: > > > On Apr 5, 2021, at 4:43 AM, Shreyan Avigyan > wrote: > > > > Yes you are right. But isn't informing people about a change the work > of PEP? I mean this is kind of a major change because we're trying to > change the erro

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Shreyan Avigyan
OkSo the text will be changed. I've already used the issue tracker to describe this change. I'm yet to receive confirmation from there. I'll submit the PR as soon as I receive confirmation. Thanks a lot everyone. With Regards ___ Python-ideas mail

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Chris Angelico
On Mon, Apr 5, 2021 at 6:41 PM Shreyan Avigyan wrote: > > Yes you are right. But isn't informing people about a change the work of PEP? > I mean this is kind of a major change because we're trying to change the > error message and/or the type. If the type is not changed then no PEP is > require

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Shreyan Avigyan
Yes you are right. But isn't informing people about a change the work of PEP? I mean this is kind of a major change because we're trying to change the error message and/or the type. If the type is not changed then no PEP is required but if the type is changed then there comes a maybe. What shoul

[Python-ideas] Re: Change the exception type and message raised when _curses is not found

2021-04-05 Thread Jeff Allen
On 04/04/2021 19:05, Shreyan Avigyan wrote: When importing the curses module, be it on Windows or Darwin or UNIX-based OS or any other platform, if the _curses module is not found then just a ModuleNotFoundError is raised. But this error is not very informational in case of _curses module. Sin