[issue7208] Getpass echo's password to screen on 2.6, but not on 2.5 or 3.1

2009-10-26 Thread Peter Saunders
New submission from Peter Saunders p...@fodder.org.uk: Only sucessfully replicated on solaris. When running getpass() - it goes into non echo mode, however, once enter is pressed, the password is echoed to the screen. E.g. /opt/python/2.6.3/bin/python -c 'import getpass; x=getpass.getpass

[issue7208] Getpass echo's password to screen on 2.6, but not on 2.5 or 3.1

2009-10-26 Thread Peter Saunders
Changes by Peter Saunders p...@fodder.org.uk: -- keywords: +patch Added file: http://bugs.python.org/file15201/getpass.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7208

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-15 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: Tested on Linux, and repeated the issue - just to confirm this isn't a Solaris specific issue. Tested using dummy_threading - bug does not appear when that is used. Added _verbose=True to threads, and log_to_stderr(SUBDEBUG) set for Process

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
New submission from Peter Saunders p...@fodder.org.uk: I have an example code that works fine on Python 2.6.3, but when run in Python 3.1.1 - after a very short period of time, will go wrong. Summary: We have a queue, and when the queue has something in it (a list), we start a thread to deal

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: Further information: it doesn't fail everytime in Python 3.1 - usually 1 in 4, or 1 in 5 times. It never fails with Python 2.6.3 Example output from the script when its failing (python 3.1): Starting data1 Starting data2 Started subproc: PID

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: Well, if it helps, here is the output of the dtrace script from starting of a loop with the failure, and stopping during the failure. -- Added file: http://bugs.python.org/file15126/dtrace.txt

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: If you mean, in main() instead of doing: while True: q.put([data1, data2]) t = Process(target=popJobs, args=(q, )) t.start() t.join() and doing: while True: q.put([data1, data2]) popJobs(q) instead. Then, the bug

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: Further oddness: When running the script (i've reduced its size further now, see attached): I get the following output: Reaping PID: 23215 True Started subproc: PID: 23216 : args: data1 Started subproc: PID: 23216 : args: data1 Started

[issue7123] Multiprocess Process does not always exit when run from a thread.

2009-10-14 Thread Peter Saunders
Peter Saunders p...@fodder.org.uk added the comment: Sorry for the spam on the updates :) - but, its the same thread printing this out too. I changed the print line to: curThread = threading.current_thread() print(Started subproc: PID: %d : args: %s Thread ID: %s %(newJob.pid, str(args), str

[issue4609] Allow use of 256 FD's on solaris in 32 bit mode

2008-12-09 Thread Peter Saunders
New submission from Peter Saunders [EMAIL PROTECTED]: Feature Request: Could configure etc be modified to detect if it can use enable_extended_FILE_stdio() to allow solaris to use 256 FD's while still be compiled 32 bit. This is a new feature in Solaris 10 (came in Update 4). Some futher

[issue4609] Allow use of 256 FD's on solaris in 32 bit mode

2008-12-09 Thread Peter Saunders
Changes by Peter Saunders [EMAIL PROTECTED]: -- components: +Distutils -Interpreter Core type: - feature request ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4609

[issue4609] Allow use of 256 FD's on solaris in 32 bit mode

2008-12-09 Thread Peter Saunders
Changes by Peter Saunders [EMAIL PROTECTED]: -- components: +Interpreter Core -Distutils ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4609

[issue2020] _sha256 module missing if openssl is not in a normal directory.

2008-02-06 Thread Peter Saunders
New submission from Peter Saunders: When compiling python 2.5.1 on Solaris 10 (sparc and x86), with openssl 0.9.8e - test_md5 fails with No module named _sha256. (As does doing an import md5) When compiling, setup.dist was modified, the ssl parts were uncommented, and modified to use