[issue33008] urllib.request.parse_http_list incorrectly strips backslashes

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker _

[issue33008] urllib.request.parse_http_list incorrectly strips backslashes

2018-03-06 Thread Ned Deily
Change by Ned Deily : -- nosy: +barry, orsenthil, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue33008] urllib.request.parse_http_list incorrectly strips backslashes

2018-03-05 Thread W. Trevor King
New submission from W. Trevor King : Python currently strips backslashes from inside quoted strings: $ echo 'a="b\"c",d=e' | python3 -c 'from sys import stdin; from urllib.request import parse_http_list; print(parse_http_list(stdin.read()))' ['a="b"c"', 'd=e'] It should be printing: ['a