[issue34171] Lib/trace.cover not removed by the clean target

2018-08-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e3f20828f6b7f59baa2d25437176ee32ae7700b0 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-34171: Fix test_trace. (GH-8940) (GH-8951) https://github.com/python/cpython/commit/e3f20828f6b7f59baa2d25437176ee32ae7700b0 --

[issue34516] httplib sets unbefitting "Host" in request header when requests an ipv6 format url.

2018-08-28 Thread chen wu
chen wu added the comment: yeah, i noticed that. but this function also return host with '[]'. 183# IPv6 184if url and url[0] == '[': 185host, url = url.split(']', 1) 186host += ']' if url is [aaa:bbb]:123, host is [aaa:bbb] and url is ':123'after this process. when

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Please see here: > osipovmi@blnn724x:~ [] > $ uname -a > HP-UX blnn724x B.11.31 U ia64 HP-UX > osipovmi@blnn724x:~ [] > $ locale > LANG=de_DE.utf8 > LC_CTYPE="de_DE.utf8" > LC_COLLATE="de_DE.utf8" > LC_MONETARY="de_DE.utf8" >

[issue34516] httplib sets unbefitting "Host" in request header when requests an ipv6 format url.

2018-08-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: urrlib3 seems to handle this case at https://github.com/urllib3/urllib3/blob/c41fa8c7ed8cb7315195dc15e67958754ea276d5/src/urllib3/util/url.py#L184 . Test cases :

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread STINNER Victor
STINNER Victor added the comment: > File "/var/osipovmi/cpython/Lib/test/test_utf8_mode.py", line 214, in check > self.assertEqual(args, ascii(expected), out) > AssertionError: "['h\\xa7\\xe9']" != "['h\\xcf\\xd5']" > - ['h\xa7\xe9'] > + ['h\xcf\xd5'] > : roman8:['h\xa7\xe9'] Hum, it

[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux

2018-08-28 Thread Carlos Velasco
Carlos Velasco added the comment: This updated patch fix two missing lib/lib64 It works for me. # python3-32 -c "import sys; print('\n'.join(sys.path))" /usr/lib/python37.zip /usr/lib/python3.7 /usr/lib/python3.7/lib-dynload /root/.local/lib/python3.7/site-packages

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Running off: 217af1d38db3e1e875180c6fa160f0fc80e46003 > $ ./python -m test test_utf8_mode > Run tests sequentially > 0:00:00 [1/1] test_utf8_mode > test test_utf8_mode failed -- Traceback (most recent call last): > File

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: It unfortunately does not: > osipovmi@blnn724x:/var/osipovmi/cpython [] > $ git branch > 3.6 > 3.7 > bpo-14568 > bpo-34401 > bpo-34403 > bpo-34412 > bpo-34448 > bpo-34449 > bpo-34519 > master >

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Victor, looking to... -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread STINNER Victor
STINNER Victor added the comment: Hi, I'm the author of the UTF-8 Mode PEP (PEP 540) and its implementation. I wrote test_utf8_mode. I wasn't sure that it was a good idea to hardcode the locale encoding depending on the platform. The fact that AIX and HP-UX use different locale encoding

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8441 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- keywords: +patch pull_requests: +8440 stage: -> patch review ___ Python tracker ___

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Now I know why this cannot with Roman 8: it contains chars which are multibyte in Unicode (UTF-8) which cannot be mapped into a 7-bit/8-bit encoding. Therefore CP1252 does not work because it has Unicode chars too. ISO-8859-1 solely

[issue21145] Add the @cached_property decorator

2018-08-28 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset d658deac6060ee92b449a3bf424b460eafd99f3e by Nick Coghlan (Carl Meyer) in branch 'master': bpo-21145: Add cached_property decorator in functools (#6982) https://github.com/python/cpython/commit/d658deac6060ee92b449a3bf424b460eafd99f3e --

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Wow, this is pretty surprising. The very same patch for AIX works on HP-UX flawlessly: $ ./python -m test test_utf8_mode Run tests sequentially 0:00:00 [1/1] test_utf8_mode == Tests result: SUCCESS == 1 test OK. Total duration: 2 sec

<    1   2