Issue 3194: Demo/loop.c passing "char *" instead of "wchar_t *" (original) (raw)

Created on 2008-06-25 03:25 by zanella, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
loop_c.diff zanella,2008-06-25 03:25 review
Messages (5)
msg68715 - (view) Author: Rafael Zanella (zanella) Date: 2008-06-25 03:25
The Demo/loop.c passes a char pointer (argv[0]) while Py_SetProgramName() now expects a wchar_t pointer. I've attached a patch, the solution on the patch was borrowed, ok stolen, from Python/frozenmain.c
msg68726 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-06-25 12:57
Martin, you made the changes. Could you look at this, please?
msg98586 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-01-31 01:35
loop demo is still broken in py3k: * try to link to libpython3.0 (wrong python version) * there is still the argv[0] type issue
msg99794 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2010-02-22 17:34
If this is important it should be upgraded to a real test and the Demo/ version removed.
msg124939 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-12-30 22:34
Demo/embed has now been removed.
History
Date User Action Args
2022-04-11 14:56:35 admin set github: 47444
2010-12-30 22:34:39 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: out of date
2010-02-22 17:34:18 jackdied set nosy: + jackdiedmessages: +
2010-01-31 01:35:29 vstinner set nosy: + vstinnermessages: +
2008-06-25 12:57:19 benjamin.peterson set assignee: loewismessages: + nosy: + loewis, benjamin.peterson
2008-06-25 03:25:25 zanella create