Timeline for What does the "yield" keyword do in Python?
Current License: CC BY-SA 4.0
146 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27 at 2:56 | answer | added | Onyedikachi Oko - Dexter | timeline score: 0 | |
Jun 16 at 21:22 | answer | added | Ammighorbani | timeline score: -1 | |
May 23 at 13:23 | comment | added | hassan javaid | Yield in Python used to create a generator function. Generator function behaves like an iterator, which can be used in loop to retrieve items one at a time. When a generator function is called, it returns a generator object without executing the function immediately. When next() is called on the generator object, the function executes until it reaches a yield statement, which returns the yielded value and pauses the function's execution, maintaining its state. When next() is called again, the function resumes execution right after the yield statement, until it reaches another yield or returns. | |
Apr 22 at 10:49 | comment | added | Walter |
Guys the line: if distance <= max_dist and distance >= min_dist: can be shortened to if min_dist <= distance <= max_dist:
|
|
Mar 24 at 4:11 | history | edited | Mateen Ulhaq | CC BY-SA 4.0 |
Add documentation link.
|
S Mar 18 at 17:45 | history | suggested | NormalCoderPerson | CC BY-SA 4.0 |
Condense first two sentences into one single, clearer sentence.
|
Mar 16 at 18:22 | review | Suggested edits | |||
S Mar 18 at 17:45 | |||||
Feb 18 at 20:49 | review | Suggested edits | |||
Feb 19 at 10:07 | |||||
Aug 8, 2023 at 14:04 | comment | added | Sadegh Moayedizadeh | Here you can read a full explanation. | |
S Jun 21, 2023 at 12:53 | history | suggested | Leo |
Added yield tag
|
|
Jun 17, 2023 at 17:52 | review | Suggested edits | |||
S Jun 21, 2023 at 12:53 | |||||
Feb 15, 2023 at 20:38 | history | edited | Muhammad Asadullah | CC BY-SA 4.0 |
added programming language reference for better clarity and future references
|
Nov 28, 2022 at 23:55 | history | rollback | Martijn Pieters |
Rollback to Revision 41
|
|
Nov 26, 2022 at 22:27 | history | rollback | Martijn Pieters |
Rollback to Revision 45
|
|
Nov 23, 2022 at 9:21 | history | edited | Super Kai - Kazuya Ito |
edited tags
|
|
Nov 14, 2022 at 1:43 | history | edited | Mateen Ulhaq |
A question with version-specific python-2.7 and python-3.x tags is pragmatically just "python" to 99.9% of users.
|
|
Nov 7, 2022 at 13:23 | history | edited | oguz ismail |
edited tags
|
|
Nov 6, 2022 at 19:41 | history | edited | Super Kai - Kazuya Ito |
edited tags
|
|
Nov 6, 2022 at 18:43 | history | edited | Super Kai - Kazuya Ito | CC BY-SA 4.0 |
edited tags; edited title
|
Nov 6, 2022 at 18:18 | answer | added | Super Kai - Kazuya Ito | timeline score: 3 | |
Oct 13, 2022 at 12:03 | answer | added | Roland | timeline score: 5 | |
Oct 2, 2022 at 9:31 | answer | added | My Car | timeline score: 3 | |
Jun 5, 2022 at 22:03 | history | edited | Mateen Ulhaq |
edited tags
|
|
May 22, 2022 at 0:57 | answer | added | Raymond Hettinger | timeline score: 3 | |
Apr 18, 2022 at 10:31 | history | edited | Braiam |
edited tags
|
|
Jan 7, 2022 at 5:40 | answer | added | Vinod Srivastav | timeline score: 5 | |
Dec 29, 2021 at 16:02 | answer | added | yash bhangare | timeline score: 17 | |
Dec 29, 2021 at 8:32 | answer | added | Conjure.Li | timeline score: 0 | |
Dec 5, 2021 at 11:14 | answer | added | michalmonday | timeline score: 5 | |
Nov 9, 2021 at 6:28 | answer | added | Ted Shaneyfelt | timeline score: 8 | |
S Oct 11, 2021 at 21:07 | history | suggested | Wouter | CC BY-SA 4.0 |
Corrected the link, as the format did not work in <sub>
|
Oct 11, 2021 at 15:09 | review | Suggested edits | |||
S Oct 11, 2021 at 21:07 | |||||
Oct 3, 2021 at 17:18 | answer | added | ToTamire | timeline score: 9 | |
Sep 14, 2021 at 4:28 | review | Suggested edits | |||
Sep 15, 2021 at 2:59 | |||||
Aug 14, 2021 at 9:08 | review | Suggested edits | |||
Aug 15, 2021 at 19:40 | |||||
Jun 14, 2021 at 19:26 | answer | added | Mayank Maheshwari | timeline score: 5 | |
Jun 14, 2021 at 12:27 | answer | added | Siva Sankar | timeline score: 3 | |
Jun 12, 2021 at 19:47 | history | rollback | Buddy Bob |
Rollback to Revision 36
|
|
Apr 14, 2021 at 12:24 | review | Suggested edits | |||
Apr 14, 2021 at 22:40 | |||||
Mar 5, 2021 at 15:54 | history | notice added | Martijn Pieters | Needs detailed answers | |
Jan 27, 2021 at 2:45 | review | Suggested edits | |||
Jan 27, 2021 at 10:37 | |||||
Sep 15, 2020 at 12:23 | review | Suggested edits | |||
Sep 15, 2020 at 18:22 | |||||
Aug 22, 2020 at 6:48 | answer | added | Aaron_ab | timeline score: 16 | |
Feb 26, 2020 at 21:04 | history | edited | John Smith | CC BY-SA 4.0 |
added 4 characters in body
|
Jan 17, 2020 at 10:17 | answer | added | Swati Srivastava | timeline score: 12 | |
S Dec 29, 2019 at 11:09 | history | bounty ended | U13-Forward | ||
S Dec 29, 2019 at 11:09 | history | notice removed | U13-Forward | ||
S Dec 25, 2019 at 3:07 | history | bounty started | U13-Forward | ||
S Dec 25, 2019 at 3:07 | history | notice added | U13-Forward | Reward existing answer | |
Jun 20, 2019 at 3:15 | review | Suggested edits | |||
Jun 20, 2019 at 5:01 | |||||
May 2, 2019 at 19:35 | history | edited | Alec | CC BY-SA 4.0 |
added 14 characters in body
|
Mar 23, 2019 at 13:55 | answer | added | Rafael | timeline score: 87 | |
Feb 22, 2019 at 12:11 | answer | added | thavan | timeline score: 30 | |
Nov 20, 2018 at 11:31 | review | Suggested edits | |||
Nov 20, 2018 at 12:36 | |||||
Sep 9, 2018 at 13:25 | answer | added | Andy Jazz | timeline score: 31 | |
Dec 14, 2017 at 19:21 | history | edited | linusg | CC BY-SA 3.0 |
deleted 4 characters in body
|
Nov 14, 2017 at 12:42 | review | Suggested edits | |||
Nov 14, 2017 at 13:56 | |||||
Nov 14, 2017 at 12:02 | answer | added | Wizard | timeline score: 157 | |
Oct 3, 2017 at 11:30 | answer | added | Chen A. | timeline score: 22 | |
Jul 30, 2017 at 15:58 | history | edited | martineau | CC BY-SA 3.0 |
Edited question title and removed language tag.
|
May 15, 2017 at 9:29 | review | Suggested edits | |||
May 15, 2017 at 9:37 | |||||
Apr 29, 2017 at 17:22 | answer | added | Ahmad Ismail | timeline score: 39 | |
Mar 22, 2017 at 16:24 | history | rollback | Taryn |
Rollback to Revision 31
|
|
Mar 21, 2017 at 20:40 | history | edited | m87 | CC BY-SA 3.0 |
added 208 characters in body
|
Feb 13, 2017 at 8:32 | history | edited | Steve Chambers | CC BY-SA 3.0 |
Improved title
|
Jan 30, 2017 at 18:35 | history | edited | jperelli | CC BY-SA 3.0 |
deleted 3 characters in body
|
Jan 15, 2017 at 14:51 | history | edited | Dimitris Fasarakis Hilliard | CC BY-SA 3.0 |
deleted 9 characters in body
|
Jan 15, 2017 at 14:51 | history | rollback | Dimitris Fasarakis Hilliard |
Rollback to Revision 25
|
|
Jan 9, 2017 at 2:46 | review | Suggested edits | |||
Jan 9, 2017 at 3:39 | |||||
Jan 2, 2017 at 12:09 | answer | added | Gavriel Cohen | timeline score: 83 | |
S Dec 29, 2016 at 17:10 | history | edited | Paul Brinkley | CC BY-SA 3.0 |
improved formatting
|
S Dec 29, 2016 at 17:10 | history | suggested | iYoung | CC BY-SA 3.0 |
improved formatting
|
Dec 29, 2016 at 16:28 | review | Suggested edits | |||
S Dec 29, 2016 at 17:10 | |||||
Oct 13, 2016 at 13:43 | answer | added | redbandit | timeline score: 76 | |
Oct 5, 2016 at 10:37 | history | edited | Padraic Cunningham | CC BY-SA 3.0 |
deleted 5 characters in body
|
Sep 19, 2016 at 9:49 | history | edited | SuperBiasedMan | CC BY-SA 3.0 |
edited title
|
Sep 10, 2016 at 11:37 | answer | added | Tom Fuller | timeline score: 69 | |
Aug 9, 2016 at 2:19 | review | Close votes | |||
Aug 9, 2016 at 6:57 | |||||
Jul 22, 2016 at 15:25 | history | edited | Steve Chambers | CC BY-SA 3.0 |
Quoted "yield" for consistency with other top questions
|
Jun 22, 2016 at 9:40 | answer | added | Christophe Roussy | timeline score: 50 | |
Mar 25, 2016 at 13:21 | answer | added | Bob Stein | timeline score: 295 | |
Mar 25, 2016 at 5:40 | answer | added | smwikipedia | timeline score: 77 | |
Feb 20, 2016 at 17:41 | answer | added | Dimitris Fasarakis Hilliard | timeline score: 46 | |
Nov 18, 2015 at 19:37 | answer | added | Bahtiyar Ă–zdere | timeline score: 59 | |
Oct 31, 2015 at 13:04 | history | edited | Aaron Hall♦ |
edited tags
|
|
Sep 1, 2015 at 12:42 | answer | added | Kaleem Ullah | timeline score: 71 | |
Aug 26, 2015 at 9:17 | history | edited | Mazdak | CC BY-SA 3.0 |
added 4 characters in body
|
S Aug 19, 2015 at 22:16 | history | suggested | SulfoCyaNate | CC BY-SA 3.0 |
fixed grammar
|
Aug 19, 2015 at 21:06 | review | Suggested edits | |||
S Aug 19, 2015 at 22:16 | |||||
Jul 29, 2015 at 6:11 | answer | added | Mangu Singh Rajpurohit | timeline score: 79 | |
S Jul 15, 2015 at 17:34 | history | bounty ended | rassa45 | ||
S Jul 15, 2015 at 17:34 | history | notice removed | rassa45 | ||
S Jul 13, 2015 at 18:12 | history | bounty started | rassa45 | ||
S Jul 13, 2015 at 18:12 | history | notice added | rassa45 | Reward existing answer | |
Jun 25, 2015 at 6:11 | answer | added | Aaron Hall♦ | timeline score: 577 | |
Jun 17, 2015 at 16:49 | history | edited | Mazdak | CC BY-SA 3.0 |
added 7 characters in body
|
May 20, 2015 at 6:19 | answer | added | Will | timeline score: 56 | |
May 11, 2015 at 17:32 | review | Suggested edits | |||
May 11, 2015 at 18:00 | |||||
Apr 17, 2015 at 19:26 | history | edited | Mazdak | CC BY-SA 3.0 |
added 31 characters in body
|
Mar 28, 2015 at 22:21 | review | Close votes | |||
Mar 29, 2015 at 8:13 | |||||
Jul 24, 2014 at 21:15 | answer | added | SĹ‚awomir Lenart | timeline score: 169 | |
Jul 17, 2014 at 0:11 | history | edited | jtbandes | CC BY-SA 3.0 |
more accurate and less preachy title
|
Feb 4, 2014 at 2:27 | answer | added | Mike McKerns | timeline score: 173 | |
S Jan 8, 2014 at 13:36 | history | suggested | user966588 | CC BY-SA 3.0 |
Improved link, formatted,
|
Jan 8, 2014 at 13:35 | review | Suggested edits | |||
S Jan 8, 2014 at 13:36 | |||||
Dec 20, 2013 at 13:07 | answer | added | Engin OZTURK | timeline score: 107 | |
S Oct 19, 2013 at 21:25 | history | bounty ended | alecxe | ||
S Oct 19, 2013 at 21:25 | history | notice removed | alecxe | ||
S Oct 18, 2013 at 21:19 | history | bounty started | alecxe | ||
S Oct 18, 2013 at 21:19 | history | notice added | alecxe | Reward existing answer | |
Sep 23, 2013 at 14:04 | review | Suggested edits | |||
Sep 23, 2013 at 14:14 | |||||
Aug 21, 2013 at 19:01 | answer | added | alinsoar | timeline score: 145 | |
Jul 26, 2013 at 5:33 | history | edited | Salman |
edited tags
|
|
Jun 14, 2013 at 16:36 | answer | added | Evgeni Sergeev | timeline score: 92 | |
Apr 4, 2013 at 14:56 | answer | added | aestrivex | timeline score: 221 | |
Apr 3, 2013 at 4:42 | review | Suggested edits | |||
Apr 3, 2013 at 4:47 | |||||
Feb 16, 2013 at 5:18 | review | Close votes | |||
Feb 16, 2013 at 6:25 | |||||
Feb 11, 2013 at 1:48 | history | protected | wim | ||
Jan 28, 2013 at 1:37 | answer | added | johnzachary | timeline score: 125 | |
Jan 18, 2013 at 17:25 | answer | added | Daniel | timeline score: 313 | |
Jan 16, 2013 at 6:42 | answer | added | RBansal | timeline score: 250 | |
Dec 16, 2012 at 10:17 | history | edited | Will Ness | CC BY-SA 3.0 |
WTF???!! the OP had it right, then an hour later it was BROKEN and _stayed_ broken for FOUR YEARS ??? with all these upvotes and favs?!?? (btw: lines 705+ in source code)
|
Dec 5, 2012 at 3:59 | review | Suggested edits | |||
Dec 5, 2012 at 4:06 | |||||
Oct 3, 2012 at 20:38 | answer | added | Dustin Getz | timeline score: 136 | |
Jan 11, 2012 at 14:35 | history | edited | Greg |
edited tags
|
|
Nov 29, 2011 at 2:47 | history | edited | Tadeck | CC BY-SA 3.0 |
minor formatting
|
Jun 19, 2011 at 6:33 | answer | added | ninjagecko | timeline score: 668 | |
Aug 7, 2010 at 17:49 | history | edited | Peter Mortensen | CC BY-SA 2.5 |
deleted 6 characters in body; edited title
|
Jun 4, 2010 at 20:16 | history | edited | Alex. S. | CC BY-SA 2.5 |
added 1 characters in body
|
Jun 4, 2010 at 14:22 | history | edited | Alex. S. | CC BY-SA 2.5 |
tried to be more general. added link to the source code author
|
Jun 2, 2010 at 16:28 | history | edited | Alex. S. | CC BY-SA 2.5 |
added 23 characters in body; edited title
|
May 21, 2010 at 16:43 | history | edited | Alex. S. | CC BY-SA 2.5 |
added 27 characters in body; edited title
|
Feb 19, 2010 at 12:33 | history | edited | Bite code | CC BY-SA 2.5 |
Correcting title
|
Nov 25, 2008 at 15:22 | history | edited | Scott Dorman |
Changed tag to be consistent with the other questions relating to yield.
|
|
Oct 25, 2008 at 21:22 | answer | added | user28409 | timeline score: 2561 | |
Oct 24, 2008 at 8:44 | answer | added | Claudiu | timeline score: 324 | |
Oct 24, 2008 at 2:18 | vote | accept | Alex. S. | ||
Oct 24, 2008 at 0:36 | answer | added | tzot | timeline score: 224 | |
Oct 23, 2008 at 23:32 | history | edited | Alex. S. |
edited tags
|
|
Oct 23, 2008 at 23:24 | history | edited | Alexander Kojevnikov | CC BY-SA 2.5 |
Code formatting
|
Oct 23, 2008 at 22:48 | answer | added | Bite code | timeline score: 18059 | |
Oct 23, 2008 at 22:28 | answer | added | Jason Baker | timeline score: 781 | |
Oct 23, 2008 at 22:28 | history | edited | Randy |
edited tags
|
|
Oct 23, 2008 at 22:26 | answer | added | Jon Skeet | timeline score: 250 | |
Oct 23, 2008 at 22:24 | answer | added | Douglas Mayle | timeline score: 465 | |
Oct 23, 2008 at 22:21 | history | asked | Alex. S. | CC BY-SA 2.5 |