[Tutor] Deleted dictionary length not reporting

eryksun eryksun at gmail.com
Wed Jul 17 05:16:15 CEST 2013


On Tue, Jul 16, 2013 at 10:55 PM, Jim Mooney <cybervigilante at gmail.com> wrote:
>> That's very strange. print is not supposed to be buffered, it should always
>> print immediately. I have no ideas about that.
>
> Something winsound must do, since I printed out the time at the end of
> each loop and the loop delays for the length of each sound clip, which
> are a few seconds long.
>
> Tue Jul 16 19:48:01 2013
> Tue Jul 16 19:48:12 2013
> Tue Jul 16 19:48:16 2013
> Tue Jul 16 19:48:22 2013
> Tue Jul 16 19:48:25 2013
>
> but the print that's in the loop doesn't appear until the loop is
> done, eve after I put the enumerate where it should go.

I cannot reproduce this in the console. Are you using an IDE? In that
case it could be an issue with a stdout proxy or a buffered pipe.


More information about the Tutor mailing list