Re: [Python-ideas] Combine f-strings with i18n - How about using PEP 501?

2018-09-17 Thread Anders Hovmöller
>> See also PEP 501, which could be used for i18n. > > I don't see how this immediately helps the OP, who wants a *literal* > expression that automatically invokes the translation machinery as > well as the interpolation machinery. Another way forward could be a preprocessor. All this can be

[Python-ideas] Combine f-strings with i18n - How about using PEP 501?

2018-09-17 Thread Stephen J. Turnbull
Eric V. Smith writes: > See also PEP 501, which could be used for i18n. I don't see how this immediately helps the OP, who wants a *literal* expression that automatically invokes the translation machinery as well as the interpolation machinery. The translation machinery needs access to the raw

Re: [Python-ideas] Deprecation utilities for the warnings module

2018-09-17 Thread Ilya Kulakov
After spending more time thinking about the implementation I came to a conclusion that it's not easy to generalize replacement of classes. Yes, with some work it's possible to ensure that old name references a new one. But that's not sufficient. If new class has different interface then user's

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Mike Miller
On 2018-09-17 11:49, James Lu wrote: I agree completely. On Sep 17, 2018, at 1:16 PM, Anders Hovmöller wrote: It’s been almost a week since this “discussion” first started. Can we please stop this in the name of productive work on python-ideas? A better use of time might be to discuss

Re: [Python-ideas] Retire or reword the namesake of the Language

2018-09-17 Thread Franklin? Lee
Monty Python had the goal of making people laugh, while python-ideas has the goal of improving Python. With those priorities, we can have fun, but not at the expense of potential contributions and contributors. Other people aren't perfect, but sometimes you have to adapt to them for the sake of

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Franklin? Lee
On Mon, Sep 17, 2018 at 10:50 AM Jacco van Dorp wrote: > > Op ma 17 sep. 2018 om 16:40 schreef Wes Turner : >> >> I think it's meant to be ironic? >> >> Why would that be the first sentence of a poem about software and the Python >> newsgroup/mailing list community? >> >> A certain percentage of

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Brett Cannon
On Mon., Sep. 17, 2018, 13:21 James Lu, wrote: > How can the Zulip chat be joined? Im interested in consolidating all the > discussion into one centralized forum. > No consolidation is happening yet. We're testing out mailing list alternatives on smaller, more manageable lists first before we

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Ethan Furman
On 09/17/2018 01:16 PM, James Lu wrote: So... we’re going to be using discourse instead of Python-ideas mailing list? No. None of the mailing lists will be migrated at this time. The plan is to get a test instance set up, tried for a while on a specific issue or two, and evaluate our

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Yury Selivanov
On Mon, Sep 17, 2018 at 4:16 PM James Lu wrote: [..] > So... we’re going to be using discourse instead of Python-ideas mailing list? > Or will we only try that until Discourse works for “core sprints”? Well, as I said: "If it works well we'll consider using it for other discussions in the

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Philippe Godbout
Simply use: https://python.zulipchat.com/login/ Le lun. 17 sept. 2018 à 16:20, James Lu a écrit : > How can the Zulip chat be joined? Im interested in consolidating all the > discussion into one centralized forum. > > Sent from my iPhone > > On Sep 17, 2018, at 3:35 PM, Philippe Godbout wrote:

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread James Lu
How can the Zulip chat be joined? Im interested in consolidating all the discussion into one centralized forum. Sent from my iPhone > On Sep 17, 2018, at 3:35 PM, Philippe Godbout wrote: > > Also, by restricting to python.org email address, do we not run the risk of > cutting off a lot of

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread James Lu
> It was decided to try https://www.discourse.org at the core dev > sprints. We'll likely try it for the upcoming governance model/vote > discussions. If it works well we'll consider using it for other > discussions in the future. > > Let's table this topic for now as we're unlikely to So...

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Philippe Godbout
Also, by restricting to python.org email address, do we not run the risk of cutting off a lot of would be contributor? Le lun. 17 sept. 2018 à 15:23, Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> a écrit : > py already has a Zulip chat > > Abdur-Rahmaan Janhangeer > Mauritius >

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Yury Selivanov
It was decided to try https://www.discourse.org at the core dev sprints. We'll likely try it for the upcoming governance model/vote discussions. If it works well we'll consider using it for other discussions in the future. Let's table this topic for now as we're unlikely to (a) try anything

Re: [Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread Abdur-Rahmaan Janhangeer
py already has a Zulip chat Abdur-Rahmaan Janhangeer Mauritius ___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/

[Python-ideas] Moving to another forum system where moderation is possible

2018-09-17 Thread James Lu
I agree completely. I propose Python register a trial of Stack Overflow Teams. Stack Overflow Teams is essentially your own private Stack Overflow. (I will address the private part later.) Proposals would be questions and additions or criticism would be answers. You can express your support

Re: [Python-ideas] Revert "RuntimeError: generator raised StopIteration"

2018-09-17 Thread Ethan Furman
On 09/17/2018 11:06 AM, Danilo J. S. Bellini wrote: The idea is simple: restore the "next" built-in and the "StopIteration" propagation behavior from Python 3.6. Unlikely to happen. In 3.6 a deprecation warning started being issued for next inside generators that said it would raise a

Re: [Python-ideas] Combine f-strings with i18n

2018-09-17 Thread Eric V. Smith
See also PEP 501, which could be used for i18n. Eric On 9/17/2018 1:42 PM, Stephen J. Turnbull wrote: Hans Polak writes: > On 17/09/18 09:53, Niki Spahiev wrote: > > > > Is it possible to use f-strings when making multilingual software? > > When i write non-hobby software translation

[Python-ideas] Revert "RuntimeError: generator raised StopIteration"

2018-09-17 Thread Danilo J. S. Bellini
Hi, The idea is simple: restore the "next" built-in and the "StopIteration" propagation behavior from Python 3.6. I'm using Python 3.7 for a while (as it's the default in Arch Linux), and there's one single backwards incompatible change from Python 3.6 that is breaking the code of some packages

Re: [Python-ideas] Combine f-strings with i18n

2018-09-17 Thread Stephen J. Turnbull
Hans Polak writes: > On 17/09/18 09:53, Niki Spahiev wrote: > > > > Is it possible to use f-strings when making multilingual software? > > When i write non-hobby software translation is hard requirement. > > At this moment, it seems that this is not possible. No, it's not possible. > If

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Anders Hovmöller
> It’s been almost a week since this “discussion” first started. Can we please > stop this in the name of productive work on python-ideas? A better use of time might be to discuss moving to a better forum system where moderation is easier/possible. Email somehow has a shape that makes those

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread James Lu
It’s been almost a week since this “discussion” first started. Can we please stop this in the name of productive work on python-ideas? Frankly, you don’t need to reply just because you can point out something wrong with someone else’s argument. Post because it’s worthwhile to hear, not because

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Abdur-Rahmaan Janhangeer
Zen of The Python Mailing List >>> import that on topic is better than off topic the dish of toxicity is made up of opinion attacking irony is it's fine herbs top posting should be counselled homeworks are not to be done mail clients are the tastes and colours of life a mailing list serves it's

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Jacco van Dorp
Op ma 17 sep. 2018 om 16:40 schreef Wes Turner : > I think it's meant to be ironic? > > Why would that be the first sentence of a poem about software and the > Python newsgroup/mailing list community? > > A certain percentage of people might be offended by changing the first > line (the frame of)

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Wes Turner
I think it's meant to be ironic? Why would that be the first sentence of a poem about software and the Python newsgroup/mailing list community? A certain percentage of people might be offended by changing the first line (the frame of) of said poem; to "I'm better than you". Dominance and

Re: [Python-ideas] Retire or reword the namesake of the Language

2018-09-17 Thread Stéfane Fermigier
This proposal unfortunately carries the risk of reminding people of "CORBA", a technology that was once regarded as the highest pinnacle of the development of distributed systems, before it was sidelined by XMLRPC, then SOAP, then Docker containers exchanging Protobuf messages over WebSockets. My

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Omar Balbuena
I love the Zen of Python and I occasionally cite one in a commit. Usually it's either flat/nested or the one about namespaces. I have never used beautiful/ugly. I think it would be incredibly conceited to cite it at any commit or code review. I don't think it serves anything. However I would

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread C. Titus Brown
Hi everyone, on behalf of the moderators… please, let’s stop discussing who accused whom of what, and either stick to the discussion at hand or be silent. If you can’t make a point without aggression or name calling, then it’s not a point you should be making. (That’s a general statement about

Re: [Python-ideas] Retire or reword the namesake of the Language

2018-09-17 Thread Antoine Pitrou
It's not like the Monty Python (whom the language was named after) would have dared mocking the discourse and manners of all kinds of social groups, let alone have a laugh at the expense of beliefs and ideologies. Regards Antoine. On Mon, 17 Sep 2018 08:25:27 -0400 Calvin Spealman wrote: >

Re: [Python-ideas] Retire or reword the namesake of the Language

2018-09-17 Thread Calvin Spealman
I am very disappointed in the existence of this thread. Mocking discourse is extremely unpythonic. On Mon, Sep 17, 2018 at 2:54 AM Jacco van Dorp wrote: > Yeah, sounds about as sensible as the recent "ban ugly" campaign. > +1. > > Op zo 16 sep. 2018 om 15:49 schreef Wes Turner : > >> Anyways,

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Abdur-Rahmaan Janhangeer
if (out.of.subject).pingpong: time to let the thread go Abdur-Rahmaan Janhangeer Mauritius ___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct:

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Franklin? Lee
On Mon, Sep 17, 2018 at 3:17 AM Jacco van Dorp wrote: > > Op zo 16 sep. 2018 om 05:40 schreef Franklin? Lee > : >> >> Jacco: >> - This is completely disrespectful and way over the line. Don't try to >> make a psychological evaluation from two emails, especially when it's >> just someone having

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Paul Moore
On Mon, 17 Sep 2018 at 09:40, Franklin? Lee wrote: > > On Sun, Sep 16, 2018 at 2:04 PM Antoine Pitrou wrote: > > > > On Sun, 16 Sep 2018 13:32:26 -0400 > > "Franklin? Lee" > > wrote: > > > On Sun, Sep 16, 2018 at 4:14 AM Antoine Pitrou > > > wrote: > > > > > > > > Yeah, right. > > > > > > > >

Re: [Python-ideas] Combine f-strings with i18n

2018-09-17 Thread Chris Angelico
On Mon, Sep 17, 2018 at 5:53 PM, Niki Spahiev wrote: > On 14.09.2018 12:33, Chris Angelico wrote: >> >> On Fri, Sep 14, 2018 at 7:02 PM, Hans Polak wrote: >>> >>> I have recently updated my code to use the more pythonic f-string instead >>> of >>> '{}'.format() >> >> >> Well there's your problem

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Franklin? Lee
On Sun, Sep 16, 2018 at 2:04 PM Antoine Pitrou wrote: > > On Sun, 16 Sep 2018 13:32:26 -0400 > "Franklin? Lee" > wrote: > > On Sun, Sep 16, 2018 at 4:14 AM Antoine Pitrou wrote: > > > > > > Yeah, right. > > > > > > You know, when I was pointing out Calvin not being very brave by > > > attacking

Re: [Python-ideas] Combine f-strings with i18n

2018-09-17 Thread Hans Polak
On 17/09/18 09:53, Niki Spahiev wrote: Is it possible to use f-strings when making multilingual software? When i write non-hobby software translation is hard requirement. At this moment, it seems that this is not possible. My use case is not very unique and that's why I wrote the proposal

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Abdur-Rahmaan Janhangeer
@SamanthaQuan Beautiful is a degree above the good. Beautiful in the context applied defines the refined, with a nuance of excellence. As the definition of beauty is not standard, it is what appeals to an individual. It is not only about passing the functional quality test, it is about

Re: [Python-ideas] Combine f-strings with i18n

2018-09-17 Thread Niki Spahiev
On 14.09.2018 12:33, Chris Angelico wrote: On Fri, Sep 14, 2018 at 7:02 PM, Hans Polak wrote: I have recently updated my code to use the more pythonic f-string instead of '{}'.format() Well there's your problem right there. Don't change your string formatting choice on that basis. F-strings

Re: [Python-ideas] Retire or reword the "Beautiful is better than ugly" Zen clause

2018-09-17 Thread Jacco van Dorp
Op zo 16 sep. 2018 om 05:40 schreef Franklin? Lee < leewangzhong+pyt...@gmail.com>: > I am very disappointed with the responses to this thread. We have > mockery, dismissiveness, and even insinuations about OP's > psychological health. Whether or not OP is a troll, and whether or not > OP's idea

Re: [Python-ideas] Retire or reword the namesake of the Language

2018-09-17 Thread Jacco van Dorp
Yeah, sounds about as sensible as the recent "ban ugly" campaign. +1. Op zo 16 sep. 2018 om 15:49 schreef Wes Turner : > Anyways, speaking of dragons, here are some ideas for new logos: > > "Strong Bad Email #58: Dragon" > https://youtu.be/90X5NJleYJQ > >