[issue6732] PyInit_shoddy() in shoddy.c does not return anything on success

2009-08-18 Thread KAJIYAMA, Tamito

New submission from KAJIYAMA, Tamito :

Section 2.1.4, "Subclassing other types", of "Extending and Embedding 
the Python Interpreter" (Release: 3.1, Date: June 26, 2009) has a 
complete list of shoddy.c, in which PyInit_shoddy() does not have a 
return statement at the end to return a pointer to the created "shoddy" 
module on success.  Simply adding the missing "return m;" statement 
would be fine.

--
assignee: georg.brandl
components: Documentation
messages: 91720
nosy: georg.brandl, kajiyama
severity: normal
status: open
title: PyInit_shoddy() in shoddy.c does not return anything on success
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue6732>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6754] Non-existent member 'nb_inplace_divide' in PyNumberMethods

2009-08-21 Thread KAJIYAMA, Tamito

New submission from KAJIYAMA, Tamito :

In the "Python/C API Reference Manual", Section "Object Implementation 
Support", Subsection "Number Object Structures" 
(http://docs.python.org/3.1/c-api/typeobj.html#number-object-
structures), the definition of the PyNumberMethods structure has a non-
existent member 'nb_inplace_divide'.  This should be simply omitted.

--
assignee: georg.brandl
components: Documentation
messages: 91814
nosy: georg.brandl, kajiyama
severity: normal
status: open
title: Non-existent member 'nb_inplace_divide' in PyNumberMethods
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue6754>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com