Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Terry Reedy
On 10/29/2018 2:25 PM, Joy Diamond wrote: Thanks, Storchaka for finding the documentation. Though it is really annoying I could not find it with a google search... Next time, start with our excellent index, which includes a page for words starting with '_'. There is another page for

Re: [Python-ideas] async unittest.TestCase

2018-10-29 Thread David Shawley
Sorry if this double posted but I got a bounce from python-id...@googlegroups.com the first time that I sent it. I resent to python-ideas@python.org. On Oct 29, 2018, at 3:07 AM, Neil Girdhar wrote: > > Why not just use pytest? > I could use pytest or Martin Richard's asynctest[1]. I want

Re: [Python-ideas] async unittest.TestCase

2018-10-29 Thread Neil Girdhar
Why not just use pytest? On Wednesday, October 10, 2018 at 7:12:02 AM UTC-4, David Shawley wrote: > > Hi everyone and good morning to some of you, > > Since asyncio and the async/await syntax are both part of Python, I think > that we should extend TestCase to support it. The simplest solution

Re: [Python-ideas] Off-topic: can't access mail.python.org

2018-10-29 Thread Steven D'Aprano
On Sun, Oct 28, 2018 at 06:44:22PM +0300, Mikhail V wrote: > Sorry for posting it here on the list, but I don't know the right > contact for technical questions. > The problem is, for 3 weeks or so the mail.python.org > site is not accessible for me. What can be causing this? Your DNS is broken?

Re: [Python-ideas] loop: statement

2018-10-29 Thread Mikhail V
See my post a month ago (29 September) in the archive with links to some related discussions. Subject "while: for the loop". (I don't have access to the archive now so I can't link to the post) One proposal was exactly about the "loop" keyword:

Re: [Python-ideas] Off-topic: can't access mail.python.org

2018-10-29 Thread MRAB
On 2018-10-29 13:56, Steven D'Aprano wrote: On Sun, Oct 28, 2018 at 06:44:22PM +0300, Mikhail V wrote: Sorry for posting it here on the list, but I don't know the right contact for technical questions. The problem is, for 3 weeks or so the mail.python.org site is not accessible for me. What can

[Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Greetings, Currently `type.__subclasses__` is not documented at docs.python.org (and works in both python 2 & python 3). I would like to keep `.__subclasses__` and have it documented at docs.python.org. Is there a reason it is not documented? I realize the whole type system is going an

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Guido van Rossum
__subclasses__ is a runtime thing. As such it should probably be documented -- someone should submit a doc PR. I don't think that "overhaul" is the right word to describe what's going to happen with types in Python -- yes, we're adding optional static type checking, and yes, this will occasionally

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Serhiy Storchaka
29.10.18 20:11, Joy Diamond пише: Currently `type.__subclasses__` is not documented at docs.python.org (and works in both python 2 & python 3). I would like to keep `.__subclasses__` and have it documented at docs.python.org . Is there a

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Thanks for clarification that `type.__subclasses__` is remaining. I submitted a bug request to document `type.__subclasses__` URL: https://bugs.python.org/issue35106 (Hopefully I did it correctly, as I am just learning how to submit python bugs). On Mon, Oct 29, 2018 at 2:15 PM Guido van

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Thanks, Storchaka for finding the documentation. Though it is really annoying I could not find it with a google search... I looked really hard before taking the time to write my message. Sorry to bother everyone with this. On Mon, Oct 29, 2018 at 2:22 PM Serhiy Storchaka wrote: > 29.10.18

Re: [Python-ideas] loop: statement

2018-10-29 Thread Juancarlo Añez
Thanks, Steven. Those links led to the complete discussions, including this one with a "loop:" keyword. https://mail.python.org/pipermail/python-ideas/2014-June/028202.html In short "while:" won't likely ever make it, and adding new keywords to Python only happens on a _absolute-need_ basis.