forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Update documentations of strftime function for date, time and datetime. #1
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
Open
eiffel-fl
wants to merge
19
commits into
edison12a:bpo-40643
Choose a base branch
from
eiffel-fl:datetime_documentation
base: bpo-40643
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ythonGH-19424) Automerge-Triggered-By: @brettcannon
…ythonGH-20659) * Refresh importlib.metadata from importlib_metadata 1.6.1. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
…0666) * bpo-40880: Fix invalid read in newline_in_string in pegen.c * Update Parser/pegen/pegen.c Co-authored-by: Lysandros Nikolaou <[email protected]> * Add NEWS entry Co-authored-by: Lysandros Nikolaou <[email protected]>
This is not part of the limited API but makes the buffer slots available for type specs.
…es (skipping tests in that case). (python#20681)
The documentation is now clearer than before. This commit should help pandas-dev/pandas#36745.
@eiffel-fl, I think this PR should be against the "bpo-40643" branch in this repo used for PR python#20677, rather than the "master" branch. |
That's a good point! Thank you for the review! |
edison12a
pushed a commit
that referenced
this pull request
May 19, 2022
…python#91466) Fix an uninitialized bool in exception print context. `struct exception_print_context.need_close` was uninitialized. Found by oss-fuzz in a test case running under the undefined behavior sanitizer. https://oss-fuzz.com/testcase-detail/6217746058182656 ``` Python/pythonrun.c:1241:28: runtime error: load of value 253, which is not a valid value for type 'bool' #0 0xbf2203 in print_chained cpython3/Python/pythonrun.c:1241:28 #1 0xbea4bb in print_exception_cause_and_context cpython3/Python/pythonrun.c:1320:19 python#2 0xbea4bb in print_exception_recursive cpython3/Python/pythonrun.c:1470:13 python#3 0xbe9e39 in _PyErr_Display cpython3/Python/pythonrun.c:1517:9 ``` Pretty obvious what the ommission was upon code inspection.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi.
First, I do hope you are fine and the same for your relatives.
Originally, I submitted this code to the original cpython repository (python#22477).
@taleinat informed me that there was already a PR (python#20677) to solve this documentation problem.
After discussing with him he suggested to me to add my code to your fork, then you can merge my commit with yours and add the two modifications (both python documentation and C documentation to cpython).
If there is any problem or if I was unclear do not hesitate to say it, so I will improve it.
Best regards.