Casper da Costa-Luis

Results 558 comments of Casper da Costa-Luis

Ok finally reviewed this (!) Referring to the screenshots: > Trivial ok > Nested loops this is identical to setting `leave=False` for nested loops. That was the original nested implementation...

```python from time import sleep print(sleep(1), "task 3 completed") print(sleep(1), "task 2 completed") print(sleep(1), "task 1 completed") ``` will print statements in order of completion (3, 2, 1). The same...

> [905453860](https://github.com/tqdm/tqdm/pull/1054#issuecomment-905453860): By the reaction you have left I can tell that you agree that the behavior found by espdev is incorrect Oops, no that's not what I meant. Retracted...

Just a quick update on this. Currently I'm using: ```python import tqdm import logging import time class TqdmStream(object): @classmethod def write(_, msg): tqdm.tqdm.write(msg, end='') # is this required? # @classmethod...

Are you certain? There's no way a `StreamHandler` should know to look for `fp` or `pos`. Also AFAIK the `flush` method is optional for both `tqdm` and `logging`.

yes `tqdm.write` should be renamed `tqdm.print` as it tries to be a little too clever.

fixed by #1155 ([tqdm>=4.60.0](https://tqdm.github.io/releases/#v4600-2021-04-06)); please see https://github.com/tqdm/tqdm#redirecting-logging

Ah srry, right :facepalm: - please do!

you mean some variant of a spinner? Except instead you have dots filling up, resetting and refilling constantly?

It's not (currently) a use-case of `tqdm` but 1. It's been requested several times 2. I can't find a good open issue So will probably leave this open.