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
$ 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) |
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
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())) |
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
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. |
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
_TPFLAGS_HEAPTYPE = 1 << 9 | |
def _is_heaptype(typ): | |
return typ.__flags__ & _TPFLAGS_HEAPTYPE |
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
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 |
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
package('alabaster', '0.7.7') | |
package('Babel', '2.2.0') | |
package('coverage', '4.0.3') | |
package('decorator', '4.0.9') | |
package('docutils', '0.12') | |
package('Flask', '0.10.1') | |
package('httpbin', '0.5.0') | |
package('itsdangerous', '0.24') | |
package('Jinja2', '2.8') | |
package('MarkupSafe', '0.23') |
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
package('alabaster', '==0.7.7') | |
package('Babel', '==2.2.0') | |
package('coverage', '==4.0.3') | |
package('decorator', '==4.0.9') | |
package('docutils', '==0.12') | |
package('Flask', '==0.10.1') | |
package('httpbin', '==0.5.0') | |
package('itsdangerous', '==0.24') | |
package('Jinja2', '==2.8') | |
package('MarkupSafe', '==0.23') |
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
diff --git a/src/web/auth.rs b/src/web/auth.rs | |
index 35dd410e..b625083f 100644 | |
--- a/src/web/auth.rs | |
+++ b/src/web/auth.rs | |
@@ -59,10 +59,7 @@ impl HawkPayload { | |
} | |
let header: HawkHeader = header[5..].parse()?; | |
- let id = header.id.as_ref().ok_or_else(|| { | |
- let error: ApiError = HawkErrorKind::MissingId.into(); |
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
use db::{Db, DbFuture, DbPool}; | |
impl DbPool for MysqlDbPool { | |
//type Db = MysqlDb; | |
//fn get(&self) -> DbFuture<Self::Db> { | |
fn get(&self) -> DbFuture<Box<Db>> { | |
// XXX: | |
use futures::future::poll_fn; | |
use futures::Future; | |
use tokio_threadpool::blocking; |
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
diff --git a/src/web/error.rs b/src/web/error.rs | |
index c6035be0..0f855ebd 100644 | |
--- a/src/web/error.rs | |
+++ b/src/web/error.rs | |
@@ -4,7 +4,7 @@ use std::fmt; | |
use actix_web::http::header::ToStrError; | |
use base64::DecodeError; | |
-use failure::{Backtrace, Context, Fail}; | |
+use failure::{Backtrace, Context, Fail, SyncFailure}; |
OlderNewer