-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up PEP-505. #119
Clean up PEP-505. #119
Conversation
mehaase
commented
Oct 18, 2016
- Replace emoji with C# spelling for operators.
- Remove some unnecessary alternative spellings.
- Add proper python code blocks.
- Other miscellany.
Hello, and thanks for your contribution! Unfortunately our records indicate you have not signed a PSF contributor agreement (CLA). For legal reasons we need you to sign this before we can look at your contribution. Once you have done everything that's needed, please reply here and someone will verify everything is in order. |
Signed contributor agreement has been submitted. |
The build check failed, @mehaase, because pygments isn't installed for the PEPs. I think if you remove your code block directives -- e.g. |
@@ -302,7 +315,7 @@ from a SQL database and formats it as JSON to send to an HTTP client:: | |||
|
|||
Both ``first_seen`` and ``last_seen`` are allowed to be ``null`` in the | |||
database, and they are also allowed to be ``null`` in the JSON response. JSON | |||
does not have a native way to represent a ``datetime``, so the server's | |||
does not have a native way to represent a ``datetime``, so the the server's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have an extra the
here.
@@ -504,10 +526,12 @@ Usage Of ``None`` In The Standard Library | |||
|
|||
The previous sections show some code patterns that are claimed to be "common", | |||
but how common are they? The attached script `find-pep505.py | |||
<https://github.com/python/peps/blob/master/pep-0505/find-pep505.py>`_ is meant to | |||
<https://hg.python.org/peps/file/tip/pep-0505/find-pep505.py>`_ is meant to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for pointing to mercurial peps repo instead of github?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I didn't realize that somebody rewrote this link when I submitted it to the peps e-mail list last year. Fixed in latest commit.
@@ -577,11 +603,11 @@ The script prints out any matches it finds. Sample:: | |||
hand, we assume that ``and`` is always incorrect for safe navigation. | |||
|
|||
The script has been tested against `test.py | |||
<https://github.com/python/peps/blob/master/pep-0505/test.py>`_ and the Python 3.4 | |||
<https://hg.python.org/peps/file/tip/pep-0505/test.py>`_ and the Python 3.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use github url here?
standard library, but it should work on any arbitrary Python 3 source code. The | ||
complete output from running it against the standard library is attached to this | ||
proposal as | ||
`find-pep505.out <https://github.com/python/peps/blob/master/pep-0505/find-pep505.out>`_. | ||
proposal as `find-pep505.out <https://hg.python.org/peps/raw-file/tip/pep-0505 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
I've merged this for you. That does not mean an endorsement. If you have further updates please create a new pull request. |