Re: [Python-Dev] str.rreplace

2014-01-25 Thread Wes Turner
On Jan 24, 2014 9:13 PM, Nick Coghlan ncogh...@gmail.com wrote: On 25 January 2014 11:14, Steven D'Aprano st...@pearwood.info wrote: On Sat, Jan 25, 2014 at 10:41:05AM +1000, Nick Coghlan wrote: In this specific case, our general communication about the different purposes of the core

[Python-Dev] str.rreplace

2014-01-24 Thread Ram Rachum
Question: Why is there no str.rreplace in Python? ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Chris Angelico
On Sat, Jan 25, 2014 at 3:38 AM, Antoine Pitrou solip...@pitrou.net wrote: On Fri, 24 Jan 2014 18:32:17 +0200 Ram Rachum r...@rachum.com wrote: Question: Why is there no str.rreplace in Python? What would it do? (also, I think such questions are better asked on python-ideas) Or python-list.

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Antoine Pitrou
On Fri, 24 Jan 2014 18:32:17 +0200 Ram Rachum r...@rachum.com wrote: Question: Why is there no str.rreplace in Python? What would it do? (also, I think such questions are better asked on python-ideas) Regards Antoine. ___ Python-Dev mailing list

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ram Rachum
You see, Antoine, *you* know that it's better asked on python-ideas because you know it doesn't exist in Python, therefore it's an idea for an addition. However, when a person like me asks this question, he does not know whether it exists or not, so he can't know whether he's proposing a new idea

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Mark Lawrence
On 24/01/2014 16:32, Ram Rachum wrote: Question: Why is there no str.rreplace in Python? It's not needed. Is this *REALLY* relevant to this list? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ryan Gonzalez
http://stackoverflow.com/questions/2556108/how-to-replace-the-last-occurence-of-an-expression-in-a-string On Fri, Jan 24, 2014 at 10:32 AM, Ram Rachum r...@rachum.com wrote: Question: Why is there no str.rreplace in Python? ___ Python-Dev mailing

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Terry Reedy
On 1/24/2014 11:32 AM, Ram Rachum wrote: Question: Why is there no str.rreplace in Python? Ram, this list is for discussing the development of the next few releases of CPython. General questions should go to python-list. -- Terry Jan Reedy ___

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ram Rachum
Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss Python, the language. I now looked at the 17 most recent python-list threads. Out of them: - 58% are about third-party

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brett Cannon
On Fri, Jan 24, 2014 at 11:46 AM, Ram Rachum r...@rachum.com wrote: You see, Antoine, *you* know that it's better asked on python-ideas because you know it doesn't exist in Python, therefore it's an idea for an addition. However, when a person like me asks this question, he does not know

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ram Rachum
I knew it didn't exist by that name, but couldn't know whether there was another function that did the same thing or technique to make it not needed. So I couldn't know whether it's new or not, therefore I couldn't know whether it should be on python-ideas or not. On Fri, Jan 24, 2014 at 7:31

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Mark Lawrence
On 24/01/2014 17:19, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss Python, the language. I now looked at the 17 most recent python-list threads. Out of

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brett Cannon
On Fri, Jan 24, 2014 at 12:33 PM, Ram Rachum r...@rachum.com wrote: I knew it didn't exist by that name, but couldn't know whether there was another function that did the same thing or technique to make it not needed. So I couldn't know whether it's new or not, therefore I couldn't know

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Terry Reedy
On 1/24/2014 12:19 PM, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss Python, the language. Python-list is the place for such discussions. Questions such

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Chris Angelico
On Sat, Jan 25, 2014 at 4:19 AM, Ram Rachum r...@rachum.com wrote: I now looked at the 17 most recent python-list threads. Out of them: - 58% are about third-party packages. - 17% are off-topic (not even programming related) - 11% are 2-vs-3 discussions - 5% are job offers. - 5% (which

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ram Rachum
Okay, next time I'll ask on python-ideas. (I do hope that no one there will be angry that I'm posting a question there rather than an idea...) On Fri, Jan 24, 2014 at 7:41 PM, Brett Cannon br...@python.org wrote: On Fri, Jan 24, 2014 at 12:33 PM, Ram Rachum r...@rachum.com wrote: I knew

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brett Cannon
On Fri, Jan 24, 2014 at 12:46 PM, Ram Rachum r...@rachum.com wrote: Okay, next time I'll ask on python-ideas. (I do hope that no one there will be angry that I'm posting a question there rather than an idea...) Nope, no one will. Just phrase it as is there something like a str.rreplace? If

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ethan Furman
On 01/24/2014 09:19 AM, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss Python, the language. [snip] it's full of people asking about third-party Python

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Wes Turner
On Jan 24, 2014 11:43 AM, Terry Reedy tjre...@udel.edu wrote: On 1/24/2014 12:19 PM, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss Python, the

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Terry Reedy
On 1/24/2014 12:50 PM, Wes Turner wrote: On Jan 24, 2014 11:43 AM, Terry Reedy tjre...@udel.edu mailto:tjre...@udel.edu wrote: On 1/24/2014 12:19 PM, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brian Curtin
On Fri, Jan 24, 2014 at 11:40 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 17:19, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think python-list is a good place to discuss

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Mark Lawrence
On 24/01/2014 22:44, Brian Curtin wrote: On Fri, Jan 24, 2014 at 11:40 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 17:19, Ram Rachum wrote: Hmm, on one hand I understand the need for the separation between python-dev and python-list, but on the other hand I don't think

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brian Curtin
On Fri, Jan 24, 2014 at 4:50 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 22:44, Brian Curtin wrote: On Fri, Jan 24, 2014 at 11:40 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 17:19, Ram Rachum wrote: Hmm, on one hand I understand the need for the

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Mark Lawrence
On 24/01/2014 22:56, Brian Curtin wrote: On Fri, Jan 24, 2014 at 4:50 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 22:44, Brian Curtin wrote: On Fri, Jan 24, 2014 at 11:40 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 17:19, Ram Rachum wrote: Hmm, on

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Brett Cannon
On Fri, Jan 24, 2014 at 6:02 PM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 24/01/2014 22:56, Brian Curtin wrote: On Fri, Jan 24, 2014 at 4:50 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/01/2014 22:44, Brian Curtin wrote: On Fri, Jan 24, 2014 at 11:40 AM, Mark Lawrence

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Nick Coghlan
On 25 Jan 2014 09:46, Brett Cannon br...@python.org wrote: On Fri, Jan 24, 2014 at 6:02 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: Okay, I'll leave the snarky comments to the people who are authorised to be snarky. How do you get on this list? Is it any core dev, or are there more

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Steven D'Aprano
On Sat, Jan 25, 2014 at 10:41:05AM +1000, Nick Coghlan wrote: In this specific case, our general communication about the different purposes of the core lists *isn't* particularly good, Nick, I beg to differ: I think that our communication in this regard actually is quite reasonable. Before

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Nick Coghlan
On 25 January 2014 11:14, Steven D'Aprano st...@pearwood.info wrote: On Sat, Jan 25, 2014 at 10:41:05AM +1000, Nick Coghlan wrote: In this specific case, our general communication about the different purposes of the core lists *isn't* particularly good, Nick, I beg to differ: I think that