1.
Removed SRE recursion in Python at Labix Blog Now, my patch to remove the SRE recursion in Python was finally committed to the CVS. Here is the same example with the CVS HEAD, but using a string which ...
2.
Category Archive for ‘Perl’ at Labix Blog Oct 27, 2003 ... It’d be even better if this system was generic and not bound to Webmin in any ... import perl >>> perl.eval('sub func { printf("Hello $_[0]! ...
3.
Watch out for list(dict.keys()) in Python 3 at Labix Blog Jun 27, 2008 ... Thus, it’s thread-safe to run dict.keys() with Python 2.X. The suggested replacement in Python 3, list(dict.keys()) , is not. ...
4.
Watch out for list(dict.keys()) in Python 3 at Labix Blog Jun 27, 2008 ... Thus, it’s thread-safe to run dict.keys() with Python 2.X. The suggested replacement in Python 3, list(dict.keys()) , is not. ...
5.
Watch out for list(dict.keys()) in Python 3 at Labix Blog Jun 27, 2008 ... As everyone is probably aware by now, in Python 3 dict.keys(), .... Yes, you can simply use sorted(dict.keys()) in both Python 2 and 3, ...
6.
Partial stubbing of os.path.isfile() with Mocker at Labix Blog Nov 22, 2007 ... from mocker import * >>> mocker = Mocker() >>> isfile ... mocker.replay() >>> import os >>> os.path.isfile("/non/existent") True ...
7.
New RPM transaction locking at Labix Blog Our fix was rather simple, based on fcntl() locking while transactions are being committed to the system. This should be enough, protecting databases while ...
8.
Python dateutil module released at Labix Blog Oct 21, 2003 ... I’m a little late here, since python-dateutil was released last week. Anyway, this is a Python package providing powerful extensions to the ...
9.
All combinations of N elements at Labix Blog Apr 8, 2005 ... Here’s a snippet to compute all combinations of N elements over K ... What I mean is that you take the border from the length of your list. ...
10.
Watch out for list(dict.keys()) in Python 3 at Labix Blog Jun 27, 2008 ... As everyone is probably aware by now, in Python 3 dict.keys(), .... Yes, you can simply use sorted(dict.keys()) in both Python 2 and 3, ...
|