◐ Shell
clean mode source ↗

Support "bpo-" in Misc/NEWS by brettcannon · Pull Request #1 · python/cpython

@brettcannon

Carreau

Make the prefix match non-capturing and fix a bug where a backslash was left into the substitution.

zware

zware

@brettcannon

Mariatta referenced this pull request in Mariatta/cpython

Feb 12, 2017
(cherry picked from commit 79ab8be)

Mariatta referenced this pull request in Mariatta/cpython

Feb 12, 2017
Change the url to 3.5

(cherry picked from commit 79ab8be)

# Conflicts:
#	Doc/tools/extensions/pyspecific.py

Mariatta referenced this pull request in Mariatta/cpython

Feb 12, 2017
Change the url to 2.7

(cherry picked from commit 79ab8be)

Mariatta added a commit that referenced this pull request

Feb 12, 2017
…#44)

* Support "bpo-" in Misc/NEWS (#1)
Change the url to 2.7

(cherry picked from commit 79ab8be)

* pyspecific.py: remove space after` bpo-`

Mariatta added a commit that referenced this pull request

Feb 13, 2017
Change the url to 3.5

(cherry picked from commit 79ab8be)

Contributed by Brett Cannon

tiran pushed a commit that referenced this pull request

Aug 28, 2017
* Added support for CAN_ISOTP protocol

* Added unit tests for CAN ISOTP

* Updated documentation for ISO-TP protocol

* Removed trailing whitespace in documentation

* Added blurb NEWS.d file

* updated Misc/ACKS

* Fixed broken unit test that was using isotp const outside of skippable section

* Removed dependecy over third party project

* Added implementation for getsockname + unit tests

* Missing newline at end of ACKS file

* Accidentally inserted a type in ACKS file

* Followed tiran changes review #1 recommendations

* Added spaces after comma

GadgetSteve referenced this pull request in GadgetSteve/cpython

Sep 10, 2017
* Added support for CAN_ISOTP protocol

* Added unit tests for CAN ISOTP

* Updated documentation for ISO-TP protocol

* Removed trailing whitespace in documentation

* Added blurb NEWS.d file

* updated Misc/ACKS

* Fixed broken unit test that was using isotp const outside of skippable section

* Removed dependecy over third party project

* Added implementation for getsockname + unit tests

* Missing newline at end of ACKS file

* Accidentally inserted a type in ACKS file

* Followed tiran changes review #1 recommendations

* Added spaces after comma

@bapt bapt mentioned this pull request

Jan 18, 2018

native-api pushed a commit to native-api/cpython that referenced this pull request

Jun 5, 2018

Clucier17

This was referenced

Feb 11, 2025

barneygale added a commit to barneygale/cpython that referenced this pull request

Mar 19, 2025

@Jejos Jejos mentioned this pull request

Jun 20, 2025

eyzmeng pushed a commit to rapidcow/cpython that referenced this pull request

Dec 8, 2025

Kaushalt2004 added a commit to Kaushalt2004/cpython that referenced this pull request

Dec 22, 2025

Kaushalt2004 added a commit to Kaushalt2004/cpython that referenced this pull request

Dec 25, 2025
…new__ override, rely on __add__ only. Clarify with reviewer note. (python#1 branch)

Krishna-web-hub added a commit to Krishna-web-hub/cpython that referenced this pull request

Jan 15, 2026

Krishna-web-hub added a commit to Krishna-web-hub/cpython that referenced this pull request

Jan 18, 2026
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

SonicField added a commit to SonicField/cpython that referenced this pull request

Jan 19, 2026
Add timing for all intermediate GC phases to diagnose the 50-80ms gap
between timed phases and total gc.collect() time.

New timing fields:
- scan_heap_ns: parallel scan_heap phase
- disable_deferred_ns: disable deferred refcounting loop
- find_weakrefs_ns: find_weakref_callbacks
- stw1_ns: StartTheWorld python#1
- objs_decref_ns: cleanup_worklist(objs_to_decref)
- weakref_callbacks_ns: call_weakref_callbacks
- finalize_ns: finalize_garbage
- stw2_ns: StopTheWorld python#2
- resurrection_ns: handle_resurrected_objects
- freelists_ns: _PyGC_ClearAllFreeLists
- clear_weakrefs_ns: clear_weakrefs
- stw3_ns: StartTheWorld python#3

All values exposed via gc.get_parallel_stats()['phase_timing'].

savannahostrowski pushed a commit that referenced this pull request

Feb 6, 2026
…140574)

* gh-140281: Doc: Update free-threading how-to

* gh-140281: Doc: Update free-threading how-to

* Fix trailing whitespace

* doc fixing of the cpython fixes#84116

* Docs: Document help and aliases for argparse.add_parser() (gh-84116)

* Docs: Document help and aliases for argparse.add_parser() (gh-84116)

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing errors

* Fix trailing errors and spaces

* Fix docutils formatting, NEWS ref, and trailing whitespace

* Docs: Update argparse.rst and add NEWS entry

* Delete Doc/howto/free-threading-python.rst

* Delete Misc/NEWS.d/next/Documentation/2025-10-25-00-49-43.gh-issue-140281.tuMQUe.rst

* adding the depreceated tag

* The error indexing was fixed

* Fix trailing whitespace

* Restore missing free-threading documentation

* fixing some minor error

* fixing some minor error part 2

* fixing some minor error part 3

* Fix NEWS entry format

* Final cleanup of NEWS entry format 2

* changes in the argparse.rst

* Remove unnecessary NEWS entry

* Fixing the issue as requested

* Added the Changes done before.

* done the changes

* done the changes#1

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Done the changes

* Done the new changes

* The versionadded is rectified

* Update Doc/library/argparse.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

* Docs editing

* Docs fixing whitespace

* Docs rectifiying

* little bit rectification

* Indentation rectification

* Indentation rectification 1

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* deprecated rectification

* Remove mistakenly added NEWS entry

* Update Doc/library/argparse.rst

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* changes #1

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Update Doc/library/argparse.rst 2

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* removed useless thing

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* changed according to the request

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Updated the test part

---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

@Qanux Qanux mentioned this pull request

Feb 11, 2026

thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request

Feb 15, 2026
…er() (python#140574)

* pythongh-140281: Doc: Update free-threading how-to

* pythongh-140281: Doc: Update free-threading how-to

* Fix trailing whitespace

* doc fixing of the cpython fixes#84116

* Docs: Document help and aliases for argparse.add_parser() (pythongh-84116)

* Docs: Document help and aliases for argparse.add_parser() (pythongh-84116)

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing whitespace

* Fix trailing errors

* Fix trailing errors and spaces

* Fix docutils formatting, NEWS ref, and trailing whitespace

* Docs: Update argparse.rst and add NEWS entry

* Delete Doc/howto/free-threading-python.rst

* Delete Misc/NEWS.d/next/Documentation/2025-10-25-00-49-43.gh-issue-140281.tuMQUe.rst

* adding the depreceated tag

* The error indexing was fixed

* Fix trailing whitespace

* Restore missing free-threading documentation

* fixing some minor error

* fixing some minor error part 2

* fixing some minor error part 3

* Fix NEWS entry format

* Final cleanup of NEWS entry format 2

* changes in the argparse.rst

* Remove unnecessary NEWS entry

* Fixing the issue as requested

* Added the Changes done before.

* done the changes

* done the changes#1

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Done the changes

* Done the new changes

* The versionadded is rectified

* Update Doc/library/argparse.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

* Docs editing

* Docs fixing whitespace

* Docs rectifiying

* little bit rectification

* Indentation rectification

* Indentation rectification 1

* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* deprecated rectification

* Remove mistakenly added NEWS entry

* Update Doc/library/argparse.rst

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* changes python#1

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Update Doc/library/argparse.rst 2

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* removed useless thing

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* changed according to the request

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Updated the test part

---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

SonicField added a commit to SonicField/cpython that referenced this pull request

Mar 30, 2026
…ython#1)

PyModule_Create stores a pointer to the PyModuleDef in the module
object's md_def field. jit_module_noslotsdef was a stack-local in
jit::initialize(), so md_def dangled after the function returned.
GC's module_traverse then read from dead stack memory, causing heap
corruption under sustained GC pressure (the 7/17 single-process crash).

Fix: make jit_module_noslotsdef static so it survives the function call.

SonicField added a commit to SonicField/cpython that referenced this pull request

Apr 22, 2026
Push 44 W3 Step 5 (final): self-test script that validates the W3 R4
oracle's diagnostic capability via 3 falsifiers + synthetic injection.

Per theologian 2026-04-22 02:30:08Z W3 spec falsifier:
  "inject a synthetic refcount bug into the C path — scripts/
  rc_diff_oracle.sh produces non-empty output. If diff is empty under
  injection, oracle is non-functional and W3 has not delivered the
  diagnostic capability it promised."

Script structure:
  --check mode: pre-conditions only (3 nm-based assertions)
  default: pre-conditions + Phase A (clean diff = empty) + Phase B
           (injected diff = non-empty) + post-restore verification

FALSIFIERS validated:
  python#1 — production python has 0 rc_oracle symbols (RC_ORACLE undefined,
       dispatcher block ABSENT from compiled binary). VERIFIED via
       --check mode at HEAD a99db92: 'PASS: production python has 0
       rc_oracle symbols'.
  python#2 — libphoenix_rc_oracle.a exports rc_oracle_run T-symbol. VERIFIED:
       'PASS: scratch lib exports rc_oracle_run (C entry point)'.
  python#3 — python_rc_cpp has rc_oracle_run T-symbol. PENDING — operator must
       run out-of-band link via the recipe in scripts/build_oracle.sh
       tail (per supervisor 02:51:14Z option (c)).

INJECTION mechanism:
  Phase B comments out the FIRST 'phx_rc_emit_incref' call site in
  Python/jit/hir/refcount_pass_c.c via sed. Rebuilds C path. Runs
  rc_diff_oracle.sh and asserts non-empty diff. Restores via backup +
  rebuild. Final verification: post-restore diff is empty.

  Injection target chosen for stability: phx_rc_emit_incref is a
  high-frequency call across all refcount_insertion paths; commenting
  one removes one Incref → guaranteed runtime divergence under
  Py_REF_DEBUG (under-count → leak) AND under PYDEBUG (use-after-free).

  Injection is reversible: cp $INJECT_TARGET.oracle_backup back +
  rebuild. trap EXIT ensures restore even on script error.

Per supervisor 02:51:14Z option (c): out-of-band link of python_rc_cpp
is operator-driven (not embedded in this script), since W3 is a
one-shot oracle resurrection; no permanent Makefile.pre.in touch.

Pre-commit verification:
  bash -n: SYNTAX OK
  scripts/rc_oracle_self_test.sh --check: pre-conditions python#1, python#2 PASS;
  python#3 expected to FAIL until operator runs the link recipe.

Push 44 W3 batch is now 2 commits (per supervisor 02:51:14Z amended):
  a99db92 — W3 Steps 1-4 bundled (scratch lib + dispatcher + adapter)
  THIS COMMIT — Step 5 self-test
ABBA cap 15 → 17. MANDATORY ABBA + auto-compile re-experiment after
push 44 lands per pre-authorization.

Process lesson applied (per supervisor 02:51:14Z): explicit
'git add scripts/rc_oracle_self_test.sh' (single file) + 'git diff
--cached --stat' verification BEFORE commit, to avoid the over-broad
staging that produced a99db92's bundled scope.