Главная
Study mode:
on
1
Intro
2
Greetings!
3
About this talk
4
Code... What is it, really?
5
Linters and autoformatters
6
Checking the Checkers
7
Random acts of code
8
Structure is the king
9
Grammar as a template
10
Enter Hypothesis
11
LarkStrategy
12
Python is quirky
13
Enter Hypothesmith
14
Targeted search
15
Bugs found with Hypothesmith
16
Caveats
17
Further reading
Description:
Explore procedural generation of Python source code in this 31-minute EuroPython 2021 conference talk. Dive into novel techniques for testing Python linters and fixers using Hypothesis and related tools. Learn how to address corner cases in Python's complex syntax, discover potential issues in widely-used tools like Black and the Python parser, and gain insights into source-code fuzzing. Understand the importance of comprehensive testing for code analysis tools, with a focus on flake8 and libcst. Grasp the fundamentals of parsers and programming language design as you uncover innovative approaches to ensure the robustness of Python development tools.

Code From Nothing - Procedural Generation of Python Source Code

EuroPython Conference
Add to list
0:00 / 0:00