Does python 2.3.3 pty module has a bug?

alexteo21 alexteo21 at
Fri Jun 8 13:18:43 CEST 2007


System: Solaris
Python version: 2.3.3

For a automation job, I used pexpect module together with python for
creating a ftp session automatically and downloading the file.

I notice that after closing the child.  The file descriptor is not
closed (check /proc/<process id>/fd)
After running the script for a while, I start seeing too many files
open error.

I have a development machine running Linux using python 2.3.3.  I
execute the same code on it.
The file descriptor is closed everytime after the pexpect child is

My question is - Is this a bug with pty module for solaris for python

Appreciate your comments


More information about the Python-list mailing list