[issue33568] Inconsistent behavior of non-ascii handling in EmailPolicy.fold

2018-05-19 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6639 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33568> ___ ___ Py

[issue33568] Inconsistent behavior of non-ascii handling in EmailPolicy.fold

2018-05-18 Thread Licht Takeuchi
Change by Licht Takeuchi : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue33568> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue33568] Inconsistent behavior of non-ascii handling in EmailPolicy.fold

2018-05-18 Thread Licht Takeuchi
New submission from Licht Takeuchi : policy.utf8 is False, but non-ascii are not well-handled. Repro. code. ``` Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-05-18 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6625 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33524> ___ ___ Py

[issue33525] os.spawnvpe() returns error code 127 instead of raising when env argument is invalid.

2018-05-16 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6578 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33471] string format with 'n' failling with french locales

2018-05-15 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6535 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33471> ___ ___ Py

[issue33471] string format with 'n' failling with french locales

2018-05-14 Thread Licht Takeuchi
Licht Takeuchi added the comment: I am working on this and have found why this is happening. I'll make PR in few days. -- nosy: +licht-t ___ Python tracker <https://bugs.python.org/is

[issue20087] Mismatch between glibc and X11 locale.alias

2018-05-05 Thread Licht Takeuchi
Licht Takeuchi added the comment: Hi all, The locale in the latest Ubuntu 18.04 contains en_IL as valid locale, but Python cannot resolve this. This makes test failure in pandas. https://github.com/pandas-dev/pandas/issues/20957 en_IL has significant impact because this is English locale and

[issue33432] No locale alias mapping key for en_IL

2018-05-05 Thread Licht Takeuchi
Licht Takeuchi added the comment: en_IL has significant impact because this is English locale and now supported in the latest Ubuntu. Is there any plan to add only en_IL? -- ___ Python tracker <https://bugs.python.org/issue33

[issue33432] No locale alias mapping key for en_IL

2018-05-05 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6400 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33432> ___ ___ Py

[issue33432] No locale alias mapping key for en_IL

2018-05-05 Thread Licht Takeuchi
New submission from Licht Takeuchi : The new locale en_IL is added to glibc. But there is no key for this in the locale alias mapping. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=146ffc146fe3bf97cd3bc1a649f1ffa8acfa4a0d https://github.com/python/cpython/blob/master/Lib/locale.py#L850

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-11 Thread Licht Takeuchi
Licht Takeuchi added the comment: PR is now fixed so as to follow the behavior on Python 2.7! -- ___ Python tracker <https://bugs.python.org/issue32255> ___ ___

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-10 Thread Licht Takeuchi
Licht Takeuchi added the comment: Thanks for your investigation! Would you mind if I create a new patch? -- ___ Python tracker <https://bugs.python.org/issue32

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-09 Thread Licht Takeuchi
Licht Takeuchi added the comment: The current implementation does not quote in most case. IOW, the patch which makes all '' is quoted is the breaking change (Note that there are some applications does not use quoting). -- ___ Pyth

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-09 Thread Licht Takeuchi
Licht Takeuchi added the comment: I think the first one is buggy and there are two reasons. 1. The both are valid CSV. The double quoting is unnecessary. Some other applications, eg. Excel, does not use the double quoting. Also, the current implementation make to quote only if the string is

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-09 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +4672 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32255> ___ ___ Py

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-08 Thread Licht Takeuchi
New submission from Licht Takeuchi : Inconsistent behavior while reading a single column CSV. I have the patch and waiting for the CLA response. # Case 1 ## Input ``` import csv fp = open('test.csv', 'w') w = csv.writer(fp) w.writerow(['']) w.writerow(['1&#