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 — Fix some deprecation warnings in Doc/conf.py by refi64 · Pull Request #9 · python/cpython

Conversation

@refi64

@refi64 refi64 commented Feb 11, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

crosses fingers (My crappy computer never finishes building the docs, so let's see how far Travis goes...)

Sorry, something went wrong.

Uh oh!

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

All reactions
@refi64
Fix some deprecation warnings in Doc/conf.py
52dc005
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 11, 2017
@vstinner

vstinner commented Feb 11, 2017

Copy link
Copy Markdown
Member

I guess that it's related to my bug report http://bugs.python.org/issue29527

See also my PR #7.

All reactions

Sorry, something went wrong.

Uh oh!

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

@refi64
Fix an rst error in Misc/NEWS
d9c09b5
@codecov

codecov Bot commented Feb 11, 2017

Copy link
Copy Markdown

Codecov Report

Merging #9 into master will decrease coverage by -0.01%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   82.37%   82.37%   -0.01%     
==========================================
  Files        1427     1427              
  Lines      350948   350948              
==========================================
- Hits       289090   289079      -11     
- Misses      61858    61869      +11

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 79ab8be...d9c09b5. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

@methane

methane commented Feb 11, 2017

Copy link
Copy Markdown
Member

Travis uses newest Sphinx.
But docs.python.org seems using sphinx-1.3.3. (see footer in https://docs.python.org/3/).

So changing latex_paper_size should be done after docs.python.org update.

All reactions

Sorry, something went wrong.

Uh oh!

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

@refi64

refi64 commented Feb 11, 2017

Copy link
Copy Markdown
Contributor Author

@methane latex_paper_size has been depreciated since Sphinx 0.5, when latex_elements was introduced. This shouldn't cause any problems unless someone has updated their Sphinx version since 2008.

All reactions

Sorry, something went wrong.

Uh oh!

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

methane
methane approved these changes Feb 11, 2017
View reviewed changes

@methane methane 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.

You're right. Thanks.

Sorry, something went wrong.

Uh oh!

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

All reactions
@methane
methane merged commit e7ffb99 into python:master Feb 11, 2017
@berkerpeksag berkerpeksag added backport to 3.5 labels Feb 11, 2017
Mariatta referenced this pull request in Mariatta/cpython Feb 14, 2017
@refi64 @Mariatta
Fix some sphinx warnings (#9)
b8c1d14
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99)
Mariatta referenced this pull request in Mariatta/cpython Feb 14, 2017
@refi64 @Mariatta
Fix some sphinx warnings (#9)
ffcccc2
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99)
@Mariatta Mariatta removed backport to 3.5 labels Feb 14, 2017
Mariatta added a commit that referenced this pull request Feb 14, 2017
@Mariatta
Fix some sphinx warnings (#9) (#81)
9268855
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99)
Mariatta added a commit that referenced this pull request Feb 14, 2017
@Mariatta
Fix some sphinx warnings (#9) (#82)
c0f9014
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99)
native-api pushed a commit to native-api/cpython that referenced this pull request Jun 5, 2018
@roseman
Merge pull request python#9 from native-api/roseman_9
eb6623d
python#7287 (comment)
emmatyping referenced this pull request in emmatyping/cpython Feb 5, 2020
@emmatyping
GenericAlias pickle support (#9)
9915ba2
@pablogsal pablogsal mentioned this pull request Jun 12, 2020
bpo-40958: Avoid buffer overflow in the parser when indexing the current line #20842
Closed
@shihai1991 shihai1991 mentioned this pull request Jun 23, 2020
bpo-1635741: Enable unicode_release_interned() without insure or valgrind. #21087
Closed
@larryhastings larryhastings mentioned this pull request Jun 7, 2022
The Great Argument Clinic Conversion Derby Meta-Issue #64386
Closed
@itachaaa itachaaa mentioned this pull request Aug 22, 2022
Python 3.10 hang at exit in drop_gil() (due to resource warning at exit?) #91414
Closed
@mdboom mdboom mentioned this pull request Aug 25, 2022
Assert and incorrect error message when loading source file containing invalid UTF-8 #96268
Closed
nanjekyejoannah added a commit to nanjekyejoannah/cpython that referenced this pull request Sep 27, 2022
@bors @nanjekyejoannah
Merge python#9
50f77b8
9: Warn for using built-in open r=ltratt a=nanjekyejoannah

Warn for file open. I was struggling to support the generic case assuming io.open doesnt exist.
A warning is simpler to do assuming support for >=2.6. I added notes in the Google doc for this.

Co-authored-by: Joannah Nanjekye <[email protected]>
@danielonsecurity danielonsecurity mentioned this pull request Oct 11, 2022
Bump importlib-metadata from 4.11.4 to 4.12.0 OWASP/raider#56
Merged
@mdboom mdboom mentioned this pull request Nov 22, 2022
Type punning (and strict aliasing) issue in Py_CLEAR() and Py_SETREF() macros: Python --enable-pystats is miscompiled #99701
Closed
@ziegenbalg ziegenbalg mentioned this pull request Nov 30, 2022
double free in io.TextIOWrapper #72573
Closed
@stasos24 stasos24 mentioned this pull request Oct 24, 2023
Modules/cjkcodecs/_codecs_iso2022.c - read out of bounds #101180
Closed
@williamhu020 williamhu020 mentioned this pull request Nov 5, 2023
Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. #111751
Closed
@kcatss kcatss mentioned this pull request Nov 15, 2023
Use-after-free in unregister() of atexit module #112127
Closed
@kcatss kcatss mentioned this pull request Jan 14, 2024
crash in long_vectorcall in longobject.c #114050
Closed
@kcatss kcatss mentioned this pull request Feb 12, 2024
Segmentation Fault in pthread_getcpuclockid function in time module #115378
Closed
@kcatss kcatss mentioned this pull request Feb 20, 2024
Use After Free at _heapreplace_max #115706
Closed
@terryjreedy terryjreedy mentioned this pull request Apr 3, 2024
Can python calculate simple factorial? #117524
Closed
@rdoeffinger rdoeffinger mentioned this pull request Jun 27, 2024
"import hashlib" crashes on aarch64 after Finalize and re-initialize #121087
Closed
@ngoldbaum ngoldbaum mentioned this pull request Sep 23, 2024
Crash running PyO3 tests with --test-threads=1000 #124375
Closed
@terryjreedy terryjreedy mentioned this pull request Oct 31, 2024
tkinter.Tk segfault with invalid className #126219
Closed
@Dean6767 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
@DominiquePACCO DominiquePACCO mentioned this pull request Jun 3, 2025
PdfWriter add_page adds (re)writes old page instead of new #135062
Closed
DinoV pushed a commit to DinoV/cpython that referenced this pull request Oct 9, 2025
@pablogsal
Merge pull request python#9 from LazyImportsCabal/cleanup
fe526b4
More PEP-810 compatibility, fix memory leaks and LOAD_ATTR specialization
@efimov-mikhail efimov-mikhail mentioned this pull request Nov 5, 2025
memory leak in threading stack size #141044
Open
@sergey-miryanov sergey-miryanov mentioned this pull request Dec 18, 2025
Observed memory leak in ssl library: Python 3.14 GC issue #142516
Closed
@Qanux Qanux mentioned this pull request Feb 11, 2026
heap-buffer-overflow in functools.partial.__repr__() #144475
Closed
@ngoldbaum ngoldbaum mentioned this pull request Mar 6, 2026
Remove deprecated and undocumented function ctypes.SetPointerType #133866
Closed
johnslavik pushed a commit to johnslavik/cpython that referenced this pull request Apr 14, 2026
@ZeroIntensity
Merge pull request python#9 from johnslavik/hyperawait-hyperfix
7f836e3
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
builder: emitLoadMethodOrAttrSuper → C (93/144 → 94/144 = 65.3%)
3b27888
Convert HIRBuilder::emitLoadMethodOrAttrSuper from C++ multi-block
deopt+dispatch to a thin delegation stub. New C function
hir_builder_emit_load_method_or_attr_super_c builds the deopt path
(snapshot+deopt) and fast path (CondBranchCheckType + RefineType +
LoadAttrSuper or LoadMethodSuper+GetSecondOutput).

C++ stub computes nothing — passes oparg + bc_offset.value() through
to C. The C body computes name_idx/load_method/no_args from oparg
(3.11+ packing per theologian audit python#3 — load_method param overwrite),
following the project's 3.12-only convention dropping the pre-3.11
oparg-tuple branch.

Theologian invariant audit (2026-04-22 11:58:52Z) drives the
implementation:

  python#1 phx_frame_state_copy runs BEFORE the 3 pops so deopt-path frame
     preserves PRE-POP stack for interpreter resumption
  python#4 pop order: receiver (TOS), type, global_super
  python#5 push order varies by load_method (1 value vs 2)
  python#8 deopt-path emits go into deopt_tc.block
  python#9 CondBranchCheckType branches; tc.block <- fast_path; emit
     RefineType in-place

Both exit paths phx_frame_state_destroy the deopt_tc to avoid leaking
the heap-allocated stack/locals arrays.

testkeeper pre-commit verify (2026-04-22 12:15:46Z): JIT_BUILD_EXIT=0,
full BUILD_EXIT=0, 7/7 phoenix-jit tests PASS at HEAD+uncommitted.
W26 gate-hardening not triggered (no recent fail).
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 23, 2026
@SonicField
Phase 3 Batch 2: findExceptionHandler port + Class B closure
1343895
Port HIRBuilder::findExceptionHandler to a pure-C body that scans the
exception_table_ via two new C++-side read bridges (size + entry
field-by-value access). C++ shim preserves caller-contract by
returning &exception_table_[idx] from the matching index.

Per spec §5 Class B-kept disposition for exception_table_ now CLOSED
(read+write both via bridge):
- Batch 1: hir_builder_state_exception_table_push_cpp (write)
- Batch 2: hir_builder_state_exception_table_size_cpp (read meta)
- Batch 2: hir_builder_state_exception_table_entry_cpp (read field)
- Batch 2: hir_builder_state_find_exception_handler_c (C body)

Pattern propagatable to similar Class B-kept members (pending_b2_blocks_,
etc.) in subsequent batches.

Bridges added (3, within W25b ≤5/batch):
  hir_builder_state_exception_table_size_cpp(builder) -> int
  hir_builder_state_exception_table_entry_cpp(builder, idx, *out_5fields)
  hir_builder_state_find_exception_handler_c(state, builder, off, *out_idx) -> int

Cumulative exception_table_ bridge surface = 4 (push + size + entry + find);
all under cumulative budget for the member.

Numstat (vs HEAD c905827):
  Python/jit/hir/builder.cpp           +29 -4  (size + entry impls; shim)
  Python/jit/hir/builder.h             +5  -0  (2 friend decls + comment)
  Python/jit/hir/builder_state_c.h     +27 -0  (3 new bridge decls)
  Python/jit/hir/builder_state_c.c     +19 -0  (find_exception_handler_c)
  scripts/w45_bridge_drift_falsifier.sh +8  -4 (3 new fixtures + non-void
                                                 return-type regex update)
TOTAL: NET +80L (forecast +74L; +6L variance ~8%, within theologian
15% threshold for forecast accuracy).

W45 fixtures: 3 new (state_exception_table_size_cpp,
state_exception_table_entry_cpp, state_find_exception_handler_c) added
per shepard 22:46:33Z same-commit discipline. W45 perl regex updated
to match any return type (was void-only) since size_cpp returns int.
Dry-run: 12/12 fixtures stage cleanly.

Pre-commit compile-check: testkeeper 23:27:11Z BUILD_EXIT=0,
3-test sanity green (partial_conversions + W22 + W44).

W44 gate: PASS.

Authorization: theologian 23:22:59Z + supervisor 23:23:10Z. Per spec
§6 python#9 + amendment 23:09:50Z, per-commit benchmark gate runs post-
commit (geo-mean must stay >=1.0x parity floor).
This was referenced Jul 18, 2026
free threading: struct iter_unpack is not memory safe #154013
Closed
use-after-free: functools partial #154189
Closed
@chongwick chongwick mentioned this pull request Aug 19, 2026
segv in ceval #156074
Closed
@gabyfle gabyfle mentioned this pull request Sep 1, 2026
[3.13] gh-132396: Resolve 'redefinition of unused name' errors in Lib/test/ (GH-132397) #132699
Merged
This was referenced Sep 11, 2026
Heap-buffer-overflow in the hz incremental decoder on a trailing ~ #157325
Closed
mmap.mmap.__setitem__ crashes when concurrently resized #157335
Closed
Heap UAF in io.TextIOWrapper read path via reentrant detach() #157363
Open
@hosu3das20s05s hosu3das20s05s mentioned this pull request Sep 24, 2026
AddressSanitizer: global-buffer-overflow Modules/_decimal/_decimal.c:798:37 in signaldict_richcompare #158063
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@methane methane methane approved these changes

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.

6 participants

@refi64 @vstinner @methane @berkerpeksag @Mariatta @the-knights-who-say-ni
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.