[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-14 Thread STINNER Victor
STINNER Victor added the comment: A solution to make time.strftime() more portable would be to split the format string, format each "%xxx" substring separately but don't pass substrings between "%xxx" to strftime(). There is a similar discussion about trailing "%": bpo-35066. --

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread Tal Einat
Change by Tal Einat : -- pull_requests: -11135, 11137 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread Tal Einat
Change by Tal Einat : -- pull_requests: -11135, 11137, 11139 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread Tal Einat
Change by Tal Einat : -- pull_requests: -11135 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
miss-islington added the comment: New changeset 77b80c956f39df34722bd8646cf5b83d149832c4 by Miss Islington (bot) in branch '2.7': bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948)

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
miss-islington added the comment: New changeset 678c5c07521caca809b1356d954975e6234c49ae by Miss Islington (bot) in branch '3.7': bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948)

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11135, 11136, 11137, 11138, 11139 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11135, 11136, 11137, 11139 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11134, 11135, 11136, 11137 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11134, 11135 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11134, 11135, 11136 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +11134 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2019-01-12 Thread Tal Einat
Tal Einat added the comment: New changeset 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7 by Tal Einat (Alexey Izbyshev) in branch 'master': bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948)

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2018-09-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2018-09-27 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2018-08-26 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +8424 stage: -> patch review ___ Python tracker ___ ___

[issue34512] Document platform-specific strftime() behavior for non-ASCII format strings

2018-08-26 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : If a format string contains code points outside of ASCII range, time.strftime() can behave in four different ways depending on the platform, the current locale and the code points: * raise a UnicodeEncodeError * return an empty string * for surrogates in