Skip to content

Instantly share code, notes, and snippets.

diff -r 6ccd15eec7cf pypy/doc/release-pypy2.7-v5.3.0.rst
--- a/pypy/doc/release-pypy2.7-v5.3.0.rst Sun Jun 05 23:32:04 2016 +0300
+++ b/pypy/doc/release-pypy2.7-v5.3.0.rst Sun Jun 05 13:43:43 2016 -0700
@@ -2,11 +2,12 @@
PyPy2.7 v5.3
============
-We have released PyPy2.7 v5.3, about six weeks after PyPy 5.1.
-This release includes further improvements for the CAPI compatibility layer
-which we call cpyext. In addtion to complete support for lxml, we now pass
_TPFLAGS_HEAPTYPE = 1 << 9
def _is_heaptype(typ):
return typ.__flags__ & _TPFLAGS_HEAPTYPE
@pjenvey
pjenvey / gist:3808830
Created October 1, 2012 00:38
JSON Serializable SQLAlchemy Object
class JsonSerializableMixin(object):
def __json__(self, request):
"""
Converts all the properties of the object into a dict for use in json.
You can define the following in your class
_json_eager_load :
list of which child classes need to be eagerly loaded. This applies
to one-to-many relationships defined in SQLAlchemy classes.
index 0492696..58ffd68 100644
--- a/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
+++ b/src/java/org/apache/cassandra/db/index/keys/KeysSearcher.java
@@ -199,7 +199,8 @@ public class KeysSearcher extends SecondaryIndexSearcher
data = ColumnFamily.create(baseCfs.metadata);
IColumn indexedColumn = data.getColumn(primary.column_name);
- if (indexedColumn == null || !primary.value.equals(indexedColumn.value()))
+ if (indexedColumn == null || indexedColumn.isMarkedForDelete()
+ || !primary.value.equals(indexedColumn.value()))
$ ANT_OPTS=-d64 ant -Dplatform.cpu=sparcv9
<...>
-do-test-run:
[junit] Testsuite: com.kenai.jffi.ClosureTest
[junit] Tests run: 35, Failures: 1, Errors: 0, Time elapsed: 1.072 sec
[junit]
[junit] Testcase: fastNumericClosureVrF(com.kenai.jffi.ClosureTest): FAILED
[junit] Wrong value returned by closure
[junit] junit.framework.AssertionFailedError: Wrong value returned by closure
[junit] at com.kenai.jffi.ClosureTest.testClosureVrF(ClosureTest.java:200)