[issue20466] Example in Doc/extending/embedding.rst fails to compile cleanly

New submission from Zachary Ware: Reported by Riccardo Rossi on docs@: The Very High Level Embedding example fails to compile cleanly, due to Py_SetProgramName expecting a wchar_t * argument, while the example passes a char *. ---------- assignee: docs@python components: Documentation messages: 209837 nosy: docs@python, zach.ware priority: normal severity: normal stage: needs patch status: open title: Example in Doc/extending/embedding.rst fails to compile cleanly type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20466> _______________________________________

Saimadhav Heblikar added the comment: Patch fixes the mistake. Looks like it was copied over from earlier version. ---------- keywords: +patch nosy: +sahutd Added file: http://bugs.python.org/file33869/issue20466.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20466> _______________________________________

Zachary Ware added the comment: Thanks for your efforts, Saimadhav. The issue has been fixed in another way, though. ---------- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Make _Py_char2wchar() and _Py_wchar2char() public _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20466> _______________________________________

Saimadhav Heblikar added the comment: Patch fixes the mistake. Looks like it was copied over from earlier version. ---------- keywords: +patch nosy: +sahutd Added file: http://bugs.python.org/file33869/issue20466.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20466> _______________________________________

Zachary Ware added the comment: Thanks for your efforts, Saimadhav. The issue has been fixed in another way, though. ---------- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Make _Py_char2wchar() and _Py_wchar2char() public _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20466> _______________________________________
participants (2)
-
Saimadhav Heblikar
-
Zachary Ware