Giter Site home page Giter Site logo

ccc-flowchart's Introduction

This is CPython Class Creation Flowchart v1.1

Click here for flowchart! (zoom to 50% for optimal viewing)

Shortened link for sharing -> https://bit.ly/cccflowchart

(Re)Sources

Below is a list of sources from where I compiled this flowchart, and should be good resources for you to understand it as well.

  1. https://docs.python.org/3.9/reference/datamodel.html#metaclasses
  2. https://docs.python.org/3.9/reference/datamodel.html#resolving-mro-entries
  3. https://www.python.org/dev/peps/pep-0560
  4. https://docs.python.org/3.9/reference/datamodel.html#determining-the-appropriate-metaclass
  5. https://docs.python.org/3.9/reference/datamodel.html#preparing-the-class-namespace
  6. https://www.python.org/dev/peps/pep-3115
  7. https://docs.python.org/3.9/reference/datamodel.html#executing-the-class-body
  8. https://docs.python.org/3.9/reference/datamodel.html#creating-the-class-object
  9. https://realpython.com/python-metaclasses/

"In the face of ambiguity, refuse the temptation to guess." -- TZOP, line 12

Thus, I've also ran numerous tests to clarify vague parts in the documentation, and the resulting flowchart should be pretty (perhaps not technically, but conceptually) accurate. That said, accuracy is one thing, but completeness I cannot guarantee. Which is why...

Your contribution is important!

If you've found a flaw in the flowchart, or think there might be something to add, please don't hesitate to open up an issue! I'm open to any contribution and constructive criticism on this project, as I'd really like this graph to become a good resource for fellow Pythonistas.

To-do: what to expect in version v1.2

This section will be updated as the project progresses.

TBD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.