Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-28810: Update lnotab_notes.txt #665

Merged
merged 3 commits into from
Mar 14, 2017

Conversation

ilevkivskyi
Copy link
Member

@serhiy-storchaka @brettcannon Here is the separate PR for lnotab_notes.txt that I promised.

This needs to be backported to 3.6.

@mention-bot
Copy link

@ilevkivskyi, thanks for your PR! By analyzing the history of the files in this pull request, we identified @avassalotti to be a potential reviewer.

@@ -45,7 +45,8 @@ above example contains two such values. So we make two tweaks:
line_incr -= 0x100
lineno += line_incr

(In C, this is implemented by PyCode_Addr2Line().) In order for this to work,
(In C, this is implemented by PyCode_Addr2Line(). Note that before 3.6, only
Copy link
Member

Choose a reason for hiding this comment

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

Use two spaces between sentences.

I think that the better place for this note is few lines above, when describe the range of line_incr.

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Mar 14, 2017

The line

    255, 0, 45, 128, 0, 72.

doesn't look correct (the maximal line_incr is 127, not 128).

And while we are here please change "Python string" to "bytes object" (or "Python bytes object").

@serhiy-storchaka serhiy-storchaka added cherry-pick for 3.6 docs Documentation in the Doc dir and removed cherry-pick for 3.6 labels Mar 14, 2017
@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Mar 14, 2017

Ah, and while we are here, please fix tabs used instead of spaces.

@ilevkivskyi
Copy link
Member Author

@serhiy-storchaka

Ah, and while we are here, please fix tabs used instead of spaces.

Fixed. I have found only three lines with tabs in this file.

@serhiy-storchaka serhiy-storchaka merged commit 9135275 into python:master Mar 14, 2017
Mariatta pushed a commit to Mariatta/cpython that referenced this pull request Mar 31, 2017
Mariatta added a commit that referenced this pull request Mar 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants