[issue3717] Py_InitModule* is still referenced in docs

Amaury Forgeot d'Arc report at bugs.python.org
Fri Aug 29 14:11:46 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

In your patch, it is not correct to declare main as
    main(int argc, wchar_t **argv)
It is simply not the correct signature: the OS only supports "char** argv".

You have to perform the conversion yourself. Look for example at
Modules/python.c.

The problem with importexc.c is more serious; I've filled issue3723 for
this.

----------
nosy: +amaury.forgeotdarc
priority:  -> high

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3717>
_______________________________________


More information about the Python-bugs-list mailing list