This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年08月09日 12:41 by Gabriel Pettier (Tshirtman), last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 30063 | merged | serhiy.storchaka, 2021年12月11日 21:17 | |
| PR 30080 | merged | serhiy.storchaka, 2021年12月13日 09:38 | |
| PR 30084 | merged | miss-islington, 2021年12月13日 10:15 | |
| Messages (6) | |||
|---|---|---|---|
| msg272240 - (view) | Author: Gabriel Pettier (Tshirtman) (Gabriel Pettier (Tshirtman)) | Date: 2016年08月09日 12:41 | |
Up to apparently python 3.5, using help('signal') used to show the 'signal.signal' function among others, now it's not in the list, while of course help('signal.signal') does work, it was reported to me to still be the case in 3.6a1.
|
|||
| msg272248 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2016年08月09日 13:47 | |
The conversion of the module from a pure python module to a mixed module apparently caused a number of changes to the pydoc output. This should be addressed to make the pydoc output complete, even if it still different in detail. |
|||
| msg408342 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2021年12月11日 21:21 | |
This is due to use functools.wraps(). If __all__ is not defined all non-builtin functions should have correct __module__ to be displayed by pydoc. functools.wraps() assigns __module__, __name__, __qualname__, __doc__ and __annotations__. __module__ should be preserved ('signal', not '_signal'), __name__ and __qualname__ are already correct, __annotations__ does not exist. So only __doc__ should be copied.
|
|||
| msg408430 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2021年12月13日 09:21 | |
New changeset e08c0d8eec528f1d7a282ee19bcadb9aae9ec123 by Serhiy Storchaka in branch 'main': bpo-27718: Fix help for the signal module (GH-30063) https://github.com/python/cpython/commit/e08c0d8eec528f1d7a282ee19bcadb9aae9ec123 |
|||
| msg408436 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2021年12月13日 10:15 | |
New changeset e55deaabd8de338138cf29aea6890996e794c997 by Serhiy Storchaka in branch '3.10': [3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080) https://github.com/python/cpython/commit/e55deaabd8de338138cf29aea6890996e794c997 |
|||
| msg408438 - (view) | Author: miss-islington (miss-islington) | Date: 2021年12月13日 10:43 | |
New changeset 80f98b1614cc8e58d8a5ec72c94d27f663e23035 by Miss Islington (bot) in branch '3.9': [3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080) https://github.com/python/cpython/commit/80f98b1614cc8e58d8a5ec72c94d27f663e23035 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:34 | admin | set | github: 71905 |
| 2021年12月13日 11:12:53 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2021年12月13日 10:43:39 | miss-islington | set | messages: + msg408438 |
| 2021年12月13日 10:15:13 | serhiy.storchaka | set | messages: + msg408436 |
| 2021年12月13日 10:15:06 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request28305 |
| 2021年12月13日 09:38:18 | serhiy.storchaka | set | pull_requests: + pull_request28301 |
| 2021年12月13日 09:21:59 | serhiy.storchaka | set | messages: + msg408430 |
| 2021年12月11日 21:21:33 | serhiy.storchaka | set | messages: + msg408342 |
| 2021年12月11日 21:17:21 | serhiy.storchaka | set | keywords:
+ patch nosy: + serhiy.storchaka pull_requests: + pull_request28283 stage: patch review |
| 2021年12月11日 18:39:08 | iritkatriel | set | versions: + Python 3.9, Python 3.10, Python 3.11, - Python 3.5, Python 3.6 |
| 2019年09月09日 02:51:21 | nanjekyejoannah | set | nosy:
+ nanjekyejoannah |
| 2016年08月09日 13:47:09 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg272248 |
| 2016年08月09日 13:33:07 | serhiy.storchaka | set | nosy:
+ giampaolo.rodola, ethan.furman |
| 2016年08月09日 12:41:19 | Gabriel Pettier (Tshirtman) | create | |