[issue30056] RuntimeWarning: invalid value encountered in maximum/minimum

2017-04-12 Thread Amy
New submission from Amy: I just updated to numpy 1.12.1 and am getting this Runtime Warning when using numpy.minimum or numpy.maximum: RuntimeWarning: invalid value encountered in maximum Prior to updating, I was using numpy 1.10.x and had no issues running numpy.minimum or numpy.maximum

[issue23116] Python Tutorial 4.7.1: Improve ask_ok() to cover more input values

2014-12-26 Thread Amy
New submission from Amy: https://docs.python.org/3/tutorial/controlflow.html#default-argument-values def ask_ok(prompt, retries=4, complaint='Yes or no, please!'): while True: ok = input(prompt) Suggestion: change to "ok = input(prompt).lower()" in order t

[issue4216] subprocess.Popen hangs at communicate() when child exits

2008-10-31 Thread Amy
Amy <[EMAIL PROTECTED]> added the comment: Yes, I can only replicate this issue with command to start firewall. Stopping firewall or other service commands don't have the problem. Check Point firewall is a kernel application. Somehow select system call is interrupted and can'

[issue4216] subprocess.Popen hangs at communicate() when child exits

2008-10-27 Thread Amy
New submission from Amy <[EMAIL PROTECTED]>: I have a simple program to call a shell command "service cpboot start" to start Check Point firewall on RHEL5.1. = #!/usr/bin/env python # vim: softtabstop=4 shiftwidth=4 expandtab import os from subprocess imp