diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/peri/states.py b/peri/states.py
index <HASH>..<HASH> 100644
--- a/peri/states.py
+++ b/peri/states.py
@@ -746,15 +746,23 @@ class ImageState(State, comp.ComponentCollection):
'l': [np.float16, np.float16]
}
hi_lvl, lo_lvl = mem_levels[key]
+ ... | set_mem_level works for categories with and without 1 set of comps. | py |
diff --git a/holoviews/plotting/bokeh/stats.py b/holoviews/plotting/bokeh/stats.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/stats.py
+++ b/holoviews/plotting/bokeh/stats.py
@@ -159,8 +159,8 @@ class BoxWhiskerPlot(CompositeElementPlot, ColorbarPlot, LegendPlot):
if len(vals):
q1,... | Fixed whiskers for box-whisker so that they never point inwards. (#<I>) | py |
diff --git a/owslib/feature/wfs110.py b/owslib/feature/wfs110.py
index <HASH>..<HASH> 100644
--- a/owslib/feature/wfs110.py
+++ b/owslib/feature/wfs110.py
@@ -114,7 +114,7 @@ class WebFeatureService_1_1_0(WebFeatureService_):
def getfeature(self, typename=None, filter=None, bbox=None, featureid=None,
... | Update wfs<I>.py with default OutputFormat=None | py |
diff --git a/pysnmp/proto/proxy/rfc2576.py b/pysnmp/proto/proxy/rfc2576.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/proxy/rfc2576.py
+++ b/pysnmp/proto/proxy/rfc2576.py
@@ -257,7 +257,9 @@ def v2ToV1(v2Pdu, origV1Pdu=None):
raise error.ProtocolError('Counter64 on the way')
# 4.... | fix to v2c exception values into v1 PDU translation | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from distutils.core import setup
setup(
name='OplogReplay',
- version='0.1.01',
+ version='0.1.2',
author='Mihnea Giurgea',
author_email='GiurgeaMihnea@gmail.com',
packages=['oplogrepl... | Bumped to version <I> | py |
diff --git a/pydot.py b/pydot.py
index <HASH>..<HASH> 100644
--- a/pydot.py
+++ b/pydot.py
@@ -1930,13 +1930,17 @@ class Dot(Graph):
os.unlink(tmp_name)
if process.returncode != 0:
- print(
- ('{cmdline} return code: {c}\n\n'
- 'stdout, stderr:\n {out}\n{err... | Fix string formatting after catching error After changes how pydot called graphviz, bug with printing "debug" info about called process was introduced. There were missing variables left after this refactor. Fixes: #<I> | py |
diff --git a/tests/instancemethods_test.py b/tests/instancemethods_test.py
index <HASH>..<HASH> 100644
--- a/tests/instancemethods_test.py
+++ b/tests/instancemethods_test.py
@@ -259,6 +259,22 @@ class TestEnsureStubsAreUsed:
verifyStubbedInvocationsAreUsed(dog)
+ @pytest.mark.xfail(reason='Not ... | Stash two xfail tests around `verifyStubbedInvocationsAreUsed` | py |
diff --git a/simuvex/plugins/unicorn_engine.py b/simuvex/plugins/unicorn_engine.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/unicorn_engine.py
+++ b/simuvex/plugins/unicorn_engine.py
@@ -1154,6 +1154,9 @@ class Unicorn(SimStatePlugin):
return True
def check(self):
+ if unicorn is None:
+ ... | Never jump into unicorn if unicorn is not installed | py |
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py
index <HASH>..<HASH> 100644
--- a/salt/utils/parsers.py
+++ b/salt/utils/parsers.py
@@ -323,7 +323,7 @@ class SaltfileMixIn(six.with_metaclass(MixInMeta, object)):
def _mixin_setup(self):
self.add_option(
'--saltfile', default=None,
-... | Typo in help output "on will be searched"->"one will be search" | py |
diff --git a/intranet/apps/search/views.py b/intranet/apps/search/views.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/search/views.py
+++ b/intranet/apps/search/views.py
@@ -98,10 +98,6 @@ def search_view(request):
query_error, results = get_search_results(q)
- if results["hits"]["total"] == 1:... | don't automatically jump to user if other results | py |
diff --git a/ginga/qtw/QtHelp.py b/ginga/qtw/QtHelp.py
index <HASH>..<HASH> 100644
--- a/ginga/qtw/QtHelp.py
+++ b/ginga/qtw/QtHelp.py
@@ -48,7 +48,10 @@ try:
from qtpy.QtWidgets import QOpenGLWidget # noqa
from qtpy.QtCore import QItemSelectionModel # noqa
from qtpy.QtWidgets import QApplication # no... | Temporarily (?) revert deletion of qt widget from sip Found a potential issue with sip deletion and some dialog boxes. Reverting to deleteLater() while this is sorted out. Also, there is some question about the best way to import sip. | py |
diff --git a/blitzdb/backends/file/index.py b/blitzdb/backends/file/index.py
index <HASH>..<HASH> 100644
--- a/blitzdb/backends/file/index.py
+++ b/blitzdb/backends/file/index.py
@@ -143,4 +143,5 @@ class TransactionalIndex(Index):
if not hasattr(self,'_cached_index'):
raise NotInTransaction
... | Added removal of _cached_index attribute on rollback to Index class.! | py |
diff --git a/src/ansiblelint/rules/PlaybookExtension.py b/src/ansiblelint/rules/PlaybookExtension.py
index <HASH>..<HASH> 100644
--- a/src/ansiblelint/rules/PlaybookExtension.py
+++ b/src/ansiblelint/rules/PlaybookExtension.py
@@ -19,7 +19,9 @@ class PlaybookExtension(AnsibleLintRule):
version_added = 'v4.0.0'
... | <I>: Assure extension is checked only for playbooks As now we can lint many other file types of YAML type, we want to assure extension checks happen only for playbooks. | py |
diff --git a/karaage/institutes/views.py b/karaage/institutes/views.py
index <HASH>..<HASH> 100644
--- a/karaage/institutes/views.py
+++ b/karaage/institutes/views.py
@@ -148,12 +148,12 @@ def add_edit_institute(request, institute_id=None):
if request.method == 'POST':
form = InstituteForm(request.POST, i... | Don't crash if institute form invalid delegate_formset was used but not defined. Change-Id: I<I>b<I>ab<I>ad0a<I>ecacd<I>bd<I>a<I> | py |
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based_risk.py
+++ b/openquake/calculators/event_based_risk.py
@@ -878,3 +878,4 @@ class EbriskCalculator(base.RiskCalculator):
logging.info('Saved %s ... | Set the size of the events table Former-commit-id: 6a2f<I>a<I>a<I>cefb<I>d<I>dc<I>f | py |
diff --git a/bokeh/tests/test_glyphs.py b/bokeh/tests/test_glyphs.py
index <HASH>..<HASH> 100644
--- a/bokeh/tests/test_glyphs.py
+++ b/bokeh/tests/test_glyphs.py
@@ -51,8 +51,8 @@ def check_props(glyph, *props):
found = set(glyph.properties())
missing = expected.difference(found)
extra = found.differenc... | Update test_Text() after changes to Text glyph | py |
diff --git a/entify/lib/patterns/email.py b/entify/lib/patterns/email.py
index <HASH>..<HASH> 100644
--- a/entify/lib/patterns/email.py
+++ b/entify/lib/patterns/email.py
@@ -41,6 +41,6 @@ class Email(RegexpObject):
# This is the tag of the regexp
self.name = "i3visio.email"
# This is the string containing the... | Fixed a missing parenthesis in the regular expression | py |
diff --git a/insane/core.py b/insane/core.py
index <HASH>..<HASH> 100755
--- a/insane/core.py
+++ b/insane/core.py
@@ -557,8 +557,8 @@ def resize_pbc_for_lipids(pbc, relL, relU, absL, absU,
# This is the area of the PBC xy plane
xysize = pbc.x * pbc.y
# This is the total area of the proteins ... | Fixed name xyarea to areaxy | py |
diff --git a/ontrack-delivery/publish.py b/ontrack-delivery/publish.py
index <HASH>..<HASH> 100755
--- a/ontrack-delivery/publish.py
+++ b/ontrack-delivery/publish.py
@@ -55,7 +55,9 @@ def acceptance_deploy(options):
# Publication in GitHub
def github_publish(options):
- # TODO Pushes the tag
+ # Pushes the m... | Release: Pushes master & tag | py |
diff --git a/stanza/_version.py b/stanza/_version.py
index <HASH>..<HASH> 100644
--- a/stanza/_version.py
+++ b/stanza/_version.py
@@ -1,4 +1,4 @@
""" Single source of truth for version number """
-__version__ = "1.2.2"
-__resources_version__ = '1.2.2'
+__version__ = "1.3.0"
+__resources_version__ = '1.3.0' | The next release will be <I>. In the meantime, we can include new models for the langid processor in a <I> directory | py |
diff --git a/spyderlib/utils/qthelpers.py b/spyderlib/utils/qthelpers.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/qthelpers.py
+++ b/spyderlib/utils/qthelpers.py
@@ -235,7 +235,7 @@ def toggle_actions(actions, enable):
def create_action(parent, text, shortcut=None, icon=None, tip=None,
... | Qt Helpers: Add an attribute called shown_shortcut to our QAction's - This attribute is going to be used to save shortcuts and show them when a user selects a global menu. - This way we avoid adding global shortcuts that override local ones. | py |
diff --git a/tests/jobs/test_scheduler_job.py b/tests/jobs/test_scheduler_job.py
index <HASH>..<HASH> 100644
--- a/tests/jobs/test_scheduler_job.py
+++ b/tests/jobs/test_scheduler_job.py
@@ -539,7 +539,7 @@ class TestDagFileProcessor(unittest.TestCase):
ti_to_schedule = dag_file_processor._process_task_insta... | [AIRFLOW-<I>] Fix Intermittent CI failure (#<I>) | py |
diff --git a/xcs/__init__.py b/xcs/__init__.py
index <HASH>..<HASH> 100644
--- a/xcs/__init__.py
+++ b/xcs/__init__.py
@@ -830,9 +830,10 @@ class LCS:
def run(self, problem, learn=True):
"""Run the algorithm, utilizing the population to choose the most appropriate action for each situation produced
- ... | Docstring correction Corrected minor error in docstring for LCS.run() | py |
diff --git a/pyvisa/util.py b/pyvisa/util.py
index <HASH>..<HASH> 100644
--- a/pyvisa/util.py
+++ b/pyvisa/util.py
@@ -240,7 +240,8 @@ def from_ieee_block(block, datatype='f', is_big_endian=False, container=list):
raise ValueError("Could not find hash sign (#) indicating the start of the block.")
try:
-... | Python 3 compatibility of from_ieee_block | py |
diff --git a/filemail/config.py b/filemail/config.py
index <HASH>..<HASH> 100644
--- a/filemail/config.py
+++ b/filemail/config.py
@@ -49,6 +49,18 @@ class Config():
return self._config[key]
return None
+ def update(self, config=None):
+ if config is None:
+ return
+ ... | added a dump method to return config | py |
diff --git a/openquake/engine/tools/dump_hazards.py b/openquake/engine/tools/dump_hazards.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/tools/dump_hazards.py
+++ b/openquake/engine/tools/dump_hazards.py
@@ -88,10 +88,13 @@ class Copier(object):
"""
fname = os.path.join(dest, name + '.gz')
... | Some trick to avoid storing filename and timestamp information in the .gz archive Former-commit-id: <I>f<I>e<I>d9a<I>f<I>d<I>ed8dc6ef<I>cf0 | py |
diff --git a/test/test_parser.py b/test/test_parser.py
index <HASH>..<HASH> 100644
--- a/test/test_parser.py
+++ b/test/test_parser.py
@@ -1274,16 +1274,18 @@ run:
self.assertFalse('this comment will not be included in exported workflow' in msg)
def testHelpOnMultiWorkflow(self):
- '''Test help m... | Fix help message for sections that defines sections from multiple workflows #<I> | py |
diff --git a/master/buildbot/buildslave/openstack.py b/master/buildbot/buildslave/openstack.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/buildslave/openstack.py
+++ b/master/buildbot/buildslave/openstack.py
@@ -99,7 +99,7 @@ class OpenStackLatentBuildSlave(AbstractLatentBuildSlave):
duration = 0
... | fix build status incompatibility with hpcloud | py |
diff --git a/examples/run_pplm.py b/examples/run_pplm.py
index <HASH>..<HASH> 100644
--- a/examples/run_pplm.py
+++ b/examples/run_pplm.py
@@ -373,7 +373,7 @@ def get_bag_of_words_indices(bag_of_words_ids_or_paths: List[str]) -> List[List[
filepath = id_or_path
with open(filepath, "r") as f:
... | tokenizer white space: revert to previous behavior | py |
diff --git a/tcex/service/service.py b/tcex/service/service.py
index <HASH>..<HASH> 100644
--- a/tcex/service/service.py
+++ b/tcex/service/service.py
@@ -526,7 +526,7 @@ class Service(object):
# TODO: validate this logic
body = [base64.b64encode(b).decode('utf-8') for b in body][0]
... | + remove serialization of body for api service. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -248,8 +248,8 @@ on_saltstack = 'SALT_ON_SALTSTACK' in os.environ
project = 'Salt'
version = salt.version.__version__
-latest_release = '2017.7.2' # latest release
-previous_release = '2016.11.8' # latest rel... | [<I>] Bump latest and previous versions | py |
diff --git a/taskcluster/client.py b/taskcluster/client.py
index <HASH>..<HASH> 100644
--- a/taskcluster/client.py
+++ b/taskcluster/client.py
@@ -32,7 +32,7 @@ API_CONFIG = json.loads(resource_string(__name__, 'apis.json').decode('utf-8'))
def _b64encode(s):
- """ Hawk pukes when there's a newline in base64 enco... | It's HTTP that doesn't like the newlines, not Hawk | py |
diff --git a/theanets/feedforward.py b/theanets/feedforward.py
index <HASH>..<HASH> 100644
--- a/theanets/feedforward.py
+++ b/theanets/feedforward.py
@@ -433,6 +433,44 @@ class Network(object):
params.extend(self.biases)
return params
+ def get_weights(self, layer, borrow=False):
+ ''... | Add getters for weights/bias. | py |
diff --git a/usb1.py b/usb1.py
index <HASH>..<HASH> 100644
--- a/usb1.py
+++ b/usb1.py
@@ -23,7 +23,6 @@ import libusb1
from ctypes import byref, create_string_buffer, c_int, sizeof, POINTER, \
create_unicode_buffer, c_wchar, cast, c_uint16, c_ubyte, string_at, \
c_void_p, cdll
-from cStringIO import StringI... | Fix some pylint-detected problems. | py |
diff --git a/imgaug/parameters.py b/imgaug/parameters.py
index <HASH>..<HASH> 100644
--- a/imgaug/parameters.py
+++ b/imgaug/parameters.py
@@ -751,7 +751,7 @@ class FrequencyNoise(StochasticParameter):
elif isinstance(exponent, StochasticParameter):
self.exponent = exponent
else:
- ... | Fix FrequencyNoise exponent being discrete instead of continuous | py |
diff --git a/tilequeue/command.py b/tilequeue/command.py
index <HASH>..<HASH> 100755
--- a/tilequeue/command.py
+++ b/tilequeue/command.py
@@ -1008,6 +1008,12 @@ def tilequeue_prune_tiles_of_interest(cfg, peripherals):
tiles = map(deserialize_coord, info['tiles'])
tiles = map(coord_marshall_in... | Add the ability to read from a file with one tile per line | py |
diff --git a/duniterpy/documents/block.py b/duniterpy/documents/block.py
index <HASH>..<HASH> 100644
--- a/duniterpy/documents/block.py
+++ b/duniterpy/documents/block.py
@@ -3,8 +3,10 @@ from .certification import Identity, Certification, Revocation
from .membership import Membership
from .transaction import Transac... | Add sign and inner_hash features on block document | py |
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/cache.py
+++ b/allegedb/allegedb/cache.py
@@ -695,9 +695,9 @@ class EdgesCache(Cache):
def _update_origcache(self, graph, dest, branch, turn, tick, orig, value, *, forward):
kc = self._... | Make origcache actually cache the origin and not the destination | py |
diff --git a/logdissect/parsers/tcpdump.py b/logdissect/parsers/tcpdump.py
index <HASH>..<HASH> 100644
--- a/logdissect/parsers/tcpdump.py
+++ b/logdissect/parsers/tcpdump.py
@@ -42,15 +42,15 @@ class ParseModule(OurModule):
def post_parse_action(self, entry):
"""separate hosts and ports after entry is pa... | Add post_parse_action parser method for more customization | py |
diff --git a/post_office/fields.py b/post_office/fields.py
index <HASH>..<HASH> 100644
--- a/post_office/fields.py
+++ b/post_office/fields.py
@@ -22,7 +22,7 @@ class CommaSeparatedEmailField(TextField):
defaults.update(kwargs)
return super(CommaSeparatedEmailField, self).formfield(**defaults)
- ... | Fix RemovedInDjango<I>Warning (#<I>) Fix RemovedInDjango<I>Warning in CommaSeparatedEmailField from_db_value | py |
diff --git a/andes/plot.py b/andes/plot.py
index <HASH>..<HASH> 100644
--- a/andes/plot.py
+++ b/andes/plot.py
@@ -55,7 +55,14 @@ class TDSData:
self._process_names()
def _process_names(self):
- self.file_name, self.file_ext = os.path.splitext(self.full_name)
+ if self.full_name is None:
+... | Handle use case when data is populated from memory. | py |
diff --git a/basis_set_exchange/curate/read_turbomole.py b/basis_set_exchange/curate/read_turbomole.py
index <HASH>..<HASH> 100644
--- a/basis_set_exchange/curate/read_turbomole.py
+++ b/basis_set_exchange/curate/read_turbomole.py
@@ -79,7 +79,7 @@ def read_turbomole(basis_path):
while i < len(basis_li... | Fix bugs in read_turbomole | py |
diff --git a/tests/test_modeling_albert.py b/tests/test_modeling_albert.py
index <HASH>..<HASH> 100644
--- a/tests/test_modeling_albert.py
+++ b/tests/test_modeling_albert.py
@@ -299,7 +299,8 @@ class AlbertModelIntegrationTest(unittest.TestCase):
model = AlbertModel.from_pretrained("albert-base-v2")
... | Add 'with torch.no_grad()' to integration test forward pass (#<I>) | py |
diff --git a/app/actions/prottable/merge.py b/app/actions/prottable/merge.py
index <HASH>..<HASH> 100644
--- a/app/actions/prottable/merge.py
+++ b/app/actions/prottable/merge.py
@@ -5,8 +5,9 @@ def build_proteintable(pqdb, header, isobaric=False, precursor=False, probabilit
"""Fetches proteins and quants from joi... | Lambda needs 3 args or it will crash when passed 3 args. | py |
diff --git a/python/mxnet/gluon/rnn/rnn_layer.py b/python/mxnet/gluon/rnn/rnn_layer.py
index <HASH>..<HASH> 100644
--- a/python/mxnet/gluon/rnn/rnn_layer.py
+++ b/python/mxnet/gluon/rnn/rnn_layer.py
@@ -268,7 +268,7 @@ class RNN(_RNNLayer):
Recurrent state shape:
The recurrent state's shape is `(num_layer... | Fixes for gluon RNN [WIP] (#<I>) * Fix documentation on recurrent state shape for gluon * Fix state info for gluon rnn_layers * Revert "Fix state info for gluon rnn_layers" This reverts commit 5f<I>d6e8b<I>f<I>dfde<I>bef<I>d9abddb<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,14 @@
#!/usr/bin/env python
-from setuptools import setup,find_packages
+from setuptools import setup, find_packages
setup(
name='django-follow',
description='Application which enables following featur... | Version bump. Well, templatetags should be included too | py |
diff --git a/impala/tests/util.py b/impala/tests/util.py
index <HASH>..<HASH> 100644
--- a/impala/tests/util.py
+++ b/impala/tests/util.py
@@ -47,4 +47,4 @@ class ImpylaTestEnv(object):
def __repr__(self):
kvs = ['{0}={1}'.format(k, v)
for (k, v) in six.iteritems(self.__dict__)]
- r... | BUG: ImpylaTestEnv had an incorrect repr string | py |
diff --git a/injector.py b/injector.py
index <HASH>..<HASH> 100644
--- a/injector.py
+++ b/injector.py
@@ -62,12 +62,7 @@ def reraise(original, exception, maximum_frames=1):
frames = inspect.getinnerframes(tb)
if len(frames) > maximum_frames:
exception = original
- try:
- raise exception.wi... | Remove another Python 2 fallback, not needed anymore | py |
diff --git a/share/examples/plugins/templates/hooks.py b/share/examples/plugins/templates/hooks.py
index <HASH>..<HASH> 100755
--- a/share/examples/plugins/templates/hooks.py
+++ b/share/examples/plugins/templates/hooks.py
@@ -43,10 +43,10 @@ def post_init(setup_config):
# Example 2: initiate observer execution st... | fix(plugin template): fix imports those were accidently introduced by a automatic find-replace for gtkmvc | py |
diff --git a/tests/integration/states/pkg.py b/tests/integration/states/pkg.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/pkg.py
+++ b/tests/integration/states/pkg.py
@@ -35,7 +35,7 @@ _PKG_TARGETS = {
'Debian': ['python-plist', 'apg'],
'RedHat': ['xz-devel', 'zsh-html'],
'FreeBSD': ['aal... | os_family is Suse not SUSE (#<I>) | py |
diff --git a/molo/core/tests/test_tag_navigation.py b/molo/core/tests/test_tag_navigation.py
index <HASH>..<HASH> 100644
--- a/molo/core/tests/test_tag_navigation.py
+++ b/molo/core/tests/test_tag_navigation.py
@@ -396,7 +396,6 @@ class TestTags(MoloTestCaseMixin, TestCase):
response = self.client.get(
... | Prevent article order from breaking unrelated test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
from distutils.core import setup
#from setuptools import setup
-import peri
+# import peri
desc = open('./README.md').read()
reqs = open('./requirements.txt').readlines()
@@ -9,7 +9,7 @@ setup(name='peri',
... | Removing self-reference in setup.py, which is causing Brian hangups. | py |
diff --git a/vpk/__init__.py b/vpk/__init__.py
index <HASH>..<HASH> 100644
--- a/vpk/__init__.py
+++ b/vpk/__init__.py
@@ -197,6 +197,9 @@ class VPK:
if term != 0xffff:
raise ValueError("Error while parsing index")
+ if x['archive_index'] ==... | fix module not working with standalone VPKs | py |
diff --git a/cltk/corpus/greek/beta_to_unicode.py b/cltk/corpus/greek/beta_to_unicode.py
index <HASH>..<HASH> 100644
--- a/cltk/corpus/greek/beta_to_unicode.py
+++ b/cltk/corpus/greek/beta_to_unicode.py
@@ -388,10 +388,10 @@ class Replacer(object): # pylint: disable=R0903
"""
text = text.replace('-',... | Use compiled regex to sub. More than <I>x faster. (#<I>) | py |
diff --git a/ELiDE/app.py b/ELiDE/app.py
index <HASH>..<HASH> 100644
--- a/ELiDE/app.py
+++ b/ELiDE/app.py
@@ -147,12 +147,14 @@ class ELiDEApp(App):
config['LiSE']['code'],
**enkw
)
+ self._pull_time()
Clock.schedule_interval(self._check_stats, 0.01)
Clock.... | pull time and use it on start; don't bind needlessly | py |
diff --git a/requestium/requestium.py b/requestium/requestium.py
index <HASH>..<HASH> 100644
--- a/requestium/requestium.py
+++ b/requestium/requestium.py
@@ -77,10 +77,6 @@ class Session(requests.Session):
# TODO transfer headers, and authenticated proxies: not sure how to do it in chrome yet
chrome_... | Remove unnecessary infobars removal in chrome | py |
diff --git a/neo4j/conf.py b/neo4j/conf.py
index <HASH>..<HASH> 100644
--- a/neo4j/conf.py
+++ b/neo4j/conf.py
@@ -314,8 +314,6 @@ class PoolConfig(Config):
# trust the specified certificate(s)
ssl_context.check_hostname = True
ssl_context.verify_mode = ssl.CERT_REQUIR... | Remove copy-paste comment (#<I>) | py |
diff --git a/cobra/flux_analysis/parsimonious.py b/cobra/flux_analysis/parsimonious.py
index <HASH>..<HASH> 100644
--- a/cobra/flux_analysis/parsimonious.py
+++ b/cobra/flux_analysis/parsimonious.py
@@ -1,4 +1,4 @@
-import cobra
+from ..manipulation import modify
def optimize_minimal_flux(model, already_irreversi... | relative imports in parsimonious.py now that it has been moved out of the oven | py |
diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -1274,7 +1274,9 @@ class TimestampField(IntegerField):
def python_value(self, value):
if value is not None and isinstance(value, (int, float, long)):
- if self.resolution > 1:
+ if val... | TimestampField fix for timestamps == 0. | py |
diff --git a/cherrypy/wsgiserver/__init__.py b/cherrypy/wsgiserver/__init__.py
index <HASH>..<HASH> 100644
--- a/cherrypy/wsgiserver/__init__.py
+++ b/cherrypy/wsgiserver/__init__.py
@@ -1449,7 +1449,8 @@ class CherryPyWSGIServer(object):
environ = self.environ.copy()
# SERVER_SOFTWARE is comm... | Allow overriding of SERVER_SOFTWARE (and therefore the 'Server' response header). | py |
diff --git a/test/test_equality.py b/test/test_equality.py
index <HASH>..<HASH> 100644
--- a/test/test_equality.py
+++ b/test/test_equality.py
@@ -53,7 +53,7 @@ class TestCase(object):
model_mapper.galaxy.light_profile.centre_0 = p.UniformPrior()
assert model_mapper != model_mapper_copy
-
+
... | test demonstrating changing nlo settings results in inequality | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,6 @@ setup(
author_email="tjelvar.olsson@jic.ac.uk",
url=url,
install_requires=[
- "click",
"dtoolcore>=2.4.0",
],
entry_points={ | Remove click requirment from setup.py | py |
diff --git a/yotta/lib/target.py b/yotta/lib/target.py
index <HASH>..<HASH> 100644
--- a/yotta/lib/target.py
+++ b/yotta/lib/target.py
@@ -296,7 +296,6 @@ class Target(pack.Pack):
try:
prog_path = os.path.join(builddir, program)
- signal.signal(signal.SIGINT, _ignoreSignal);
... | don't ignore ctrl+c while running the test command | py |
diff --git a/src/dockerflow/django/__init__.py b/src/dockerflow/django/__init__.py
index <HASH>..<HASH> 100644
--- a/src/dockerflow/django/__init__.py
+++ b/src/dockerflow/django/__init__.py
@@ -1,4 +1,3 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL w... | Drop default_app_config (#<I>) Obsolete since Django <I> and removed in Django <I> | py |
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -186,7 +186,7 @@ MSGS = {
'Used when a variable is accessed for an unexistent member.',
{'old_names': [('E1103', 'ma... | Correct the name of the flag in help string | py |
diff --git a/pyvisa/ctwrapper/functions.py b/pyvisa/ctwrapper/functions.py
index <HASH>..<HASH> 100644
--- a/pyvisa/ctwrapper/functions.py
+++ b/pyvisa/ctwrapper/functions.py
@@ -1380,9 +1380,6 @@ def parse_resource_extended(library, session, resource_name):
unaliased_expanded_resource_... | Make parse_resource_extended return even in the case of not SUCCESS | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ import sys
from setuptools import setup, find_packages
-version = '1.0.2'
+version = '1.0.3'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload') | Updated version to <I> | py |
diff --git a/tests/test_models.py b/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/tests/test_models.py
+++ b/tests/test_models.py
@@ -4,7 +4,8 @@ from livy.models import (
Version,
Session, SessionKind, SessionState,
Statement, StatementState,
- Output, OutputStatus
+ Output, OutputStatus,... | Add test for Output.raise_for_status | py |
diff --git a/zipline/data/benchmarks.py b/zipline/data/benchmarks.py
index <HASH>..<HASH> 100644
--- a/zipline/data/benchmarks.py
+++ b/zipline/data/benchmarks.py
@@ -22,7 +22,7 @@ def format_yahoo_index_url(symbol, start_date, end_date):
Format a URL for querying Yahoo Finance for Index data.
"""
return... | MAINT: Updated yahoo url for SSL | py |
diff --git a/webapi_tests/semiauto/testcase.py b/webapi_tests/semiauto/testcase.py
index <HASH>..<HASH> 100644
--- a/webapi_tests/semiauto/testcase.py
+++ b/webapi_tests/semiauto/testcase.py
@@ -66,9 +66,6 @@ class TestCase(unittest.TestCase):
self.assert_browser_connected()
self.marionette = TestCase... | Bug <I> - Remove turn_screen_on and unlock_screen from semiauto | py |
diff --git a/tests/unit/loader/test_globals.py b/tests/unit/loader/test_globals.py
index <HASH>..<HASH> 100644
--- a/tests/unit/loader/test_globals.py
+++ b/tests/unit/loader/test_globals.py
@@ -8,6 +8,7 @@
# Import Python libs
from __future__ import absolute_import, print_function, unicode_literals
import inspect
+... | handle wrapped on py2 as well | py |
diff --git a/collections_.py b/collections_.py
index <HASH>..<HASH> 100644
--- a/collections_.py
+++ b/collections_.py
@@ -3,7 +3,7 @@
#
# Copyright © 2009 Michael Lenzen <m.lenzen@gmail.com>
#
-_version = '0.1.4'
+_version = '0.2.0'
__all__ = ['collection', 'Collection', 'Mutable', 'set', 'frozenset', 'setlist',... | Changed to version <I> | py |
diff --git a/edisgo/grid/grids.py b/edisgo/grid/grids.py
index <HASH>..<HASH> 100644
--- a/edisgo/grid/grids.py
+++ b/edisgo/grid/grids.py
@@ -268,10 +268,17 @@ class Graph(nx.Graph):
"""
# get all nodes that have the attribute 'type' set
- nodes_attributes = nx.get_node_attributes(self, attr... | speed improvement to function nodes_by_attribute | py |
diff --git a/glue/ligolw/types.py b/glue/ligolw/types.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/types.py
+++ b/glue/ligolw/types.py
@@ -173,7 +173,7 @@ FromNumPyType = {
ToSQLiteType = {
u"char_s": "TEXT",
u"char_v": "TEXT",
- u"ilwd:char": "TEXT",
+ u"ilwd:char": "ILWDCHAR",
u"ilwd:char_u": "TEXT",
u"l... | Add ILWDCHAR <--> ilwd:char bidirectional mapping to the sqlite types lists on account of me figuring out how to stick instances of the new glue.ligolw.ilwd.ilwdchar class into a database and pull them out again. | py |
diff --git a/karaage/common/filterspecs.py b/karaage/common/filterspecs.py
index <HASH>..<HASH> 100644
--- a/karaage/common/filterspecs.py
+++ b/karaage/common/filterspecs.py
@@ -149,7 +149,6 @@ class DateFilter(object):
for choice in choices:
- print choice
for k,v in qs.items():
... | Remove debugging. Change-Id: I3d<I>c<I>fb5bc<I>fe<I>c<I>e<I>e<I> | py |
diff --git a/djangocms_text_ckeditor/html.py b/djangocms_text_ckeditor/html.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/html.py
+++ b/djangocms_text_ckeditor/html.py
@@ -20,7 +20,6 @@ def clean_html(data, full=True, parser=DEFAULT_PARSER):
If full is False, only the contents inside <body> will be ... | fixes a bug. more explicit with kwargs | py |
diff --git a/cachier/core.py b/cachier/core.py
index <HASH>..<HASH> 100644
--- a/cachier/core.py
+++ b/cachier/core.py
@@ -81,7 +81,7 @@ class _BaseCore(object):
class _MongoCore(_BaseCore):
def __init__(self, mongetter, stale_after, next_time):
- super().__init__(stale_after, next_time)
+ _BaseCo... | super() calls replaced with explicit super class calls | py |
diff --git a/flask_apidoc/apidoc.py b/flask_apidoc/apidoc.py
index <HASH>..<HASH> 100644
--- a/flask_apidoc/apidoc.py
+++ b/flask_apidoc/apidoc.py
@@ -81,7 +81,11 @@ class ApiDoc(object):
self.__project_data.get('url').find('')
data = self.__replace_api_url(data, self.__project_data.get('url'))
- ... | Bug fix: Sometimes the sampleUrl is not a string | py |
diff --git a/angr/analyses/decompiler/structurer.py b/angr/analyses/decompiler/structurer.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structurer.py
+++ b/angr/analyses/decompiler/structurer.py
@@ -1174,6 +1174,14 @@ class Structurer(Analysis):
if ast.op == "And":
queue +=... | Structurer: Support getting common subexprs for Or expressions. | py |
diff --git a/corrections/__init__.py b/corrections/__init__.py
index <HASH>..<HASH> 100644
--- a/corrections/__init__.py
+++ b/corrections/__init__.py
@@ -41,8 +41,7 @@ class Correct(object):
def _produce(self):
while True:
if not self.queue.empty():
- print "Not empty!", self.... | A step on the right track, for sure. | py |
diff --git a/can/io/sqlite.py b/can/io/sqlite.py
index <HASH>..<HASH> 100644
--- a/can/io/sqlite.py
+++ b/can/io/sqlite.py
@@ -18,6 +18,7 @@ from can.message import Message
log = logging.getLogger('can.io.sql')
+# TODO comment on this
if sys.version_info > (3,):
buffer = memoryview | added small TODO in sqlite.py | py |
diff --git a/tweepy/auth.py b/tweepy/auth.py
index <HASH>..<HASH> 100644
--- a/tweepy/auth.py
+++ b/tweepy/auth.py
@@ -36,12 +36,6 @@ class OAuthHandler(AuthHandler):
OAUTH_ROOT = '/oauth/'
def __init__(self, consumer_key, consumer_secret, callback=None):
- if isinstance(consumer_key, str):
- ... | Remove unnecessary ASCII encoding of credentials in OAuthHandler | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -1,8 +1,5 @@
#! /usr/bin/env python
-import os
-os.environ['TROLLIUSDEBUG'] = '1'
-
from duct import cmd, cd, setenv, CheckedError
cmd('echo hello world').run() | delete test code left over from trollius | py |
diff --git a/main.py b/main.py
index <HASH>..<HASH> 100755
--- a/main.py
+++ b/main.py
@@ -118,7 +118,9 @@ def makeEPUB(document, xml_local, cache_dir, outdirect, log_to):
toc = tocncx.TocNCX()
toc.takeArticle(document)
toc.write(outdirect)
- opf.generateOPF(document, outdirect)
+ myopf = opf.Conte... | Altered single mode workflow to use ContentOPF class | py |
diff --git a/tests/test_argparse_completer.py b/tests/test_argparse_completer.py
index <HASH>..<HASH> 100644
--- a/tests/test_argparse_completer.py
+++ b/tests/test_argparse_completer.py
@@ -1371,5 +1371,5 @@ def test_add_parser_custom_completer():
no_custom_completer_parser = subparsers.add_parser(name="no_custom... | Fixed duplicate subparser name in test_add_parser_custom_completer If I'm not mistaken, the use of the same name for both subparsers was not intentional but a typo. In Python <I>, this is an error and causes the test to fail. Fixes #<I> | py |
diff --git a/segments/newline.py b/segments/newline.py
index <HASH>..<HASH> 100644
--- a/segments/newline.py
+++ b/segments/newline.py
@@ -1,2 +1,2 @@
def add_newline_segment(powerline):
- powerline.append("\nabc\n", Color.RESET, Color.RESET, separator='')
+ powerline.append("\n", Color.RESET, Color.RESET, separ... | fix stupid abc mistake in newline segment | py |
diff --git a/skorch/classifier.py b/skorch/classifier.py
index <HASH>..<HASH> 100644
--- a/skorch/classifier.py
+++ b/skorch/classifier.py
@@ -13,10 +13,9 @@ from skorch.callbacks import PrintLog
from skorch.callbacks import EpochScoring
from skorch.callbacks import PassthroughScoring
from skorch.dataset import CVSp... | Allow NeuralNetClassifier to fit tensor labels #<I> (#<I>) Apply to_numpy on y in NeuralNetClassifier.check_data before applying np.unique in case that y is a torch tensor. | py |
diff --git a/sos/jupyter/kernel.py b/sos/jupyter/kernel.py
index <HASH>..<HASH> 100644
--- a/sos/jupyter/kernel.py
+++ b/sos/jupyter/kernel.py
@@ -1602,12 +1602,16 @@ Available subkernels:\n{}'''.format(
input_files = env.sos_dict['input']
if input_files is None:
i... | Do not attempt to preview non-file targets such as executable and remote | py |
diff --git a/visidata/settings.py b/visidata/settings.py
index <HASH>..<HASH> 100644
--- a/visidata/settings.py
+++ b/visidata/settings.py
@@ -60,14 +60,12 @@ class SettingsMgr(collections.OrderedDict):
4. objname(obj): the specific sheet instance
a. can override at runtime, replace value for shee... | [settings] "override" (cli/runtime) is highest priority setting | py |
diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mysql.py
+++ b/salt/modules/mysql.py
@@ -190,8 +190,8 @@ def query(database, query, **connection_args):
conv_iter = iter(orig_conv)
conv = dict(zip(conv_iter, [str] * len(orig_conv.keys())))
- dbc = ... | Move connection_args.update() to its own line | py |
diff --git a/eventsourcing/tests/persistence.py b/eventsourcing/tests/persistence.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/tests/persistence.py
+++ b/eventsourcing/tests/persistence.py
@@ -799,8 +799,8 @@ class NonInterleavingNotificationIDsBaseCase(ABC, TestCase):
StoredEvent(
o... | Adjusted test's create_stack() method, to have non-empty values for topic and state (was breaking EventStoreDB). | py |
diff --git a/tests/management/commands/test_graph_models.py b/tests/management/commands/test_graph_models.py
index <HASH>..<HASH> 100644
--- a/tests/management/commands/test_graph_models.py
+++ b/tests/management/commands/test_graph_models.py
@@ -23,7 +23,9 @@ def test_graph_models_json():
output = out.getvalue(... | make sure non deterministic ordering does not break tests | py |
diff --git a/libsubmit/version.py b/libsubmit/version.py
index <HASH>..<HASH> 100644
--- a/libsubmit/version.py
+++ b/libsubmit/version.py
@@ -1,4 +1,4 @@
''' Set module version
<Major>.<Minor>.<maintenance>[-alpha/beta/..]
'''
-VERSION = '0.2.1'
+VERSION = '0.2.2' | Bumping version to <I> to mark a ton of fixes. * Cobalt is now tested on ipp:local:cobalt mode. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -83,11 +83,8 @@ exclude_patterns.append('psf_spec/*')
import photutils
rst_epilog += """
-.. |minimum_python_version| replace:: {0}
-.. |minimum_numpy_version| replace:: {1}
.. _Photutils: high-level_API.h... | Update sphinx conf.py | py |
diff --git a/trakt/client.py b/trakt/client.py
index <HASH>..<HASH> 100644
--- a/trakt/client.py
+++ b/trakt/client.py
@@ -6,7 +6,7 @@ from trakt.interfaces.base import InterfaceProxy
import logging
-__version__ = '2.3.0'
+__version__ = '2.4.0'
log = logging.getLogger(__name__) | Bumped version to <I> | py |
diff --git a/examples/examples.py b/examples/examples.py
index <HASH>..<HASH> 100644
--- a/examples/examples.py
+++ b/examples/examples.py
@@ -11,13 +11,15 @@ from halo.halo import Halo
spinner = Halo({'text': 'Such Spin', 'spinner': 'dots'})
-
-spinner.start()
-time.sleep(2)
-spinner.text = 'Much Colors'
-spinner... | Example: Now handles KeyboardInterrupts too! | py |
diff --git a/asv/runner.py b/asv/runner.py
index <HASH>..<HASH> 100644
--- a/asv/runner.py
+++ b/asv/runner.py
@@ -751,9 +751,19 @@ class ForkServer(Spawner):
if sys.version_info[0] >= 3:
msg = msg.encode('utf-8')
- # Send command
+ # Connect (with wait+retry)
s = socket.s... | Retry connection to forkserver Avoids e.g. race connecting between bind() and listen() and other issues. | py |
diff --git a/examples/python/tx_recv.py b/examples/python/tx_recv.py
index <HASH>..<HASH> 100755
--- a/examples/python/tx_recv.py
+++ b/examples/python/tx_recv.py
@@ -40,6 +40,12 @@ class TxRecv(MessagingHandler, TransactionHandler):
self.container.declare_transaction(self.conn, handler=self)
self.tra... | PROTON-<I>: [python] tx_recv.py raises exception. Fixed the example: starting a transactional internally opens a sending link for transactional commands. The example was coded on the assumption that the only link being opened was its own receiver link, which is incorrect. | py |
diff --git a/taar/recommenders/collaborative_recommender.py b/taar/recommenders/collaborative_recommender.py
index <HASH>..<HASH> 100644
--- a/taar/recommenders/collaborative_recommender.py
+++ b/taar/recommenders/collaborative_recommender.py
@@ -72,6 +72,11 @@ class CollaborativeRecommender(BaseRecommender):
... | Added a guard around CollaborativeRecommender::recommend Checking if the client passes an empty list of addons should short circuit the recommendation engine. | py |
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/readinput.py
+++ b/openquake/commonlib/readinput.py
@@ -207,6 +207,19 @@ def get_exposure(oqparam):
values, deductibles, insurance_limits, retrofitting_values)
... | Added get_specific_assets | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.