This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg heads --topo | |
changeset: 93656:20d99d0d30e2 | |
bookmark: issue21793 | |
tag: tip | |
parent: 93654:bd97eab25c70 | |
user: Demian Brecht <demianbrecht@gmail.com> | |
date: Fri Dec 05 08:35:27 2014 -0800 | |
summary: issue21793 | |
changeset: 93655:51d37306c28a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ changeset: 93656:20d99d0d30e2 | |
| bookmark: issue21793 | |
| tag: tip | |
| parent: 93654:bd97eab25c70 | |
| user: Demian Brecht <demianbrecht@xxx.com> | |
| date: Fri Dec 05 08:35:27 2014 -0800 | |
| summary: issue21793 | |
| | |
| o changeset: 93655:51d37306c28a | |
|/ bookmark: issue22931 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
OPENSSL_VERSION="1.0.1g" | |
curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz | |
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
mv openssl-$OPENSSL_VERSION openssl_i386 | |
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
mv openssl-$OPENSSL_VERSION openssl_x86_64 | |
cd openssl_i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> ba = bytearray('AAAA') | |
>>> ba[3] = 'B' | |
>>> ba | |
bytearray(b'AAAB') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import abc | |
def _new(mcls, name, bases, dct): | |
cls = type.__new__(mcls, name, bases, dct) | |
abstracts = set() | |
for k, v in filter(lambda o: not o[0].startswith('__'), | |
mcls.__looks_like__.__dict__.items()): |
NewerOlder