News for hackers. Stuff that matters.
Re:Python: Uncovering the Overlooked Core Functionalities by zelphirkalt on Wednesday July 26, 2023 @07:33AM (#36875970)
A perhaps more appropriate name for your 'log' would be 'peek'. Log reminds of logging, which usually does not return a value, but writes to stdout or a file or similar.
Re:Python: Uncovering the Overlooked Core Functionalities by gpderetta on Wednesday July 26, 2023 @09:20AM (#36877207)
but that's exactly what log does, it is a pipeline filter that logs the content to standard output but otherwise it is passthrough.