[Python-ideas] Short form for keyword arguments and dicts

Barry Warsaw barry at python.org
Mon Jun 24 20:45:40 CEST 2013


On Jun 24, 2013, at 04:55 PM, MRAB wrote:

>Do you have to use sys._getframe()?

Of course, this being Python I don't *have* to use anything. ;) But after a
ton of experimentation on a huge body of code, I found that keeping the _()
call sites really simple (i.e. essentially just the source strings) made for
the most readable API.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130624/87fafec1/attachment.pgp>


More information about the Python-ideas mailing list