Skip to content

BUG: print format fix for datetime/timedelta #120

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

Closed
wants to merge 1 commit into from

Conversation

gandalf013
Copy link
Contributor

"%lld" is only available in Python 2.7 or greater: http://docs.python.org/c-api/string.html#PyString_FromFormat.

@mwiebe
Copy link
Member

mwiebe commented Jul 26, 2011

Adding NPY_PRIlld to common.h without properly fixing the problems in all the pre-existing formatting strings would just add to the confusion. I think doing a simple #if/#else in the relevant code is better.

@gandalf013 gandalf013 closed this Aug 3, 2011
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
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.

2 participants