[Python-ideas] Re: Enable subscription operator for generator expressions

2020-11-18 Thread Marco Sulla
On Wed, 18 Nov 2020 at 00:31, Oscar Benjamin wrote: > I can write many things myself. That doesn't mean that it wouldn't be > good if someone already wrote it for me (and for everyone else). > What about more_itertools? ___ Python-ideas mailing list --

[Python-ideas] Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
Greetings list, What do you think of adding PyInstaller as an official part of CPython? Among the different native exports options, PyInstaller holds a nice track of clean delivery. Instead of the project battling for its survival as any other project, if the community finds it useful enough, the

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Chris Angelico
On Thu, Nov 19, 2020 at 3:25 PM Abdur-Rahmaan Janhangeer wrote: > > Greetings list, > > What do you think of adding PyInstaller as an official > part of CPython? Among the different native exports > options, PyInstaller holds a nice track of clean delivery. > What's the advantage of having it as

[Python-ideas] Making the for statement work better with nested functions

2020-11-18 Thread Greg Ewing
Starting a new thread for this as suggested by Guido. On 18/11/20 7:20 pm, Guido van Rossum wrote: On Tue, Nov 17, 2020 at 22:12 Greg Ewing > wrote: If there's anything I would change, it would be to have the for statement create a new binding on each

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
Greetings list, > What's the advantage of having it as an official part, rather than remaining a third-party tool? Easy generation of executables. Installing a version of Python gives you a complete suite > Producing native executables is an attractive nuisance. It doesn't actually prevent peop

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Chris Angelico
On Thu, Nov 19, 2020 at 5:39 PM Abdur-Rahmaan Janhangeer wrote: > > Greetings list, > > > > What's the advantage of having it as an official part, rather than > remaining a third-party tool? > > Easy generation of executables. Installing a version of Python > gives you a complete suite > > > Produ

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Greg Ewing
On 19/11/20 5:59 pm, Chris Angelico wrote: What's the advantage of having it as an official part, rather than remaining a third-party tool? The advantage is that you know it will always be there and will be compatible with the relevant Python, rather than being at the mercy of a 3rd party to ke

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
Greetings list, > The purpose of executables is to make it harder to apply bug fix releases of Python? I thought that was an unwanted side effect. I think you mis-understood me by me making myself not clear I mean bundling this library: https://github.com/pyinstaller/pyinstaller with CPython dis

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Stéfane Fermigier
Hi, I haven't tried PyInstaller (yet) but I believe it addresses a useful need. IIUC, PyInstaller helps create single-file standalone executables for Python apps, which can be convenient for several use cases (both for server and desktop apps). If this is correct, then it's name might be a bit mi

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Steven D'Aprano
On Thu, Nov 19, 2020 at 10:49:13AM +0400, Abdur-Rahmaan Janhangeer wrote: > Greetings list, > > > The purpose of executables is to make it harder to apply bug fix > releases of Python? I thought that was an unwanted side effect. > > I think you mis-understood me by me making myself not clear > >

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Paul Moore
On Thu, 19 Nov 2020 at 07:42, Stéfane Fermigier wrote: > But cooperation between the PyInstaller team and the Python Packaging > Authority, if this doesn't happen already, could probably help. It doesn't, but that is simply because the PyInstaller team have never reached out *asking* to be invo