← Winnitude! Search  ·  Reader Mode (3808 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 250 LINKS

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

Repository navigation

Support "bpo-" in Misc/NEWS - #1


Merged
zware merged 3 commits into master from bpo-news-support Feb 10, 2017
Merged

Support "bpo-" in Misc/NEWS #1 zware merged 3 commits into master from bpo-news-support

Conversation

brettcannon commented Feb 10, 2017



Copy link Copy Markdown
Member

No description provided.

Support "bpo-" in Misc/NEWS 1900740 the-knights-who-say-ni added the CLA signed label Feb 10, 2017 Carreau reviewed Feb 10, 2017
View reviewed changes
Comment thread Doc/tools/extensions/pyspecific.py
Outdated
node = nodes.strong(text, text)
return [node]
content = issue_re.sub(r'`\ 1ssue # \2 <https://bugs.python.org/\2>`__',
content = issue_re.sub(r'`\ bpo- \2 <https://bugs.python.org/\2>`__',
Fix up the match and substitution regexes 5401164
Make the prefix match non-capturing and fix a bug where a backslash was left into the substitution.
Carreau approved these changes Feb 10, 2017
View reviewed changes
zware reviewed Feb 10, 2017
View reviewed changes
Comment thread Doc/tools/extensions/pyspecific.py
Outdated

ISSUE_URI = 'https://bugs.python.org/issue%s'
SOURCE_URI = 'https:// hg. python .org /cpython/ file /3.6/%s'
SOURCE_URI = 'https:// github.com/ python/cpython/ tree /3.6/%s'
zware reviewed Feb 10, 2017
View reviewed changes
Comment thread Doc/tools/extensions/pyspecific.py
Outdated
node = nodes.strong(text, text)
return [node]
content = issue_re.sub(r'` \1ssue #\2 <https://bugs.python.org/\ 2 >`__',
content = issue_re.sub(r'` bpo-\1 <https://bugs.python.org/\ 1 >`__',
Address reviewer comments 02a87ce zware approved these changes Feb 10, 2017
View reviewed changes
zware merged commit 79ab8be into master Feb 10, 2017 brettcannon deleted the bpo-news-support branch February 10, 2017 23:10 Mariatta referenced this pull request in Mariatta/cpython Feb 12, 2017 Support "bpo-" in Misc/NEWS (#1) 98cb83e
(cherry picked from commit 79ab8be)
Mariatta mentioned this pull request Feb 12, 2017 [backport to 3.6] Bpo news support 3.6 #42 Merged Mariatta referenced this pull request in Mariatta/cpython Feb 12, 2017 Support "bpo-" in Misc/NEWS (#1) 73e2903
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 Support "bpo-" in Misc/NEWS (#1) 63b8f25
Change the url to 2.7

(cherry picked from commit 79ab8be)
Mariatta added a commit that referenced this pull request Feb 12, 2017 [backport to 2.7] Change documentation's Show Source link to GitHub (... 52b8c55
...#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 Support "bpo-" in Misc/NEWS (#1) (#43) af456b2
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 bpo-30987 - Support for ISO-TP protocol in SocketCAN (#2956) a30f6d4
* 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 bpo-30987 - Support for ISO-TP protocol in SocketCAN (python#2956) 04f20ba
* 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
csabella mentioned this pull request Dec 22, 2017 bpo-20285: Improve help docs for object #4759 Merged bapt mentioned this pull request Jan 18, 2018 bpo-32593: distutils UnixCCompiler: remove FreeBSD special case #5233 Closed native-api pushed a commit to native-api/cpython that referenced this pull request Jun 5, 2018 Merge pull request python#1 from native-api/roseman_1 9a5b0e8
python#7287 (comment)
Clucier17 reviewed Jul 28, 2018
View reviewed changes
aixtools mentioned this pull request Oct 26, 2018 bpo-1154351: Add get_current_dir_name() to os module #10117 Closed brianquinlan mentioned this pull request May 8, 2019 bpo-31783: Fix a race condition creating workers during shutdown #13171 Merged tim-one mentioned this pull request May 29, 2019 bpo-37029: keep usable_arenas in sorted order without searching #13612 Merged ElizabethU mentioned this pull request Jul 20, 2019 bpo-37555: Update _CallList.__contains__ to respect ANY #14700 Merged btharper mentioned this pull request Oct 6, 2019 bpo-36356: Fix memory leak in _asynciomodule.c during "setup.py build_ext" #16598 Merged terryjreedy mentioned this pull request Jan 5, 2025 test_minidom has many empty tests #63882 Closed kumaraditya303 mentioned this pull request Jan 6, 2025 gh-128002: fix asyncio.all_tasks against concurrent deallocations of tasks #128541 Merged Dean6767 mentioned this pull request Feb 10, 2025 🚨 Segmentation Fault in Python 3.10.12 when using OpenSSL (libcrypto.so.3) #129974 Closed This was referenced Feb 11, 2025 segmentfault when pip installing setuptools #129992 Closed segmentfault when pip installing setuptools #129993 Closed barneygale added a commit to barneygale/cpython that referenced this pull request Mar 19, 2025 Fix tests python#1 40d346a abhi-jha mentioned this pull request Mar 22, 2025 test_embed and test_ssl failing on linux 6.12.13 #131579 Closed fb2078 mentioned this pull request Apr 18, 2025 Python 3.13.3 runs __iter__ twice in a list comprehension #132711 Closed DominiquePACCO mentioned this pull request Jun 3, 2025 PdfWriter add_page adds (re)writes old page instead of new #135062 Closed Jejos mentioned this pull request Jun 20, 2025 3.13.2: cast in Py_XDECREF causes runtime failures with immortal objects #135746 Open obaltian mentioned this pull request Jul 19, 2025 Pool.imap doesn't work as advertised #64192 Closed jbigdata-git mentioned this pull request Aug 13, 2025 Build failure of 3.12.9 on Cygwin #130423 Closed merwok mentioned this pull request Sep 18, 2025 [doc] Missing items in installation/setup instructions #56645 Open efimov-mikhail mentioned this pull request Nov 5, 2025 memory leak in threading stack size #141044 Open Oscar65 mentioned this pull request Dec 5, 2025 core dump in python -i from emacs #142284 Closed eyzmeng pushed a commit to rapidcow/cpython that referenced this pull request Dec 8, 2025 Merge pull request python#1 from ZeroIntensity/moved 982720c
Update email.message.rst
sergey-miryanov mentioned this pull request Dec 18, 2025 Observed memory leak in ssl library: Python 3.14 GC issue #142516 Closed Kaushalt2004 added a commit to Kaushalt2004/cpython that referenced this pull request Dec 22, 2025 Merge branch 'main' into python#1 e0036f1 Kaushalt2004 added a commit to Kaushalt2004/cpython that referenced this pull request Dec 25, 2025 Simplify Evil class in re-entrant Counter test: remove unnecessary __... 49cff07
...new__ override, rely on __add__ only. Clarify with reviewer note. (python#1 branch)
serhiy-storchaka mentioned this pull request Jan 10, 2026 _struct.Struct: calling functions without calling __init__ results in SystemError #78724 Closed Krishna-web-hub added a commit to Krishna-web-hub/cpython that referenced this pull request Jan 15, 2026 Indentation rectification python#1 1f5da7c Krishna-web-hub added a commit to Krishna-web-hub/cpython that referenced this pull request Jan 18, 2026 changes python#1 04a0482
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 FTP: Add exhaustive phase timing instrumentation eef25ad
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 gh-84116: Docs: Document help and aliases for argparse.add_parser() (#... 74db440
...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 mentioned this pull request Feb 11, 2026 heap-buffer-overflow in functools.partial.__repr__() #144475 Closed thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026 pythongh-84116: Docs: Document help and aliases for argparse.add_pars... d095dc3
...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>
tim-one mentioned this pull request Feb 28, 2026 Inconsistent .extend() behavior in bytearray #145300 Open 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 Mar 30, 2026 Fix stack-use-after-return on jit_module_noslotsdef (ASAN root cause p... f8564cc
...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 W3 Step 5: rc_oracle_self_test.sh -- falsifier validator 4f591a1
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.
Sign up for free to subscribe to this conversation on GitHub . Already have an account? Sign in .

Labels

None yet

8 participants