[issue30063] DeprecationWarning in json/encoder.py
Paul Durack
report at bugs.python.org
Wed Apr 12 22:46:41 EDT 2017
Paul Durack added the comment:
I have attempted to quieten these using:
In [2]: import warnings
...: warnings.filterwarnings('ignore', category=DeprecationWarning)
In [3]: import vcs
/home/user/anaconda2/envs/cdatcmornclnco/lib/python2.7/json/encoder.py:207: DeprecationWarning: Interpreting naive datetime as local 2017-04-12 19:45:31.251897. Please add timezone info to timestamps.
chunks = self.iterencode(o, _one_shot=True)
However, this doesn't seem to be working
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30063>
_______________________________________
More information about the Python-bugs-list
mailing list