[Python-ideas] Allow "assigning" to Ellipse to discard values.

Ethan Furman ethan at stoneleaf.us
Thu Feb 12 00:21:03 CET 2015


On 02/11/2015 03:15 PM, Eric V. Smith wrote:

> Thanks, Thunderbird, for mangling that for me. Hopefully this works better:
> 
>--> import gettext
>--> gettext.install('foo')
>--> _
> <bound method NullTranslations.gettext of gettext.NullTranslations
> instance at 0xffeb65cc>>

Oh, cool.  It is somewhat amusing to see the stdlib doing something we are usually strongly advised against -- adding
things to __bulitins__ ;) . (Yes, I agree it is a good case... still amusing.)

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150211/1300d8b9/attachment-0001.sig>


More information about the Python-ideas mailing list