cpython icon indicating copy to clipboard operation
cpython copied to clipboard

WIP: bpo-1100942: Add datetime.time.strptime and datetime.date.strptime

Open matrixise opened this issue 7 years ago • 20 comments

Add datetime.date.strptime and datetime.time.strptime.

Fix the documentation of _strptime._strptime, the documentation was wrong, return a 3-tuple and not a 2-tuple

Co-authored-by: Alexander Belopolsky [email protected] Co-authored-by: Amaury Forgeot d'Arc [email protected] Co-authored-by: Berker Peksag [email protected] Co-authored-by: Josh-sf [email protected] Co-authored-by: Juarez Bochi [email protected] Co-authored-by: Maciej Szulik [email protected] Co-authored-by: Stéphane Wirtel [email protected] Co-authored-by: Matheus Vieira Portela [email protected]

https://bugs.python.org/issue1100942

matrixise avatar Feb 07 '18 10:02 matrixise

This PR is for a very long issue, since 2005. We have a PR in 2018 :+1:

matrixise avatar Feb 07 '18 10:02 matrixise

I restarted the travis job. It still did not do the full CPython test suite. So please rebase :)

Mariatta avatar Feb 09 '18 17:02 Mariatta

Thanks, I didn't see your message, works on this issue today.

matrixise avatar Feb 15 '18 08:02 matrixise

@Mariatta rebased and the tests pass on the CIs

matrixise avatar Feb 15 '18 08:02 matrixise

Hi @pganssle

thank you for your review, I am going to fix it asap but I am not the author of the code, just the author of the PR. so, maybe I would need your help. Thanks

matrixise avatar May 15 '18 17:05 matrixise

@pganssle I just rebased my branch with master. I am going to work on this PR. Do you want to help me because you are mister dateutil ;-)

matrixise avatar Oct 05 '18 16:10 matrixise

@matrixise Sorry this is on my list but probably can't get to it until the end of the month. 😟

pganssle avatar Oct 05 '18 19:10 pganssle

@pganssle ok, in this case, I will try to fix all the issues alone ;-) but I am not worried ;-)

matrixise avatar Oct 05 '18 23:10 matrixise

Hi, I just updated this PR with master.

matrixise avatar Oct 17 '18 19:10 matrixise

@pganssle when you have time, could you review this PR, we started together, just comment when you find a mistake, thanks

matrixise avatar Oct 25 '18 15:10 matrixise

ping @pganssle ;-)

matrixise avatar Nov 04 '18 06:11 matrixise

@pganssle thanks for your review, I am going to update this PR asap.

matrixise avatar Nov 04 '18 21:11 matrixise

ok, rebased with the last master.

matrixise avatar Nov 11 '18 14:11 matrixise

ok, I will check and try to fix that, but because I don't know this part and the main patch was not mine, that will be difficult.

but okay for the fix. thanks for the review.

matrixise avatar Nov 11 '18 17:11 matrixise

@pganssle Are you ready for a new review of this PR? I will continue my PR ;-)

matrixise avatar Feb 20 '19 13:02 matrixise

@matrixise Yes sorry about that, I will put it on my list for the next few days, possibly this weekend (though I have an event I'm mentoring at that may take a lot of my time).

pganssle avatar Feb 20 '19 14:02 pganssle

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

bedevere-bot avatar Mar 04 '19 23:03 bedevere-bot

@vstinner I started to rewrite the _check_invalid_datetime_specs in C. I need to refactor date_strptime

matrixise avatar Mar 18 '19 03:03 matrixise

@matrixise, @pganssle There's been a lot of work done on this one. Is it something we should try to move forward on? Thanks!

csabella avatar Nov 16 '19 02:11 csabella

This PR is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 15 '22 00:08 github-actions[bot]

@matrixise, @pganssle, @csabella while there has been lots of work for this where are we at on this? Its around a bit over two years old for the PR but, these new features would be great!

zitterbewegung avatar May 23 '24 00:05 zitterbewegung