Skip to content

Instantly share code, notes, and snippets.

@tirkarthi
Last active February 2, 2020 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tirkarthi/9c9c43347b4e2703704ef595895d2961 to your computer and use it in GitHub Desktop.
Save tirkarthi/9c9c43347b4e2703704ef595895d2961 to your computer and use it in GitHub Desktop.
Slide for visa meetup
marp
true

CPython development

Karthikeyan Singaravelan (Senior Software Engineer at Visa | Python core developer)


Download statistics

Download stats for March 2019 from python.org : 26.5 millions downloads

category Sum of hits % of hits
3.7.x 15,519,728 58.36%
3.6.x 5,616,969 21.12%
2.7.x 4,112,428 15.46%
3.5.x 1,187,840 4.47%
3.8.x 156,111 0.59%

Excluding installations by Linux distributions.


Development workflow

  • Report bugs at bugs.python.org
  • Pull requests accepted at github.com/python/cpython
  • 1 release manager for 2 releases.
  • Fix bugs at master and backport to relevant versions.
  • mailing lists and discuss.python.org for discussion.

Development statistics

  • 70 bug reports per week.
  • 7300 open issues, 43962 closed issues all time.
  • 2600 emails per month on bug tracker.
  • 4335 commits between v3.7.0 and v3.8.0.
  • 2213 files changed, 266574 insertions, 111696 deletions.
  • 615 contributors for 3.8.0

Compatibility

  • 30 years of development with backwards compatibility.
  • Each release is supported for 5 years.
  • Each documented change is a promise unless there is a security issue.
  • API changes go through at least 1-2 releases of deprecation.
  • E.g. Deprecate in 3.8 and remove in 3.10.

PyPI and ecosystem

  • PyPI - 4.5PB of bandwidth, 18 billion requests per month.
  • Costs on 2-3 million dollars per year even on donated infrastructure.
  • Rich ecosystem of packages for web, data science, etc.
  • Used by school kids, researchers, large enterprises, etc.

source


Contributing to open source

  • Start small and pick up a tool/library used daily.
  • Mature projects - Few easy issues but there is always room for improvement.
  • Contributions are not only related to code.
  • Triage issues, documentation help, answering on forums, etc. are boring but invaluable.
  • Be kind and open.

Python at Visa

  • Infrastructure management.
  • Machine learning platform.
  • Data analytics and visualization with Jupyter notebook.
  • Open source contributions to Python.

Contact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment