Stdout in extensions under IDLE
Jeff Perry
jsp at mail.utexas.edu
Thu Oct 5 13:41:07 EDT 2000
My C extension's output is different under the python command line shell
than it is under the graphical shell, IDLE.
pyext.c:
#include <stdio.h>
void Print() { printf("This is the message.\n"); }
Command line python:
$ python
>>> import pyext
>>> pyext.Print()
This is the message.
>>>
Windowed python:
$ idle
>>> import pyext
>>> pyext.Print ()
>>>
Under IDLE, there is no output.
Is this a bug to report to sourceforge?
Is there a way to step into extensions with a debugger?
My environment:
- Python 2.0 b2
- Windows 98
- SWIG 1.1
- MSVC 5.0
More information about the Python-list
mailing list