Skip to content

Commit e376311

Browse files
authored
Merge pull request #122 from cloudflare/v8-branch-13.1
Google V8 - Branch 13.1
2 parents f534c25 + 46565bd commit e376311

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
V8_HOME = os.environ.get("V8_HOME", os.path.join(STPYV8_HOME, "v8"))
88

99
V8_GIT_URL = "https://chromium.googlesource.com/v8/v8.git"
10-
V8_GIT_TAG_STABLE = "13.0.245.18"
10+
V8_GIT_TAG_STABLE = "13.1.201.8"
1111
V8_GIT_TAG_MASTER = "master"
1212
V8_GIT_TAG = V8_GIT_TAG_STABLE
1313
DEPOT_GIT_URL = "https://chromium.googlesource.com/chromium/tools/depot_tools.git"

src/Wrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ v8::Handle<v8::Value> CPythonObject::WrapInternal(py::object obj)
968968

969969
result = v8::Date::New(isolate->GetCurrentContext(), ((double) mktime(&ts)) * 1000 + ms / 1000).ToLocalChecked();
970970
}
971-
else if (PyCFunction_Check(obj.ptr()) || PyFunction_Check(obj.ptr()) || PyMethod_Check(obj.ptr()) || PyType_CheckExact(obj.ptr()))
971+
else if (PyCFunction_Check(obj.ptr()) || PyFunction_Check(obj.ptr()) || PyMethod_Check(obj.ptr()) || PyType_Check(obj.ptr()))
972972
{
973973
v8::Handle<v8::FunctionTemplate> func_tmpl = v8::FunctionTemplate::New(isolate);
974974
py::object *object = new py::object(obj);

0 commit comments

Comments
 (0)