New submission from Timothy Pederick:
The docs are contradictory on whether or not contextlib.redirect_stdout is
reentrant, or reusable-but-not-reentrant. This would seem to be an oversight
from issue19403, which probably should have changed "reusable but not
reentrant" to
New submission from Timothy Pederick:
At present, the datetime module does not provide the capability to parse its
own output from the isoformat() methods.
strptime() can't handle timezones with colons in them (and anyway it seems to
me you'd need to try several possible form
New submission from Timothy Pederick :
The ctypes ArgumentError exception indicates the location of the problem by
argument number. It counts arguments starting from 1, not 0 as is typical in
Python.
Observed
An example (anonymised) traceback:
Traceback (most recent call last
Timothy Pederick added the comment:
Brett: Well, I was more thinking along the lines of making join() recognise
when it's been passed a bytes object, rather than changing the semantics of
indexing bytes. That would be a bit overdramatic!
But if it's wontfix, it's wontfix.
An
New submission from Timothy Pederick :
This code behaves as expected:
>>> ' '.join('cat')
'c a t'
This code does not:
>>> b'\x00'.join(b'cat')
Traceback (most recent call last):
...
b'\x00'.join(b'c