Yes, we decided to stick with the block/rescue/always syntax so as not to confuse things, and it does make things a bit easier internally to python to not use reserved keywords for variable names.
James Cammarata Director, Ansible Core Engineering github: jimi-c On Sun, Aug 30, 2015 at 7:57 AM, Alex Leonhardt <[email protected]> wrote: > There was talk of it being changed to a more pythonic way and use try: > except: finally: and so on ? Was that dropped ? > > Regards, > Alex > > > > On 30 Aug 2015, at 10:58, Abhijit Menon-Sen <[email protected]> wrote: > > > > At 2015-08-30 02:55:27 -0700, [email protected] wrote: > >> > >> Any plans to expand docs.ansible.com to include the new v2 > >> functionality such as try blocks and similar? > > > > It's been there for weeks now, e.g.: > > > > http://docs.ansible.com/ansible/playbooks_blocks.html > > > > -- Abhijit > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ansible Project" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/20150830095830.GA7002%40toroid.org > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/9106D6F6-1AC4-4A57-9977-2F63C5D8A233%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFiGAvvo3cxX0Tf5rwOQbsf_Qn_-YFeqpH7ivJDYU9qvug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
