Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pragmatic Python: Python 3.12 and beyond

Pragmatic Python: Python 3.12 and beyond

PyCon Sweden 2023 (https://www.pycon.se/) keynote on November 10, 2023. This keynote delivers how to get the most out of Python today. It covers the language, ecosystem, and community.

Carol Willing

April 07, 2024
Tweet

More Decks by Carol Willing

Other Decks in Technology

Transcript

  1. 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
  2. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Hi! I'm Carol Naslund Willing.
  3. 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
  4. 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
  5. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Opening Doors in Education and Learning
  6. 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
  7. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 https://leportella.com/pycon2016/ Mentoring from PyCon 2016 - Present: Leticia Portella
  8. 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.
  9. Pragmatic Python © 2023 by Carol Willing is licensed under

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

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

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

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

    CC BY 4.0 ECMWF European Centre for Medium-Range Weather Forecasts
  14. 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
  15. Pragmatic Python © 2023 by Carol Willing is licensed under

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

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

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

    CC BY 4.0 Pragmatic Process Python Create a plan Execute the plan Language Ecosystem
  19. 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
  20. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Python Create a plan Python Language
  21. 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
  22. 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
  23. 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
  24. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Python 3.11 Highlights Performance Reliability Flexibility Security Python
  25. 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
  26. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Python 3.12 Highlights Performance Reliability Flexibility Security Python
  27. 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/
  28. 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
  29. 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"
  30. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 no gil PEP 703 57 Performance Python
  31. 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
  32. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Ecosystem Execute the plan Python Ecosystem
  33. 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
  34. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Improving mobile == serving users Ecosystem
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. Pragmatic Python © 2023 by Carol Willing is licensed under

    CC BY 4.0 Python Community 70 Change Change as needed
  44. ...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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. Pragmatic Python © 2023 by Carol Willing is licensed under

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

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

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

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

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

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

    CC BY 4.0 We succeed with Python Create Language Execute Ecosystem Change Community
  59. 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/
  60. 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