Skip to content

bpo-32651 Recommend getpass.getuser()#5301

Merged
warsaw merged 4 commits into
python:masterfrom
warsaw:issue32651
Jan 24, 2018
Merged

bpo-32651 Recommend getpass.getuser()#5301
warsaw merged 4 commits into
python:masterfrom
warsaw:issue32651

Conversation

@warsaw
Copy link
Copy Markdown
Member

@warsaw warsaw commented Jan 24, 2018

Copy link
Copy Markdown
Member

@berkerpeksag berkerpeksag left a comment

Choose a reason for hiding this comment

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

Since this is a small documentation improvement, a NEWS entry is not needed. If you still want to add it, I just left a comment :)

Do you plan to backport this to the 3.6 branch? I think it would be nice to get this into the 3.6 branch.

@@ -0,0 +1,2 @@
In the :func:`os.getlogin()` documentation, recommend
func:`getpass.getuser()`.
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.

Missing ':' here. And use of parenthesis is not needed.

@warsaw
Copy link
Copy Markdown
Member Author

warsaw commented Jan 24, 2018

@berkerpeksag Yeah, I guess that's true. I've added the tag and will remove the file.

@warsaw
Copy link
Copy Markdown
Member Author

warsaw commented Jan 24, 2018

I do plan on back porting this too, so I've added that label.

@warsaw warsaw merged commit d499031 into python:master Jan 24, 2018
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @warsaw for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 24, 2018
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
(cherry picked from commit d499031)
@bedevere-bot
Copy link
Copy Markdown

GH-5304 is a backport of this pull request to the 3.6 branch.

@warsaw warsaw deleted the issue32651 branch January 24, 2018 17:54
warsaw pushed a commit that referenced this pull request Jan 24, 2018
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
(cherry picked from commit d499031)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants