Python Forum
the return statement
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the return statement
#5
No way, it's syntactically wrong, has the wrong meaning and Python is not like C.
One wrong indentation and your program just exits.

If you want to do really a change, read the mailinglist python-dev and/or work with other people on a pep and you'll see the process how the language is extended. But this needs hard work, acceptance of the Community and Guido has the last word, which is good.


Here an example how the process works

Quote:> >
> > Comments, suggestions are welcome.
> >
>
> One comment.
>
> I'm not interested in downloading a PDF. Can you rework your document
> to be in a more textual format like Markdown or reStructuredText?
> Since you're hosting on GitHub anyway, the rendering can be done
> automatically.
>
> ChrisA


What against PDF?
Anyway, I have reloaded files with most recent corrections in various formats:

PDF
https://github.com/Mikhail22/Documents/b...ks-v01.pdf

TXT
https://github.com/Mikhail22/Documents/b...ks-v01.txt

HTML(direct preview link)
http://htmlpreview.github.io/?https://ra...s-v01.html


"Markdown" is too vague - there dozens of markdown styles and
also they include subsets of HTML. It is just plain text with tags -
it cannot represent syntax in civilized form (unless I embed images
for every source example - but then it is too inconvenient for editing).
Source examples on Github will force a crappy font and replace tabs.

I suggest you just view HTML or PDF - it looks better and if you need
source - just download TXT - it has tabs preserved at least.

He is working on the pep and the discussion goes on. This came from python-list.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
the return statement - by Skaperen - May-26-2018, 03:30 AM
RE: the return statement - by Larz60+ - May-26-2018, 07:48 AM
RE: the return statement - by micseydel - May-26-2018, 09:53 PM
RE: the return statement - by Skaperen - May-27-2018, 08:42 AM
RE: the return statement - by DeaD_EyE - May-27-2018, 09:42 AM
RE: the return statement - by Larz60+ - May-27-2018, 02:07 PM
RE: the return statement - by Skaperen - May-28-2018, 04:25 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020