[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ideas
Subject:    Re: [Python-ideas] decorator syntax limitation
From:       Franck Michea <franck.michea () gmail ! com>
Date:       2014-02-21 15:44:10
Message-ID: CAPidYdtjuYnHcWyZui7Xo-dg-N-Rpz_FT+6Jpqxvwj+HP9KYzg () mail ! gmail ! com
[Download RAW message or body]

On Thu, Feb 20, 2014 at 10:58 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
> On 21 February 2014 07:55, Jan Kaliszewski <zuo@chopin.edu.pl> wrote:
>>
>> As far as I remember, generally, the belief that this restriction
>> is necessary seemed not to be very strong.
>
> Yup, but the gains aren't that great, either - it's never irritated
> anyone enough for them to write up the necessary PEP and implement the
> Grammar change :)
>
> Cheers,
> Nick.
>

Well, I started to work on a public API design and was hoping I could
use this pattern, but I had another idea since then that would work
without syntax modification. Not promising anything, but I may look
into this within the next few months (~9) if it bothers me enough :)

Haoyi's trick is awesome, but I don't think it's a good idea for
something public :/ Though I'll keep that in mind if I ever need that
in my code :)

Thank you for your answers guys!

-- 
Franck Michea - EPITA/GISTRE/LSE 2014
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic