{"action":"created","issue":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/154","repository_url":"https://api.github.com/repos/WoLpH/python-progressbar","labels_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/154/comments","events_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/154/events","html_url":"https://github.com/WoLpH/python-progressbar/issues/154","id":296483429,"number":154,"title":"Progress bar display does not update","user":{"login":"durana","id":26276,"avatar_url":"https://avatars2.githubusercontent.com/u/26276?v=4","gravatar_id":"","url":"https://api.github.com/users/durana","html_url":"https://github.com/durana","followers_url":"https://api.github.com/users/durana/followers","following_url":"https://api.github.com/users/durana/following{/other_user}","gists_url":"https://api.github.com/users/durana/gists{/gist_id}","starred_url":"https://api.github.com/users/durana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durana/subscriptions","organizations_url":"https://api.github.com/users/durana/orgs","repos_url":"https://api.github.com/users/durana/repos","events_url":"https://api.github.com/users/durana/events{/privacy}","received_events_url":"https://api.github.com/users/durana/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-12T18:46:40Z","updated_at":"2018-02-13T14:23:23Z","closed_at":"2018-02-13T11:17:29Z","author_association":"NONE","body":"#### Description\r\n\r\nI 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.\r\n\r\n#### Code\r\n\r\n```python\r\n#!/usr/bin/env python\r\n\r\nimport time\r\nimport progressbar\r\n\r\nbar = progressbar.ProgressBar()\r\nfor i in bar(range(100)):\r\n    time.sleep(0.02)\r\n```\r\n\r\n#### Versions\r\n\r\n- Python version:\r\n```\r\n3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 12:04:33) \r\n[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]\r\n```\r\n- Python distribution/environment: Anaconda\r\n- Operating System: macOS\r\n- Package version: `3.35.0`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/comments/365281057","html_url":"https://github.com/WoLpH/python-progressbar/issues/154#issuecomment-365281057","issue_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/154","id":365281057,"user":{"login":"JoeSc","id":367827,"avatar_url":"https://avatars3.githubusercontent.com/u/367827?v=4","gravatar_id":"","url":"https://api.github.com/users/JoeSc","html_url":"https://github.com/JoeSc","followers_url":"https://api.github.com/users/JoeSc/followers","following_url":"https://api.github.com/users/JoeSc/following{/other_user}","gists_url":"https://api.github.com/users/JoeSc/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeSc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeSc/subscriptions","organizations_url":"https://api.github.com/users/JoeSc/orgs","repos_url":"https://api.github.com/users/JoeSc/repos","events_url":"https://api.github.com/users/JoeSc/events{/privacy}","received_events_url":"https://api.github.com/users/JoeSc/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T14:23:23Z","updated_at":"2018-02-13T14:23:23Z","author_association":"NONE","body":"I'm not quite sure how the underlying code works, but this change seems to fix the progressbar\r\nhttps://gist.github.com/JoeSc/ef01c281318d99605ad4b49668f2b503"}}
{"actor":{"display_login":"JoeSc"}}