471,330 Members | 1,273 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Does python 2.3.3 pty module has a bug?

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

Jun 8 '07 #1
0 886

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.