<li><b><ahref="#NumericAccess">How do I access the data inside a Numeric
array object?</a></b></li>
<li><b><ahref="#Rhubarb">Pyrex says my extension type object has no attribute
<li><b><ahref="#Rhubarb">Cython says my extension type object has no attribute
'rhubarb', but I know it does. What gives?</a></b></li><li><astyle="font-weight: bold;"href="#Quack">Python says my extension type has no method called 'quack', but I know it does. What gives?</a><br>
</li>
...
...
@@ -55,10 +55,10 @@ bytes to a Python string?</h2>
section of the <ahref="extension_types.html">"Extension Types"</a> documentation
page.<br>
<tt></tt></p>
<h2><aname="Rhubarb"></a>Pyrex says my extension type object has no attribute
<h2><aname="Rhubarb"></a>Cython says my extension type object has no attribute
'rhubarb', but I know it does. What gives?</h2>
You're probably trying to access it through a reference which Pyrex thinks
is a generic Python object. You need to tell Pyrex that it's a reference
You're probably trying to access it through a reference which Cython thinks
is a generic Python object. You need to tell Cython that it's a reference
to your extension type by means of a declaration,<br>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><metahttp-equiv="Content-Type"content="text/html; charset=iso-8859-1"><metaname="GENERATOR"content="Mozilla/4.51 (Macintosh; I; PPC) [Netscape]"><title>Pyrex - Front Page</title></head><body> <tableCELLSPACING=0CELLPADDING=10WIDTH="500"><tr><tdVALIGN=TOPBGCOLOR="#FF9218"><fontface="Arial,Helvetica"><fontsize=+4>Pyrex</font></font></td><tdALIGN=RIGHTVALIGN=TOPWIDTH="200"BGCOLOR="#5DBACA"><fontface="Arial,Helvetica"><fontsize=+1>A
smooth blend of the finest Python </font></font><br><fontface="Arial,Helvetica"><fontsize=+1>with the unsurpassed power </font></font><br><fontface="Arial,Helvetica"><fontsize=+1>of raw C.</font></font></td></tr></table><blockquote><fontsize=+1>Welcome to Pyrex, a language for writing Python
extension modules. Pyrex makes creating an extension module is almost as
easy as creating a Python module! To find out more, consult one of the
edifying documents below.</font></blockquote><h1><fontface="Arial,Helvetica"><fontsize=+2>Documentation</font></font></h1><blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="About.html">About Pyrex</a></font></font></h2><blockquote><fontsize=+1>Read this to find out what Pyrex is all about
and what it can do for you.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="overview.html">Language
Overview</a></font></font></h2><blockquote><fontsize=+1>A description of all the features of the Pyrex
language. This is the closest thing to a reference manual in existence
yet.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="FAQ.html">FAQ</a></font></font></h2><blockquote><fontsize=+1>Want to know how to do something in Pyrex? Check
here first<fontface="Arial,Helvetica">.</font></font></blockquote></blockquote><h1><fontface="Arial,Helvetica"><fontsize=+2>Other Resources</font></font></h1><blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/mpj17-pyrex-guide/">Michael's
Quick Guide to Pyrex</a></font></font></h2><blockquote><fontsize=+1>This tutorial-style presentation will take you
through the steps of creating some Pyrex modules to wrap existing C libraries.
Contributed by <ahref="mailto:mpj17@cosc.canterbury.ac.nz">Michael JasonSmith</a>.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="mailto:greg@cosc.canterbury.ac.nz">Mail
to the Author</a></font></font></h2><blockquote><fontsize=+1>If you have a question that's not answered by
anything here, you're not sure about something, or you have a bug to report
or a suggestion to make, or anything at all to say about Pyrex, feel free
to email me:<fontface="Arial,Helvetica"></font><tt><ahref="mailto:greg@cosc.canterbury.ac.nz">greg@cosc.canterbury.ac.nz</a></tt></font></blockquote></blockquote></body></html>
\ No newline at end of file
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><metahttp-equiv="Content-Type"content="text/html; charset=iso-8859-1"><metaname="GENERATOR"content="Mozilla/4.51 (Macintosh; I; PPC) [Netscape]"><title>Cython - Front Page</title></head><body> <tableCELLSPACING=0CELLPADDING=10WIDTH="500"><tr><tdVALIGN=TOPBGCOLOR="#FF9218"><fontface="Arial,Helvetica"><fontsize=+4>Cython</font></font></td><tdALIGN=RIGHTVALIGN=TOPWIDTH="200"BGCOLOR="#5DBACA"><fontface="Arial,Helvetica"><fontsize=+1>A
smooth blend of the finest Python </font></font><br><fontface="Arial,Helvetica"><fontsize=+1>with the unsurpassed power </font></font><br><fontface="Arial,Helvetica"><fontsize=+1>of raw C.</font></font></td></tr></table><blockquote><fontsize=+1>Welcome to Cython, a language for writing Python
extension modules. Cython makes creating an extension module is almost as
easy as creating a Python module! To find out more, consult one of the
edifying documents below.</font></blockquote><h1><fontface="Arial,Helvetica"><fontsize=+2>Documentation</font></font></h1><blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="About.html">About Cython</a></font></font></h2><blockquote><fontsize=+1>Read this to find out what Cython is all about
and what it can do for you.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="overview.html">Language
Overview</a></font></font></h2><blockquote><fontsize=+1>A description of all the features of the Cython
language. This is the closest thing to a reference manual in existence
yet.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="FAQ.html">FAQ</a></font></font></h2><blockquote><fontsize=+1>Want to know how to do something in Cython? Check
here first<fontface="Arial,Helvetica">.</font></font></blockquote></blockquote><h1><fontface="Arial,Helvetica"><fontsize=+2>Other Resources</font></font></h1><blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="http://www.cosc.canterbury.ac.nz/~greg/python/Cython/mpj17-pyrex-guide/">Michael's
Quick Guide to Cython</a></font></font></h2><blockquote><fontsize=+1>This tutorial-style presentation will take you
through the steps of creating some Cython modules to wrap existing C libraries.
Contributed by <ahref="mailto:mpj17@cosc.canterbury.ac.nz">Michael JasonSmith</a>.</font></blockquote><h2><fontface="Arial,Helvetica"><fontsize=+1><ahref="mailto:greg@cosc.canterbury.ac.nz">Mail
to the Author</a></font></font></h2><blockquote><fontsize=+1>If you have a question that's not answered by
anything here, you're not sure about something, or you have a bug to report
or a suggestion to make, or anything at all to say about Cython, feel free
to email me:<fontface="Arial,Helvetica"></font><tt><ahref="mailto:greg@cosc.canterbury.ac.nz">greg@cosc.canterbury.ac.nz</a></tt></font></blockquote></blockquote></body></html>