[issue32177] spammers mine emails from bugs.python.org

2017-11-30 Thread Jörn Hees
Jörn Hees added the comment: oh, how convenient... as a logged in user i can just see every other user's email... but there's more, I can just go to https://bugs.python.org/user?@startwith=0&@pagesize=3&@sort=username and see all "obfuscated" emails. A low

[issue32177] spammers mine emails from bugs.python.org

2017-11-30 Thread Jörn Hees
New submission from Jörn Hees : On every platform that i create an account on, i use a new randomized email address. This allows me to track which platforms sell my account info to spammers. The one i used for bugs.python.org now receives astonishing amounts of spam (mostly bitcoin spam atm

[issue32027] argparse allow_abbrev option also controls short flag combinations

2017-11-14 Thread Jörn Hees
Change by Jörn Hees : -- keywords: +patch pull_requests: +4344 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32027> ___ ___ Python-

[issue32027] argparse allow_abbrev option also controls short flag combinations

2017-11-14 Thread Jörn Hees
New submission from Jörn Hees : The allow_abbrev option (default True) currently is documented like this (https://docs.python.org/3/library/argparse.html#allow-abbrev): > Normally, when you pass an argument list to the parse_args() method of an > ArgumentParser, it recognizes abbreviati

[issue12910] urrlib.quote quotes too many chars, e.g., '()'

2017-07-04 Thread Jörn Hees
Changes by Jörn Hees : -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/issue12910> ___ ___

[issue12910] urrlib.quote quotes too many chars, e.g., '()'

2017-07-04 Thread Jörn Hees
Jörn Hees added the comment: It's been a while... nowadays I would mostly change the documentation of the quote function to point out that it is likely to quote more characters than absolutely necessary by SPEC. The function is in place for so long, (even in py3) that people will rely o

[issue12910] urrlib.quote quotes too many chars, e.g., '()'

2017-07-04 Thread Jörn Hees
Changes by Jörn Hees : -- pull_requests: +2638 ___ Python tracker <http://bugs.python.org/issue12910> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23509] Speed up Counter operators

2015-05-23 Thread Jörn Hees
Jörn Hees added the comment: > I'm closing this because the OP's original concern about wanting an in-place > operation was already solved Was it? Are you referring to http://bugs.python.org/issue13121 ? My main concern was that += is considerably slower than .update(), kind

[issue23509] Speed up Counter operators

2015-02-24 Thread Jörn Hees
Jörn Hees added the comment: cool minor question: - in the given patch __add__ uses __iadd__, but __sub__ doesn't use __isub__, which seems a bit weird. maybe off-topic, but maybe not, because of _keep_positive(self): - is there place for a non multi-set centric "Stats" objec

[issue13887] defaultdict.get does not default to initial default but None

2012-01-27 Thread Jörn Hees
New submission from Jörn Hees : I wanted to create a "function registrar" d using a defaultdict. The library that this registrar is passed to expects it to return functions taking 3 args. Now if the first call is d.get(x) it seems that in contrast to d[x] the default arg of get i

[issue12910] urrlib.quote quotes too many chars, e.g., '()'

2011-09-06 Thread Jörn Hees
New submission from Jörn Hees : urllib.quote('()') returns '%28%29' Looking into its code it tries to follow RFC 2396 (which is good even though it should follow rfc3986 nowadays), but it doesn't: http://tools.ietf.org/html/rfc2396 (see Appendix A, p.27): &qu