◐ Shell
clean mode source ↗

Update readme by zware · Pull Request #21 · python/cpython

Mariatta

ezio-melotti

matrixise

berkerpeksag

These include spelling/grammar fixes, removing some outdated prose,
updating some superceded prose, and adding/cleaning up some links.

@zware zware deleted the update_readme branch

February 14, 2017 04:01

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

Feb 14, 2017

@zware zware mentioned this pull request

Feb 14, 2017

zware added a commit that referenced this pull request

Feb 15, 2017

jaraco pushed a commit that referenced this pull request

Dec 2, 2022

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

Feb 16, 2023
21: warn for keys/items/values/range r=ltratt a=nanjekyejoannah

I think I was over-thinking the solution with flags at synbol table generation. I found a simple check at the AST that checks correctness of values assigned to wanr for things like "True" and other keywords and used this check to warn for these calls.

This warns for `keys/values/items/range`:

Accurate when the statement is in an assignment:

`x = range(20)`
` y = d.keys()`

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

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

Feb 17, 2023
Also full coverage for all supported Pythons.

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

Jun 25, 2023

This was referenced

Feb 11, 2025

youknowone referenced this pull request in youknowone/cpython

Nov 25, 2025

@Qanux Qanux mentioned this pull request

Feb 11, 2026