[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-06 Thread Antoine Pitrou

On Sat, 5 Sep 2020 07:39:10 -0400
Edwin Zimmerman  wrote:
> On 9/5/2020 3:59 AM, Emily Bowman wrote:
> > On Fri, Sep 4, 2020 at 3:11 PM Stefan Krah  > > wrote:
> >
> >
> >
> > It is not hyperbolic at all. You can get permissions for a certain set
> > of modules (the stdlib), but not for PyPI packages.
> >
> > Of course the upgrade is not via the network, that is beside the point.
> >
> >
> > If you can update to a breaking Python version, but aren't allowed one 
> > single point version of an external module, you have a process problem.  
> The point remains that these situations exist where it is simply impossible 
> to run 'pip install xyz' due to network restrictions.  I know this firsthand 
> because I have written software for enforcing total internet blocks.  Pushing 
> Python to a pip-only module will preclude its use in such situations.  Again, 
> this is not hypothetical.  This is the software world I deal with every day.

Unless you rely on an externally-maintained distribution that provides
setuptools for you (such as Anaconda, or others).  They are typically
meant to deal with that kind of situation.  Of course, that does not
invalidate the argument that it would be nice if Python itself could
still be used without dependencies for that.

Regards

Antoine.

___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/27H2PT6Y7UXWCPSC3242HVHV6HKRKN63/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] pty2

2020-09-06 Thread Soumendra Ganguly
Hello.
   I am currently using a tiling window manager ( i3wm ). While
using pty.spawn(), resizing xterm's X window also resizes the
underlying terminal size; as a result, output of commands such as
ls(1) become incorrectly laid out, making them very hard to read.

Further, I have noticed that the pty library has several long-standing
issues (such as bpo-26228).

I have made several improvements to the pty and tty libraries. I
propose that we create a new library "pty2" (
https://github.com/8vasu/pypty2 ) while keeping "pty" for backward
compatibility, because there are several unmerged conflicting PRs
related to these issues. That being said, "pty2" was created as a
drop-in replacement for "pty". It has been tested on Linux, FreeBSD,
NetBSD, and OpenBSD. While there are pty libraries for python on PyPI
that have greater scope, a minimal, yet solid official pty.spawn()
will make it very convenient for programmers to perform quick tests.

Thank you!
Soumendra Ganguly
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/PQ36UPCRNLQBJ5AK3CHW4J2KWBEWBFCS/
Code of Conduct: http://python.org/psf/codeofconduct/