2018-05-23 6:32 GMT+09:00 Kirill Balunov :
> Just one more variation on "assignment exression" syntax to make the list
> more complete :) Sorry, if something similar has already been suggested.
> The idea is to use function's call-like syntax in the from: `this( name =
> expr )`. I'm not sure that
On 23 May 2018 at 07:28, Jeroen Demeyer wrote:
> Hello,
>
> Both PEP 573 and PEP 575 deal with built-in functions. Additionally, some
> people (Stefan Behnel, Robert Bradshaw, Jim Pivarski and me) are currently
> brainstorming about a yet-to-be-written PEP to allow calling the underlying
> C func
On 2018-05-22 14:32, Kirill Balunov wrote:
# in global scope everything works ok since locals is globals
>>> while len( this( val = dummy() ) ) >= 0:
... print(val)
[0, 1]
[0, 1, 2]
[0, 1, 2, 3]
Interesting! Although the example with a len() and mutable default ar
2018-05-23 9:05 GMT+03:00 Terry Reedy :
> On 5/22/2018 5:32 PM, Kirill Balunov wrote:
>
>> Just one more variation on "assignment exression" syntax to make the list
>> more complete :) Sorry, if something similar has already been suggested.
>> The idea is to use function's call-like syntax in the
2018-05-23 14:19 GMT+03:00 Masayuki YAMAMOTO :
> FYI, I found a package [*] which binds a value by function keyword (I'm
> not the author). Note that the package writes a value in the global (or
> raise an error if the name already exists in local) unlike your idea.
>
> [*] https://pypi.org/projec
2018-05-23 17:54 GMT+03:00 Mike Miller :
>
> On 2018-05-22 14:32, Kirill Balunov wrote:
>
>> # in global scope everything works ok since locals is globals
>> >>> while len( this( val = dummy() ) ) >= 0:
>> ... print(val)
>> [0, 1]
>> [0, 1, 2]
>> [0, 1, 2, 3]
>>
>
> In
The name `this` is problematic as it has a well established, different
meaning
in lots of other languages. It's basically `self` for languages that assign
to it
automatically. Full stack Python users will have `this` meaning two
different
things at each end, and they cannot alias it in either of th
Hi All
There are about 347 results for the following query on the google search
engine:
"python multiprocessing pyinstaller crash site:stackoverflow.com"
The windows fork bomb is a known frequent occurrence. I know that
freeze_support is supposed to be called but this issue still catches me out
m
On Wed, May 23, 2018 at 12:32:36AM +0300, Kirill Balunov wrote:
> Just one more variation on "assignment exression" syntax to make the list
> more complete :) Sorry, if something similar has already been suggested.
> The idea is to use function's call-like syntax in the from: `this( name =
> expr