[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread SilentGhost
Change by SilentGhost : -- keywords: +3.8regression stage: -> test needed type: crash -> behavior ___ Python tracker ___ ___ Python

[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Kovid Goyal
Kovid Goyal added the comment: The issue is obvious with a simple glance at the code. Either the Cookie constructor needs to change version = None to zero or some other integer or the various methods in that module need to handle a None version. I dont personally care about this issue any mo

[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a sample script to reproduce this that worked fine before Python 3.8? -- nosy: +xtreak ___ Python tracker ___ _

[issue38828] cookiejar.py broken in 3.8

2019-11-17 Thread Kovid Goyal
New submission from Kovid Goyal : In python 3.8 cookiejar.py is full of code that compares cookie.version to integers, which raises as exception when cookie.version is None. For example, in set_ok_version() and set_ok_path(). Both the Cookie constructor and _cookie_from_cookie_tuple() explici