On 24/02/2014 18:40, Ethan Furman wrote:
Okay, types corrected, most comments taken into account.
%b is right out, %a is still suffering scrutiny.
The arguments seem to boil down to:
We don't need it.
vs
Somebody might, and it's better than having them inappropriately add a
__bytes__ method if we don't have it.
"We don't need it" doesn't really need any further explanation.
Does anybody have any examples where %a could be useful? Considering
the work-arounds are either wrong or painful, it wouldn't take much to
sway me towards keeping it, but at the moment it seems to be a YAGNI,
plus we could always add it later if it turns out to be useful. (For
that matter, we could implement the main portion of the PEP now, and
maybe a %a use-case will show up before 3.5 is released and we could add
it then.)
So, any last thoughts about %a?
I placed it under your nose
https://mail.python.org/pipermail/python-dev/2014-January/131636.html
but personally I wouldn't lose any sleep whether it stays or goes.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
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