-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-59648: Nanosecond support for datetime #92078
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
SmartManoj
wants to merge
163
commits into
python:main
Choose a base branch
from
SmartManoj:patch-4
base: main
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.
Open
Changes from 8 commits
Commits
Show all changes
163 commits
Select commit
Hold shift + click to select a range
bcc712e
Nanosecond support for datetime
SmartManoj db8a9a5
📜🤖 Added by blurb_it.
blurb-it[bot] b559573
typo
SmartManoj e0e0ee9
removed Decimal
SmartManoj c0af7e9
updated probe1
SmartManoj 1678928
updated utcnow
SmartManoj 7f6b8b8
Merge branch 'main' into patch-4
SmartManoj 8492efa
Merge branch 'main' into patch-4
SmartManoj 37e77d8
nit
SmartManoj 1b500e6
don't divide
SmartManoj 049a7dd
Merge branch 'main' into pr/92078
SmartManoj 3de498e
add nanosecond
SmartManoj b0c9552
update docstring
SmartManoj 69bfcd8
truncate decimal
SmartManoj ef62206
rename to nanosecond
SmartManoj 78d4188
parse empty string
SmartManoj b56c892
Merge branch 'main' into patch-4
SmartManoj e7305a4
fix kwarg
SmartManoj 9d2f818
update logic
SmartManoj 0986e7b
lint
SmartManoj e437eaf
Merge branch 'main' into pr/92078
SmartManoj be25162
Merge branch 'main' into patch-4
SmartManoj 38c00d6
cleanup
SmartManoj e23588b
revert changes in __reduce__
SmartManoj bf71681
lint
SmartManoj dac7876
update time class
SmartManoj 2b78414
update whatsnew
SmartManoj efb694f
Change name to English
SmartManoj e4ae66d
Remove Emoji
SmartManoj f5c118d
Merge branch 'main' into pr/92078
SmartManoj 0b7a81b
update news
SmartManoj 8189e88
update time_isoformat
SmartManoj 10b69f7
update check_time_args
SmartManoj b0ebfc5
add nanosecond arg
SmartManoj adb92a6
Merge branch 'main' into pr/92078
SmartManoj 54127a2
update timedelta
SmartManoj 633ff23
add complimentary changes
SmartManoj 6687799
Merge branch 'main' into pr/92078
SmartManoj 4ca6185
add ns
SmartManoj 0c4ff5a
Merge branch 'main' into pr/92078
SmartManoj f100451
lint
SmartManoj 4f5f428
add macro
SmartManoj 6a43121
Merge branch 'main' into pr/92078
SmartManoj 9c23406
update doc
SmartManoj b125d71
declare delta_ns
SmartManoj 911ddb0
fix constructors
SmartManoj c775e96
Merge branch 'main' into pr/92078
SmartManoj 3590c7c
fix signature
SmartManoj c323ed5
Merge branch 'main' into pr/92078
SmartManoj d577bc3
fix clinic input
SmartManoj 29c8112
fix get_datetime_fromdateandtime
SmartManoj 13dcc7b
fix macro
SmartManoj 26c8800
fix get_time_fromtime
SmartManoj b30edbc
force regenerate clinic output
SmartManoj aed1afa
add append_keyword_nanosecond
SmartManoj 75553a2
fix tests
SmartManoj dad595d
Merge branch 'main' into pr/92078
SmartManoj 6f4db2b
Merge branch 'main' into pr/92078
SmartManoj ebaf468
remove test_backdoor_resistance
SmartManoj 00e3b45
minor fixes
SmartManoj f9d468c
update tests
SmartManoj 4959a6a
Merge branch 'main' into pr/92078
SmartManoj eabd9a5
fix test
SmartManoj 7d8183c
Merge branch 'main' into pr/92078
SmartManoj 70320ca
bug fix
SmartManoj 10ac2d6
temp
SmartManoj bda6c29
Merge branch 'main' into pr/92078
SmartManoj 0bcf405
bug fix
SmartManoj 17f2943
update test
SmartManoj 2173886
temp
SmartManoj 387baf9
Merge branch 'main' into pr/92078
SmartManoj 56bc655
regen
SmartManoj 92c53b2
temp
SmartManoj 629fa5b
Merge branch 'main' into pr/92078
SmartManoj 9b73fd6
add missing arg
SmartManoj 4fefead
use const
SmartManoj 28647b0
update value
SmartManoj bdb8385
temp
SmartManoj 861e403
Update datetimetester.py
SmartManoj 7fddf11
Update datetime.h
SmartManoj 0b0b214
fix arg
SmartManoj c2ed07c
temp
SmartManoj bae2e30
Merge branch 'main' into pr/92078
SmartManoj 98297a1
lint
SmartManoj 8d80782
temp
SmartManoj 216b66b
Merge branch 'main' into pr/92078
SmartManoj c6c1084
doc
SmartManoj 1fa2290
fix arg
SmartManoj 3d44712
temp
SmartManoj eec6945
fix order
SmartManoj 243fc01
set ns
SmartManoj 30ca5fb
Update datetimetester.py
SmartManoj e359e90
lint
SmartManoj 18f5344
Update datetimetester.py
SmartManoj f6b3da8
fix call_subclass_fold
SmartManoj 90f7f74
fix pickle
SmartManoj bc241f0
Update datetime.rst
SmartManoj ecaf671
update call_subclass_fold
SmartManoj 9853682
Update _pydatetime.py
SmartManoj f114afc
lint
SmartManoj 797dcc4
fix parse_hh_mm_ss_ff
SmartManoj 274aaee
upd ops
SmartManoj 52dff86
account floating microseconds
SmartManoj 02adcd8
test pure only now
SmartManoj b6a5155
Merge branch 'main' into pr/92078
SmartManoj e1b192a
fix nanoseconds_to_delta
SmartManoj a3c165b
temp
SmartManoj 840f3a8
fix time_repr
SmartManoj 0e6db63
temp
SmartManoj c141c4a
temp
SmartManoj 120ed24
update delta_total_seconds
SmartManoj 132f84b
update delta_new
SmartManoj e462ac8
temp
SmartManoj 069f6ae
Merge branch 'main' into pr/92078
SmartManoj 15b5f25
remove unused var
SmartManoj 6ef2801
temp
SmartManoj f3a4344
fix delta_getstate
SmartManoj 7ad5b67
update test_extreme_timedelta
SmartManoj ad22865
revert delta_new changes
SmartManoj 49605ae
temp
SmartManoj e7feec3
temp
SmartManoj 16f821b
Merge branch 'main' into pr/92078
SmartManoj 6a5c4f0
remove microseconds float check
SmartManoj 436775e
Clarify microseconds handling after divmod operation
SmartManoj f8d3402
separate long numbers
SmartManoj ed876f2
update delta_new
SmartManoj 4d3573a
temp
SmartManoj f208cd4
Merge branch 'main' into pr/92078
SmartManoj 77c4865
temp
SmartManoj 9750570
fix multiply_int_timedelta
SmartManoj 4062a59
temp
SmartManoj 45108a0
Merge branch 'main' into pr/92078
SmartManoj 01f273a
temp
SmartManoj d3857b2
Merge branch 'main' into pr/92078
SmartManoj 469e077
lint
SmartManoj 17decdc
move tmp functions
SmartManoj fd92889
remove partial duplicated logic
SmartManoj 632eabd
update nanoseconds_to_delta for large number
SmartManoj 33f382f
handle -ve leftover_ns
SmartManoj eb6e479
comment zero_delta due to weird bug
SmartManoj 1c374af
temp-
SmartManoj 7638a54
fix test_microsecond_rounding
SmartManoj 8609df2
Merge branch 'main' into pr/92078
SmartManoj 16becbe
normalize
SmartManoj 236a840
fix segmentation fault
SmartManoj 52bd399
temp-
SmartManoj 5c29759
lint
SmartManoj 1bfcc9e
Merge branch 'main' into pr/92078
SmartManoj 960ae24
typo
SmartManoj 7ab1368
add overflow test
SmartManoj fe8403c
fix rounding
SmartManoj dc92ee8
fix segfault
SmartManoj 02f9e2b
temp-
SmartManoj 10b28c1
Merge branch 'main' into pr/92078
SmartManoj 28b661c
round if it has decimal points
SmartManoj 1aeb27e
update datatype for windows
SmartManoj 9abd6af
Merge branch 'main' into pr/92078
SmartManoj ef51bb3
fix order
SmartManoj 28fd687
remove space
SmartManoj 52a4436
remove extra dot
SmartManoj 31307d2
add pickle compatibility
SmartManoj 5e5711f
fix pickling
SmartManoj c4c5e76
lint
SmartManoj 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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2022-04-30-12-42-43.gh-issue-59648.6tZvYS.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 @@ | ||
| Nanosecond support for datetime | ||
SmartManoj marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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.