[Python-Dev] str.rreplace

Brett Cannon brett at python.org
Fri Jan 24 18:49:50 CET 2014


On Fri, Jan 24, 2014 at 12:46 PM, Ram Rachum <ram at 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 not I think it would be useful because ...". The
assumption is that if you are asking if something exists then you would
like it to exist, in which case you should have a reason for wanting it.

-Brett


>
>
> On Fri, Jan 24, 2014 at 7:41 PM, Brett Cannon <brett at python.org> wrote:
>
>>
>>
>>
>> On Fri, Jan 24, 2014 at 12:33 PM, Ram Rachum <ram at 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
>>> whether it should be on python-ideas or not.
>>>
>>
>> So then you were simply wondering about its existence, for which you
>> should go to python-list or python-ideas first. Python-ideas exists
>> *explicitly* as a filter for this kind of question which is why people are
>> saying it should have gone there first (or to python-list).
>>
>> If you have any doubt as to whether a question should go here or not,
>> then err on the side of caution and post to python-ideas or python-list
>> first.
>>
>> -Brett
>>
>>
>>>
>>>
>>>
>>> On Fri, Jan 24, 2014 at 7:31 PM, Brett Cannon <brett at python.org> wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Jan 24, 2014 at 11:46 AM, Ram Rachum <ram at 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 whether it exists or not, so he can't know whether he's proposing a
>>>>> new idea or whether it's something that exists under a different name or
>>>>> whether that's something that can't exist because of some unknown reason
>>>>> that the asker didn't think of.
>>>>>
>>>>> Now that I know it doesn't exist, I'll ask this on python-ideas.
>>>>>
>>>>
>>>> I think there might be a language issue here because you originally
>>>> said "Why is there no str.rreplace in Python?" which shows you already
>>>> knew it didn't exist. Did you mean to say you wanted to know *why* it
>>>> didn't exist?
>>>>
>>>> Even in that case, if searching for [python str.rreplace] didn't turn
>>>> up anything then chances are there was no proposal, which makes it a new
>>>> idea and thus belongs on python-ideas. Basically the rule of thumb is
>>>> anything considered new goes to python-ideas first.
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140124/9062e0e7/attachment.html>


More information about the Python-Dev mailing list