[Python-Dev] Re: Deprecating the "u" string literal prefix

2019-12-07 Thread Stephen J. Turnbull
Steve Holden writes: > In which case, wouldn't "_" make a better literal prefix than "i"? There's no reason to suppose that "i" would be drop-in compatible for GNU gettext (for example, gettext purely deals with the message catalog lookup, while i-strings might be able to deal with currency form

[Python-Dev] Re: PEP proposal to limit various aspects of a Python program to one million.

2019-12-07 Thread Oscar Benjamin
On Sat, 7 Dec 2019 at 06:29, Steven D'Aprano wrote: > > A million seems reasonable for lines of source code, if we're prepared > to tell people using machine generated code to split their humongous .py > files into multiple scripts. A small imposition on a small subset of > Python users, for the b

[Python-Dev] Re: Deprecating the "u" string literal prefix

2019-12-07 Thread Steve Holden
In which case, wouldn't "_" make a better literal prefix than "i"? A better comparison might be between _"..." and f"...". regards Steve Holden On Thu, Dec 5, 2019 at 5:37 AM Serhiy Storchaka wrote: > 04.12.19 16:02, Anders Munch пише: > > Victor Stinner [mailto:vstin...@python.org] wrote: >

[Python-Dev] Re: Should we require all deprecations to have a removal version that we follow through on?

2019-12-07 Thread Serhiy Storchaka
06.12.19 21:16, Kyle Stanley пише: Would it be reasonable to require an minimum amount of versions to be specified (such as n versions ahead), but provide flexibility in terms to delaying the removal, as needed? IMO, it would be more convenient for users to have a "minimum removal" version in m