New submission from Devika Sondhi :
As per XML 1.0 and 1.1 specs, the null character is treated as invalid in an
XML doc. (https://en.wikipedia.org/wiki/Valid_characters_in_XML)
Shouldn't invalid xml characters be omitted while escaping?
The current behavior(tested on Python 3.7) is as fo
Devika Sondhi added the comment:
I wasn't aware of this. Thanks for clarifying
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.
New submission from Devika Sondhi :
textwrap.wrap does not seem to preserve tab character ('\t') in the text if it
is not separated from other characters by a space.
Example:
>>> textwrap.wrap("Here is\tone line of text that is going to be wrapped af
Devika Sondhi added the comment:
Linux (unlike Windows) allows naming a file with a trailing dot. The issue with
file name such as '.blah.' is that it does not have an extension and one would
expect the base-name without extension to be returned as '.blah.' and not
New submission from Devika Sondhi :
posixpath.splitext('.blah.') returns ('.blah', '.') while the expectation was
to return an empty extension at the end.
--
messages: 332157
nosy: Devika Sondhi
priority: normal
severity: normal
status: open
title: spl