[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2019-08-13 Thread Anthony Sottile


Anthony Sottile  added the comment:

In case it helps someone else, `insstr` seems to not have this limitation

--
nosy: +Anthony Sottile

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread Ned Deily

Ned Deily  added the comment:

Thank you for producing the PR, Jay!

--
components:  -Extension Modules
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type: enhancement -> 
versions: +Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread Ned Deily

Ned Deily  added the comment:


New changeset 77f0a41d72886513f5e9277e5587455745c29ac1 by Ned Deily (Miss 
Islington (bot)) in branch '2.7':
[2.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch 
(GH-5179) (GH-6405)
https://github.com/python/cpython/commit/77f0a41d72886513f5e9277e5587455745c29ac1


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread Ned Deily

Ned Deily  added the comment:


New changeset 70c44465475c41ab3aa832858b250ede6f170aac by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
[3.6] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch 
(GH-5179) (GH-6406)
https://github.com/python/cpython/commit/70c44465475c41ab3aa832858b250ede6f170aac


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread Ned Deily

Ned Deily  added the comment:


New changeset 98e8ac8d82202aae32961f10b1014641ae1fffbf by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
[3.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch 
(GH-5179) (GH-6404)
https://github.com/python/cpython/commit/98e8ac8d82202aae32961f10b1014641ae1fffbf


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6111

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6110

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6109

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-04-06 Thread Ned Deily

Ned Deily  added the comment:


New changeset ef5ce884a41c8553a7eff66ebace908c1dcc1f89 by Ned Deily (Jay 
Crotts) in branch 'master':
bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179)
https://github.com/python/cpython/commit/ef5ce884a41c8553a7eff66ebace908c1dcc1f89


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-02-28 Thread Jay Crotts

Change by Jay Crotts :


--
versions: +Python 3.8 -Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-01-16 Thread Jay Crotts

Jay Crotts  added the comment:

Submitted a PR for this issue, awaiting review.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-01-13 Thread Jay Crotts

Change by Jay Crotts :


--
keywords: +patch
pull_requests: +5031
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2018-01-05 Thread Jay Crotts

Jay Crotts  added the comment:

I can create a documentation patch and PR if this still needs doing.

--
nosy: +jcrotts

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
type: behavior -> enhancement
versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2016-08-05 Thread Ned Deily

Ned Deily added the comment:

See also Issue27693 which documents a similar issue using curses.textpad.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-24 Thread Georg Brandl

Georg Brandl added the comment:

Knowledge of RST should be more than enough; there is not much Sphinx-specific 
markup, and even that you won't pick up easily while looking at the file.

--
nosy: +georg.brandl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-24 Thread Georg Brandl

Georg Brandl added the comment:

you WILL pick up, of course.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Charles Merriam

Charles Merriam added the comment:

Some more information to just nail this thing that's been here forever.

1.  This has been an issue in Python since at least 2001.
2.  It is a duplicate of the item 441129 which was closed as won't fix.
3.  It is bug in curses implementations.
4.  This occurs whenever the lower-right character of a screen or window is 
written.  The writing, via addch() or addstr(), causes the cursor to advance 
outside the window and triggers the error.  It triggers the same error as 
attempting to write beyond the edge of the screen, window, or pad.   
5.  This occurs with the main windows, sub windows, and pads.
6.  There are two work-arounds for users:
a.   Don't do that.  Make your window bigger.
b.   Catch and ignore the error.  The library does the right thing but 
is trying to be too smart about raising errors.
7.  There are two good resolutions to the problem:
a.  Document it.  Add a note to addch() and addstr() to the effect:
Writing outside the pad, window, or subwindow will cause a 
curses.error Exception.  Also, attempting to write the lower right corner of a 
pad, window, or sub window will cause an exception to be raised after the 
character is printed.  You may safely ignore the error in this case.
b.  Document it as above and add an example.
c.  Wrap it so it works on Python if no other curses implementation.  Many 
long discussions can be arguments before agreeing why this a bad idea.
 
This is an annoying, obscure bug that deserves a couple lines in the 
documentation.  If you need sample code, I can provide.

--
nosy: +Charles.Merriam

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Ned Deily

Ned Deily added the comment:

FTR, the previous issue is Issue441429.  A documentation patch would be 
welcomed.

--
assignee:  - docs@python
components: +Documentation
keywords: +easy
nosy: +docs@python, ned.deily
stage:  - needs patch
versions: +Python 3.5 -Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2014-05-23 Thread Charles Merriam

Charles Merriam added the comment:

My typo.  Documentation verbiage was included in the bug report.
Submitting a patch to the documentation is a harder than just
rewriting the library.  I speak English, MarkDown, HTML, JavaScript,
and even RST.  I don't speak Sphinx, DocBook, or TeX.

On Fri, May 23, 2014 at 12:32 PM, Ned Deily rep...@bugs.python.org wrote:

 Ned Deily added the comment:

 FTR, the previous issue is Issue441429.  A documentation patch would be 
 welcomed.

 --
 assignee:  - docs@python
 components: +Documentation
 keywords: +easy
 nosy: +docs@python, ned.deily
 stage:  - needs patch
 versions: +Python 3.5 -Python 3.2, Python 3.3

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue8243
 ___

--
nosy: +CharlesMerriam

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2012-11-05 Thread Ramchandra Apte

Changes by Ramchandra Apte maniandra...@gmail.com:


--
components: +Library (Lib)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2012-11-05 Thread Ramchandra Apte

New submission from Ramchandra Apte:

AutoBump™.

--
nosy: +ramchandra.apte

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2012-11-05 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
components: +Extension Modules -Library (Lib)
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2010-03-26 Thread Daniel Vim

Changes by Daniel Vim 333...@gmail.com:


--
files: curses_bug.py
nosy: theosp
severity: normal
status: open
title: curses writing to window's bottom right position raises: `_curses.error: 
addstr() returned ERR'
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file16673/curses_bug.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8243
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com