Skip to content

Instantly share code, notes, and snippets.

View Dowwie's full-sized avatar

Darin Gordon Dowwie

View GitHub Profile
@Dowwie
Dowwie / gist:218ca26ea08d399785a1
Created February 12, 2015 15:45
How do YOU copy your dicts?
import timeit
import copy
from statistics import median, mean, stdev
def dictcopy1():
a = {'one': 1, 'two': 2, 'three': 3}
b = dict(a)
return b
@Dowwie
Dowwie / gist:08f3766276cb7ff56845
Created December 18, 2014 18:25
pyshiro : porting Apache Shiro 1.2.3 to Python 3
I'm working full time porting the vast majority of Apache Shiro, a robust security management platform-framework written in Java, to Python 3. Porting is a massive undertaking and I could use some help. I'm working as quickly as possible, making things pythonic as I go. Interfaces and abstract objects will come last and any major refactoring will come even later. I have to get my arms around this beast first.
email me at dkcdkg@gmail.com if you are interested in working together on this project
thanks to Les and Apache for making Shiro happen
It's not a question of *IF* this porting project will finish but *WHEN* -- the sooner I get help, the sooner the python community can benefit