Issue 28941: Update the link to Source Code in Python Docs from hg to github (original) (raw)
Created on 2016-12-12 03:36 by Mariatta, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
issue28941.patch | Mariatta,2016-12-15 04:55 | patch for v>= 3.6 | review |
issue28941v35.patch | Mariatta,2016-12-15 04:57 | review | |
issue28941v27.patch | Mariatta,2016-12-15 04:58 | patch for 2.7 | review |
Messages (9) | ||
---|---|---|
msg282960 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-12 03:36 |
Some Python docs include a link to the Source Code, for example: https://docs.python.org/3.6/library/abc.html Once the repo is moved to github, the link should probably be updated to point to github: https://github.com/python/cpython/blob/master/Lib/abc.py | ||
msg283035 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2016-12-12 18:59 |
How is this different from issue #28929? | ||
msg283038 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-12 19:04 |
There's source code of the documentation itself https://github.com/python/cpython/blob/master/Doc/library/abc.rst ) for and source code of abc.py https://github.com/python/cpython/blob/master/Lib/abc.py Maybe I misunderstood, I figured issue #28929 is for fixing the docs url only. | ||
msg283129 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2016-12-13 17:48 |
No, I'm the one who misunderstood; I read the title of the issue too quickly after reading the doc source link issue and my brain didn't pick up on the "source code" part of the title. Sorry about that. | ||
msg283237 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-15 04:55 |
Attached is the patch that will work for 3.6 and 3.7 branches. The url will be changed from https://hg.python.org/cpython/file/3.6/Lib/abc.py into https://github.com/python/cpython/blob/3.6/Lib/abc.py for python version 3.6, and https://github.com/python/cpython/blob/master/Lib/abc.py for python version 3.7 | ||
msg283238 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-15 04:57 |
Patch for 3.5 branch. The url will change from https://hg.python.org/cpython/file/3.5/Lib/abc.py into https://github.com/python/cpython/blob/3.5/Lib/abc.py | ||
msg283239 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-15 04:58 |
Patch for 2.7 branch. The url will change from https://hg.python.org/cpython/file/2.7/Lib/abc.py into https://github.com/python/cpython/blob/2.7/Lib/abc.py | ||
msg283240 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2016-12-15 04:59 |
Please let me know if I'm doing this right :) Thanks. | ||
msg287729 - (view) | Author: Mariatta (Mariatta) * ![]() |
Date: 2017-02-13 22:36 |
This was addressed in the very first pull request on CPython GitHub (Thanks, Brett ) Backported to 2.7, 3.5, and 3.6 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:40 | admin | set | github: 73127 |
2017-02-13 22:36:10 | Mariatta | set | status: open -> closedresolution: fixedmessages: + stage: resolved |
2017-02-12 04:13:07 | Mariatta | set | assignee: docs@python -> Mariatta |
2016-12-15 04:59:38 | Mariatta | set | messages: + |
2016-12-15 04:58:16 | Mariatta | set | files: + issue28941v27.patchmessages: + |
2016-12-15 04:57:22 | Mariatta | set | files: + issue28941v35.patchmessages: + |
2016-12-15 04:55:54 | Mariatta | set | files: + issue28941.patchkeywords: + patchmessages: + |
2016-12-13 17:48:45 | brett.cannon | set | messages: + |
2016-12-12 19:04:22 | Mariatta | set | messages: + |
2016-12-12 18:59:27 | brett.cannon | set | messages: + |
2016-12-12 03:39:08 | Mariatta | set | nosy: + brett.cannon |
2016-12-12 03:36:59 | Mariatta | create |