Does python 2.3.3 pty module has a bug?

A

alexteo21

Hi,

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
closed.

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

Appreciate your comments

Thanks,
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top