Slide 1

Slide 1 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Carol Naslund Willing November 10, 2023 Pragmatic Python Python 3.12 and Beyond PyCon Sweden 2023

Slide 2

Slide 2 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Hi! I'm Carol Naslund Willing.

Slide 3

Slide 3 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python Core Developer Python Steering Council (three terms) Python Software Foundation Fellow Jupyter Core Developer 2017 ACM Software System Award Papermill Maintainer pyOpenSci Advisory Board Chan Zuckerberg Open Science Board Quansight Labs Board VP of Engineering, Noteable Carol Naslund Willing

Slide 4

Slide 4 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 5

Slide 5 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Scaling Notebooks for Teaching and Research: JupyterHub and mybinder.org https://conference.scipy.org/proceedings/scipy2018/pdfs/project_jupyter.pdf Try it yourself https://mybinder.org

Slide 6

Slide 6 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Opening Doors in Education and Learning

Slide 7

Slide 7 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Scientific Research and Collaboration https://www.icos-cp.eu/science-and-impact/ science-contribution/success-stories/jupyter- notebooks

Slide 8

Slide 8 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 https://leportella.com/pycon2016/ Mentoring from PyCon 2016 - Present: Leticia Portella

Slide 9

Slide 9 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 The Q4 2022 Community Service Award was given to Carol Willing for her work as a Python Core Developer and her years of service on the Python Steering Council. The Frank Willison Memorial Award for Contributions to the Python Community is given annually to a person judged to have made an outstanding contribution to the Python community. Community combined with technical creation: a global force multiplier Carol Willing (2019) Carol Willing was honored in recognition of her technical contributions to Jupyter and as a core developer, as well as her community contributions as a member of the PSF Code of Conduct Work Group, a former board member, contributor to many PyCons, and as a member of the Python Steering Council.

Slide 10

Slide 10 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 11

Slide 11 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 I am a beginner every day. —Carol Naslund Willing

Slide 12

Slide 12 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Today I am a beginner meteorologist

Slide 13

Slide 13 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Today I am a we are beginner meteorologists

Slide 14

Slide 14 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 We expect to make mistakes

Slide 15

Slide 15 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 We expect to create

Slide 16

Slide 16 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 ECMWF European Centre for Medium-Range Weather Forecasts

Slide 17

Slide 17 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 ECMWF European Centre for Medium-Range Weather Forecasts

Slide 18

Slide 18 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 19

Slide 19 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 20

Slide 20 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 21

Slide 21 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 22

Slide 22 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 23

Slide 23 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 24

Slide 24 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 25

Slide 25 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 26

Slide 26 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 27

Slide 27 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 28

Slide 28 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 29

Slide 29 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 30

Slide 30 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Europe Northwest Europe

Slide 31

Slide 31 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 32

Slide 32 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 33

Slide 33 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 34

Slide 34 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 35

Slide 35 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 36

Slide 36 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 37

Slide 37 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 38

Slide 38 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 39

Slide 39 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 If you dream it, you can build it. - Walt Disney We find SUCCESS

Slide 40

Slide 40 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 How?

Slide 41

Slide 41 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Process results and consequences

Slide 42

Slide 42 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Process Create a plan Execute the plan Change as needed

Slide 43

Slide 43 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Python

Slide 44

Slide 44 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Process Python Create a plan Language

Slide 45

Slide 45 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Process Python Create a plan Execute the plan Language Ecosystem

Slide 46

Slide 46 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Process Python Create a plan Execute the plan Change as needed Language Ecosystem Community

Slide 47

Slide 47 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python Create a plan Python Language

Slide 48

Slide 48 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python Core Development Evolving to meet today's needs and tomorrow's possibilities Performance Reliability Security Flexibility Python

Slide 49

Slide 49 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Release Cadence and Content Release PEPs and Dev Guide https://devguide.python.org/versions/ Reliability Security Python

Slide 50

Slide 50 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python 3.11 Released: October 24, 2022 Faster CPython 1.25x speedup https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-faster-cpython • Faster Startup • Frozen imports / Static code objects • Faster Runtime • Cheaper, lazy Python frames • Inlined Python function calls • PEP 659: Specializing Adaptive Interpreter Performance Reliability Flexibility Security Python

Slide 51

Slide 51 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python 3.11 Highlights Performance Reliability Flexibility Security Python

Slide 52

Slide 52 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python 3.12 Released: October 2, 2023 Performance Reliability Flexibility Security Python

Slide 53

Slide 53 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python 3.12 Highlights Performance Reliability Flexibility Security Python

Slide 54

Slide 54 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Measuring Performance Are we improving? 54 Performance https://pyperformance.readthedocs.io/ Python https://pypi.org/project/pyperf/2.6.2/ https://pyperf.readthedocs.io/en/latest/

Slide 55

Slide 55 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 What's New in Python Docs, PEPs, and Alphas/Betas https://docs.python.org/3/whatsnew/index.html Reliability Security Python https://peps.python.org Try alphas and betas with ease

Slide 56

Slide 56 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python 3.13 (Planned) Scheduled: Performance Reliability Flexibility Security Python https://docs.python.org/3.13/whatsnew/3.13.html https://peps.python.org/pep-0719/ Remove 19 "dead batteries"

Slide 57

Slide 57 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 no gil PEP 703 57 Performance Python

Slide 58

Slide 58 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 C API 58 PEP 733: An Evaluation of Python's Public C API PEP 731: C API Working Group Charter Performance Flexibility Python

Slide 59

Slide 59 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Ecosystem Execute the plan Python Ecosystem

Slide 60

Slide 60 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 WebAssembly will open new doors Past, Present, Future PyCon Colombia 2019 PyCon 2023 https://github.com/psf/webassembly Future Attended by Core Developers, Steering Council members, PSF Board members, Interested parties from industry and education. https://snarky.ca/ https://pyscript.net/ https://pyodide.org/ Ecosystem

Slide 61

Slide 61 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Improving mobile == serving users Ecosystem

Slide 62

Slide 62 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 • Rust and Python together (ru ff ) • TypeScript and Python • WASM, WASI, WebAssembly • Excel and Python (Microsoft and Anaconda) • Mobile Python Intersections Keep an eye on development Change

Slide 63

Slide 63 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 pythonspeed.com Itamar Turner-Trauring 63 Vectorization: How slow Python runs fast code | PyData Global 2022 Vectorization: How slow Python runs fast code | PyData Global 2022 Timestamps for video https://pythonspeed.com/datascience/ Faster Data Science: Speed up your data science and scienti fi c computing code Performance Ecosystem

Slide 64

Slide 64 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python at Scale Memory Pro fi ling and Stack Debugging 64 Reliability https://bloomberg.github.io/memray/index.html Reporters, Jupyter integration, API for customization, Examples https://bloomberg.github.io/pystack/ Performance https://www.bloomberg.com/company/values/tech-at-bloomberg/python/ Bloomberg: 1/2 million fi les, 100 million lines of code, funding PSF Pablo Salgado-Galindo Core Developer, Steering Council Ecosystem

Slide 65

Slide 65 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Developer in Residence Lukasz and Petr 65 Reliability automation, consistency, bus factor Ecosystem https://pyfound.blogspot.com/2023/02/the-case-for-second-developer-in.html https://pyfound.blogspot.com/2023/05/the-python-language-summit-2023_29.html Core Developer Sprint @ Bloomberg

Slide 66

Slide 66 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Releases Process https://peps.python.org/pep-0101/ PEP 101: Doing Python Releases 101 https://github.com/python/release-tools/ Reliability Security Ecosystem https://sethmlarson.dev/security-developer-in-residence-weekly-report-9 Visualizing the CPython Release Process by Seth Larson Security Developer in Residence

Slide 67

Slide 67 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Typing Typing workgroup 67 PEP 729 – Typing governance process https://peps.python.org/pep-0729/ Reliability Ecosystem

Slide 68

Slide 68 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 FastAPI and Pydantic Adoption, Developer Ergonomics, ML friendly 68 Flexibility Ecosystem https://github.com/tiangolo/blog-posts/blob/master/the-future-of-fastapi-and-pydantic-is-bright/README.md

Slide 69

Slide 69 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 • PEPs • What's New and early release candidates • Blog Posts by PSF / Devs in Residence • Core Python podcast (Lukasz and Pablo) • Talk Python to Me Python Core Language Keeping Informed and Inspired Change

Slide 70

Slide 70 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Python Community 70 Change Change as needed

Slide 71

Slide 71 text

Change

Slide 72

Slide 72 text

...a programming language created by a community fosters happiness in its users around the world. – Guido van Rossum http://neopythonic.blogspot.com/2016/04/kings-day-speech.html Change

Slide 73

Slide 73 text

Change

Slide 74

Slide 74 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 community Change

Slide 75

Slide 75 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Change

Slide 76

Slide 76 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 12th PyCon Education Summit Thanks to Naomi Ceder who inspired this event. Education: The Ultimate Force Multiplier

Slide 77

Slide 77 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 77 PyLadies, you are the most-e ff ective grass-roots professional organization in IT. Your positive impact is all around me. I am a huge fan! Luciano Ramalho, a distinguished writer and teacher of Python worldwide Change

Slide 78

Slide 78 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Meet PyLadies, the women-led group helping 120,000 coders across the globe land jobs and diversify the popular Python programming language Insider 2021 Change

Slide 79

Slide 79 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Insider 2021 It's clear that women are underrepresented in open source software overall: Figures reported by GitHub in 2020 show that 90% of all contributors to open source projects identify as male, while only around 3% identify as female. Change Change

Slide 80

Slide 80 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Change

Slide 81

Slide 81 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Insider 2021 To encourage women, we need to show and make role models and mentors accessible to them," said Abigail Dogbe, a fellow at the Python Software Foundation and lead organizer of PyLadies Ghana. Change

Slide 82

Slide 82 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Selena Deckelman Great leaders inspire others to lead Lynn Root Audrey Roy Greenfeld Change

Slide 83

Slide 83 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 PSF Mission Promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of developers. Change

Slide 84

Slide 84 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Change Wonderfully Welcoming

Slide 85

Slide 85 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0

Slide 86

Slide 86 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 We are beginner Pythonistas

Slide 87

Slide 87 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Python We practice

Slide 88

Slide 88 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Python We practice

Slide 89

Slide 89 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Python We practice Create Change Execute

Slide 90

Slide 90 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Pragmatic Python We practice Create Change Execute Language Ecosystem Community

Slide 91

Slide 91 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 We succeed with Python Create Language Execute Ecosystem Change Community

Slide 92

Slide 92 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Thank you Q & A Carol Naslund Willing GitHub: willingc LinkedIn: https://www.linkedin.com/in/carolwilling/

Slide 93

Slide 93 text

Pragmatic Python © 2023 by Carol Willing is licensed under CC BY 4.0 Carol Naslund Willing November 10, 2023 Pragmatic Python Python 3.12 and Beyond PyCon Sweden 2023 End of presentation