[Python-Dev] Re: Using FutureWarning for last version before deletion.

2021-05-15 Thread Nick Coghlan
On Tue, 11 May 2021, 7:57 pm Petr Viktorin, wrote: > > > On 11. 05. 21 11:08, Inada Naoki wrote: > > On Tue, May 11, 2021 at 5:30 PM Petr Viktorin wrote: > >> > >> Test tools should treat DeprecationWarning as error by default [0][1]. > >> So even if end users don't really see it, I don't consid

[Python-Dev] Re: The repr of a sentinel

2021-05-15 Thread Eric Nieuwland
To add to the suggestions already given in this thread I dug into code I wrote some time ago. Offered as an inspiration. === missing.py === from typing import Any def MISSING(klass: Any) -> Any: """ create a sentinel to indicate a missing instance of a class :param klass: the clas

[Python-Dev] Re: python-iterators mailing list on SourceForge

2021-05-15 Thread Georg Brandl
On 11/05/2021 08:39, Julien Palard via Python-Dev wrote: > Hi, > > PEP 234 mention > https://sourceforge.net/p/python/mailman/python-iterators/ but the > project mailing list archives are marked as "hidden". > > Looks like projects admin and developers can get the "hidden link", but > I think it