New submission from Paul Durack:

I have started receiving the following warnings which are starting to prevent 
an ipython session from functioning:

/home/user/anaconda2/envs/cdatcmornclnco/lib/python2.7/json/encoder.py:207: 
DeprecationWarning: Interpreting naive datetime as local 2017-04-12 
17:15:36.235571. Please add timezone info to timestamps.
  chunks = self.iterencode(o, _one_shot=True)
/home/user/anaconda2/envs/cdatcmornclnco/lib/python2.7/json/encoder.py:207: 
DeprecationWarning: Interpreting naive datetime as local 2017-04-12 
17:15:36.267401. Please add timezone info to timestamps.
  chunks = self.iterencode(o, _one_shot=True)

The only way I can continue is to terminate the ipython shell and open a new 
instance.

Can someone tell me what I need to do to solve the issue? Is there a json 
import somewhere that requires some new arguments?

----------
components: Library (Lib)
messages: 291582
nosy: Paul Durack
priority: normal
severity: normal
status: open
title: DeprecationWarning in json/encoder.py
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to