← 返回首页
Update readme by zware · Pull Request #21 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Update readme#21

Merged
zware merged 5 commits into
python:masterfrom
zware:update_readme
Feb 14, 2017
Merged

Update readme#21
zware merged 5 commits into
python:masterfrom
zware:update_readme

Conversation

zware commented Feb 11, 2017

Copy link
Copy Markdown
Member

This does some modernization and cleanup of the toplevel README. There is still significant room for improvement, but this hits some of the low-hanging fruit.

For reviewers, the first commit is the real change, the second commit is a simple rewrap.

Comment thread README.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

GitHub with capital H :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Thanks!

Comment thread README.rst Outdated

ezio-melotti Feb 11, 2017
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

This paragraph is a bit harsh, from the uppercase "IMPORTANT" to calling the output of "make test" "useless".

I would rewrite it as:

If the tests fail, you can run the failing test(s) in verbose mode using:
./python -m test -v test_that_failed
You should then file a bug report and include the output of this command.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Good point, will amend.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Maybe we could keep a consistence, ./python -m test -v test_that_failed or make test TESTOPTS="-v" test_that_failed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

@matrixise I'm not sure I understand your point. I switched to make test TESTOPTS="-v test_that_failed" because running the tests is suggested with make test, and there was previously a note about what to do if you built python in a different directory. Reusing make test with TESTOPTS means the different directory question just goes away, but we get exactly the same result.

Comment thread README.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

why this character ' ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

It's the possessive form. Maybe a better wording would be "LTO takes advantage of the ability of recent compiler toolchains to optimise..."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

yep, because I have not seen the possessive form, but just a mistake in the text.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

I agree, this is significantly less than ideal. Fixing it also showed that there's a typo in "takes advantages".

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

codecov Bot commented Feb 14, 2017

Copy link
Copy Markdown

Codecov Report

Merging #21 into master will decrease coverage by -0.02%.
The diff coverage is n/a.

@@ Coverage Diff @@ ## master #21 +/- ## ========================================== - Coverage 82.38% 82.37% -0.02% ========================================== Files 1428 1427 -1 Lines 351138 350948 -190 ========================================== - Hits 289291 289087 -204 - Misses 61847 61861 +14

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 b692dc8...5a20814. Read the comment docs.

zware merged commit d50f188 into python:master Feb 14, 2017
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 added a commit that referenced this pull request Feb 15, 2017

Copy link
Copy Markdown
Member

Backport to 3.5 and 2.7?

9 hidden items Load more…
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
youknowone referenced this pull request in youknowone/cpython Nov 25, 2025
StanFromIreland referenced this pull request in StanFromIreland/cpython Dec 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

Footer

© 2026 GitHub, Inc.