Re: what does := means simply?

2018-05-22 Thread Peter J. Holzer
On 2018-05-20 16:36:12 -0400, Richard Damon wrote: > 2) Try to maximize portability by not only looking at the specs, but > also common implementations, and choosing the options that maximize the > acceptability of your output to tools that don't fully meet the specs. > Also, if a common

Re: what does := means simply?

2018-05-22 Thread Peter J. Holzer
On 2018-05-20 11:37:14 -0400, Dennis Lee Bieber wrote: > On Sun, 20 May 2018 12:38:59 +0100, bartc declaimed the > following: > >Then the /same software/ probably wouldn't work anywhere else. I mean > >taking source which doesn't know or care about what system its on, and >

Re: what does := means simply?

2018-05-20 Thread Richard Damon
On 5/20/18 11:52 AM, Dennis Lee Bieber wrote: > On Sun, 20 May 2018 12:11:34 +0100, bartc declaimed the > following: > >> I think that's the wrong approach. You need to work to the lowest common >> denominator, not the highest. (Within reason anyway.) >> > If a reader can

Re: what does := means simply?

2018-05-20 Thread bartc
On 20/05/2018 16:37, Dennis Lee Bieber wrote: On Sun, 20 May 2018 12:38:59 +0100, bartc declaimed the Just for giggles, I decided to write the start of a PPM reader (it only handles P6 binary, doesn't have the code for the other styles, and doesn't incorporate PPM

Re: what does := means simply?

2018-05-20 Thread bartc
On 20/05/2018 10:19, Peter J. Holzer wrote: On 2018-05-19 13:43:14 +0100, bartc wrote: Text files, yes. Not 'text mode' which is something inflicted on us by the C library. I very much enjoy the fact that the programming languages I've used to process text files in the last 15 years (i.e.

Re: what does := means simply?

2018-05-20 Thread bartc
On 20/05/2018 02:58, Dennis Lee Bieber wrote: On Sun, 20 May 2018 02:13:01 +0100, bartc declaimed the following: I think if you are going to be generating ppm, then the best choice of format, for the widest acceptance, is to separate the header groups with a newline. (As I

Re: what does := means simply?

2018-05-20 Thread Peter J. Holzer
On 2018-05-19 13:43:14 +0100, bartc wrote: > On 19/05/2018 12:33, Peter J. Holzer wrote: > > On 2018-05-19 11:33:26 +0100, bartc wrote: > > > > Not you understand why some of us don't bother with 'text mode' files. > > > > "Not" or "Now"? > > Now. > > > Yesterday you claimed that you worked

Re: what does := means simply?

2018-05-19 Thread bartc
On 20/05/2018 01:39, Dennis Lee Bieber wrote: On Sat, 19 May 2018 23:14:08 +0100, bartc declaimed the following: The comments and examples here: https://en.wikipedia.org/wiki/Netpbm_format, and all actual ppm files I've come across, suggest the 3 parts of the header (2 parts

Re: what does := means simply?

2018-05-19 Thread bartc
On 19/05/2018 20:47, Dennis Lee Bieber wrote: On Sat, 19 May 2018 13:28:41 +0100, bartc declaimed the following: Out of interest, how would Python handle the headers for binary file formats P4, P5, P6? I'd have a go but I don't want to waste half the day trying to get past

Re: what does := means simply?

2018-05-19 Thread MRAB
On 2018-05-19 13:28, bartc wrote: On 19/05/2018 12:38, Chris Angelico wrote: On Sat, May 19, 2018 at 8:33 PM, bartc wrote: But then you are acknowledging the file is, in fact, ASCII. Cool! So what happens if you acknowledge that a file is ASCII, and then it starts with a

Re: what does := means simply?

2018-05-19 Thread bartc
On 19/05/2018 12:33, Peter J. Holzer wrote: On 2018-05-19 11:33:26 +0100, bartc wrote: Not you understand why some of us don't bother with 'text mode' files. "Not" or "Now"? Now. Yesterday you claimed that you worked with them for 40 years. Text files, yes. Not 'text mode' which is

Re: what does := means simply?

2018-05-19 Thread bartc
On 19/05/2018 12:38, Chris Angelico wrote: On Sat, May 19, 2018 at 8:33 PM, bartc wrote: But then you are acknowledging the file is, in fact, ASCII. Cool! So what happens if you acknowledge that a file is ASCII, and then it starts with a byte value of E3 ? It depends.

Re: what does := means simply?

2018-05-19 Thread Chris Angelico
On Sat, May 19, 2018 at 8:33 PM, bartc wrote: > On 19/05/2018 02:26, Chris Angelico wrote: >> >> On Sat, May 19, 2018 at 11:10 AM, bartc wrote: > > >>> The .ppm (really .pbm) file which was the subject of this sub-thread has >>> its >>> header defined using

Re: what does := means simply?

2018-05-19 Thread Peter J. Holzer
On 2018-05-19 11:33:26 +0100, bartc wrote: > On 19/05/2018 02:26, Chris Angelico wrote: > > On Sat, May 19, 2018 at 11:10 AM, bartc wrote: > > > The .ppm (really .pbm) file which was the subject of this sub-thread has > > > its > > > header defined using ASCII. I don't think an

Re: what does := means simply?

2018-05-19 Thread bartc
On 19/05/2018 02:26, Chris Angelico wrote: On Sat, May 19, 2018 at 11:10 AM, bartc wrote: The .ppm (really .pbm) file which was the subject of this sub-thread has its header defined using ASCII. I don't think an EBCDIC 'P4' etc will work. "Defined using ASCII" is a tricky

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 11:10 AM, bartc wrote: > On 19/05/2018 02:00, Steven D'Aprano wrote: >> >> On Fri, 18 May 2018 20:42:05 -0400, Dennis Lee Bieber wrote: >> >>> Unfortunately -- in the current era, "text" means "a defined >> >> encoding", >> >> Text has ALWAYS meant

Re: what does := means simply?

2018-05-18 Thread bartc
On 19/05/2018 02:00, Steven D'Aprano wrote: On Fri, 18 May 2018 20:42:05 -0400, Dennis Lee Bieber wrote: Unfortunately -- in the current era, "text" means "a defined encoding", Text has ALWAYS meant "a defined encoding". It is just that for a long time, people could get away with

Re: what does := means simply?

2018-05-18 Thread bartc
On 19/05/2018 01:42, Dennis Lee Bieber wrote: On Fri, 18 May 2018 22:53:06 +0100, bartc declaimed the following: I've worked with text files for 40 years. Now Python is telling me I've been doing it wrong all that time! Look at the original code I posted from which this

Re: what does := means simply?

2018-05-18 Thread Steven D'Aprano
On Fri, 18 May 2018 20:42:05 -0400, Dennis Lee Bieber wrote: > Unfortunately -- in the current era, "text" means "a defined encoding", Text has ALWAYS meant "a defined encoding". It is just that for a long time, people could get away with assuming that the encoding they used was the

Re: what does := means simply?

2018-05-18 Thread bartc
On 19/05/2018 01:00, Chris Angelico wrote: On Sat, May 19, 2018 at 7:53 AM, bartc wrote: I've worked with text files for 40 years. Now Python is telling me I've been doing it wrong all that time! Look at the original code I posted from which this Python was based. That

Re: what does := means simply?

2018-05-18 Thread Steven D'Aprano
On Fri, 18 May 2018 22:53:06 +0100, bartc wrote: > I've worked with text files for 40 years. Now Python is telling me I've > been doing it wrong all that time! Welcome to the 20th Century! We interchange text and data with people from all over the world now, and one or two of them use characters

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 7:53 AM, bartc wrote: > I've worked with text files for 40 years. Now Python is telling me I've been > doing it wrong all that time! > > Look at the original code I posted from which this Python was based. That > creates a file - just a file - without

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 19:57, Chris Angelico wrote: On Sat, May 19, 2018 at 4:48 AM, bartc wrote: The translation was straightforward, EXCEPT that I wasted an hour trying to figure out to write /a single byte/ to a file. The following eventually worked, using a binary file as a text

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 20:15, Alexandre Brault wrote: On 2018-05-18 02:48 PM, bartc wrote: Note this version doesn't use any imports at all. Except your version doesn't read its parameter from the command line args and doesn't output to standard output, which all of the others do. That's why the

Re: what does := means simply?

2018-05-18 Thread Alexandre Brault
On 2018-05-18 02:48 PM, bartc wrote: > On 18/05/2018 18:27, bartc wrote: > >> (BTW here's a port of that benchmark based on the Lua code: >> >>    https://pastebin.com/raw/ivDaKudX > > And here's the payoff: I was able to use this version to port it to > Python. One which works better the the

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 4:53 AM, bartc wrote: > On 18/05/2018 19:36, Chris Angelico wrote: >> >> On Sat, May 19, 2018 at 3:27 AM, bartc wrote: > > >> Once again, you're confusing *porting* with *emulating*. > > > This is the point. Those libraries are specific

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 4:48 AM, bartc wrote: > The translation was straightforward, EXCEPT that I wasted an hour trying to > figure out to write /a single byte/ to a file. The following eventually > worked, using a binary file as a text one had Unicode problems, but it's > still

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 19:36, Chris Angelico wrote: On Sat, May 19, 2018 at 3:27 AM, bartc wrote: Once again, you're confusing *porting* with *emulating*. This is the point. Those libraries are specific to Python and cannot be ported. And very often they don't just provide

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 18:27, bartc wrote: (BTW here's a port of that benchmark based on the Lua code:   https://pastebin.com/raw/ivDaKudX And here's the payoff: I was able to use this version to port it to Python. One which works better the the originals, as they wrote output to the screen

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 3:27 AM, bartc wrote: > On 18/05/2018 15:47, Chris Angelico wrote: >> >> On Sat, May 19, 2018 at 12:37 AM, bartc wrote: >>> >>> Have a look at some of the implementations here (to test some Mandelbrot >>> benchmark): >>> >>> >>>

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 15:47, Chris Angelico wrote: On Sat, May 19, 2018 at 12:37 AM, bartc wrote: Have a look at some of the implementations here (to test some Mandelbrot benchmark): https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/mandelbrot.html The three

Re: what does := means simply?

2018-05-18 Thread Chris Angelico
On Sat, May 19, 2018 at 12:37 AM, bartc wrote: > Have a look at some of the implementations here (to test some Mandelbrot > benchmark): > > https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/mandelbrot.html > > The three Python examples all use 'import sys'

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 13:29, Steven D'Aprano wrote: On Fri, 18 May 2018 12:09:02 +0100, bartc wrote: On 18/05/2018 02:45, Steven D'Aprano wrote: On Fri, 18 May 2018 02:17:39 +0100, bartc wrote: Normally you'd use the source code as a start point. In the case of Python, that means Python source

Re: what does := means simply?

2018-05-18 Thread Steven D'Aprano
On Fri, 18 May 2018 12:09:02 +0100, bartc wrote: > On 18/05/2018 02:45, Steven D'Aprano wrote: >> On Fri, 18 May 2018 02:17:39 +0100, bartc wrote: >> >>> Normally you'd use the source code as a start point. In the case of >>> Python, that means Python source code. But you will quickly run into

Re: what does := means simply?

2018-05-18 Thread Ned Batchelder
On 5/18/18 7:09 AM, bartc wrote: On 18/05/2018 02:45, Steven D'Aprano wrote: On Fri, 18 May 2018 02:17:39 +0100, bartc wrote: Normally you'd use the source code as a start point. In the case of Python, that means Python source code. But you will quickly run into problems because you will

Re: what does := means simply?

2018-05-18 Thread bartc
On 18/05/2018 02:45, Steven D'Aprano wrote: On Fri, 18 May 2018 02:17:39 +0100, bartc wrote: Normally you'd use the source code as a start point. In the case of Python, that means Python source code. But you will quickly run into problems because you will often see 'import lib' and be unable

Re: what does := means simply?

2018-05-18 Thread Rhodri James
On 18/05/18 02:45, Steven D'Aprano wrote: To successful port anything but the most trivial code, you actually have to understand *both* languages -- including the syntax, semantics, built- in language features, AND libraries. A point that was once made to me about translating human languages

Re: what does := means simply?

2018-05-18 Thread Bob van der Poel
On Thu, May 17, 2018, 8:45 PM Ben Finney, wrote: > Steven D'Aprano writes: > > > If you want to *really* see code that is hard to port, you should try > > porting an Inform 7 program to another language. Any other language. > >

Re: what does := means simply?

2018-05-17 Thread Ben Finney
Steven D'Aprano writes: > If you want to *really* see code that is hard to port, you should try > porting an Inform 7 program to another language. Any other language. Does porting Inform 7 code to Inform 6 count? They are very different languages :-) --

Re: what does := means simply?

2018-05-17 Thread Ian Kelly
On Thu, May 17, 2018, 7:50 PM Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > > If you want to *really* see code that is hard to port, you should try > porting an Inform 7 program to another language. Any other language. > How about Z-code? *ducks* > --

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Fri, 18 May 2018 02:17:39 +0100, bartc wrote: > Normally you'd use the source code as a start point. In the case of > Python, that means Python source code. But you will quickly run into > problems because you will often see 'import lib' and be unable to find > lib.py anywhere. Seriously?

Re: what does := means simply?

2018-05-17 Thread bartc
On 17/05/2018 18:19, Steven D'Aprano wrote: On Thu, 17 May 2018 15:50:17 +0100, bartc wrote: Of course, full-on Python code is pretty much impossible to port anywhere else anyway. *rolls eyes* Any pair of languages will have code that is hard to port from one to the other without jumping

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Fri, May 18, 2018 at 3:48 AM, Steven D'Aprano wrote: > On Fri, 18 May 2018 03:44:25 +1000, Chris Angelico wrote: > >> I'm morbidly curious as to what "half-on Python code" would look like. > > Writing Java in Python. Or C in Python. Or Lisp in Python. Or

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Fri, 18 May 2018 03:44:25 +1000, Chris Angelico wrote: > I'm morbidly curious as to what "half-on Python code" would look like. Writing Java in Python. Or C in Python. Or Lisp in Python. Or ... -- Steve -- https://mail.python.org/mailman/listinfo/python-list

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Fri, May 18, 2018 at 3:34 AM, Steven D'Aprano wrote: > On Thu, 17 May 2018 15:50:17 +0100, bartc wrote: > >> Of course, full-on Python code is pretty much impossible to port >> anywhere else anyway. > > Oh, I forgot to mention... given that Python is

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 15:50:17 +0100, bartc wrote: > Of course, full-on Python code is pretty much impossible to port > anywhere else anyway. Oh, I forgot to mention... given that Python is frequently used to prototype applications before the production-ready application is written in C, C++ or

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 17:50:22 +0300, Marko Rauhamaa wrote: > bartc : >> Anyway, try this: >> >> def showarg(x): print(x) >> >> def dummy(*args,**kwargs): pass >> >> dummy(a=showarg(1),*[showarg(2),showarg(3)]) >> >> This displays 2,3,1 showing that evaluation is not

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 15:50:17 +0100, bartc wrote: > On 17/05/2018 15:03, Chris Angelico wrote: >> On Thu, May 17, 2018 at 9:58 PM, bartc wrote: >>> On 17/05/2018 04:54, Steven D'Aprano wrote: On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: >

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Fri, May 18, 2018 at 1:27 AM, Ian Kelly wrote: > This raises a new issue for me w.r.t. PEP 572. The spelling of := > makes it unlikely to accidentally use in place of ==, but what about > := and = confusion? For example, say I mean to write this: > > foo(a := 42, b,

Re: what does := means simply?

2018-05-17 Thread Ian Kelly
On Thu, May 17, 2018 at 9:06 AM, Chris Angelico wrote: > On Fri, May 18, 2018 at 12:30 AM, bartc wrote: >> Anyway, try this: >> >> def showarg(x): print(x) >> >> def dummy(*args,**kwargs): pass >> >> dummy(a=showarg(1),*[showarg(2),showarg(3)]) >>

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Fri, May 18, 2018 at 12:30 AM, bartc wrote: > Anyway, try this: > > def showarg(x): print(x) > > def dummy(*args,**kwargs): pass > > dummy(a=showarg(1),*[showarg(2),showarg(3)]) > > This displays 2,3,1 showing that evaluation is not left to right. > Keyword args

Re: what does := means simply?

2018-05-17 Thread bartc
On 17/05/2018 15:03, Chris Angelico wrote: On Thu, May 17, 2018 at 9:58 PM, bartc wrote: On 17/05/2018 04:54, Steven D'Aprano wrote: On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: what does := proposes to do? A simple example (not necessarily a

Re: what does := means simply?

2018-05-17 Thread Marko Rauhamaa
bartc : > Anyway, try this: > > def showarg(x): print(x) > > def dummy(*args,**kwargs): pass > > dummy(a=showarg(1),*[showarg(2),showarg(3)]) > > This displays 2,3,1 showing that evaluation is not left to right. Nice one! Marko --

Re: what does := means simply?

2018-05-17 Thread bartc
On 17/05/2018 14:32, Steven D'Aprano wrote: On Thu, 17 May 2018 12:58:43 +0100, bartc wrote: On 17/05/2018 04:54, Steven D'Aprano wrote: On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: what does := proposes to do? A simple example (not necessarily a GOOD example, but

Re: what does := means simply?

2018-05-17 Thread Tobiah
On 05/16/2018 08:54 PM, Steven D'Aprano wrote: On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: what does := proposes to do? Simply, it proposes to add a new operator := for assignment (or binding) as an expression, as an addition to the = assignment operator which

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Thu, May 17, 2018 at 9:58 PM, bartc wrote: > On 17/05/2018 04:54, Steven D'Aprano wrote: >> >> On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: >> >>> what does := proposes to do? > > >> A simple example (not necessarily a GOOD example, but a SIMPLE one): >>

Re: what does := means simply?

2018-05-17 Thread Chris Angelico
On Thu, May 17, 2018 at 11:34 PM, Steven D'Aprano wrote: > On Thu, 17 May 2018 14:56:32 +0200, Antoon Pardon wrote: > >> On 17-05-18 03:44, Chris Angelico wrote: > >>> https://www.python.org/dev/peps/pep-0572/ > >> Just wondering, but in discussing this PEP

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 15:54:27 +0300, Serhiy Storchaka wrote: > 17.05.18 15:07, Paul Moore пише: >> It's a good example, because it makes it clear that the benefits of := >> are at least in some cases, somewhat dependent on the fact that Python >> evaluates arguments left to right :-) > > Unless

Re: what does := means simply?

2018-05-17 Thread Marko Rauhamaa
Antoon Pardon : > On 17-05-18 03:44, Chris Angelico wrote: > I just ask because sometimes I have a loop that now often is written > as follows: > > while True: > a = prepare_a() > b = prepare_b() > if not condition(a, b): > break >

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 14:56:32 +0200, Antoon Pardon wrote: > On 17-05-18 03:44, Chris Angelico wrote: >> https://www.python.org/dev/peps/pep-0572/ > Just wondering, but in discussing this PEP has one considered making the > ';' into an expression too, with the value being the value of the last >

Re: what does := means simply?

2018-05-17 Thread Steven D'Aprano
On Thu, 17 May 2018 12:58:43 +0100, bartc wrote: > On 17/05/2018 04:54, Steven D'Aprano wrote: >> On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: >> >>> what does := proposes to do? > >> A simple example (not necessarily a GOOD example, but a SIMPLE one): >> >> print(x :=

Re: what does := means simply?

2018-05-17 Thread Antoon Pardon
On 17-05-18 03:44, Chris Angelico wrote: > On Thu, May 17, 2018 at 11:33 AM, Abdur-Rahmaan Janhangeer > wrote: >> what does := proposes to do? >> >> pep572 >> > If you read the PEP, you'll find an answer to your question. > > https://www.python.org/dev/peps/pep-0572/ > >

Re: what does := means simply?

2018-05-17 Thread Serhiy Storchaka
17.05.18 15:07, Paul Moore пише: It's a good example, because it makes it clear that the benefits of := are at least in some cases, somewhat dependent on the fact that Python evaluates arguments left to right :-) Unless it evaluates them in other order. --

Re: what does := means simply?

2018-05-17 Thread Paul Moore
On 17 May 2018 at 12:58, bartc wrote: > On 17/05/2018 04:54, Steven D'Aprano wrote: >> >> On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: >> >>> what does := proposes to do? > >> A simple example (not necessarily a GOOD example, but a SIMPLE one): >> >>

Re: what does := means simply?

2018-05-17 Thread bartc
On 17/05/2018 04:54, Steven D'Aprano wrote: On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: what does := proposes to do? A simple example (not necessarily a GOOD example, but a SIMPLE one): print(x := 100, x+1, x*2, x**3) It's also not a good example because it

Re: what does := means simply?

2018-05-17 Thread Abdur-Rahmaan Janhangeer
thank you very much @steve i guess it will make py fly more than ever ! Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Thu, 17 May 2018, 07:57 Steven D'Aprano, < steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: >

Re: what does := means simply?

2018-05-16 Thread Steven D'Aprano
On Thu, 17 May 2018 05:33:38 +0400, Abdur-Rahmaan Janhangeer wrote: > what does := proposes to do? Simply, it proposes to add a new operator := for assignment (or binding) as an expression, as an addition to the = assignment operator which operates only as a statement. The syntax is: name

Re: what does := means simply?

2018-05-16 Thread Abdur-Rahmaan Janhangeer
meaning that's precisely what i'm asking for Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Thu, 17 May 2018, 05:45 Chris Angelico, wrote: > On Thu, May 17, 2018 at 11:33 AM, Abdur-Rahmaan Janhangeer > wrote: > > what does := proposes to

Re: what does := means simply?

2018-05-16 Thread Chris Angelico
On Thu, May 17, 2018 at 11:33 AM, Abdur-Rahmaan Janhangeer wrote: > what does := proposes to do? > > pep572 > If you read the PEP, you'll find an answer to your question. https://www.python.org/dev/peps/pep-0572/ ChrisA --

what does := means simply?

2018-05-16 Thread Abdur-Rahmaan Janhangeer
what does := proposes to do? pep572 Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list