The Python Podcast.__init__

Sylvain Thénault on ASTroid


Listen Later

Visit our site to listen to past episodes, support the show, and sign up for our mailing list.

Summary

The Python AST (Abstract Syntax Tree) is a powerful abstraction that allows for a number of innovative projects. ASTroid is a library that provides additional convenience methods to simplify working with the AST. In this episode we spoke with Sylvain Thénault from Logilab about his work on ASTroid and how it is used to power the popular PyLint static analysis tool.

Brief Introduction
  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
  • Subscribe on iTunes, Stitcher, TuneIn or RSS
  • Follow us on Twitter or Google+
  • Give us feedback! Leave a review on iTunes, Tweet to us, send us an email or leave us a message on Google+
  • I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at pythonpodcast.com
  • I would also like to thank Hired, a job marketplace for developers, for sponsoring this episode of Podcast.__init__. Use the link hired.com/podcastinit to double your signing bonus.
  • Linode is sponsoring us this week. Check them out at linode.com/podcastinit and get a $10 credit to try out their fast and reliable Linux virtual servers for your next project
  • We are recording today on November 23rd, 2015 and your hosts as usual are Tobias Macey and Chris Patti
  • Today we are interviewing Sylvain Thénault about ASTroid
  • On Hired software engineers & designers can get 5+ interview requests in a week and each offer has salary and equity upfront. With full time and contract opportunities available, users can view the offers and accept or reject them before talking to any company. Work with over 2,500 companies from startups to large public companies hailing from 12 major tech hubs in North America and Europe. Hired is totally free for users and If you get a job you’ll get a $2,000 “thank you” bonus. If you use our special link to signup, then that bonus will double to $4,000 when you accept a job. If you’re not looking for a job but know someone who is, you can refer them to Hired and get a $1,337 bonus when they accept a job.

    Use the promo code podcastinit10 to get a $10 credit when you sign up!

    Interview with Sylvain Thénault
    • Introductions
    • How did you get introduced to Python? – Chris
    • Can you explain what an Abstract Syntax Tree is and why it is a useful language feature? – Tobias
    • What was your inspiration for creating ASTroid? – Chris
    • What features does ASTroid offer over Python’s standard AST package, and what makes those features important? – Chris
    • I know that the ASTroid package is used in Pylint which is also maintained by Logilab. How does the AST facilitate static analysis of Python projects and are there cases where you have to fall back to text parsing? – Tobias
    • Beyond static analysis, what are some of the other possible uses for the Python AST? – Tobias
    • The documentation for the AST package in Python mentions that the specific syntax objects in the tree are subject to change between releases. Does the ASTroid package provide any abstractions to maintain a consistent API between versions or does it just provide a pass-through? – Tobias
    • Have you encountered any challenges in testing ASTroid given that it operates at such a low level in the language? – Chris
    • Do you have trouble attracting contributors given the great understanding of Python’s inner working required? – Chris
    • Does the implementation or representation of the AST differ between different distributions of Python such as CPython, PyPy and Jython? – Tobias
    • What are some of the most interesting applications ASTroid has been used in? – Chris
    • Picks
      • Tobias
        • Pre-Commit
        • Existential Comics
        • htmlPy

        • Chris

          • Pretty Things – Fluffy White Rabbits
          • Fallout 4

          • Sylvain

            • PyReverse
            • CubicWeb

            • Keep In Touch
              • Code Quality Mailing List
              • PyLint Dev Mailing List
              • Twitter
                • @sythenault
                • @logilab

                • Logilab

                • Links
                  • Visitor pattern
                  • Pylint
                  • The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

                    ...more
                    View all episodesView all episodes
                    Download on the App Store

                    The Python Podcast.__init__By Tobias Macey

                    • 4.4
                    • 4.4
                    • 4.4
                    • 4.4
                    • 4.4

                    4.4

                    100 ratings


                    More shows like The Python Podcast.__init__

                    View all
                    Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

                    Software Engineering Radio - the podcast for professional software developers

                    272 Listeners

                    The Changelog: Software Development, Open Source by Changelog Media

                    The Changelog: Software Development, Open Source

                    284 Listeners

                    Data Skeptic by Kyle Polich

                    Data Skeptic

                    480 Listeners

                    Talk Python To Me by Michael Kennedy

                    Talk Python To Me

                    590 Listeners

                    Software Engineering Daily by Software Engineering Daily

                    Software Engineering Daily

                    621 Listeners

                    The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

                    The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

                    441 Listeners

                    Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                    Super Data Science: ML & AI Podcast with Jon Krohn

                    297 Listeners

                    Python Bytes by Michael Kennedy and Brian Okken

                    Python Bytes

                    215 Listeners

                    Machine Learning Guide by OCDevel

                    Machine Learning Guide

                    763 Listeners

                    Home Assistant Podcast by HK Media

                    Home Assistant Podcast

                    65 Listeners

                    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                    Syntax - Tasty Web Development Treats

                    987 Listeners

                    DataFramed by DataCamp

                    DataFramed

                    267 Listeners

                    Practical AI by Practical AI LLC

                    Practical AI

                    192 Listeners

                    The Real Python Podcast by Real Python

                    The Real Python Podcast

                    139 Listeners

                    中国好生意 by 树杨

                    中国好生意

                    2 Listeners