[issue21088] curses addch() argument position reverses in Python3.4.0

Ned Deily report at bugs.python.org
Fri Mar 28 21:42:14 CET 2014


Ned Deily added the comment:

It looks like the arguments were inadvertently swapped during the conversion to Argument Clinic.  The Library Reference doc says:

window.addch(y, x, ch[, attr])

but the Argument Clinic docstring for 3.4.0 says:

Help on built-in function addch:

addch(...) method of _curses.curses window instance
    addch([x, y,] ch, [attr])
    Paint character ch at (y, x) with attributes attr.

      x
        X-coordinate.
      y
        Y-coordinate.
      ch
        Character to add.
      attr
        Attributes for the character.

    Paint character ch at (y, x) with attributes attr,
    overwriting any character previously painted at that location.
    By default, the character position and attributes are the
    current settings for the window object.

Perhaps we should check for others?

----------
nosy: +larry, ned.deily
priority: normal -> release blocker
stage:  -> needs patch
versions: +Python 3.5

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


More information about the Python-bugs-list mailing list