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

2017-11-30 Thread Jörn Hees
Jörn Hees <nrej9...@joernhees.de> 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&quo

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

2017-11-30 Thread Jörn Hees
New submission from Jörn Hees <nrej9...@joernhees.de>: 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 o

[issue32027] argparse allow_abbrev option also controls short flag combinations

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

[issue32027] argparse allow_abbrev option also controls short flag combinations

2017-11-14 Thread Jörn Hees
New submission from Jörn Hees <nrej9...@joernhees.de>: 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 > Ar

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

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

[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

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

2017-07-04 Thread Jörn Hees
Changes by Jörn Hees <nrej9...@joernhees.de>: -- pull_requests: +2638 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12910> ___ _

[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 of catching me off

[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 object which is like

Re: module version number support for semver.org

2014-04-11 Thread Jörn Hees
On 11 Apr 2014, at 01:34, Terry Reedy tjre...@udel.edu wrote: On 4/10/2014 6:45 PM, Jörn Hees wrote: what do you think about officially supporting Semantic Versioning? (http://semver.org ) It is a nice fantasy. ;) didn’t say it’s perfect, just that it’s widely used and we should support

module version number support for semver.org

2014-04-10 Thread Jörn Hees
Hi, what do you think about officially supporting Semantic Versioning? ( http://semver.org ) Semantic Versioning has gained a lot of attention in other programming languages. Even though not officially supported, many python libraries use it as well (just search the pypi listing for things like

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

2012-01-27 Thread Jörn Hees
New submission from Jörn Hees nrej9...@joernhees.de: 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

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

2011-09-06 Thread Jörn Hees
New submission from Jörn Hees nrej9...@joernhees.de: 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