[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-03-03 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-03-02 Thread Pablo Galindo Salgado

Pablo Galindo Salgado  added the comment:


New changeset 4991cf47c487500fdedc34f0a2eb4b7468a67c3c by Batuhan Taşkaya in 
branch 'master':
bpo-39802: Only expose set_escdelay and set_tabsize when curses extensions are 
activated (GH-18705)
https://github.com/python/cpython/commit/4991cf47c487500fdedc34f0a2eb4b7468a67c3c


--
nosy: +pablogsal

___
Python tracker 

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



[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-02-29 Thread Batuhan Taskaya


Change by Batuhan Taskaya :


--
nosy: +jcea
versions: +Python 3.9

___
Python tracker 

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



[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-02-29 Thread Batuhan Taskaya


Change by Batuhan Taskaya :


--
keywords: +patch
pull_requests: +18065
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18705

___
Python tracker 

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



[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-02-29 Thread Batuhan Taskaya

New submission from Batuhan Taskaya :

Python can't build curses on Solaris because of extensions aren't activated

/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function 
‘_curses_get_escdelay_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3272:28: error: 
‘ESCDELAY’ undeclared (first use in this function)
 return PyLong_FromLong(ESCDELAY);
^
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3272:28: note: each 
undeclared identifier is reported only once for each function it appears in
/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function 
‘_curses_set_escdelay_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3296:29: error: 
implicit declaration of function ‘set_escdelay’ 
[-Werror=implicit-function-declaration]
 return PyCursesCheckERR(set_escdelay(ms), "set_escdelay");
 ^
/export/home/isidentical/cpython/Modules/_cursesmodule.c: In function 
‘_curses_set_tabsize_impl’:
/export/home/isidentical/cpython/Modules/_cursesmodule.c:3335:29: error: 
implicit declaration of function ‘set_tabsize’ 
[-Werror=implicit-function-declaration]
 return PyCursesCheckERR(set_tabsize(size), "set_tabsize");

--
components: Build
messages: 363005
nosy: BTaskaya
priority: normal
severity: normal
status: open
title: Ensure {get,set}_escdelay and {get,set}_tabsize only implemented when 
the extensions are activated
type: compile error

___
Python tracker 

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