-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
bpo-36782: Created C API wrappers and added missing tests for functions in the PyDateTimeAPI. #13088
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
Merged
Merged
bpo-36782: Created C API wrappers and added missing tests for functions in the PyDateTimeAPI. #13088
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
d9945c2
created a c API wrapper for pyDate_FromDate and added the test
f1573d6
📜🤖 Added by blurb_it.
blurb-it[bot] 0284ced
fixed auto-alignment by vscode
8cca15f
Merge branch 'bpo-36782' of https://github.com/SimiCode/cpython into …
d9ecbf5
made changes as per PEP7
7967114
Update 2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
edison12a f6b3ab8
Refactored code as per requested changes
3b2095d
Remove Whitespace to Fix failed travis build
f6d590f
Update 2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
edison12a 7598e26
Add a new line at end of ACKS
edison12a f9e6213
Added C API function for PyDateTime_FromDateAndTime
948b2ce
Added a test for the C API wrapper of PyDateTime_FromDateAndTime
64b4ae2
Added C API function for PyDateTime_FromDateAndTime
2e8188c
Added a test for the C API wrapper of PyDateTime_FromDateAndTimeAndFold
642e802
Remove Whitespace using patchcheck
a9ada00
Added a C API function for PyTime_FromTime
f3b692e
Added a test for the C API wrapper of PyTime_FromTime
ddba978
Added a C API function for PyTime_FromTimeAndFold
64632de
Added a test for the C API wrapper of PyTime_FromTimeAndFold
501d26b
Added a C API function for PyDelta_FromDSU
9adbc3d
Added a test for the C API wrapper of PyDelta_FromDSU
237413a
Refactor code, re-edit lines longer than 80 chars
dc6ac8e
Fix Whitespace issues in DatetimeTester
d7b8a5e
List all tests that were added in this PR
ce9e56d
Update 2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
edison12a 2f3f64e
Reformat code as per PEP7 guidelines
a8817d3
Remove unused varibles from another function
ab0308a
Merge branch 'bpo-36782' of https://github.com/SimiCode/cpython into …
2781d2e
Added specific tests for the Fold Attribute
91fce02
Update 2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
edison12a 5cb05e1
Reformat code according to requested changes
6039531
Reformat code to PEP7 Guidelines
07924e6
Reformat code to PEP7 Guidelines
59d4ba0
Re-add name to blurb
0c00468
Added a backtick to blurb file
1d4ebfc
Update 2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
matrixise 40ebd42
Remove empty line and useless comment
75cc9c0
Remove the need to initialize mandatory parameters
a9422a0
Make the macro parameter mandatory
3397abe
Resolve blurb merge conflict
6df027e
Re-arrange the order of unit-test args
48f7e03
Removed the need to initialize macro
edison12a 7e91753
Removed the need to initialize macro
edison12a 588d95a
Removed the need to initialize macro
edison12a eb3e060
Removed the need to initialize macro
edison12a 1e4db07
Removed the need to initialize macro
edison12a a9c7623
Removed the need to initialize macro
edison12a File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1853,3 +1853,4 @@ Peter Åstrand | |
| Zheao Li | ||
| Carsten Klein | ||
| Diego Rojas | ||
| Edison Abahurire | ||
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Tests/2019-05-04-21-25-19.bpo-36782.h3oPIb.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add tests for several C API functions in the :mod:`datetime` module. Patch by Edison Abahurire. |
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
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.
Uh oh!
There was an error while loading. Please reload this page.