hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
2c6ad54c297fbf57ca86c82de61c0dbeb42d2736 | diff --git a/indra/sources/phosphoelm/api.py b/indra/sources/phosphoelm/api.py
index <HASH>..<HASH> 100644
--- a/indra/sources/phosphoelm/api.py
+++ b/indra/sources/phosphoelm/api.py
@@ -30,7 +30,7 @@ def process_from_dump(fname=None, delimiter='\t'):
Returns
-------
- ppp : indra.sources.phosphoELM.Phos... | Do not process on instantiation, docstrings | sorgerlab_indra | train |
a818281a45f7b5bd24f050e5d6868894c5108db6 | diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v0.25.1.rst
+++ b/doc/source/whatsnew/v0.25.1.rst
@@ -105,7 +105,7 @@ I/O
^^^
- Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s3fs version 0.3.0 (:issue:`27... | TST: Raise ValueError and suggestion to use header=None if header=-1 is pa… (#<I>) | pandas-dev_pandas | train |
61488d955e7c25dabedcd35649855e6e4c993764 | diff --git a/lib/Doctrine/ORM/Query/SqlWalker.php b/lib/Doctrine/ORM/Query/SqlWalker.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Query/SqlWalker.php
+++ b/lib/Doctrine/ORM/Query/SqlWalker.php
@@ -1093,6 +1093,10 @@ class SqlWalker implements TreeWalker
$this->orderedColumnsMap[$sql] = $type;
+ ... | Fixed issue when paginator orders by a subselect expression on platforms supporting ROW_NUMBER OVER() function. | doctrine_orm | train |
e89522a3bd9e93ce8ec3ce24292ed59f5d92a7fb | diff --git a/chef/lib/chef/resource/deploy.rb b/chef/lib/chef/resource/deploy.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/resource/deploy.rb
+++ b/chef/lib/chef/resource/deploy.rb
@@ -50,7 +50,7 @@ class Chef
@purge_before_symlink = %w{log tmp/pids public/system}
@create_dirs_before_symlink = %... | renamed map_shared_files as symlinks. terse, expressive, obvious | chef_chef | train |
11da1220e6b9f13c87d78db6f251a411ec054693 | diff --git a/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java b/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java
index <HASH>..<HASH> 100644
--- a/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java
+++ b/src/main/java/reactor/ipc/netty/http/client/HttpClientO... | more defensive against mixed protocol in http pooling use case | reactor_reactor-netty | train |
ca85f2ed1a6822b4a80bf9cbb5fbd86bb4d78585 | diff --git a/src/hunter/backports/inspect.py b/src/hunter/backports/inspect.py
index <HASH>..<HASH> 100644
--- a/src/hunter/backports/inspect.py
+++ b/src/hunter/backports/inspect.py
@@ -35,7 +35,7 @@ def _shadowed_dict_newstyle(klass):
for entry in _static_getmro(klass):
try:
class_dict = di... | Allow `TypeError: descriptor '__dict__' for 'type' objects doesn't apply to 'classobj' object` kind of errors to also shortcircuit this. | ionelmc_python-hunter | train |
42aa51c396d8706283862b57f628b914ea69afc7 | diff --git a/datajoint/base_relation.py b/datajoint/base_relation.py
index <HASH>..<HASH> 100644
--- a/datajoint/base_relation.py
+++ b/datajoint/base_relation.py
@@ -359,7 +359,23 @@ class BaseRelation(RelationalOperand):
print(definition)
return definition
- def update(self, attrname, value=Non... | add docstring and rename to _update | datajoint_datajoint-python | train |
c60a88f2345a5292bf808a66387592d025a6968a | diff --git a/rwslib/builders.py b/rwslib/builders.py
index <HASH>..<HASH> 100644
--- a/rwslib/builders.py
+++ b/rwslib/builders.py
@@ -6,6 +6,7 @@ from xml.etree import cElementTree as ET
from datetime import datetime
from string import ascii_letters
from rwslib.builder_constants import *
+from collections import Or... | Added annotations to studyeventdata and ordered the content | mdsol_rwslib | train |
87d974fd1bfd4b6565ebf65e2dbd47c7af95a4ba | diff --git a/tests/test_procar.py b/tests/test_procar.py
index <HASH>..<HASH> 100644
--- a/tests/test_procar.py
+++ b/tests/test_procar.py
@@ -129,6 +129,8 @@ class ProcarTestCase( unittest.TestCase ):
self.assertEqual( combined_pcar.number_of_k_points, 4 )
np.testing.assert_equal( combined_pcar.occup... | Adding k_point addition unit test | bjmorgan_vasppy | train |
d310724fc823bcbc5132eb1fb48a8b9b02e2b038 | diff --git a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/id/impl/OgmTableGenerator.java b/hibernate-ogm-core/src/main/java/org/hibernate/ogm/id/impl/OgmTableGenerator.java
index <HASH>..<HASH> 100644
--- a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/id/impl/OgmTableGenerator.java
+++ b/hibernate-ogm-core/... | OGM-<I> Rename transaction methods to match OGM's realities | hibernate_hibernate-ogm | train |
6ddf8e30333a6a1c0d665356ddc7f290ffb13adc | diff --git a/src/frontend/org/voltdb/planner/ParsedSelectStmt.java b/src/frontend/org/voltdb/planner/ParsedSelectStmt.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/planner/ParsedSelectStmt.java
+++ b/src/frontend/org/voltdb/planner/ParsedSelectStmt.java
@@ -938,7 +938,10 @@ public class ParsedSelectStm... | Aggregate functions and window functions together are not supported. (#<I>)
We never intended to support group by with window functions. Aggregate
functions are a kind of implicit group by, so they are not supported
either. This special case was forgotten initially, and this commit guards against it.
<URL> | VoltDB_voltdb | train |
2be5b041244023f06a3562d9de91692e06484f28 | diff --git a/tests/distance/test_distance_ncd_lzss.py b/tests/distance/test_distance_ncd_lzss.py
index <HASH>..<HASH> 100644
--- a/tests/distance/test_distance_ncd_lzss.py
+++ b/tests/distance/test_distance_ncd_lzss.py
@@ -44,7 +44,7 @@ class NCDlzssTestCases(unittest.TestCase):
def test_ncd_lzss_dist(self):
... | noqa-ed unused imports
These aren't really unused; they're used to identify whether the modules are installed. | chrislit_abydos | train |
07c8ca6bdbcb960da745dde8e80467f65377772c | diff --git a/SampleApp/vendor/plugins/translate_routes/lib/translate_routes.rb b/SampleApp/vendor/plugins/translate_routes/lib/translate_routes.rb
index <HASH>..<HASH> 100644
--- a/SampleApp/vendor/plugins/translate_routes/lib/translate_routes.rb
+++ b/SampleApp/vendor/plugins/translate_routes/lib/translate_routes.rb
@... | Updated Route and StaticSegment initializers - non backwards-compatible with Rails<I> | enriclluelles_route_translator | train |
d220dfb5ae0c04304977b059d1e189d86e0cd00e | diff --git a/openquake/engine/job/validation.py b/openquake/engine/job/validation.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/job/validation.py
+++ b/openquake/engine/job/validation.py
@@ -1151,8 +1151,8 @@ def insured_losses_is_valid(_mdl):
def loss_curve_resolution_is_valid(mdl):
if mdl.calculation_mo... | job/validation:
Allow loss curve res of >= 1. | gem_oq-engine | train |
dae931de1f2be756dbea71609eca50d998c42d7d | diff --git a/lib/datastore.js b/lib/datastore.js
index <HASH>..<HASH> 100644
--- a/lib/datastore.js
+++ b/lib/datastore.js
@@ -180,7 +180,13 @@ MongoRawDatastore.prototype = {
,create: function(mjson, cb) {
mjson = _getmjson(mjson);
//create the given object, error if _id exists
- this.collection.insert... | get unit tests working on new versions of mongo | onecommons_base | train |
ca0056cb8b0533d2151740af3158f067db732bac | diff --git a/test/startservers.py b/test/startservers.py
index <HASH>..<HASH> 100644
--- a/test/startservers.py
+++ b/test/startservers.py
@@ -21,7 +21,7 @@ def install(race_detection):
# Pass empty BUILD_TIME and BUILD_ID flags to avoid constantly invalidating the
# build cache with new BUILD_TIMEs, or inval... | Provide the -integration build tag even race detector is off. (#<I>) | letsencrypt_boulder | train |
1faa558e0906ba24162cf6a89e2cdbd1c9c73be0 | diff --git a/bread/__init__.py b/bread/__init__.py
index <HASH>..<HASH> 100644
--- a/bread/__init__.py
+++ b/bread/__init__.py
@@ -1,5 +1,5 @@
__title__ = 'bread'
-__version__ = '2.1.1'
+__version__ = '2.1.2'
__author__ = 'Alex Rasmussen'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Alex Rasmussen'
diff --gi... | Bumping version to <I> | alexras_bread | train |
e3873a866467cd7fe5bd7465143f22bcfa4b48fa | diff --git a/sqlserver/check.py b/sqlserver/check.py
index <HASH>..<HASH> 100644
--- a/sqlserver/check.py
+++ b/sqlserver/check.py
@@ -685,7 +685,8 @@ class SqlSimpleMetric(SqlServerMetric):
metric_tags = metric_tags + ['%s:%s' % (self.tag_by, instance_name.strip())]
self.r... | Add condition for custom metrics in case of collecting 'ALL' instances | DataDog_integrations-core | train |
fa33b2ad5d851c5076ed97a695d2ccd9d079238c | diff --git a/src/sap.m/src/sap/m/SearchField.js b/src/sap.m/src/sap/m/SearchField.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/SearchField.js
+++ b/src/sap.m/src/sap/m/SearchField.js
@@ -381,6 +381,10 @@ sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control', 'sap/ui/
this.$().toggleCl... | [FIX] sap.m.SearchField: wrong tooltip is shown over the search icon
- tooltip of the refresh button is shown over the search icon
on a focused search field
Change-Id: Iddacd<I>f7ca<I>d0d7bdc9ad<I>e<I> | SAP_openui5 | train |
e7ab83dd74a02201e68c977583b41b301794f417 | diff --git a/h2o-algos/src/main/java/hex/DataInfo.java b/h2o-algos/src/main/java/hex/DataInfo.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/DataInfo.java
+++ b/h2o-algos/src/main/java/hex/DataInfo.java
@@ -257,8 +257,12 @@ public class DataInfo extends Keyed<DataInfo> {
return beta;
}
+ ... | Fixed data info handling of untrained levels (used during validation and scoring). | h2oai_h2o-3 | train |
261282a6461c6c080bfed3192902f9e3d77fc129 | diff --git a/arctic/store/bitemporal_store.py b/arctic/store/bitemporal_store.py
index <HASH>..<HASH> 100644
--- a/arctic/store/bitemporal_store.py
+++ b/arctic/store/bitemporal_store.py
@@ -1,6 +1,7 @@
from collections import namedtuple
from datetime import datetime as dt
+from arctic.date._mktz import mktz
from ... | Ensure read/append supports timezone | manahl_arctic | train |
eca0149b8b135c3d4e74cd2eed49c77f6c0cccbf | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -36,6 +36,8 @@ from tests.support.runtests import RUNTIME_VARS
# Import pytest libs
import pytest
import _pytest.logging
+import _pytest.skipping
+from _pytest.mark.evaluate import MarkEv... | Allow using the grains dictionary to skip tests | saltstack_salt | train |
fca6ef7f968c15baceda8c958fe013bf3d28a705 | diff --git a/lib/sprinkle/package.rb b/lib/sprinkle/package.rb
index <HASH>..<HASH> 100644
--- a/lib/sprinkle/package.rb
+++ b/lib/sprinkle/package.rb
@@ -49,7 +49,8 @@ module Sprinkle
end
def process(deployment, roles)
- #raise "No installer defined for package: #{@name}" unless @installer #... | Return successfully if no installer has been specified (eg. meta packages). Thanks to Ben Schwarz for this idea | sprinkle-tool_sprinkle | train |
741573d7ee8b948cb1ab7fa48ef0e86d4b4da210 | diff --git a/controller/Groups.php b/controller/Groups.php
index <HASH>..<HASH> 100644
--- a/controller/Groups.php
+++ b/controller/Groups.php
@@ -26,6 +26,7 @@ namespace oat\taoGroups\controller;
use common_exception_Error;
use common_exception_MethodNotAllowed;
use common_ext_ExtensionsManager;
+use oat\oatbox\val... | feat: apply new validator to a form | oat-sa_extension-tao-group | train |
962c1cf083e8d6da1b15797a7836c4c8712904bd | diff --git a/lib/controller.js b/lib/controller.js
index <HASH>..<HASH> 100644
--- a/lib/controller.js
+++ b/lib/controller.js
@@ -65,7 +65,8 @@ function listTessels(opts) {
function getTessel(opts) {
tessel.logs.info("Connecting to Tessel...");
// Grab all attached Tessels
- return Promise.settle([usb.findConn... | Enables connecting to a local VM. | tessel_t2-cli | train |
529ca12be27ec557344818ab28cf95bc5f8e6290 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -9,8 +9,8 @@ exclude_patterns = ['_build']
project = u'Flask-Nav'
copyright = u'2015, Marc Brinkmann'
author = u'Marc Brinkmann'
-version = '0.4'
-release = '0.4.dev1'
+version = '0.5'
+release = '0.5.dev1'
... | Start developing version <I>.dev1 (after release of <I>) | mbr_flask-nav | train |
66353f337a57f2495fc1cfb10dff8f532326ee5c | diff --git a/baron/test_grammator.py b/baron/test_grammator.py
index <HASH>..<HASH> 100644
--- a/baron/test_grammator.py
+++ b/baron/test_grammator.py
@@ -4304,6 +4304,38 @@ def test_try_except_as_stmt_indent():
# -
+# funcdef: 'def' SPACE NAME [SPACE] parameters [SPACE] ':' [SPACE] suite
+
+# -
+
+# parameters: '... | [doc] add notes for avancement | PyCQA_baron | train |
f2dbea4795b0d562a4cd97abb0b67a0360dd01cf | diff --git a/lib/parser/linux.js b/lib/parser/linux.js
index <HASH>..<HASH> 100644
--- a/lib/parser/linux.js
+++ b/lib/parser/linux.js
@@ -21,9 +21,17 @@ util.inherits(LinuxParser, base);
LinuxParser.prototype._processHeader = function (line) {
// Get host and numeric_host
var tokens = line.split(' ');
-
- ... | Parse host & numeric host from Linux IPv6 | danielzzz_node-ping | train |
7a00391abb23c2dbf2078d99aa7583a6bc0ad930 | diff --git a/hollow/src/main/java/com/netflix/hollow/api/client/HollowClientUpdater.java b/hollow/src/main/java/com/netflix/hollow/api/client/HollowClientUpdater.java
index <HASH>..<HASH> 100644
--- a/hollow/src/main/java/com/netflix/hollow/api/client/HollowClientUpdater.java
+++ b/hollow/src/main/java/com/netflix/holl... | Add ability to remove Refresh Listener to HollowConsumer | Netflix_hollow | train |
6ea018ec0300f95042ef3dbc5677ea35ea6ac447 | diff --git a/eZ/Publish/API/Repository/Tests/Stubs/ContentTypeServiceStub.php b/eZ/Publish/API/Repository/Tests/Stubs/ContentTypeServiceStub.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/Tests/Stubs/ContentTypeServiceStub.php
+++ b/eZ/Publish/API/Repository/Tests/Stubs/ContentTypeServiceStub.php
@@ -7... | Temporary fix for property inconsistency. | ezsystems_ezpublish-kernel | train |
62b7c720946b042cbee1d8beb62d0d9ed1af7c52 | diff --git a/cache.py b/cache.py
index <HASH>..<HASH> 100644
--- a/cache.py
+++ b/cache.py
@@ -94,7 +94,12 @@ class Cache(object):
# Build the decorator.
return lambda func: self(func, *args, **opts)
- master_key = ','.join(map(repr, args)) if args else None
+ master_ke... | Slight tweak to function keys.
Only do the tuple-repr method if more than one
key is passed. | mikeboers_PyMemoize | train |
670013877339a73f3799dad47a26c2536af43628 | diff --git a/lib/ruote/exp/fe_listen.rb b/lib/ruote/exp/fe_listen.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/exp/fe_listen.rb
+++ b/lib/ruote/exp/fe_listen.rb
@@ -103,8 +103,16 @@ module Ruote::Exp
#
# The :to attribute has already been seen, it can be replaced by the :on one.
#
- # Those two attributes a... | clarified :to, :on and regular expressions | jmettraux_ruote | train |
b93c96fc9ae265feef7096ca993a581f8473cf72 | diff --git a/src/future/tests/base.py b/src/future/tests/base.py
index <HASH>..<HASH> 100644
--- a/src/future/tests/base.py
+++ b/src/future/tests/base.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import os
import tempfile
import unittest
@@ -12,7 +13,7 @@ if not hasattr(unittest, 'skip'):
import u... | More useful reporting of test errors with futurize/pasteurize scripts | PythonCharmers_python-future | train |
3b8ef685f07373f399a11058a417ef38ed20053f | diff --git a/raiden_contracts/tests/test_endpointregistry.py b/raiden_contracts/tests/test_endpointregistry.py
index <HASH>..<HASH> 100644
--- a/raiden_contracts/tests/test_endpointregistry.py
+++ b/raiden_contracts/tests/test_endpointregistry.py
@@ -4,21 +4,32 @@ from raiden_contracts.constants import EVENT_ADDRESS_RE... | Adjust tests and utils to endpoint registry changes | raiden-network_raiden-contracts | train |
be58735db0b0bed546dc67271d3acce2022106a2 | diff --git a/eZ/Publish/API/Repository/Tests/_fixtures/Legacy/SortPathString.php b/eZ/Publish/API/Repository/Tests/_fixtures/Legacy/SortPathString.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/Tests/_fixtures/Legacy/SortPathString.php
+++ b/eZ/Publish/API/Repository/Tests/_fixtures/Legacy/SortPathStri... | Fixed: Legacy search test with sort desc by path_string | ezsystems_ezpublish-kernel | train |
4faaa811614b408b32422692ce36024442d02ffb | diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Added `#destroy!` which acts like `#destroy` but will raise an
+ `ActiveRecord::RecordNotDestroyed` ex... | + ActiveRecord::Base#destroy! | rails_rails | train |
7026d0577f473752a4cc320b11697a4e97381f4c | diff --git a/test/shopify_app/configuration_test.rb b/test/shopify_app/configuration_test.rb
index <HASH>..<HASH> 100644
--- a/test/shopify_app/configuration_test.rb
+++ b/test/shopify_app/configuration_test.rb
@@ -25,11 +25,17 @@ class ConfigurationTest < ActiveSupport::TestCase
end
test "can set root_url whic... | Restore the original root_url to fix a leaky test. (#<I>) | Shopify_shopify_app | train |
9c18a0f0c4b68ed648db6c03d9a886cde546cd5f | diff --git a/host/tune_threshold_baseline.py b/host/tune_threshold_baseline.py
index <HASH>..<HASH> 100644
--- a/host/tune_threshold_baseline.py
+++ b/host/tune_threshold_baseline.py
@@ -119,7 +119,8 @@ class ThresholdBaselineTuning(ScanBase):
corrected_threshold = self.register.get_global_register_value("... | BUG: fix preselected pixels | SiLab-Bonn_pyBAR | train |
d12226eb7eb2bb19a6eaf59839c59d8e37b9e11c | diff --git a/subliminal/__init__.py b/subliminal/__init__.py
index <HASH>..<HASH> 100644
--- a/subliminal/__init__.py
+++ b/subliminal/__init__.py
@@ -21,7 +21,7 @@
__title__ = 'subliminal'
-__version__ = '1.1'
+__version__ = '0.5'
__author__ = 'Antoine Bertin'
__license__ = 'LGPLv3'
__copyright__ = 'Copyright ... | Change version number from <I> to <I> | Diaoul_subliminal | train |
50f5ef7fb42dfd867678f289c7596c6e98873013 | diff --git a/cmd/describe.go b/cmd/describe.go
index <HASH>..<HASH> 100644
--- a/cmd/describe.go
+++ b/cmd/describe.go
@@ -175,7 +175,7 @@ func printModules(pkg *pack.Package, printSymbols bool, printExports bool, print
if mod.Imports != nil && len(*mod.Imports) > 0 {
fmt.Printf("\n")
for _, imp := ... | Print import tokens, not their AST nodes | pulumi_pulumi | train |
d6f43a53297741bb721bcd1c0baf2f19ed9ebd2e | diff --git a/tcconfig/tcset.py b/tcconfig/tcset.py
index <HASH>..<HASH> 100644
--- a/tcconfig/tcset.py
+++ b/tcconfig/tcset.py
@@ -145,11 +145,17 @@ def verify_netem_module():
import re
runner = spr.SubprocessRunner("lsmod")
- if runner.run() != 0:
- raise OSError(runner.returncode, "failed to exe... | Avoid to tcset failed when the lsmod command not found | thombashi_tcconfig | train |
2b48f7f7b611dc5c1af45dece5106a2f265ab01e | diff --git a/translator/package.go b/translator/package.go
index <HASH>..<HASH> 100644
--- a/translator/package.go
+++ b/translator/package.go
@@ -157,7 +157,11 @@ func TranslatePackage(importPath string, files []*ast.File, fileSet *token.FileS
pkgVars: make(map[string]string),
objectVars: make(map[types.Objec... | fixed var overlapping in init function | gopherjs_gopherjs | train |
1836a7ca26110c946e342c556289dc0a8a780687 | diff --git a/lib/ddr/models/solr_document.rb b/lib/ddr/models/solr_document.rb
index <HASH>..<HASH> 100644
--- a/lib/ddr/models/solr_document.rb
+++ b/lib/ddr/models/solr_document.rb
@@ -228,7 +228,7 @@ module Ddr
end
def get_json(field)
- JSON.parse(self[field].first)
+ JSON.parse Array(s... | Patched SolrDocument#get_json to wrap field value in Array | duke-libraries_ddr-models | train |
a286ccfdf58a5379df4660aa1e99eccefab2f9c2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -44,22 +44,36 @@ gulp.task('install', function(done) {
});
-gulp.task('bower_copy', ['install'], function() {
+function bowerCopy() {
// Copy files from Bower into project.
+ // In a separate function because Fire... | <I> export requireConfig and bowerCopy tasks for docker | mozilla_marketplace-gulp | train |
6a9b9bbe24c1fad0644662435b76c2ee8d3d9376 | diff --git a/lib/page-object/widgets.rb b/lib/page-object/widgets.rb
index <HASH>..<HASH> 100644
--- a/lib/page-object/widgets.rb
+++ b/lib/page-object/widgets.rb
@@ -54,7 +54,7 @@ module PageObject
def self.define_multiple_watir_accessor(base, base_element_tag, widget_class, widget_tag)
base.send(:define... | adding the missing "s" to the define_multiple_watir_accessor method. | cheezy_page-object | train |
57b9840023782972e441619a7b70887165f2c3da | diff --git a/lib/xclarity_client/switch.rb b/lib/xclarity_client/switch.rb
index <HASH>..<HASH> 100644
--- a/lib/xclarity_client/switch.rb
+++ b/lib/xclarity_client/switch.rb
@@ -11,7 +11,11 @@ module XClarityClient
:ipv6Addresses, :leds, :macAddresses, :machineType, :manufacturer, :manufacturerId,
... | Adding new attibutes of switch entity appended on API version <I> | lenovo_xclarity_client | train |
66c296b8a2daa810588113fe9f6a9ee151d5e2ba | diff --git a/tests/language/css-test.js b/tests/language/css-test.js
index <HASH>..<HASH> 100644
--- a/tests/language/css-test.js
+++ b/tests/language/css-test.js
@@ -68,10 +68,10 @@ RainbowTester.run(
'}',
'<span class="meta tag">code</span> <span class="meta tag">span</span> {\n' +
- ' <span class="s... | Check for css-value instead of value | ccampbell_rainbow | train |
9959716b01fc5231ae68bc7a24454ce45d341606 | diff --git a/src/com/google/javascript/jscomp/InlineObjectLiterals.java b/src/com/google/javascript/jscomp/InlineObjectLiterals.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/InlineObjectLiterals.java
+++ b/src/com/google/javascript/jscomp/InlineObjectLiterals.java
@@ -327,25 +327,30 @@ class I... | Fix edge case in InlineObjectLiteral.
Fixes issue <I>
R=nicksantos,johnlenz
DELTA=<I> (<I> added, 4 deleted, <I> changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train |
a5941f6e06e892e9343b076c85ca64fa47c2363c | diff --git a/lib/hexdump/numeric/base/hexadecimal.rb b/lib/hexdump/numeric/base/hexadecimal.rb
index <HASH>..<HASH> 100644
--- a/lib/hexdump/numeric/base/hexadecimal.rb
+++ b/lib/hexdump/numeric/base/hexadecimal.rb
@@ -25,6 +25,7 @@ module Hexdump
def initialize(type)
case type
when Type:... | Added a note that jruby does not currently support the %a format string. | postmodern_hexdump | train |
37ebd19353dfcb787444b02358ad0974573812d8 | diff --git a/structr-ui/src/main/resources/structr/js/schema.js b/structr-ui/src/main/resources/structr/js/schema.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/schema.js
+++ b/structr-ui/src/main/resources/structr/js/schema.js
@@ -3401,13 +3401,23 @@ var _Schema = {
}
};
+ var ... | Bugfix: Fixes inheritance tree for types inheriting from LinkedTreeNodeImpl<T> | structr_structr | train |
99a5874e08be4f86b829b850de87f12dc630ecc1 | diff --git a/lib/sprockets/processed_asset.rb b/lib/sprockets/processed_asset.rb
index <HASH>..<HASH> 100644
--- a/lib/sprockets/processed_asset.rb
+++ b/lib/sprockets/processed_asset.rb
@@ -10,7 +10,7 @@ module Sprockets
context = environment.context_class.new(environment, logical_path, pathname)
@sour... | sprockets requires ruby >= <I>, so just use String#bytesize rather
than depend on Rack | rails_sprockets | train |
00eebce95acb0f6eb42cf280569e6b5ce8707ac5 | diff --git a/reposerver/repository/repository.go b/reposerver/repository/repository.go
index <HASH>..<HASH> 100644
--- a/reposerver/repository/repository.go
+++ b/reposerver/repository/repository.go
@@ -107,6 +107,7 @@ type operationSettings struct {
// runRepoOperation downloads either git folder or helm chart and ex... | Issue #<I> - Repo server executes unnecessary ls-remotes (#<I>) | argoproj_argo-cd | train |
92006f67622e5a42ee584ee24c69e1ca167cbb86 | diff --git a/lib/term-classes.js b/lib/term-classes.js
index <HASH>..<HASH> 100644
--- a/lib/term-classes.js
+++ b/lib/term-classes.js
@@ -98,6 +98,9 @@ var instances = {
TABLE_LIST: r.tableList(),
CONFIG: r([]).config(),
STATUS: r([]).status(),
+ WAIT: r.table('superheroes').wait(),
+ RECONFIGURE: r.table('... | fix wait, reconfigure, rebalance term-classes | tjmehta_validate-reql | train |
0f766ae24b2639db3dfa76780a32c2e794df8997 | diff --git a/python/ray/rllib/test/test_evaluators.py b/python/ray/rllib/test/test_evaluators.py
index <HASH>..<HASH> 100644
--- a/python/ray/rllib/test/test_evaluators.py
+++ b/python/ray/rllib/test/test_evaluators.py
@@ -6,6 +6,7 @@ import unittest
import gym
import shutil
import tempfile
+import time
import ra... | [rllib] Fix testGetFilters in A3C (#<I>) | ray-project_ray | train |
c65be03105320e0d26dbf0a801562f9c45e7ad12 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -65,7 +65,9 @@ gulp.task('init', ['clean'], function() {
// sass-import
gulp.task('sass', function () {
return gulp.src("index.scss")
- .pipe(sass())
+ .pipe(sass({
+ errLogToConsole: true
+ }))
.pipe(... | sass errors log in console | tntvis_tnt.tree | train |
e7ee9b713dff1b11935e48078a332c378a84a6c7 | diff --git a/tests/src/PHPCodeSniffer/StandardsFactoryTest.php b/tests/src/PHPCodeSniffer/StandardsFactoryTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/PHPCodeSniffer/StandardsFactoryTest.php
+++ b/tests/src/PHPCodeSniffer/StandardsFactoryTest.php
@@ -47,7 +47,7 @@ class StandardsFactoryTest extends \PHPUnit_Fra... | BUGFIX: Fix standards factory test to be compatible with php <= <I> | higidi_composer-phpcodesniffer-standards-plugin | train |
14a4747a4378f39e3775766310bf2c3775acf745 | diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/classical/core.py
+++ b/openquake/calculators/hazard/classical/core.py
@@ -170,21 +170,7 @@ def compute_hazard_curves(job_id, src_ids, lt_rlz_id):
... | calcs/hazard:
Abstracted a common piece of code (for updating LtRealization counters
and status) to the hazard/general module.
Former-commit-id: <I>f<I>d<I>de<I>a6c<I>d<I>d0f<I> | gem_oq-engine | train |
5fce03275697254ab9adf5c31fc8dff085ff8223 | diff --git a/tofu/data/_spectrafit2d.py b/tofu/data/_spectrafit2d.py
index <HASH>..<HASH> 100644
--- a/tofu/data/_spectrafit2d.py
+++ b/tofu/data/_spectrafit2d.py
@@ -3,6 +3,7 @@
import os
import warnings
import itertools as itt
+import copy
import datetime as dtm # DB
# Common
@@ -423,8 +424,8 @@ def _widt... | [Issue<I>] plot_data_fit1d() more robust with better error messages and deepcopy of dconstraints to avoid modifying the reference | ToFuProject_tofu | train |
10d980b6e125a75f1cc58c31dcbe18a18f738f9f | diff --git a/lib/jekyll/generators/pagination.rb b/lib/jekyll/generators/pagination.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/generators/pagination.rb
+++ b/lib/jekyll/generators/pagination.rb
@@ -1,55 +1,56 @@
module Jekyll
+ module Generators
+ class Pagination < Generator
+ # This generator is safe f... | Update pagination classes moving into a module | jekyll_jekyll | train |
d71ed976c21d20bfc1b2b09b166658dd2dca22a7 | diff --git a/resultdb/internal/services/bqexporter/bqexporter.go b/resultdb/internal/services/bqexporter/bqexporter.go
index <HASH>..<HASH> 100644
--- a/resultdb/internal/services/bqexporter/bqexporter.go
+++ b/resultdb/internal/services/bqexporter/bqexporter.go
@@ -116,6 +116,15 @@ type bqExporter struct {
maxTokenS... | Restore support for old bqExporter queue.
This is to support tasks from old and new queues.
R=vadimsh,chanli,ddoman
Change-Id: I<I>bb<I>ab4cef<I>bb7bf6e1e8fc<I>f2abb4b
Reviewed-on: <URL> | luci_luci-go | train |
580467904b74101bd6c844abca3c516f6783628e | diff --git a/src/main/java/nl/ulso/sprox/impl/StaxBasedXmlProcessor.java b/src/main/java/nl/ulso/sprox/impl/StaxBasedXmlProcessor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/ulso/sprox/impl/StaxBasedXmlProcessor.java
+++ b/src/main/java/nl/ulso/sprox/impl/StaxBasedXmlProcessor.java
@@ -107,6 +107,7 @@ final... | Bugfix: XMLEventReader wasn't closed at the end of the processing. | voostindie_sprox | train |
b8123dc2aa3b56ef357dd1cc825a069d3f30b233 | diff --git a/src/Router.php b/src/Router.php
index <HASH>..<HASH> 100644
--- a/src/Router.php
+++ b/src/Router.php
@@ -699,6 +699,7 @@ class Router
$beforeMiddlewares = array_merge($beforeMiddlewares, $this->calculateMiddleware($options['before'] ?? []));
$afterMiddlewares = array_merge($afterMiddlewa... | Added array usage for route callbacks. Also some updates. | izniburak_php-router | train |
037ec87c5335a2ad313bf67a44cf0a0508c81865 | diff --git a/glances/plugins/glances_sensors.py b/glances/plugins/glances_sensors.py
index <HASH>..<HASH> 100644
--- a/glances/plugins/glances_sensors.py
+++ b/glances/plugins/glances_sensors.py
@@ -18,6 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Sensors library (optional; Lin... | Correct a bug if sensor label is higher than <I> chars | nicolargo_glances | train |
4362d1333c770c99a785929bdfff8b7981969d93 | diff --git a/jlib.core/src/main/java/org/jlib/core/system/ApplicationPropertyNotSetException.java b/jlib.core/src/main/java/org/jlib/core/system/ApplicationPropertyNotSetException.java
index <HASH>..<HASH> 100644
--- a/jlib.core/src/main/java/org/jlib/core/system/ApplicationPropertyNotSetException.java
+++ b/jlib.core/... | ApplicationPropertyNotSetException converted from RuntimeException to
IllegalStateException | jlib-framework_jlib-operator | train |
111a5b66e1dcf8393f2dfd3cf42d95f407d35fc0 | diff --git a/fake.go b/fake.go
index <HASH>..<HASH> 100644
--- a/fake.go
+++ b/fake.go
@@ -60,7 +60,17 @@ func (st samplesTree) hasKeyPath(cat, subcat, lang string) bool {
return false
}
-func lookup(cat, subcat, lang string) string {
+func join(parts ...string) string {
+ var filtered []string
+ for _, part := ra... | Some names refactor, patronymic functions added | icrowley_fake | train |
51b5e20a1e565a8fb56ef777c43049e1833415aa | diff --git a/tests/unit/Processors/ForeignKeyProcessorTest.php b/tests/unit/Processors/ForeignKeyProcessorTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/Processors/ForeignKeyProcessorTest.php
+++ b/tests/unit/Processors/ForeignKeyProcessorTest.php
@@ -17,13 +17,13 @@ class ForeignKeyProcessorTest extends TestCas... | test: Improve variable names in ForeignKeyProcessorTest | ComPHPPuebla_dbal-fixtures | train |
af525a17a6d25b7007a3fd388b2c8b1de9d8ea9c | diff --git a/lib/createMedian.py b/lib/createMedian.py
index <HASH>..<HASH> 100644
--- a/lib/createMedian.py
+++ b/lib/createMedian.py
@@ -11,6 +11,7 @@ from pytools import iterfile
from pytools import nimageiter
from pytools import numcombine
from minmed import minmed
+import processInput
__version__ = '1.1'
... | fixed sky scaling problem in createMedian which was causing the grow around cr hits to look wierd
git-svn-id: <URL> | spacetelescope_drizzlepac | train |
f4ae4c77ee0f5a8a2e6d3c6e58f2eeba4e91b309 | diff --git a/src/main/java/net/dv8tion/jda/handle/GuildUpdateHandler.java b/src/main/java/net/dv8tion/jda/handle/GuildUpdateHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/handle/GuildUpdateHandler.java
+++ b/src/main/java/net/dv8tion/jda/handle/GuildUpdateHandler.java
@@ -33,6 +33,7 @@ pub... | Support for upcoming Guild-Ownership transfer | DV8FromTheWorld_JDA | train |
27a538a21209cbbfb50f0ef658b64852f2dee2ac | diff --git a/Kwf/Assets/Provider/KwfUtils.php b/Kwf/Assets/Provider/KwfUtils.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/Provider/KwfUtils.php
+++ b/Kwf/Assets/Provider/KwfUtils.php
@@ -9,9 +9,12 @@ class Kwf_Assets_Provider_KwfUtils extends Kwf_Assets_Provider_Abstract
if (preg_match('#^\s*Kwf\.Utils... | make kwf utils dependencies more fine granular
avoid including ext2 | koala-framework_koala-framework | train |
9bb48bfceafe217d050d0848a14dd74c664caeb0 | diff --git a/_pydevd_bundle/pydevd_constants.py b/_pydevd_bundle/pydevd_constants.py
index <HASH>..<HASH> 100644
--- a/_pydevd_bundle/pydevd_constants.py
+++ b/_pydevd_bundle/pydevd_constants.py
@@ -139,6 +139,7 @@ def protect_libraries_from_patching():
del sys.modules[name]
# import for side effects
+ ... | Fix accidentally remove import (PY-<I>)
(cherry picked from commit <I>bb<I>) | fabioz_PyDev.Debugger | train |
5b8d0d87a2dcb830d518be42082aaac948852128 | diff --git a/upload/admin/controller/extension/module.php b/upload/admin/controller/extension/module.php
index <HASH>..<HASH> 100644
--- a/upload/admin/controller/extension/module.php
+++ b/upload/admin/controller/extension/module.php
@@ -180,7 +180,12 @@ class ControllerExtensionModule extends Controller {
);
... | Sort modules by name
Except for English, any other languages module names not in good order, hard to follow where the module you want. This will fix it | opencart_opencart | train |
ba0589ea351b20c4f58ebd3a24c0561903cb2dd2 | diff --git a/src/Rebing/GraphQL/GraphQL.php b/src/Rebing/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/GraphQL.php
+++ b/src/Rebing/GraphQL/GraphQL.php
@@ -176,7 +176,12 @@ class GraphQL
return $instance;
}
- public function objectType($type, $opts = [])
+ /**
+ * @p... | Add types to \Rebing\GraphQL\GraphQL::objectType | rebing_graphql-laravel | train |
395a590539eaa804a0bf36ed6c00f6feec6c93cb | diff --git a/modules/stores/URLStore.js b/modules/stores/URLStore.js
index <HASH>..<HASH> 100644
--- a/modules/stores/URLStore.js
+++ b/modules/stores/URLStore.js
@@ -70,6 +70,9 @@ var URLStore = {
if (path === _currentPath)
return;
+ if (_location === 'disabledHistory')
+ return window.location =... | [changed] fallback to window.location for history
When `<Routes location=“history”/>` is used
we now fall back to window.location for browsers
that don’t support the HTML5 history API
Rather than falling back to hash, falling back to
window.location ensures urls are identical for
all users, and sharing them will alwa... | taion_rrtr | train |
29339e5098be783746a17306be78467e37c6a54d | diff --git a/centerline/__init__.py b/centerline/__init__.py
index <HASH>..<HASH> 100644
--- a/centerline/__init__.py
+++ b/centerline/__init__.py
@@ -5,4 +5,4 @@ from __future__ import unicode_literals
from . import utils
from .main import Centerline
-__all__ = ['utils', 'Centerline']
+__all__ = ('utils', 'Centerl... | Convert the list to a tuple | fitodic_centerline | train |
e172203b1c15a8b5383aa3fa2c198304225e79af | diff --git a/Controller/CRUDController.php b/Controller/CRUDController.php
index <HASH>..<HASH> 100644
--- a/Controller/CRUDController.php
+++ b/Controller/CRUDController.php
@@ -373,11 +373,11 @@ class CRUDController extends Controller
$object = $this->admin->getNewInstance();
+ $this->admin->setSu... | Fix issue with nested admin and create action | sonata-project_SonataAdminBundle | train |
189a6e26e8a6ae69dd19bd73419fce2537bd16c8 | diff --git a/bfg9000/tools/cc.py b/bfg9000/tools/cc.py
index <HASH>..<HASH> 100644
--- a/bfg9000/tools/cc.py
+++ b/bfg9000/tools/cc.py
@@ -623,7 +623,7 @@ class CcPackageResolver(object):
ld_lib_dirs = self.env.platform.lib_dirs
self.lib_dirs = [i for i in uniques(chain(
- cc_lib_dirs... | Use platform's lib_dirs as a fallback | jimporter_bfg9000 | train |
434f2c356d3146ca0675003921e416c0ecc1fec1 | diff --git a/etcdmain/serve.go b/etcdmain/serve.go
index <HASH>..<HASH> 100644
--- a/etcdmain/serve.go
+++ b/etcdmain/serve.go
@@ -42,6 +42,9 @@ type serveCtx struct {
func serve(sctx *serveCtx, s *etcdserver.EtcdServer, tlscfg *tls.Config, handler http.Handler) error {
logger := defaultLog.New(ioutil.Discard, "etcd... | etcdserver: do not serve requests before finish the first internal proposal | etcd-io_etcd | train |
b20349a6dcab955813f0f1322dad4eadf930e4ad | diff --git a/packages/sagas/src/images.js b/packages/sagas/src/images.js
index <HASH>..<HASH> 100644
--- a/packages/sagas/src/images.js
+++ b/packages/sagas/src/images.js
@@ -13,7 +13,7 @@ export function* requestUniqueImages(action) {
yield put(images.receiveUniqueImages(results));
}
catch(error) {
- con... | Put errors requesting images on the store | OpenChemistry_oc-web-components | train |
39c4ec63710affcf04b24eacc9e13831cb295e6a | diff --git a/modules/backend/formwidgets/richeditor/assets/js/richeditor.js b/modules/backend/formwidgets/richeditor/assets/js/richeditor.js
index <HASH>..<HASH> 100644
--- a/modules/backend/formwidgets/richeditor/assets/js/richeditor.js
+++ b/modules/backend/formwidgets/richeditor/assets/js/richeditor.js
@@ -139,7 +13... | Remove Redactor-specific markup and attributes from the edited text. | octobercms_october | train |
31bc8828ff8dc8bc55ce16abbb440d6a85dc1c75 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -85,12 +85,12 @@ Gauge.prototype.setTemplate = function (template) {
Gauge.prototype._computeTheme = function (theme) {
if (!theme) theme = {}
- if (theme && (Object.keys(theme).length === 0 || theme.hasUnicode != null ... | Fix error where if a string were passed to _computeTheme, it would crash.
Credit: @<I>
PR-URL: <URL> | npm_gauge | train |
66a743708190a4d821cb836796db387e8a39a24b | diff --git a/maas/client/bones/helpers.py b/maas/client/bones/helpers.py
index <HASH>..<HASH> 100644
--- a/maas/client/bones/helpers.py
+++ b/maas/client/bones/helpers.py
@@ -223,7 +223,11 @@ async def _obtain_token(url, username, password, *, insecure=False):
login_doc = bs4.BeautifulSoup(login_doc_content,... | helpers.py fix in newer MAAS versions to find login button | maas_python-libmaas | train |
91491712d23b4b54b78bff50a86e15fbe5aa7817 | diff --git a/lib/Bot.js b/lib/Bot.js
index <HASH>..<HASH> 100644
--- a/lib/Bot.js
+++ b/lib/Bot.js
@@ -5,11 +5,16 @@ function Bot(config) {
config = config || {};
const async = require('async');
const natural = require('natural');
- const BotTypes = require('./BotTypes');
+
const ClassifierFactor... | Added ability to add a new skill. | manthanhd_talkify | train |
7bd5972aeb7a6ed3bcd6cde7169db2b0d12cae23 | diff --git a/avatar/__init__.py b/avatar/__init__.py
index <HASH>..<HASH> 100644
--- a/avatar/__init__.py
+++ b/avatar/__init__.py
@@ -19,6 +19,7 @@ AVATAR_MAX_SIZE = getattr(settings, 'AVATAR_MAX_SIZE', 1024 * 1024)
AVATAR_THUMB_FORMAT = getattr(settings, 'AVATAR_THUMB_FORMAT', "JPEG")
AVATAR_HASH_FILENAMES = getatt... | Implement a basic file extension validation system. | grantmcconnaughey_django-avatar | train |
0e1d98539525fe2c8f8bf05cf32b6602f8477535 | diff --git a/core/src/ons/notification.js b/core/src/ons/notification.js
index <HASH>..<HASH> 100644
--- a/core/src/ons/notification.js
+++ b/core/src/ons/notification.js
@@ -105,7 +105,7 @@ notification._createAlertDialog = function(title, message,
}
if (promptDialog) {
- inputElement = util.createElement('... | fix(ons.notification): add underbar to text input in prompt | OnsenUI_OnsenUI | train |
ed8b250648d21904fd8bb3bd99b2f1db8af112fe | diff --git a/nba_py/team.py b/nba_py/team.py
index <HASH>..<HASH> 100644
--- a/nba_py/team.py
+++ b/nba_py/team.py
@@ -343,3 +343,100 @@ class TeamPlayers(_TeamDashboard):
def season_totals(self):
return _api_scrape(self.json, 1)
+
+
+class TeamPlayersOnOffDetail(_TeamDashboard):
+ _endpoint = 'teamp... | Added about 6 new endpoints. Team Tracking | seemethere_nba_py | train |
a6bd6602cbdd9dbbfdf02cbef6c555b03ebe8094 | diff --git a/pliers/converters/__init__.py b/pliers/converters/__init__.py
index <HASH>..<HASH> 100644
--- a/pliers/converters/__init__.py
+++ b/pliers/converters/__init__.py
@@ -16,16 +16,7 @@ class Converter(with_metaclass(ABCMeta, Transformer)):
self.convert = memory.cache(self.convert)
def convert(s... | make sure convert() dispatches to _transform() | tyarkoni_pliers | train |
f22ee2a21ca7648733f5dc9cf0da2a71b4916593 | diff --git a/src/dial.js b/src/dial.js
index <HASH>..<HASH> 100644
--- a/src/dial.js
+++ b/src/dial.js
@@ -83,6 +83,10 @@ function dial (swarm) {
function attemptDial (pi, cb) {
const tKeys = swarm.availableTransports(pi)
+ if (tKeys.length === 0) {
+ return cb(new Error('No transports registe... | fix: don't dial circuit if no transports available (#<I>) | libp2p_js-libp2p-switch | train |
d8e9410d724b1ff68c3ed5e8a00951bc12a03815 | diff --git a/src/python/pants/util/memo.py b/src/python/pants/util/memo.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/util/memo.py
+++ b/src/python/pants/util/memo.py
@@ -24,6 +24,29 @@ def equal_args(*args, **kwargs):
return key
+class InstanceKey(object):
+ """An equality wrapper for an arbitrary obje... | Ensure consistent performance for instance memos. (#<I>)
Previously part of a memoization instance key included the `__hash__` /
`__eq__` of the instance. This was un-necessary and allowed poorly
performing instance `__hash__` / `__eq__` to drag memo lookup
performance down. Change the technique used to be guarante... | pantsbuild_pants | train |
f6a8932b51b87dbf3d391466156e124bff65c97f | diff --git a/syn/base_utils/repl.py b/syn/base_utils/repl.py
index <HASH>..<HASH> 100644
--- a/syn/base_utils/repl.py
+++ b/syn/base_utils/repl.py
@@ -1,6 +1,7 @@
import six
import shlex
from .py import message, get_typename
+from syn.five import raw_input
#--------------------------------------------------------... | Completing REPL unit test coverage | mbodenhamer_syn | train |
933cf63084fb5f4e2b4059bf874c3022fccb8cce | diff --git a/hci/hci.go b/hci/hci.go
index <HASH>..<HASH> 100644
--- a/hci/hci.go
+++ b/hci/hci.go
@@ -433,9 +433,10 @@ func (h *HCI) handleDisconnectionComplete(b []byte) error {
}
close(c.chInPkt)
if c.param.Role() == roleSlave {
- h.setState(CentralDisconnected)
+ go h.setState(CentralDisconnected)
+ } else ... | hci: don't block inside the event handler | currantlabs_ble | train |
02a6f31c4cde156840774228ca76556416edbb8d | diff --git a/linkcheck/gui/editor.py b/linkcheck/gui/editor.py
index <HASH>..<HASH> 100644
--- a/linkcheck/gui/editor.py
+++ b/linkcheck/gui/editor.py
@@ -95,6 +95,7 @@ class EditorWindow (QtGui.QDialog, Ui_EditorDialog):
if not os.access(self.filename, os.W_OK):
return
fh = None
... | Ensure file handles are closed before emitting signals. | wummel_linkchecker | train |
776ea2a17de7834ecdaded9fcaabc48446d2f29d | diff --git a/lib/puppet/util/reference.rb b/lib/puppet/util/reference.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/reference.rb
+++ b/lib/puppet/util/reference.rb
@@ -32,7 +32,6 @@ class Puppet::Util::Reference
section = reference(name) or raise "Could not find section #{name}"
depth = section.dep... | Fixed #<I> - Removed no longer required TOC references | puppetlabs_puppet | train |
10cccaffde06486365d871801fc70aa9f3c637a0 | diff --git a/lib/exceptions.rb b/lib/exceptions.rb
index <HASH>..<HASH> 100644
--- a/lib/exceptions.rb
+++ b/lib/exceptions.rb
@@ -32,6 +32,13 @@ module Exceptions
backend.clear_context
end
+ # Public: Notify a rack exception.
+ #
+ # Returns a Result object.
+ def rack_exception(exception, en... | Add a helper for rack_exception. | remind101_exceptions | train |
bf30234960623d491518dcb674879fa5ea4715e9 | diff --git a/blobstore/blob_manager.go b/blobstore/blob_manager.go
index <HASH>..<HASH> 100644
--- a/blobstore/blob_manager.go
+++ b/blobstore/blob_manager.go
@@ -42,7 +42,7 @@ func (manager BlobManager) Fetch(blobID string) (boshsys.File, error, int) {
func (manager BlobManager) Write(blobID string, reader io.Reader)... | Set more restrictive perms in blob manager
[#<I>] | cloudfoundry_bosh-utils | train |
ed8268c98e5b40cf6cb5619f642abfde24084a21 | diff --git a/packages/node_modules/@ciscospark/plugin-messages/test/integration/spec/messages.js b/packages/node_modules/@ciscospark/plugin-messages/test/integration/spec/messages.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@ciscospark/plugin-messages/test/integration/spec/messages.js
+++ b/packages/node... | chore(plugin-messages): remove flawed yakbak implementation | webex_spark-js-sdk | train |
962d1262fc51f136522abaabb4294840055488d2 | diff --git a/modules/parser/mediawiki.tokenizer.peg.js b/modules/parser/mediawiki.tokenizer.peg.js
index <HASH>..<HASH> 100644
--- a/modules/parser/mediawiki.tokenizer.peg.js
+++ b/modules/parser/mediawiki.tokenizer.peg.js
@@ -8,8 +8,9 @@
var PEG = require('pegjs');
-function PegTokenizer(env) {
+function PegToken... | create tokenizer without need to modify namespace with PEG source | wikimedia_parsoid | train |
0bb1711709c08f60966ce699e58edc3d38e4ed03 | diff --git a/Controller/ContactClientController.php b/Controller/ContactClientController.php
index <HASH>..<HASH> 100644
--- a/Controller/ContactClientController.php
+++ b/Controller/ContactClientController.php
@@ -46,7 +46,14 @@ class ContactClientController extends FormController
$session = $this->get('sessi... | Improve search.
In general makes the search more usable for people who do not know the
like syntax. Also makes numeric descriptions searchable. | TheDMSGroup_mautic-contact-client | train |
73a62073bf09e474bae0bd70be67bffac09e599d | diff --git a/lib/volt/extra_core/array.rb b/lib/volt/extra_core/array.rb
index <HASH>..<HASH> 100644
--- a/lib/volt/extra_core/array.rb
+++ b/lib/volt/extra_core/array.rb
@@ -1,10 +1,5 @@
class Array
def sum
- total = 0
- each do |val|
- total += val
- end
-
- total
+ inject(0, :+)
end
end
d... | Refactor Array#sum to use inject instead of each | voltrb_volt | train |
9c4e9bcf05ec0cf1c7673c9116da12d2f10ea959 | diff --git a/jwk/interface.go b/jwk/interface.go
index <HASH>..<HASH> 100644
--- a/jwk/interface.go
+++ b/jwk/interface.go
@@ -57,10 +57,13 @@ const (
type Set interface {
// Add adds the specified key. If the key already exists in the set, it is
// not added.
+ // This method will be renamed to `AddKey(Key)` in a... | [jwk] Add a Set() method to jwk.Set (#<I>)
* [jwk] Add a Set() method to jwk.Set
* Appease linter | lestrrat-go_jwx | train |
54ea3a4efa88ca47dfbb64725590f419be0a3d17 | diff --git a/src/basis/template.js b/src/basis/template.js
index <HASH>..<HASH> 100644
--- a/src/basis/template.js
+++ b/src/basis/template.js
@@ -45,7 +45,7 @@
var SYNTAX_ERROR = 'Invalid or unsupported syntax';
// html parsing states
- var TEXT = /((?:.|[\r\n])*?)(\{(?:l10n:([a-zA-Z_][a-zA-Z0-9_\-]*(?:\.[... | remove {resource:..} support in templates | basisjs_basisjs | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.