New submission from Serhiy Storchaka: >>> import xml.etree.cElementTree as ET >>> ET.XML('<root><empty /></root>').findtext('empty') b''
---------- components: XML files: etree_finditer_empty.patch keywords: patch messages: 179580 nosy: eli.bendersky, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: ElementTree.findtext() returns empty bytes object instead of empty string type: behavior versions: Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file28675/etree_finditer_empty.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16922> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com