sebbASF commented on issue #339:
URL:
https://github.com/apache/tooling-trusted-releases/issues/339#issuecomment-3573126328
Note that ```__repr__``` methods can also be invoked by f-strings; these are
generally rather more expensive than ```__str__```.
For example the following useful debugging shortcut uses it:
```log.debug(f"{bigobject=}")```
Also the construct:
```
if logger.isEnabledFor(logging.INFO):
logger.info("...")
```
relies on the same level being used for the check and the log; they can get
out of sync.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]