bpo-28837: Fix lib2to3 handling of map/zip/filter by stuarteberg · Pull Request #24 · python/cpython

@stuarteberg

… followed with a 'trailer', e.g. zip()[x]

benjaminp

Mariatta referenced this pull request in Mariatta/cpython

Jun 16, 2017
…llowed with a 'trailer', e.g. zip()[x] (GH-24)

(cherry picked from commit 93b4b47)

Mariatta added a commit that referenced this pull request

Jun 16, 2017

jaraco pushed a commit that referenced this pull request

Dec 2, 2022

jaraco pushed a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023
Refactor into Python 3 and Python 2.7 submodules.

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

Mar 10, 2023
24: Warn for exception: move warning to ceval r=ltratt a=nanjekyejoannah

This replaces the old PR: softdevteam#12
Moved the warning to ceval.

I removed the three component warning because it was committed in an earlier PR here: softdevteam#14

Co-authored-by: Joannah Nanjekye <jnanjeky@unb.ca>

Fidget-Spinner referenced this pull request in pylbbv/pylbbv

May 27, 2023
Implemented type propagation

oraluben pushed a commit to oraluben/cpython that referenced this pull request

Jun 25, 2023

This was referenced

Feb 11, 2025

@Qanux Qanux mentioned this pull request

Feb 11, 2026

Eclips4 pushed a commit to Eclips4/cpython that referenced this pull request

Mar 10, 2026
This PR pretty much completely refactors the Rust build system. There are now two main ways Rust code is built:

# both

- The Rust triple is deduced based on the preprocessor run on Misc/platform_triplet.c
- A cpython-build-helper crate is used to pass the proper link arguments for each configuration
- The proper Rust toolchain is downloaded for iOS/Android/WASI for CI on those platforms
- cpython-sys is updated significantly to ensure bindgen properly generates the bindings for each platform

# shared

For shared builds, we build a crate into a cdylib and pass through link arguments from the makefile/configure and the linker executable so that the final link will match what is done for C programs.

# static

For static builds, a cpython-rust-staticlib crate is a built which depends on and re-exports the module initializers for each crate. This ensures there aren't duplicated Rust stdlib/core symbols.

Fixes python#23