This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author toast12
Recipients toast12
Date 2016-10-19.21:02:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476910922.79.0.695929522642.issue28478@psf.upfronthosting.co.za>
In-reply-to
Content
Our build environment uses -Wno-error. However, this causes problems enabling all the functions in built-in module 'time':

configure:11130: checking for strftime
-
-
cc1: warnings being treated as errors
conftest.c:236: error: conflicting types for built-in function 'strftime'

Because strftime was not enabled, we had problems running xmlrpc.client:

>>> from xmlrpc import client 
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "XXX/lib64/python3.5/xmlrpc/client.py", line 267, in <module>     if _day0.strftime('%Y') == '0001':      # Mac OS X AttributeError: module 'time' has no attribute 'strftime' >>>

As a workaround, I am passing -fno-builtin now. But I believe this should be handled on the python end
History
Date User Action Args
2016-10-19 21:02:02toast12setrecipients: + toast12
2016-10-19 21:02:02toast12setmessageid: <1476910922.79.0.695929522642.issue28478@psf.upfronthosting.co.za>
2016-10-19 21:02:02toast12linkissue28478 messages
2016-10-19 21:02:02toast12create