Skip to content
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

bpo-41260: C impl of datetime.date.strftime() takes different keyword arg #21712

Merged

Conversation

ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Aug 3, 2020

The parameter was named "fmt" in the Python implementation, but it
was was named "format" in the C implementation.

https://bugs.python.org/issue41260

… arg

The parameter was named "fmt" in the Python implementation, but it
was was named "format" in the C implementation.
Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh uh, I was working through this with a beginner as a mentorship opportunity -- but the patch looks correct and equivalent to what we were doing

there's another function which should be updated as well which has a similar problem

@iritkatriel
Copy link
Member

Should this be backported?

@asottile
Copy link
Contributor

Should this be backported?

I don't think so -- since it ~technically changes the signatures of the functions slightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants