[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 72b1d419ac5f7cd9ef82ffd2ffe21aa9b34e21d2 by Xiang Zhang in branch '3.5': bpo-26985: Add missing info of code object in inspect documentation (GH-1090) (GH-1100) https://github.com/python/cpython/commit/72b1d419ac5f7cd9ef82ffd2ffe21aa9b34e21d2

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 14944c62300f741488c2f28cb91ad1e3fef7343b by Xiang Zhang in branch '3.6': bpo-26985: Add missing info of code object in inspect documentation (GH-1090) (GH-1099) https://github.com/python/cpython/commit/14944c62300f741488c2f28cb91ad1e3fef7343b

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1243 ___ Python tracker ___ ___

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1242 ___ Python tracker ___ ___

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset a6902e662c18dc837d40664eaafe50a44aae6366 by Xiang Zhang in branch 'master': bpo-26985: Add missing info of code object in inspect documentation (GH-1090) https://github.com/python/cpython/commit/a6902e662c18dc837d40664eaafe50a44aae6366 --

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +1233 ___ Python tracker ___ ___

[issue26985] Information about CodeType in inspect documentation is outdated

2017-04-11 Thread Xiang Zhang
Changes by Xiang Zhang : -- type: behavior -> versions: +Python 3.7 ___ Python tracker ___

[issue26985] Information about CodeType in inspect documentation is outdated

2016-06-16 Thread Xiang Zhang
Xiang Zhang added the comment: Hmm, when I am going to delete the list in the docstring, I find other functions get lists too in inspect.py. So maybe we should open another issue to clean them after first merging this thread? -- ___ Python tracker

[issue26985] Information about CodeType in inspect documentation is outdated

2016-06-09 Thread Berker Peksag
Berker Peksag added the comment: "Return true if the object is a code object." should stay. We can add a short sentence to refer people to the inspect documentation for the list of co_* attributes. -- ___ Python tracker

[issue26985] Information about CodeType in inspect documentation is outdated

2016-06-09 Thread Xiang Zhang
Xiang Zhang added the comment: So maybe remove the docstring entirely? -- ___ Python tracker ___ ___

[issue26985] Information about CodeType in inspect documentation is outdated

2016-06-08 Thread Berker Peksag
Berker Peksag added the comment: I prefer to not duplicate the list in Lib/inspect.py. We did similar docstring cleanups in several modules (venv for example) recently. -- nosy: +berker.peksag stage: -> patch review type: -> behavior versions: +Python 3.5

[issue26985] Information about CodeType in inspect documentation is outdated

2016-05-09 Thread Xiang Zhang
Xiang Zhang added the comment: Attach patch. -- keywords: +patch Added file: http://bugs.python.org/file42793/inspect_doc.patch ___ Python tracker ___

[issue26985] Information about CodeType in inspect documentation is outdated

2016-05-09 Thread Xiang Zhang
New submission from Xiang Zhang: Information about CodeType in inspect documentation is outdated. It lacks attributes: co_kwonlyargcount, co_freevars, co_cellvars. And co_flags lacks many more options. These also apply to the comments of inspect.iscode source code. -- assignee: