Package: python3.2
Version: 3.2.3-2
Severity: serious
Tags: sid wheezy pending

for packages built on the buildd.

[bug occured snippet: newpad-refresh.py]
##########################################
import curses

try:
    screen = curses.initscr()
    curses.cbreak()

    pad = curses.newpad(10, 10)
    pad.addstr(0, 0, "press q")
    size = screen.getmaxyx()
    pad.refresh(0, 0, 0, 0, size[0] - 1, size[1] - 1)
    while True:
        ch = pad.getch()
        if ch == ord("q"):
            break
        pass
    pass
finally:
    curses.nocbreak()
    curses.endwin()
    pass
###########################################

[execution result]
###########################################
$ python3 newpad-refresh.py
Traceback (most recent call last):
  File "newpad-refresh.py", line 10, in <module>
    pad.refresh(0, 0, 0, 0, size[0] - 1, size[1] - 1)
TypeError: refresh() takes exactly 0 arguments (6 given)
###########################################




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to