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-28556: Various updates to typing (#28) by Mariatta · Pull Request #78 · python/cpython

Conversation

@Mariatta

@Mariatta Mariatta commented Feb 13, 2017

Copy link
Copy Markdown
Member

various updates from upstream python/typing repo:

  • Added typing.Counter and typing.ChainMap generics
  • More flexible typing.NamedTuple
  • Improved generic ABC caching
  • More tests
  • Bugfixes
  • Other updates
  • Add Misc/NEWS entry

  • Add issue number

Contributed by Ivan Levkivskyi @ilevkivskyi
(cherry picked from commit b692dc8)

Sorry, something went wrong.

Uh oh!

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

All reactions
@ilevkivskyi @Mariatta
bpo-28556: Various updates to typing (#28)
ffdf67d
 various updates from upstream python/typing repo:

- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates

* Add Misc/NEWS entry

* Add issue number

(cherry picked from commit b692dc8)
@Mariatta Mariatta added the cherry-pick for 3.5 label Feb 13, 2017
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 13, 2017
@Mariatta Mariatta mentioned this pull request Feb 13, 2017
bpo-28556: Various updates to typing #28
Merged
gvanrossum
gvanrossum approved these changes Feb 13, 2017
View reviewed changes
@Mariatta
Mariatta merged commit 9c5684e into python:3.5 Feb 13, 2017
@Mariatta
Mariatta deleted the bpo-28556-3.5 branch February 13, 2017 22:29
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
Anselm Kruis
Stackless issue python#78: documentation update for iterating over ch…
79a08c8
…annels

- document, that the sender must notify the receiver of an
end-of-iteration condition by sending a StopIteration exception.
- document the return value of channel.send_sequence()
- issue python#53: document the behaviour of channel.close()
- add another test case to test_chanel.

https://bitbucket.org/stackless-dev/stackless/issues/78
https://bitbucket.org/stackless-dev/stackless/issues/53
(grafted from 38b6cdef017849134ee433c78d6daf168c1c01e2)
@ghost ghost mentioned this pull request Sep 24, 2017
channel.close() less useful than thought stackless-dev/stackless#53
Closed
jaraco pushed a commit that referenced this pull request Dec 2, 2022
@pyup-bot @Mariatta
Update gidgethub from 2.4.1 to 2.5.0.post1 (GH-78)
b44b18f
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
@jaraco
Update readme to reflect new behavior slated for Python 3.9. Closes p…
6e91e7f
…ython#78.
oraluben pushed a commit to oraluben/cpython that referenced this pull request Jul 24, 2023
@Fidget-Spinner
docs: bm_float_unboxed benchmarks (python#78)
218d974
@gvanrossum gvanrossum mentioned this pull request Aug 22, 2023
heap-use-after-free in _PyFunction_LookupByVersion #108253
Closed
lysnikolaou referenced this pull request in lysnikolaou/cpython May 4, 2024
@pablogsal
Merge pull request #78 from lysnikolaou/pyrepl-various-fixed-wide-cha…
1443793
…racters

Various fixes to handle wide characters correctly
@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: REABSORB-WHEN comment on hir_builder_emit_awaited_call_tail_c
149b7e2
Per pythia python#78 python#2 [chat L1986] orphan-bridge risk + supervisor [chat L1990]
authorization (option b) + theologian [chat L1991] volunteer + landing.

Adds a 5-line comment block above the bridge function that names the
PartialConversion artifact origin + the trigger condition for
reabsorbing the bridge into a full emitAnyCall C body.

Comment text:
  PARTIAL CONVERSION ARTIFACT — emitAnyCall await-tail extracted while
  emitAnyCall opcode-switch + 3 INVOKE_* sub-methods (emitInvokeFunction,
  emitInvokeNative, emitInvokeMethod) remain C++. REABSORB WHEN: Tier 6
  INVOKE_* family fully converts to C; then emitAnyCall fully converts and
  this bridge can inline back into the full C body.

Addresses pythia python#78 python#2 'orphan-bridge if Tier 6 INVOKE_* defers' concern
by anchoring the reabsorb-trigger in source (not just chat history),
ensuring future readers can locate the architectural decision context
without scrollback.

Authorship: theologian (volunteered + drafted); generalist (committed
per role boundary — theologian = design/advisory, generalist = commits).

Authorization chain:
  - pythia python#78 python#2 surfaced bridge orphan-risk: chat L1986
  - supervisor authorized option (b) source-comment: chat L1990
  - theologian volunteered + drafted comment: chat L1991, L1995
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 22, 2026
@SonicField
scripts: count_emit_methods.sh — reproducible Tier 5/6 baseline
15de220
Per pythia python#79 python#3 [chat L2032] + supervisor [chat L2034] assignment:
the brace-counted scan methodology that produced 100/123 = 81.3%
Tier 5 close ratio existed only in chat history (D-1776880902). Anyone
re-grepping in two weeks reproduces the same /144-class lapse.

This script anchors the methodology in repo:
  - Brace-balanced extraction of HIRBuilder::emit* method definitions
    (multi-line signatures + any return type + balanced { } body)
  - Categorization: stub (≤8 body lines + has hir_builder_emit_*_c call) /
    partial (>8 body lines + has C call) / pure C++ (no C call)
  - Output: counts + exhaustive pure-C++ + partial method lists

Reference values verified at HEAD a642405 (post-Tier-5-close, push 62):
  TOTAL: 123
  STUBS: 93
  PARTIAL: 7
  PURE C++: 23
  RATIO: 100/123 = 81.3%

Closes pythia python#79 python#3 'methodology not committed to repo' substance.
Anyone running scripts/count_emit_methods.sh reproduces the canonical
baseline without needing chat-search or external memory.

Origin lessons embedded in script header:
  - /144 propagated 2026-04-21 (commit 7783df7) → 2026-04-22 Tier 5 close
  - Real denominator at HEAD a642405 was 123 (pythia python#78 python#1 catch)
  - Methodology lives in repo, not chat

Authorization chain:
  - pythia python#79 python#3 surfaced gap: chat L2032
  - supervisor python#3 assignment: chat L2034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

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

4 participants

@Mariatta @gvanrossum @the-knights-who-say-ni @ilevkivskyi
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.