Hi,
What's the best way to debug python3 source code?
To fix a bug i need to debug source code(C files).
I use gdb to debug.
But how can i get the exact file/point to fix the bug?
How can i know quickly where the bug is?
How can i run python>>> from gdb and giving input there how can i test and
d
@martin,
I'm working on this bug, http://bugs.python.org/issue15068
I tried this with gdb
(gdb)run
>>>from sys import stdin
>>>str=sys.stdin.read()
blabla
blabla
blabla
CTRL+D
CTRL+D
>>>CTRL+C
(gdb)backtrace
0xb7f08348 in ___newselect_nocancel () at ../sysdeps/unix/syscall-template.S:82
82 ../
Hi,
I'm working on this bug to fix it. http://bugs.python.org/issue15068
>>> from sys import stdin
>>> str=stdin.read()
hello
hello world
CTRL+D
CTRL+D
Can anyone tell me where is stdin.read() function defined?
Or where is sys.stdin defined?
Or which function is called for str=stdin.read() ?
Th