[issue39404] Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default
Change by Archana Pandey : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39404> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39404] Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default
New submission from Archana Pandey : use of setwinsize function returns empty if the values of rows and cols differes from(24,80). Issue occurs only on SLES 12.4. sample code: #!/usr/bin/env python from pexpect import pxssh try: s = pxssh.pxssh() hostname = 'someIp' username = 'username' password = 'password' s.login(hostname, username, password) s.setwinsize(1000,1000) # setting default winsize works s.sendline('uname -r') # run a command s.prompt() # match the prompt print(s.before)# print everything before the prompt. s.logout() except pxssh.ExceptionPxssh as e: print("pxssh failed on login.") print(e) -- components: Library (Lib) messages: 360356 nosy: archi-pandey priority: normal severity: normal status: open title: Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default type: behavior versions: Python 3.6 ___ Python tracker <https://bugs.python.org/issue39404> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22938] assignment operator += does not behave same as a = a + b for List
New submission from Archana Pandey: List is mutable with += operator. But the same cannot be achieved when we use arithmatic + and assignment = operator used Please Find the attached python module -- components: Windows files: Operator_bug_python.py messages: 231633 nosy: archi-pandey, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: assignment operator += does not behave same as a = a + b for List type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file37269/Operator_bug_python.py ___ Python tracker <http://bugs.python.org/issue22938> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com