GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Renamed whole Mac OS X's to macOS by ergenekonyigit · Pull Request #58 · python/cpython

Conversation

@ergenekonyigit

@ergenekonyigit ergenekonyigit commented Feb 13, 2017

Copy link
Copy Markdown

I renamed whole different variations Mac OS X's to macOS

A few different variations I found.

Mac OS ——> macOS
Mac OS X ——> macOS
Mac OSX ——> macOS
MacOS X ——> macOS
Mac OSX ——> macOS
MacOSX ——> macOS
OSX ——> macOS
OS X ——> macOS

With this, everything about macOS can be found comfortably.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ergenekonyigit
Renamed whole Mac OS X's to macOS
766a4f0
@the-knights-who-say-ni

the-knights-who-say-ni commented Feb 13, 2017

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow these steps to rectify the issue:

  1. Sign the PSF contributor agreement
  2. Wait at least a day and then check "Your Details" on bugs.python.org to see if your account has been marked as having signed the CLA (the delay is due to a person having to manually check your signed CLA)
  3. Reply here saying you have completed the above steps

Thanks again to your contribution and we look forward to looking at it!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@the-knights-who-say-ni the-knights-who-say-ni added the CLA not signed label Feb 13, 2017
methane
methane reviewed Feb 13, 2017
View reviewed changes
Comment thread Doc/library/macpath.rst Outdated
@@ -1,15 +1,15 @@
:mod:`macpath` --- Mac OS 9 path manipulation functions
:mod:`macpath` --- macOS 9 path manipulation functions

@methane methane Feb 13, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

macOS 9 is OK?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ergenekonyigit ergenekonyigit Feb 13, 2017

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@methane i think it's fine, isn't you?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@methane methane Feb 13, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I don't know what is Apple's definition. Is there any resource from Apple?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ergenekonyigit ergenekonyigit Feb 13, 2017

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@methane Apple called mac OS 9 but there is no source on their website now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@methane methane Feb 13, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

https://en.wikipedia.org/wiki/MacOS

"OS X" was renamed macOS. But no information about classic "Mac OS".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ergenekonyigit ergenekonyigit Feb 13, 2017

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@methane okey, I'm changing back old Mac OS's.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
methane
methane reviewed Feb 13, 2017
View reviewed changes
Comment thread Doc/library/select.rst Outdated
+---------------------------+---------------------------------------------+
| :const:`KQ_FILTER_NETDEV` | Watch for events on a network device |
| | [not available on Mac OS X] |
| | [not available on macOS] |

@methane methane Feb 13, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

please align right bar

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
methane
methane reviewed Feb 13, 2017
View reviewed changes
Comment thread Doc/library/webbrowser.rst Outdated
| ``'macosx'`` | :class:`macOS('default')` | \(3) |
+------------------------+-----------------------------------------+-------+
| ``'safari'`` | :class:`MacOSX('safari')` | \(3) |
| ``'safari'`` | :class:`macOS('safari')` | \(3) |

@methane methane Feb 13, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

alignment

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ergenekonyigit added 6 commits February 13, 2017 03:04
@ergenekonyigit
Update select.rst
fdaaa56
@ergenekonyigit
Update webbrowser.rst
be132cc
@ergenekonyigit
Update index.rst
5935b90
@ergenekonyigit
Update macpath.rst
8269cd0
@ergenekonyigit
Update 3.0.rst
ef2fdaf
@ergenekonyigit
Update mac_greek.py
858f1fb
ned-deily
ned-deily requested changes Feb 13, 2017
View reviewed changes

@ned-deily ned-deily left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@ergenekonyigit Thanks for your suggested changes. But I think we need to be more careful here. Many of these changes are incorrect and unnecessary churn. While it is OK to change generic OS references to macOS, it is not correct to refer to macOS versions prior to 10.12. See https://en.wikipedia.org/wiki/MacOS for the standard Apple designations. Also, we should not be changing references in WhatsNew documents for older releases.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
frewsxcv
frewsxcv reviewed Feb 13, 2017
View reviewed changes
Comment thread Doc/library/asyncio-eventloops.rst Outdated

Mac OS X
macOS
^^^^^^^^

@frewsxcv frewsxcv Feb 13, 2017

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks like the underline should be fixed here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
frewsxcv
frewsxcv reviewed Feb 13, 2017
View reviewed changes
Comment thread Doc/library/plistlib.rst Outdated
@@ -1,8 +1,8 @@
:mod:`plistlib` --- Generate and parse Mac OS X ``.plist`` files
:mod:`plistlib` --- Generate and parse macOS ``.plist`` files
================================================================

@frewsxcv frewsxcv Feb 13, 2017

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Underline. There's probably a lot more instances.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ergenekonyigit

ergenekonyigit commented Feb 13, 2017

Copy link
Copy Markdown
Author

@ned-deily https://github.com/apple/swift/blob/30dd1a90474032717332f26aca8acbfda427d8bb/test/stdlib/DispatchDeprecationMacOS.swift#L8 Before changing I'm looking in swift source code. Maybe not today but someday i think we have to change them. Look at 11 different variations, this is very complicated, what do you think?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ergenekonyigit added 2 commits February 13, 2017 12:34
@ergenekonyigit
Update asyncio-eventloops.rst
8a8fc12
@ergenekonyigit
Update plistlib.rst
4d1ccfc
@berkerpeksag

berkerpeksag commented Feb 13, 2017

Copy link
Copy Markdown
Member

FWIW, I agree with @ned-deily. I suggest to close this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Feb 13, 2017

Copy link
Copy Markdown

Codecov Report

Merging #58 into master will decrease coverage by -0.01%.
The diff coverage is 73.68%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   82.37%   82.37%   -0.01%     
==========================================
  Files        1427     1427              
  Lines      350948   350948              
==========================================
- Hits       289102   289094       -8     
- Misses      61846    61854       +8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61e2bc7...4d1ccfc. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brettcannon

brettcannon commented Feb 13, 2017

Copy link
Copy Markdown
Member

I agree w/ @ned-deily and @berkerpeksag about this being unnecessary updates. While we should definitely use the proper term going forward, the docs should just be left as-is. Thanks for the PR regardless, @ergenekonyigit !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brettcannon brettcannon closed this Feb 13, 2017
@ned-deily

ned-deily commented Feb 13, 2017

Copy link
Copy Markdown
Member

FTR, I'm not opposed to updating references in the current docs as long as they are done carefully and accurately. As @brettcannon suggests, a better way to do that is to make appropriate updates as we move forward with other, more important changes in the various areas.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jaraco pushed a commit that referenced this pull request Dec 2, 2022
@Mariatta
Readme: Mention that backport PR will be automatically merged (GH-58)
e835ab7
Once a core dev approved it and all CI passed.
mgmacias95 pushed a commit to mgmacias95/cpython that referenced this pull request Mar 27, 2023
@pablogsal
Merge pull request python#58 from isidentical/simplify-fstrings
0762910
oraluben pushed a commit to oraluben/cpython that referenced this pull request Jul 12, 2023
@Fidget-Spinner
feat: store metadata in array rather than hacky thing we did (python#58)
4dd472a
@gvanrossum gvanrossum mentioned this pull request Aug 22, 2023
heap-use-after-free in _PyFunction_LookupByVersion #108253
Closed
@LinanV LinanV mentioned this pull request Oct 23, 2023
Objects/typeobject.c: No such file or directory. #111203
Closed
@ngoldbaum ngoldbaum mentioned this pull request Sep 23, 2024
Crash running PyO3 tests with --test-threads=1000 #124375
Closed
@kemier kemier mentioned this pull request Feb 11, 2025
segmentfault when pip installing setuptools #129992
Closed
@kemier kemier mentioned this pull request Feb 11, 2025
segmentfault when pip installing setuptools #129993
Closed
AA-Turner pushed a commit to AA-Turner/cpython that referenced this pull request Apr 10, 2025
@davepeck @lysnikolaou
PEP 750 bug and spec fix (python#58)
6a7b448
* Bugfix: increment `interpolationsidx` in `template_new()`
* Spec fix: don't return empty strings from `templateiter_next()`
---------

Co-authored-by: Lysandros Nikolaou <[email protected]>
@sergey-miryanov sergey-miryanov mentioned this pull request Dec 18, 2025
Observed memory leak in ssl library: Python 3.14 GC issue #142516
Closed
@ngoldbaum ngoldbaum mentioned this pull request Mar 6, 2026
Remove deprecated and undocumented function ctypes.SetPointerType #133866
Closed
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
W3 Step 5 expansion: 4 injection classes + invariant python#7 (lifespan)
63568c0
Push 44 W3 follow-up per supervisor 03:07:52Z + theologian 03:07:25Z:
- rc_oracle_self_test.sh: expand from 1 → 4 injection classes (A/B/C/D)
- _rc_oracle_adapter.h: add invariant python#7 (oracle lifespan policy)
  to BRIDGE SPEC TEMPLATE (supersedes W12)

Per supervisor 03:07:52Z W4 vacuous-pass defeat directive:
"single-injection test is the W4 vacuous-pass class".

================================================================
PART 1: 4 INJECTION CLASSES (rc_oracle_self_test.sh)
================================================================

Generalized inject_class helper (sed → rebuild → diff → restore →
rebuild) replaces the hard-coded single-injection block.

Class A — refcount BALANCE under-count:
  Skip FIRST phx_rc_emit_incref via line-comment.
  Failure mode caught: under-count → leak under Py_REF_DEBUG.

Class B — refcount BALANCE over-count:
  Skip FIRST phx_rc_emit_decref via line-comment.
  Failure mode caught: over-count → leak (different mechanism than A).

Class C — refcount SEQUENCE:
  Skip SECOND phx_rc_emit_incref (different call-site than A) via
  line-comment.
  Failure mode caught: HIR position-dependent divergence — same opcode
  family as A but different injection position to test position
  sensitivity.

Class D — TYPE LATTICE:
  Change FIRST HIR_TYPE_OBJECT → HIR_TYPE_NULLPTR via sed.
  Failure mode caught: type-annotation flip — wrong refcount semantics
  for borrowed-vs-owned classification.

Each class:
  1. sed transformation applied
  2. cmp -s verifies source actually changed (catches stale sed pattern)
  3. Rebuild C path
  4. Run scripts/rc_diff_oracle.sh
  5. PASS = non-empty diff (oracle CATCHES the divergence)
     FAIL = empty diff under injection (oracle MISSED → non-functional)
  6. Restore source from backup + rebuild

Default invocation runs all 4 classes sequentially. --class=A|B|C|D
runs single class. trap EXIT ensures restore on script error.

================================================================
PART 2: INVARIANT python#7 (_rc_oracle_adapter.h)
================================================================

Added to BRIDGE SPEC TEMPLATE INVARIANTS PRESERVED section per
theologian + supervisor 03:07:52Z (supersedes earlier W12 framing):

  7. Oracle lifespan: utility decreases as emit methods diverge from
     d81e580 baseline. RETIREMENT TRIGGER: when scripts/
     rc_diff_oracle.sh on CLEAN run produces >30% pre/post divergence
     noise, retire (archive script). ESTIMATED LIFESPAN: 30-50 pushes
     from d81e580 (push 35) → retirement window ~push 65-85.
     Re-evaluate at push 50 (testkeeper clean-diff noise % post).

Also added invariant python#6 inline (oracle scope conflated diff —
already in commit msg of a99db92 but missing from header file).

Falsifier section expanded to enumerate 4 classes (A/B/C/D) with
their distinct failure-mode coverage per Pythia python#58's vacuous-pass
concern.

================================================================
VERIFICATION
================================================================

bash -n scripts/rc_oracle_self_test.sh: SYNTAX OK (260 lines).
diff --cached --stat: 2 files, +142/-48 — only the 2 intended files
(verified explicit-staging discipline per supervisor 02:51:14Z).

Push 44 W3 batch grows to 3 commits:
  a99db92 — W3 Steps 1-4 bundled (scratch lib + dispatcher)
  4f591a1 — W3 Step 5 v1 (single class A)
  THIS COMMIT — W3 Step 5 expansion (4 classes + invariant python#7)
ABBA cap 15 → 18.
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
gate: item python#15 RC_ORACLE production-leak standing assertion
9cbf413
Per supervisor 2026-04-22 03:06:55Z + theologian 03:07:12Z + pythia python#58:
push 44 introduces the W3 R4 oracle dispatcher in compiler.cpp behind
#ifdef RC_ORACLE. The push-44 nm production-binary check is one-shot —
need a STANDING gate assertion so future compiler.cpp edits cannot
silently leak RC_ORACLE dispatch into production.

Failure mode caught:
  Any future commit that drops, inverts, or accidentally hard-defines
  the #ifdef RC_ORACLE guard would leak the C++ rc_oracle dispatch path
  (linked from libphoenix_rc_oracle.a) into the production python
  binary. Without this assertion, the leak is invisible until the next
  manual nm audit. Same silent-failure class as the cp-||-true loophole
  (catch python#4, push 38) — accepted bad state silently.

Implementation (5 LOC after BINARY_MATCH (clean) ✓):
  RC_ORACLE_LEAK=$(nm $PYTHON | grep -c 'rc_oracle')
  if [ $RC_ORACLE_LEAK -ne 0 ]; then
      echo BINARY_RC_ORACLE_LEAK_DETECTED ...
      exit 1
  fi
  echo BINARY_RC_ORACLE_OK: production binary clean (0 rc_oracle symbols)

Verbatim wording per gatekeeper item python#15 (03:07:25Z):
  - PASS: 'BINARY_RC_ORACLE_OK: production binary clean (0 rc_oracle symbols)'
  - FAIL: 'BINARY_RC_ORACLE_LEAK_DETECTED' + FATAL + exit 1
  - Mirrors BINARY_DIRTY discipline (catch silent failure structurally)

Verification (compile-clean pre-commit):
  bash -n scripts/gate_phoenix.sh: SYNTAX OK
  Inserted at line 120 (immediately after BINARY_MATCH block at line 119).

Bundled into push 44 (rather than standalone push 45) because the
dispatcher lands in this push — the leak-check guards it from day 1
instead of leaving a one-push window where item python#15 isn't enforced.

Push 44 batch grows 3 → 4 commits:
  THIS COMMIT  — gate item python#15 (RC_ORACLE leak assertion)
  63568c0   — W3 Step 5 expansion (4 injection classes + invariant python#7)
  4f591a1   — W3 Step 5 v1 (rc_oracle_self_test.sh)
  a99db92   — W3 Steps 1-4 (scratch lib + dispatcher)

ABBA cap usage: 17 → 18 (4 commits this push).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@methane methane methane left review comments
@ned-deily ned-deily ned-deily requested changes
+1 more reviewer
@frewsxcv frewsxcv frewsxcv left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@ergenekonyigit @the-knights-who-say-ni @berkerpeksag @brettcannon @ned-deily @methane @frewsxcv
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.