New submission from Ales Kvapil :
The LWPCookieJar.save() creates an *.lwp file containing session cookies in
non-safe 644 mode (everyone can read it). This is not a secure behavior,
especially for storing session keys or session cookies. The file should be
created in 600 mode in my opinion
New submission from Ales Kvapil :
After removing inline flags (deprecated in https://bugs.python.org/issue22493)
piping patterns will not work:
pats = [r'(?m)^line.continues$', r'(?s)begin.*?end']
re.compile('|'.join(pats))
Maybe there should be introduced
Ales Kvapil added the comment:
See also https://bugs.python.org/issue33658
--
___
Python tracker
<https://bugs.python.org/issue22493>
___
___
Python-bugs-list m
Ales Kvapil added the comment:
Maybe there should be introduced some method to merge patterns as just piping
patterns will not work:
pats = [r'(?m)^line.continues$', r'(?s)begin.*?end']
re.compile('|'.join(pats))
--
nosy: +aleskva