Re: send PIL.Image to django server side and get it back

2018-07-16 Thread Christos Georgiou - ΤΖΩΤΖΙΟΥ
On Monday, July 16, 2018 at 3:52:09 PM UTC+3, iMath wrote: > I also posted the question here > https://stackoverflow.com/questions/51355926/send-pil-image-to-django-server-side-and-get-it-back > > I don't know what's under the hood of sending an image from client side to > server side, so stuck b

So assignment expressions in generators…

2018-07-13 Thread ΤΖΩΤΖΙΟΥ
Self correction: assignment expressions in generator comprehensions inside a function body. -- https://mail.python.org/mailman/listinfo/python-list

So assignment expressions in generators…

2018-07-13 Thread ΤΖΩΤΖΙΟΥ
…will normally issue STORE_DEREF opcodes for the assignment? This is what I understand from reading PEP-572, just wanted to ask whether I got it right. Example of what I'm referring to: def f(): return ( (s := x*x) for x in range(5)) -- https://mail.python.org/mailman/listinfo/python-list

Re: Crazy what-if idea for function/method calling syntax

2011-07-21 Thread ΤΖΩΤΖΙΟΥ
Thanks for your input, everyone. -- http://mail.python.org/mailman/listinfo/python-list

Crazy what-if idea for function/method calling syntax

2011-07-17 Thread ΤΖΩΤΖΙΟΥ
Jumping in: What if a construct xx(*args1, **kwargs1)yy(*args2, **kwargs2) was interpreted as xxyy(*(args1+args2), **(kwargs1+kwargs2)) (Note: with **(kwargs1+kwargs2) I mean “put keyword arguments in the order given”, since dicts can't be added) This construct is currently a syntax erro