Open geoalchimista opened 7 years ago
hi @geoalchimista , I am learning this courses, can you tell me &fib
what is doing?
hi @geoalchimista , I am learning this courses, can you tell me
&fib
what is doing?
In Chapter3 has introduced, see about dereference pointer section.😊
When timing the Python/C API extension example in
01-essentials/03-timings/
, I got an error like thisThe error is from line 14 in
01-essentials/03-timings/timings.py
I found that Python 3.x no longer uses
Py_InitModule
. So this part would not work.Here's my attempt to fix the
01-essentials/03-timings/cfib_wrap.c
for Python 3.x.The original
PyMODINIT_FUNC
blockcan be replaced with
This should make the example
01-essentials/03-timings
to run in Python 3.x.