[issue26952] argparse help formatter crashes

2019-07-07 Thread Alexander Kapshuna
Alexander Kapshuna added the comment: I have a feeling that nesting groups has nothing to do with it. Got same traceback when I forgot to fill my mutually exclusive groups with arguments. import argparse parser = argparse.ArgumentParser() group = parser.add_mutually_exclusive_group

[issue36043] FileCookieJar constructor don't accept PathLike

2019-02-21 Thread Alexander Kapshuna
Alexander Kapshuna added the comment: Oh sorry, I just thought that everybody has forgotten about this part of library. Nevermind my patch then, your work is certainly better, matrixise. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36043] FileCookieJar constructor don't accept PathLike

2019-02-19 Thread Alexander Kapshuna
New submission from Alexander Kapshuna : FileCookieJar and it's subclasses don't accept Paths and DirEntrys. Minimal code to reproduce: === import pathlib from http.cookiejar import FileCookieJar saved_cookies = pathlib.Path('my_cookies.txt') jar = FileCookieJar(saved_cookies) === Results