New submission from Vyacheslav :
date_str = "2019-06-06 10:02:00"
datetime_obj = datetime.strptime(date_str, "%Y-%m-%d %H:%M:%S")
datetime_obj_utc1 =
datetime_obj.replace(tzinfo=pytz.timezone("America/New_York"))
datetime_obj_utc2 = pytz.timezon
Changes by Vyacheslav Rafalskiy :
Added file: http://bugs.python.org/file47109/bad_file.xml
___
Python tracker
<http://bugs.python.org/issue31303>
___
___
Python-bug
New submission from Vyacheslav Rafalskiy:
In Python 3.5.4 and 3.6.2, both on Windows and Linux, parsing a manifestly
correct xml file like:
xml.etree.ElementTree.parse('bad_file.xml')
raises:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1023:
New submission from Vyacheslav Grigoryev:
I'm creating a master stand-alone module on Python which should run some
children via subprocess module. Working with children is done in separate
worker threads. Additionally I need to receive real-time output from a child so
in a worker thr
Vyacheslav Rafalskiy added the comment:
Take look at this one too: http://bugs.python.org/issue2118
It is supposed to be fixed.
--
nosy: +Vyacheslav.Rafalskiy
___
Python tracker
<http://bugs.python.org/issue20