Package: python2.4-scipy Version: 0.3.2-6 Severity: minor Tags: patch
After forming a cow cluster object with scipy.cow.machine_cluster(), when starting the cluster, a progress bar appears, yet appears to be unresponsive whenever it takes any significant amount of time for the operation to complete. It appears the author intended to have '.' characters appear at 1 per second, but none appear until the operation is completed. Adding a sys.stdout.flush() statement fixes it: *** /usr/lib/python2.4/site-packages/scipy/cow/cow.py Fri Aug 12 15:11:34 2005 --- cow.py Fri Aug 12 15:11:16 2005 *************** *** 152,157 **** --- 152,158 ---- while not self.is_running(): if stop_watch.current_lap() > 1: sys.stdout.write('.') + sys.stdout.flush() stop_watch.mark_lap() elapsed = stop_watch.elapsed() if (elapsed - minute * 60) > 60: -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages python2.4-scipy depends on: ii atlas3-base [liblapack.s 3.6.0-19 Automatically Tuned Linear Algebra ii fftw2 [fftw2-double] 2.1.3-16 Library for computing Fast Fourier ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libg2c0 1:3.3.5-13 Runtime library for GNU Fortran 77 ii libgcc1 1:3.4.3-13 GCC support library ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li ii python 2.3.5-2 An interactive high-level object-o ii python2.4 2.4.1-2 An interactive high-level object-o ii python2.4-numeric 23.8-1 Numerical (matrix-oriented) Mathem ii python2.4-scipy-core 0.3.2-3 low level utilities for scipy (for ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]