[Python-ideas] Re: Use 'bin' in virtual environments on Windows

2022-07-24 Thread Eryk Sun
On 7/24/22, Barry Scott wrote: > >> On 21 Jul 2022, at 16:42, Christopher Barker wrote: > >> However, I’m no Windows expert, but I *think* the modern Windows file >> system(s?) support something like symlinks. It’s an under-the-hood >> feature, but maybe it’s possible to add a symlink for bin. >

[Python-ideas] Re: Void type

2022-07-24 Thread Paul Bryan
It's unclear to me what `Void` is meant to provide in your example. Is your hope for a `Void` value to not be passed as a parameter to the wrapped function?  On Sun, 2022-07-24 at 17:55 +, Крупенков Михаил wrote: > Hello, I'll give an example: > > def func(param="default"): >     ... > >

[Python-ideas] Re: Use 'bin' in virtual environments on Windows

2022-07-24 Thread Barry Scott
> On 21 Jul 2022, at 00:46, Svein Seldal wrote: > > > Using py in the three OS-es (unix-like, Mac and Win) has become very similar > in the last years, which is great. Making portable py code has become very > easy. However, there is one peculiarity in Win which I find annoying: virtual >

[Python-ideas] Re: Use 'bin' in virtual environments on Windows

2022-07-24 Thread Barry Scott
> On 21 Jul 2022, at 16:42, Christopher Barker wrote: > > I still am dumbfounded that this wasn’t platform I dependent in the first > place, but you know what essay about hindsight. > > However, I’m no Windows expert, but I *think* the modern Windows file > system(s?) support something like

[Python-ideas] Void type

2022-07-24 Thread Крупенков Михаил
Hello, I'll give an example: def func(param="default"): ... def func_wrapper(..., param="default"): ... func(param) We have to duplicate value of parameter "default" if we want to use this as the default. Or we can do that: def func(param="default"): ... def func_wrapper(...,