casra-developers commented on a change in pull request #16110:
URL: https://github.com/apache/airflow/pull/16110#discussion_r640640171
##########
File path: airflow/windows_extensions/pty.py
##########
@@ -0,0 +1,170 @@
+"""Pseudo terminal utilities."""
+
+# Bugs: No signal handling. Doesn't set slave termios and window size.
+# Only tested on Linux.
+# See: W. Richard Stevens. 1992. Advanced Programming in the
+# UNIX Environment. Chapter 19.
+# Author: Steen Lumholt -- with additions by Guido.
Review comment:
This file is copied from the installation directory of Python. Under
Windows this is "...\Python37\Lib\pty.py". The license should be this one
[https://docs.python.org/3/license.html](https://docs.python.org/3/license.html).
We put it there to have our own tty module injected instead of the one it uses
normally.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]