[issue4592] Example patch is missing something

2008-12-09 Thread blake madden
blake madden <[EMAIL PROTECTED]> added the comment: So, does that mean that Python is fine and there is a problem in the example? How do I get that example to work, there seems to be something missing in it. Thanks. ___ Python tracker <[EMAIL PROTECTED]>

[issue4592] Example patch is missing something

2008-12-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Because the init function for extension modules are supposed to return the module now and the import machinery adds the module itself. -- nosy: +brett.cannon ___ Python tracker <[EMAIL PROTECTED]>

[issue4592] Example patch is missing something

2008-12-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: In python2.6, Py_InitModule4() calls PyImport_AddModule(). Why doesn't python3.0's PyModule_Create() do the same? Index: Objects/moduleobject.c === --- Objects/moduleobject

[issue4592] Example patch is missing something

2008-12-08 Thread blake madden
Changes by blake madden <[EMAIL PROTECTED]>: -- title: PyModule_Create doesn't work (or example is missing something) -> Example patch is missing something ___ Python tracker <[EMAIL PROTECTED]>