Skip to content

Progress bar display does not update #154

@durana

Description

@durana

Description

I found with the latest version on PyPI, 3.35.0, that a progress bar's display does not get updated until the end when it is finished. I tested with the 3.34.3 version from PyPI, and this version updates the progress bar's display as expected.

Code

#!/usr/bin/env python

import time
import progressbar

bar = progressbar.ProgressBar()
for i in bar(range(100)):
    time.sleep(0.02)

Versions

  • Python version:
3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 12:04:33) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
  • Python distribution/environment: Anaconda
  • Operating System: macOS
  • Package version: 3.35.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions