[issue26929] android: test_strptime fails

2016-11-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue26929] android: test_strptime fails

2016-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c6e5f83d235 by Xavier de Gaye in branch '3.6': Issue #26929: Skip some test_strptime tests failing on Android that https://hg.python.org/cpython/rev/3c6e5f83d235 New changeset 91e0cf7f8e30 by Xavier de Gaye in branch 'default': Issue #26929: Merge

[issue26929] android: test_strptime fails

2016-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Serhiy for your help with this issue. I will push this patch with the other Android patches after 3.6 is released. -- ___ Python tracker

[issue26929] android: test_strptime fails

2016-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: exclude_ymd_3.patch LGTM. -- stage: patch review -> commit review ___ Python tracker ___ ___ Pytho

[issue26929] android: test_strptime fails

2016-11-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : Added file: http://bugs.python.org/file45456/exclude_ymd_3.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue26929] android: test_strptime fails

2016-11-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch following Serhiy comments. -- Added file: http://bugs.python.org/file45449/exclude_ymd_2.patch ___ Python tracker ___

[issue26929] android: test_strptime fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Entered new issue https://code.google.com/p/android/issues/detail?id=227388 on the AOSP issue tracker. -- ___ Python tracker ___ __

[issue26929] android: test_strptime fails

2016-11-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch attached. -- assignee: -> xdegaye components: -Cross-Build keywords: +patch stage: -> patch review versions: +Python 3.7 Added file: http://bugs.python.org/file45406/exclude_ymd.patch ___ Python tracker

[issue26929] android: test_strptime fails

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 1904 52 6 1904 52 6 1905 01 0 1904 53 7 ^^ 1906 52 0 1906 52 7 1906 52 1 1907 53 1 strftime() on Android incorrectly formats %V or %G for the last or the first incomplete week in a year. --

[issue26929] android: test_strptime fails

2016-05-04 Thread Xavier de Gaye
Xavier de Gaye added the comment: Here is the result of running on android:

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is other bug at the last week of a year: import datetime for i in range(25, 32): print(datetime.date(1906, 12, i).strftime('%Y %U %w %G %V %u')) for i in range(1, 10): print(datetime.date(1907, 1, i).strftime('%Y %U %w %G %V %u')) -

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: GNU libc says: ‘%V’ The ISO 8601:1988 week number as a decimal number (range ‘01’ through ‘53’). ISO weeks start with Monday and end with Sunday. Week ‘01’ of a year is the first week which has the majority of its d

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thus there is a gap between 1904-12-31 and 1905-1-1. This is a bug in strftime() on Android. -- ___ Python tracker ___ __

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: >>> for i in range(25, 32): ... print(datetime.date(1904, 12, i).strftime('%Y %U %w %G %V %u')) ... 1904 52 0 1904 51 7 1904 52 1 1904 52 1 1904 52 2 1904 52 2 1904 52 3 1904 52 3 1904 52 4 1904 52 4 1904 52 5 1904 52 5 1904 52 6 1904 52 6 >>>

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks. And what is the output of following code? for i in range(25, 32): print(datetime.date(1904, 12, i).strftime('%Y %U %w %G %V %u')) -- ___ Python tracker ___

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: root@generic_x86:/data/local/tmp # python Python 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 21:59:47) [GCC 4.9 20140827 (prerelease)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import datetime >>> for i in range(1, 10):

[issue26929] android: test_strptime fails

2016-05-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the output of following code? import datetime for i in range(1, 10): print(datetime.date(1905, 1, i).strftime('%Y %U %w %G %V %u')) -- nosy: +serhiy.storchaka ___ Python tracker

[issue26929] android: test_strptime fails

2016-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: test_strptime fails on an android emulator running an x86 system image at API level 21. See the attached test_output.txt file. -- components: Cross-Build, Library (Lib) files: test_output.txt messages: 264729 nosy: Alex.Willmer, belopolsky, lemburg,