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.

Author xiang.zhang
Recipients docs@python, xiang.zhang
Date 2016-08-11.18:13:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470939203.79.0.619794104629.issue27740@psf.upfronthosting.co.za>
In-reply-to
Content
I think the doc of Py_CompileStringExFlags has two flaws:

1. Py_CompileStringExFlags should be replaced by Py_CompileStringObject from the context. Py_CompileStringExFlags in the context is meaningless.

2. *filename* is a byte string that should be decoded but not decoded from. It is ... = decode(filename) but not filename = decode(...).
History
Date User Action Args
2016-08-11 18:13:23xiang.zhangsetrecipients: + xiang.zhang, docs@python
2016-08-11 18:13:23xiang.zhangsetmessageid: <1470939203.79.0.619794104629.issue27740@psf.upfronthosting.co.za>
2016-08-11 18:13:23xiang.zhanglinkissue27740 messages
2016-08-11 18:13:23xiang.zhangcreate