Skip to content

Conversation

@nedbat
Copy link
Member

@nedbat nedbat commented Aug 9, 2025

@nedbat nedbat force-pushed the nedbat/no-von-neumann branch from 79734e6 to 878fdcc Compare August 9, 2025 21:05

.. XXX it *is* now possible in some cases to change an object's
type, under certain controlled conditions
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this comment since it is now an actual footnote.

Comment on lines +19 to +20
is represented by objects or by relations between objects. Even code is
represented by objects.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code isn't represented by objects: the compiled bytecode, or the abstract tree, or the tokens are though. The previous sentence has "In a sense ... code is also represented by objects", which (by hedging) seems more accurate?

If the Von Neumann aside is to go, perhaps it makes more sense to bin the full sentence?:

Suggested change
is represented by objects or by relations between objects. Even code is
represented by objects.
is represented by objects or by relations between objects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say for the first paragraph it's good enough to say code is represented by objects. It carries the point of the original sentence, to underscore how pervasive objects are in the Python world.

@AA-Turner AA-Turner added docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Aug 9, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Aug 9, 2025
@nedbat
Copy link
Member Author

nedbat commented Oct 14, 2025

@AA-Turner any concerns about merging this?

@nedbat nedbat merged commit 237dca5 into python:main Oct 20, 2025
26 checks passed
@miss-islington-app
Copy link

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Oct 20, 2025
@nedbat nedbat deleted the nedbat/no-von-neumann branch October 20, 2025 14:01
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
(cherry picked from commit 237dca5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
(cherry picked from commit 237dca5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@bedevere-app
Copy link

bedevere-app bot commented Oct 20, 2025

GH-140371 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 20, 2025
@StanFromIreland
Copy link
Member

Interestingly the bot successfully backported, miss-islington@1e62f3b, but did not open the PR.

I will try re-applying the labels to jog it.

@StanFromIreland StanFromIreland added needs backport to 3.14 bugs and security fixes and removed needs backport to 3.14 bugs and security fixes labels Nov 5, 2025
@miss-islington-app
Copy link

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 5, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
(cherry picked from commit 237dca5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@miss-islington-app
Copy link

Sorry @nedbat, I had trouble completing the backport.
Please retry by removing and re-adding the "needs backport to 3.14" label.
Please backport backport using cherry_picker on the command line.

cherry_picker 237dca52ba1e850758a3dd7e46adb78a4f70d43c 3.14

@StanFromIreland
Copy link
Member

StanFromIreland commented Nov 5, 2025

Second time over, commit is created: miss-islington@11f701f yet the PR is not.

Third time lucky?

@StanFromIreland StanFromIreland added needs backport to 3.14 bugs and security fixes and removed needs backport to 3.14 bugs and security fixes labels Nov 5, 2025
@miss-islington-app
Copy link

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 5, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
(cherry picked from commit 237dca5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@miss-islington-app
Copy link

Sorry @nedbat, I had trouble completing the backport.
Please retry by removing and re-adding the "needs backport to 3.14" label.
Please backport backport using cherry_picker on the command line.

cherry_picker 237dca52ba1e850758a3dd7e46adb78a4f70d43c 3.14

@StanFromIreland
Copy link
Member

I fold, for the third time, Miss Islington successfully backports but fails on opening the PR.

I will do it manually.

@bedevere-app
Copy link

bedevere-app bot commented Nov 5, 2025

GH-141071 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Nov 5, 2025
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Nov 5, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
(cherry picked from commit 237dca5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@StanFromIreland
Copy link
Member

It does indeed backport cleanly.

hugovk pushed a commit that referenced this pull request Nov 5, 2025
…1071)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
hugovk pushed a commit that referenced this pull request Nov 5, 2025
…0371)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants