simon-git: putty (main): Jacob Nevins

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Oct 24 12:53:34 BST 2022


TL;DR:
  538c8fd2 authplugin-example.py: Mention documentation.
  329a4cdd authplugin-example.py: Flush stderr.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:           2022-10-24 12:53:34

commit 538c8fd29ce89fcb69dd7af6ec372667a1b47775
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=538c8fd29ce89fcb69dd7af6ec372667a1b47775;hp=9701a3dcaa576359bc54b8c944b9f21971a2404e
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Mon Oct 24 12:45:17 2022 +0100

    authplugin-example.py: Mention documentation.
    
    (Just in case anyone's entry point is this example, and concludes they
    have to reverse-engineer the protocol from the script.)

 contrib/authplugin-example.py | 2 ++
 1 file changed, 2 insertions(+)

commit 329a4cdd7942c441403374c19b0de287a67d21b7
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=329a4cdd7942c441403374c19b0de287a67d21b7;hp=538c8fd29ce89fcb69dd7af6ec372667a1b47775
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Mon Oct 24 12:45:37 2022 +0100

    authplugin-example.py: Flush stderr.
    
    Python 3's stderr was fully-buffered when non-interactive, unlike
    Python 2 and more or less everything else, until 3.9 in 2020(!):
    https://bugs.python.org/issue13601
    
    (It would be less faff to sys.stderr.reconfigure(line_buffering=True)
    at the start, but that was only added in 3.7, whereas the 'flush'
    argument to print() dates back to 3.3, so I chose that to minimise
    the risk of version dependencies getting in the way of using this as
    a working example.)

 contrib/authplugin-example.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list