Roundup Robot added the comment:
New changeset 31adcc4c4391 by R David Murray in branch '2.7':
#5904: Add sentence about the encoding of strftime's result.
http://hg.python.org/cpython/rev/31adcc4c4391
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Caelyn. I used your patch but added a clause showing explicitly how do
the unicode conversion. I decided to not add that to the datetime, docs, since
they are already pretty clear.
--
nosy: +r.david.murray
resolution: - fixed
stage: needs
Éric Araujo added the comment:
This may help:
http://blog.codekills.net/2013/04/13/strftime--table-of-locale-aware-formatters-in-different-locales/
--
nosy: +wolever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5904
David Wolever added the comment:
It may also be worth noting that the strftime formatters table now includes
examples from different locales:
https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
This change was introduced about a year ago.
--
Caelyn McAulay added the comment:
Added to Docs that strftime will return a locale dependent byte string.
--
keywords: +patch
nosy: +math_foo
Added file: http://bugs.python.org/file34940/issue5904.patch
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5904
___
Changes by Éric Araujo mer...@netwok.org:
--
assignee: georg.brandl - d...@python
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5904
___
Changes by Georg Brandl ge...@python.org:
--
title: strftime docs do not explain locale affect on result string - strftime
docs do not explain locale effect on result string
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5904