[New-bugs-announce] [issue21088] curses addch() argument position reverses in Python3.4.0

Masayuki Yamamoto report at bugs.python.org
Fri Mar 28 20:51:30 CET 2014


New submission from Masayuki Yamamoto:

There is a test code that is "RB" characters display on screen. I expected displaying "R" to right, and displaying "B" to bottom. It was run as expected in Python 2.7.3 and 3.2.3 on Cygwin.
But they were displayed reverse in Python 3.4.0. And when addch() arguments reversed, they were displayed in expected positions.

import curses

def test(stdscr):
    stdscr.addch(0, 5, b'R')
    stdscr.addch(5, 0, b'B')
    stdscr.refresh()
    stdscr.getch()

curses.wrapper(test)

Please make sure of issues, and fix it.
Thanks.

----------
components: Library (Lib)
messages: 215074
nosy: masamoto
priority: normal
severity: normal
status: open
title: curses addch() argument position reverses in Python3.4.0
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21088>
_______________________________________


More information about the New-bugs-announce mailing list