[issue16991] Add OrderedDict written in C

2015-05-29 Thread Wes Turner
Wes Turner added the comment: * Would this make it easy/faster to also have a DefaultOrderedDict (which can/could also be accomplished with .get(attr, []) and .setdefault ? On May 29, 2015 2:39 PM, Eric Snow rep...@bugs.python.org wrote: Eric Snow added the comment: Planning on committing

[issue16991] Add OrderedDict written in C

2014-12-17 Thread Wes Turner
Wes Turner added the comment: * Macros could be useful. * Would this make it easy/faster to also have a DefaultOrderedDict (which can/could also be accomplished with .get(attr, []) and .setdefault(attr, [])? * There may be some value in looking at https://pypi.python.org/pypi/cyordereddict

[issue16692] Support TLS 1.1 and TLS 1.2

2013-08-04 Thread Wes Turner
Wes Turner added the comment: http://docs.python.org/3.4/whatsnew/3.4.html#ssl re: Backporting to Python 2.7: maybe something like: backports.ssl (like backports.ssl_match_hostname) https://pypi.python.org/pypi/backports/ -- nosy: +westurner

[issue18511] random.shuffle could be faster

2013-07-19 Thread Wes Turner
New submission from Wes Turner: random.shuffle [1][2] could be faster. ``xrange(10,1,-1)`` is faster than ``reversed(xrange(1,10))``. [1] http://hg.python.org/cpython/file/v3.3.2/Lib/random.py#l254 [2] http://hg.python.org/cpython/file/v2.7.5/Lib/random.py#l276 -- components: Library

[issue18511] random.shuffle could be faster

2013-07-19 Thread Wes Turner
Wes Turner added the comment: Added patch to random.shuffle for trunk -- Added file: http://bugs.python.org/file30985/random-shuffle_trunk.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18511

[issue18511] random.shuffle could be faster

2013-07-19 Thread Wes Turner
Wes Turner added the comment: Added patch to random.shuffle for v2.7.5 -- keywords: +patch Added file: http://bugs.python.org/file30984/random-shuffle_v2.7.5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18511