This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年08月24日 10:15 by bgreen, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| _cursesmodule.c.diff | gregory.p.smith, 2011年03月15日 15:58 | patch from bgreen against 2.7.1 | ||
| Messages (4) | |||
|---|---|---|---|
| msg114774 - (view) | Author: Bill Green (bgreen) | Date: 2010年08月24日 10:15 | |
_cursesmodule.c provides a list of constants, prefixed with KEY_, corresponding to special keys (KEY_DOWN, KEY_LEFT, KEY_BACKSPACE, etc.). A portion of the function init_curses, which implements these, is #defined out on NetBSD (at line 2860 in Python 2.7). PyCurses_KeyName, which seems related (line 2111) is also not compiled on NetBSD. This is presumably because NetBSD's libcurses doesn't provide this functionality. These functions work when _cursesmodule.c is linked to ncurses rather than BSD curses. Could the preprocessor directives be changed to omit these functions only if the platform is NetBSD AND ncurses is not being used? |
|||
| msg130941 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2011年03月15日 01:34 | |
I don't think we have any committers who run NetBDS. Can you attach your patch here? I take it the other NetBSD checks are still required? |
|||
| msg136052 - (view) | Author: Gregory P. Smith (gregory.p.smith) * (Python committer) | Date: 2011年05月15日 22:44 | |
unassigning, i don't have time to tackle netbsd issues right now. |
|||
| msg305389 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2017年11月01日 18:16 | |
Currently the default curses library on NetBSD provides all guarded functions. All these guards no longer needed. And they were removed in issue31891. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:05 | admin | set | github: 53876 |
| 2017年11月01日 18:16:08 | serhiy.storchaka | set | status: open -> closed superseder: Make curses compiling on NetBSD 7.1 and tests passing nosy: + serhiy.storchaka messages: + msg305389 resolution: out of date stage: resolved |
| 2011年06月01日 06:31:42 | terry.reedy | set | versions: - Python 2.6, Python 2.5, Python 3.1 |
| 2011年05月15日 22:44:34 | gregory.p.smith | set | assignee: gregory.p.smith -> messages: + msg136052 |
| 2011年03月15日 15:58:37 | gregory.p.smith | set | files:
+ _cursesmodule.c.diff assignee: gregory.p.smith keywords: + patch nosy: + gregory.p.smith |
| 2011年03月15日 01:34:45 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg130941 |
| 2010年08月24日 10:15:13 | bgreen | create | |