cpython icon indicating copy to clipboard operation
cpython copied to clipboard

create an internals documentation folder in the cpython repo

Open iritkatriel opened this issue 1 year ago • 4 comments

The internals documentation is scattered in markdown files in the codebase, as well as parts which are in the dev guide. We would like to have it in one place, versioned along with the code (unlike the dev guide).

Linked PRs

  • gh-119787
  • gh-119815
  • gh-120077
  • gh-120137
  • gh-120134
  • gh-120445
  • gh-121009
  • gh-121601
  • gh-123198
  • gh-124450
  • gh-124989
  • gh-124990
  • gh-125119
  • gh-125282
  • gh-125455
  • gh-125456
  • gh-125715
  • gh-125815
  • gh-125874
  • gh-125888

iritkatriel avatar May 30 '24 15:05 iritkatriel

FYI, there are a few broken links:

  • frame_layout.md: https://github.com/search?q=repo%3Apython%2Fcpython%20frame_layout.md&type=code
  • The first few links in this section: https://github.com/python/cpython/blob/main/InternalDocs/compiler.md#objects

colesbury avatar Jul 10 '24 20:07 colesbury

I think it's worth moving Python/tier2_engine.md and Python/vm_state.md to the InternalDocs directory. What do you think, Irit?

Eclips4 avatar Sep 24 '24 12:09 Eclips4

Yes, but it needs to be reviewed to make sure verrything is up to date while we do that. Would you like to make a PR? I'm happy to help review.

iritkatriel avatar Sep 24 '24 12:09 iritkatriel

Yes, but it needs to be reviewed to make sure verrything is up to date while we do that. Would you like to make a PR? I'm happy to help review.

Yes, I'd be happy to send a PR.

Eclips4 avatar Sep 24 '24 12:09 Eclips4