Hi everyone,
Sorry if this was proposed already. I looked here
https://www.python.org/dev/peps/pep-0622/#alternatives-for-constant-value-pattern,
search for "idea to make lookup semantics the default". I saw that a few
symbols like $ and ? were proposed, and I thought that maybe the annotation
I don't like how in Python 3.x, you can't do this:
lambda (x, y): whatever
It's quite useful in Python 2
if I understand correctly, it's a side effect of such packed arguments not
being allowed in function definitions. (i.e. def instead of lambda)
Can you please refer me to the original
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
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)
Regards
Antoine
questions.
On Fri, Jan 24, 2014 at 7:04 PM, Terry Reedy tjre...@udel.edu wrote:
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
PM, Brett Cannon br...@python.org wrote:
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
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
Hi everyone,
Take a look at this question:
http://stackoverflow.com/questions/16122435/python-3-how-do-i-use-bytes-to-bytes-and-string-to-string-encodings/16122472?noredirect=1#comment23034787_16122472
Is there really no way to use base64 that's as short as:
b'whatever'.encode('base64')