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 — bpo-29521 Fix two minor documentation build warnings (#41) by Mariatta · Pull Request #83 · python/cpython

Conversation

@Mariatta

@Mariatta Mariatta commented Feb 14, 2017

Copy link
Copy Markdown
Member

Much of bpo-29521 was fixed in parallel with commit
e7ffb99 . This cleans up the rest.

Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.

The warning:

.../workspace/cpython_github/Doc/faq/windows.rst:303:
WARNING: unknown option: -t

In the Windows FAQ, How do I keep editors from inserting tabs into my Python source?, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.

Per discussion at http://bugs.python.org/issue29387, take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.

Contributed by Jim DeLaHunt @JDLH

(cherry picked from commit 3d707be)

Sorry, something went wrong.

Uh oh!

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

All reactions
@JDLH @Mariatta
bpo-29521 Fix two minor documentation build warnings (#41)
24c5cc7
Much of bpo-29521 was fixed in parallel with commit
e7ffb99 .  This cleans up the rest.

Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.

The warning:

.../workspace/cpython_github/Doc/faq/windows.rst:303:
    WARNING: unknown option: -t

In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.

Per discussion at http://bugs.python.org/issue29387, take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
(cherry picked from commit 3d707be)
@Mariatta Mariatta added the cherry-pick for 3.6 label Feb 14, 2017
berkerpeksag
berkerpeksag approved these changes Feb 14, 2017
View reviewed changes
@Mariatta
Mariatta merged commit db3deb9 into python:3.6 Feb 14, 2017
@Mariatta
Mariatta deleted the bpo-29521-3.6 branch February 14, 2017 16:56
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
Anselm Kruis
Stackless issue python#83: fix demos and remove broken and unmaintain…
d6d0830
…ed ones

Clarify, that the scheduler callback must not be used to modify
the internal state of stackless.

Fix demo/tracing.py:
Don't use flextype features. Unfortunately it is no longer possible
to change the __repr__ method of class tasklet.

Fix tracing.py, fakechannel.py and fakechannel2.py and update
the copy of tracing.py in the documentation.

Remove Stackless/demo/paelike/PyOpenSteer and
Stackless/demo/stephan/stacklessness.

https://bitbucket.org/stackless-dev/stackless/issue/83
(grafted from 410ed1df77dfae9b48519a06a4c232d65caa9745, c5cac8a05d68 and
fb182bb2be4c)
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
@jaraco
Add flake8-typing-imports to catch obscure errors with use of the typ…
b2f1945
…ing module. Ref python#83.
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
@jaraco
Fix typing error by not importing a name that may or may not exist. F…
f08ec1c
…ixes python#83.
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
@jaraco
Merge branch 'bugfix/83-typing' into 'master'
fc3fdc9
Alternate fix for ImportError on Python 3.5.{0-3} with flake8-typing-imports

Closes python#83

See merge request python-devs/importlib_resources!91
@gvanrossum gvanrossum mentioned this pull request Aug 22, 2023
heap-use-after-free in _PyFunction_LookupByVersion #108253
Closed
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2023
@Mariatta @miss-islington
For testing (python#83)
ef94059
update readme

(cherry picked from commit 75c2b66)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2023
@Mariatta @miss-islington
For testing (python#83)
f6a9c7a
update readme

(cherry picked from commit 75c2b66)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2023
@Mariatta @miss-islington
For testing (python#83)
a0e5a5c
update readme

(cherry picked from commit 75c2b66)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2023
@Mariatta @miss-islington
For testing (python#83)
ea08b91
update readme

(cherry picked from commit 75c2b66)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 10, 2023
@Mariatta @miss-islington
For testing (python#83)
72cf385
update readme

(cherry picked from commit 75c2b66)
@miss-islington

miss-islington commented Oct 11, 2023

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@miss-islington

miss-islington commented Oct 11, 2023

Copy link
Copy Markdown
Contributor

Sorry, @Mariatta, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 75c2b66dc896939ce559fbf07c250cbfc661fbe6 3.12
All reactions

Sorry, something went wrong.

Uh oh!

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

@miss-islington miss-islington assigned Mariatta Oct 11, 2023
@ngoldbaum ngoldbaum mentioned this pull request Sep 23, 2024
Crash running PyO3 tests with --test-threads=1000 #124375
Closed
This was referenced Feb 11, 2025
segmentfault when pip installing setuptools #129992
Closed
segmentfault when pip installing setuptools #129993
Closed
@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
docs: CLAUDE.md Build Verification +(5) filesystem-first refutation +…
ad9d610
…(6) script-driven counts

Per supervisor [chat L2323] discipline-mechanization sprint:
- (5) Refuting build-class claims (filesystem-first): any agent disputing
  BUILD PASS MUST cite filesystem evidence (stat -c %Y, .o, grep build
  stdout) before warning. Session-log-only is insufficient (Bash-tool
  builds not visible in nbs-ts). Per medic 2026-04-22 L2226 false-
  positive (escalated to HALT + Alex-threat before filesystem check).
- (6) Counts in commit messages and chat reports (script-driven): any
  quantitative claim MUST come from script output (count_w25_b1b_tus.sh,
  count_emit_methods.sh, etc.) — not memory. Quote script cmd + output.
  Per 4+ /N-class lapses despite feedback memory.

Closes 2 of 4 outstanding discipline extensions per pythia python#83 +
theologian L2322. Other 2 (transitive-verify, mid-flight-build) remain
contextual / operational guidance per supervisor judgment.
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
docs: W25 spec §5.3 PASS empirical result + §7 void*-handle drift caveat
92ec470
§5.3 Signature-drift reproducer:
- Empirical PASS end-to-end recorded (PRE-STEP-B BUILD_EXIT=0 + POST-STEP-B
  BUILD_EXIT=2 with 6 compile errors at licm_c.c + pass_output_type_c.c +
  simplify_c.c expected sites)
- Acceptance per spec §5 satisfied for struct-typed handle args
- Caveat: PASS is for HirBasicBlock*/HirCFG* args ONLY; void*-aliased
  handles (HirInstr/HirRegister/HirFunction) still drift-prone

§7 What this does NOT solve — expanded per pythia python#83:
- HirInstr/HirRegister/HirFunction void* aliases — drift remains possible
  for these handle types because type-checker can't distinguish void* from
  void*. W25b promotion to canonical struct pointers required to close.
- Function-scoped extern decls — ^extern lint pattern (line-anchored)
  misses indented intra-function externs. Caught empirically in B-5
  (2 hir_bb_* externs surfaced via compile error not lint). Step C lint
  pattern revision proposed.
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
docs: W25 §5.3 POST-STEP-B mutation result — drift CAUGHT (PASS)
74bf7fc
Per supervisor [chat L2328] task assignment + testkeeper L2327 execution
+ spec §5 acceptance gate. End-to-end §5.3 falsification COMPLETE.

EMPIRICAL RESULT (testkeeper executed):
  Mutation: hir_c_insert_before +3rd arg in BOTH hir_c_api.h:740 + hir_c_api.cpp:2349
  Build cmd: scripts/build_phoenix.sh
  HEAD: ab07641 (post-Step-B substantive close)
  BUILD_EXIT=2 ← DRIFT CAUGHT at compile time

  Compile errors (6 call sites across 3 §1b TUs):
    licm_c.c:244:50
    pass_output_type_c.c:981:53, 989:48, 1054:59
    simplify_c.c:40:57, 2829:54
  All 'too few arguments to function call, expected 3, have 2'.

§5.3 ACCEPTANCE PER SPEC §5: PASS END-TO-END
  PRE-STEP-B baseline (push 67 commit 911e173): BUILD_EXIT=0 = drift undetected
  POST-STEP-B re-run (HERE): BUILD_EXIT=2 = drift caught at compile time
  Step B closed §1b drift surface as designed.

CHANGES (+22/0):
  Appended POST-STEP-B section to docs/w25-step-b-mutation-baseline.txt
  (PRE-STEP-B section landed in push 67 commit 911e173).

INTERPRETATION:
  Pre-Step-B: §1b TUs each held a local 2-arg extern shadowing canonical
    decl. 2-arg call sites compiled fine; linker silently bound to impl
    by name. Result: silent runtime UB at runtime if call sites executed
    with mismatched arg counts.
  Post-Step-B: local externs DELETED + #include hir_c_api.h ADDED in
    each §1b TU. New 3-arg canonical sig visible at compile time.
    2-arg call sites now fail compile with clear errors.
  Drift caught BEFORE link; no silent UB possible.

NOW LEGITIMATELY: Step B closes §1b drift surface — empirically validated
per spec §5 acceptance criterion. Per pythia python#83 python#2 framing-precision:
mechanical work + dual-typedef collision resolution landed at push 75
ab07641; formal §5.3 closure landed HERE.

AUTHORSHIP: testkeeper executed §5.3 procedure (chat L2327); generalist
commits artifact per role boundary (push 67 precedent).

Authorization chain:
  - W25 spec §5: theologian L2017 (procedure design)
  - §5.3 procedure with corrections: 2ed74a9 doc landed in push 67
  - testkeeper EXECUTED + verbatim output: chat L2327
  - Supervisor task assignment: chat L2328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@berkerpeksag berkerpeksag berkerpeksag approved these changes

Uh oh!

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

Assignees

@Mariatta Mariatta

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.

4 participants

@Mariatta @miss-islington @berkerpeksag @JDLH
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.