diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-easy-audit',
- version='1.0',
+ version='1.1',
packages=find_packages(),
include_package... | Changed version to <I> | py |
diff --git a/spyder/widgets/sourcecode/codeeditor.py b/spyder/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/sourcecode/codeeditor.py
+++ b/spyder/widgets/sourcecode/codeeditor.py
@@ -1214,7 +1214,7 @@ class CodeEditor(TextEditBaseWidget):
"""
self.scrollpastend_ena... | Ensure update happens immediatly | py |
diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/config.py
+++ b/blockstack/lib/config.py
@@ -120,7 +120,7 @@ EPOCH_FEATURE_MULTISIG = "BLOCKSTACK_MULTISIG"
# when epochs end (-1 means "never")
EPOCH_NOW = -1
-EPOCH_1_END_BLOCK = 436660 # F-Day 2... | push deadline for hard fork to <I> | py |
diff --git a/saltcloud/clouds/parallels.py b/saltcloud/clouds/parallels.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/parallels.py
+++ b/saltcloud/clouds/parallels.py
@@ -334,7 +334,7 @@ def query(action=None, command=None, args=None, method='GET', data=None):
try:
result = urllib2.urlopen(req)
... | Should say PARALLELS, not EC2 | py |
diff --git a/horizon/exceptions.py b/horizon/exceptions.py
index <HASH>..<HASH> 100644
--- a/horizon/exceptions.py
+++ b/horizon/exceptions.py
@@ -334,14 +334,14 @@ def handle(request, message=None, redirect=None, ignore=False,
log_entry = encoding.force_text(exc_value)
- # We trust messages from our own ex... | Ensure exc message is included in user_message In exception.handle the user_message was being overridden so failed to include the exception message even if %(exc)s was in the message. This patch ensures the correct user_message is produced by exception.handle() Change-Id: I2bcc<I>a2f8a3b<I>c1acbbf3d3ff1e<I>b<I>e9 Clo... | py |
diff --git a/tests/testwidgets.py b/tests/testwidgets.py
index <HASH>..<HASH> 100644
--- a/tests/testwidgets.py
+++ b/tests/testwidgets.py
@@ -63,4 +63,4 @@ class TestWidgets(IPTestCase):
def test_selection_widget_2(self):
html = normalize(SelectionWidget(self.plot2, display_options={'figure_format': 'p... | Fixed outdated hash in TestWidgets | py |
diff --git a/digitalocean/__init__.py b/digitalocean/__init__.py
index <HASH>..<HASH> 100644
--- a/digitalocean/__init__.py
+++ b/digitalocean/__init__.py
@@ -8,7 +8,7 @@ __license__ = "See: http://creativecommons.org/licenses/by-nd/3.0/ "
__copyright__ = "Copyright (c) 2012, 2013, 2014 Lorenzo Setale"
from .Manage... | add new exception classes to package exports | py |
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -310,6 +310,7 @@ def test_send_to_paste_buffer(base_app):
assert normalize(c) == expected
+
def test_base_timing(base_app, capsys):
out = run_cmd(base_app, 'set timing... | Added unit test of debug output capability | py |
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py
index <HASH>..<HASH> 100644
--- a/parsl/dataflow/dflow.py
+++ b/parsl/dataflow/dflow.py
@@ -703,7 +703,7 @@ class DataFlowKernel(object):
'memoize': cache,
'callback': None,
'exec_fu': None,
- ... | Represented task checkpointedness with True/False, not True/None (#<I>) | py |
diff --git a/python/src/nnabla/functions.py b/python/src/nnabla/functions.py
index <HASH>..<HASH> 100644
--- a/python/src/nnabla/functions.py
+++ b/python/src/nnabla/functions.py
@@ -384,3 +384,26 @@ def pow2_quantize(x, sign=True, with_zero=True, n=8, m=1, quantize=True, ste_fin
if not quantize:
return x... | Add clip_by_value as composite function. | py |
diff --git a/kerncraft/models/benchmark.py b/kerncraft/models/benchmark.py
index <HASH>..<HASH> 100644
--- a/kerncraft/models/benchmark.py
+++ b/kerncraft/models/benchmark.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
"""Benchmark model and helper functions."""
+import os
import subprocess
from functools import reduce
... | added setting of OMP_NUM_THREADS | py |
diff --git a/sh.py b/sh.py
index <HASH>..<HASH> 100644
--- a/sh.py
+++ b/sh.py
@@ -958,7 +958,7 @@ class RunningCommand(object):
return unicode("")
def __eq__(self, other):
- return unicode(self) == unicode(other)
+ return id(self) == id(other)
__hash__ = None # Avoid Deprecation... | Use id() for equality between running commands Use id() instead of the expensive unicode() that has the side effect of actually running the command if it is not already running, an blocking until the command has finished running. | py |
diff --git a/hgtools/managers/cmd.py b/hgtools/managers/cmd.py
index <HASH>..<HASH> 100644
--- a/hgtools/managers/cmd.py
+++ b/hgtools/managers/cmd.py
@@ -4,6 +4,8 @@ import operator
import itertools
import collections
+import pkg_resources
+
TaggedRevision = collections.namedtuple('TaggedRevision', 'tag revisio... | Git command is only suitable if the command supports --points-to. Fixes #<I>. | py |
diff --git a/cqlengine/tests/columns/test_container_columns.py b/cqlengine/tests/columns/test_container_columns.py
index <HASH>..<HASH> 100644
--- a/cqlengine/tests/columns/test_container_columns.py
+++ b/cqlengine/tests/columns/test_container_columns.py
@@ -67,6 +67,16 @@ class TestSetColumn(BaseCassEngTestCase):
... | test to show blind update of empty set causes CQLEngineException | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ from setuptools import setup, find_packages
setup(
name = 'reap',
- version = '0.4-pre',
+ version = '0.4',
description = 'A command line interface for the Harvest time tracking tool.',
a... | Bumped version to <I> | py |
diff --git a/mtools/mlogfilter/mlogfilter.py b/mtools/mlogfilter/mlogfilter.py
index <HASH>..<HASH> 100755
--- a/mtools/mlogfilter/mlogfilter.py
+++ b/mtools/mlogfilter/mlogfilter.py
@@ -94,7 +94,7 @@ class MLogFilterTool(LogFileTool):
return line[:last_index] + ("").join(splitted)
- def run(self):
... | fixed bug from merge, run needs 2 parameters. | py |
diff --git a/ieml/dictionary/script/script.py b/ieml/dictionary/script/script.py
index <HASH>..<HASH> 100644
--- a/ieml/dictionary/script/script.py
+++ b/ieml/dictionary/script/script.py
@@ -77,7 +77,7 @@ class Script(TreeStructure):
def __eq__(self, other):
if isinstance(other, Script):
- re... | Make the __eq__ test between morpheme more efficient | py |
diff --git a/yandextank/stepper/main.py b/yandextank/stepper/main.py
index <HASH>..<HASH> 100644
--- a/yandextank/stepper/main.py
+++ b/yandextank/stepper/main.py
@@ -229,21 +229,9 @@ class StepperWrapper(object):
hashed_str += sep + str(self.enum_ammo)
if self.instances_schedule:
... | Update main.py use opener's hash property for stpd file hash | py |
diff --git a/synphot/spectrum.py b/synphot/spectrum.py
index <HASH>..<HASH> 100644
--- a/synphot/spectrum.py
+++ b/synphot/spectrum.py
@@ -597,7 +597,8 @@ class BaseSpectrum(object):
# This logic assumes __call__ never returns mag or count!
if ((isinstance(other.model, Empirical1D) and
... | Fixed check_overlap() logic again. | py |
diff --git a/commands/wai.py b/commands/wai.py
index <HASH>..<HASH> 100755
--- a/commands/wai.py
+++ b/commands/wai.py
@@ -30,4 +30,4 @@ def cmd(send, msg, args):
c = ["broke", "exploded", "corrupted", "melted", "froze", "died", "reset",
"was seen by the godofskies", "burned", "corroded", "reversed polar... | if i mess this up i will officially stop work on cslbot. | py |
diff --git a/slackeventsapi/server.py b/slackeventsapi/server.py
index <HASH>..<HASH> 100644
--- a/slackeventsapi/server.py
+++ b/slackeventsapi/server.py
@@ -1,4 +1,4 @@
-from flask import Flask, request, make_response
+from flask import Flask, request, make_response, Blueprint
import json
import platform
import sy... | Accept usage of Flask Blueprints as app instance | py |
diff --git a/tgext/admin/tgadminconfig.py b/tgext/admin/tgadminconfig.py
index <HASH>..<HASH> 100644
--- a/tgext/admin/tgadminconfig.py
+++ b/tgext/admin/tgadminconfig.py
@@ -40,7 +40,7 @@ class UserControllerConfig(CrudRestControllerConfig):
if not getattr(self, 'table_filler_type', None):
class ... | Skip _groups field in case of MongoDB | py |
diff --git a/hotdoc/core/project.py b/hotdoc/core/project.py
index <HASH>..<HASH> 100644
--- a/hotdoc/core/project.py
+++ b/hotdoc/core/project.py
@@ -256,9 +256,7 @@ class Project(Configurable):
if not self.project_version:
error('invalid-config', 'No project version was provided')
- sel... | Remove version in output names It was not really useful as we won't be able to build the documentation of a same lib for two of its versions at the same time because of symbole name uniqueness | py |
diff --git a/pandas/tests/frame/indexing/test_categorical.py b/pandas/tests/frame/indexing/test_categorical.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/frame/indexing/test_categorical.py
+++ b/pandas/tests/frame/indexing/test_categorical.py
@@ -394,3 +394,14 @@ class TestDataFrameIndexingCategorical:
r... | TST: Verify filtering operations on DataFrames with categorical Series (#<I>) | py |
diff --git a/managers/pipeline.py b/managers/pipeline.py
index <HASH>..<HASH> 100644
--- a/managers/pipeline.py
+++ b/managers/pipeline.py
@@ -35,7 +35,7 @@ def request_user(strategy, details, user=None, request=None, is_new=False, uid=N
if user:
return
elif is_new:
- username = details["username"]
+ username ... | Don't allow periods in usernames | py |
diff --git a/isso/utils/__init__.py b/isso/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/isso/utils/__init__.py
+++ b/isso/utils/__init__.py
@@ -19,7 +19,7 @@ def anonymize(remote_addr):
and /48 (zero'd).
"""
- if not isinstance(remote_addr, str) and isinstance(remote_addr, str):
+ if isinstance... | utils: Test remote_addr as bytes, not str This was probably an oversight while porting to py2-only: python2 support was removed in dd<I>aa0cf<I>e<I>dd7b2aff<I>b<I>f<I>f<I>e Checking for not(str) and str at the same time is a no-op. What makes sense is to check whether a byte object can be decoded to unicode. | py |
diff --git a/fusesoc/section.py b/fusesoc/section.py
index <HASH>..<HASH> 100644
--- a/fusesoc/section.py
+++ b/fusesoc/section.py
@@ -349,8 +349,8 @@ Testbench source type : {source_type}
Verilog top module : {top_module}
"""
return s.format(verilator_options=' '.join(self.verilator_options),
- ... | Fix core-info for verilator sections | py |
diff --git a/system_tests/language.py b/system_tests/language.py
index <HASH>..<HASH> 100644
--- a/system_tests/language.py
+++ b/system_tests/language.py
@@ -74,7 +74,8 @@ class TestLanguage(unittest.TestCase):
# Verify entity 1.
self.assertEqual(entity1.name, self.NAME1)
self.assertEqual(en... | Widening the salience range for natural language system tests. Fixes #<I>. However, the test will likely remain flaky if the output is a moving target. | py |
diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py
index <HASH>..<HASH> 100644
--- a/salt/modules/postgres.py
+++ b/salt/modules/postgres.py
@@ -911,6 +911,8 @@ def _role_cmd_args(name,
if sub_cmd.endswith('WITH'):
sub_cmd = sub_cmd.replace(' WITH', '')
if groups:
+ if isinstance... | Handle group lists as well as comma-separated group strings. Fixes #<I> | py |
diff --git a/demo.py b/demo.py
index <HASH>..<HASH> 100644
--- a/demo.py
+++ b/demo.py
@@ -19,7 +19,7 @@ mwoauth = MWOAuth(consumer_key=consumer_key, consumer_secret=consumer_secret)
app.register_blueprint(mwoauth.bp)
@app.route("/")
-def gcu():
+def index():
return "logged in as: " + repr(mwoauth.get_current_... | rename gcu to index | py |
diff --git a/flask_github.py b/flask_github.py
index <HASH>..<HASH> 100644
--- a/flask_github.py
+++ b/flask_github.py
@@ -224,6 +224,7 @@ class GitHub(object):
kwargs.setdefault('headers', {})
if access_token is None:
access_token = self.get_access_token()
+ kwargs['headers'] = kw... | Copy the headers so the access token doesn't leak | py |
diff --git a/src/datamodel/gfunc.py b/src/datamodel/gfunc.py
index <HASH>..<HASH> 100644
--- a/src/datamodel/gfunc.py
+++ b/src/datamodel/gfunc.py
@@ -350,7 +350,8 @@ class Gfunc(Ugrid):
self.xmin[1], self.xmax[1]]
aspect = self.tsize[1] / self.tsize[0]
dsp_k... | fix y axis swap in imshow method | py |
diff --git a/gwpy/timeseries/statevector.py b/gwpy/timeseries/statevector.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/statevector.py
+++ b/gwpy/timeseries/statevector.py
@@ -334,7 +334,7 @@ class StateVector(TimeSeries):
try:
return self.metadata['bitmask']
except:
- s... | StateVector: handle empty bitmask better | py |
diff --git a/plugins/candela/girder_candela/__init__.py b/plugins/candela/girder_candela/__init__.py
index <HASH>..<HASH> 100644
--- a/plugins/candela/girder_candela/__init__.py
+++ b/plugins/candela/girder_candela/__init__.py
@@ -19,7 +19,7 @@ from girder.plugin import getPlugin, GirderPlugin
class CandelaPlugin(Gi... | Automatically inspect npm package names for plugins This change removes the NPM_PACKAGE_NAME property on the GirderPlugin class. Instead, plugin developers must explicitly set the path to the web client package and the npm package name will be inferred. Advanced usage (such as fetching the package from npm) is still... | py |
diff --git a/mktplace/mktplace_client.py b/mktplace/mktplace_client.py
index <HASH>..<HASH> 100644
--- a/mktplace/mktplace_client.py
+++ b/mktplace/mktplace_client.py
@@ -100,7 +100,10 @@ class MarketPlaceClient(MarketPlaceCommunication):
self.LastTransaction = None
self.CurrentState = state or Mark... | remove duplicate state fetch from mktclient at start up. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ except ImportError:
__version__ = '0.1.14'
__doc_version__ = '3'
-rst_epilog = ".. |doc_version| replace:: %s" % __doc_version__
+rst_epilog = "\n.. |doc_version| replace:: %s" % __doc_versio... | updated rst_epilog to include a newline | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(name='DukeDSClient',
- version='1.0.5',
+ version='2.0.0',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-servic... | create version <I> Bumping major version due to removing `--skip-copy` and adding the `--copy` flags for the `deliver` command. | py |
diff --git a/pirate/torrent.py b/pirate/torrent.py
index <HASH>..<HASH> 100644
--- a/pirate/torrent.py
+++ b/pirate/torrent.py
@@ -100,7 +100,10 @@ def parse_page(html):
# parse the rows one by one (skipping headings)
for row in table('tr')[1:]:
# grab info about the row
- id_ = row.find('a', ... | fix for empty href on links that ocasionally cause an uncaught exception | py |
diff --git a/pendulum/__init__.py b/pendulum/__init__.py
index <HASH>..<HASH> 100644
--- a/pendulum/__init__.py
+++ b/pendulum/__init__.py
@@ -6,6 +6,11 @@ from .time import Time
from .interval import Interval
from .period import Period
+# Mimicking standard library
+datetime = Pendulum
+date = Date
+time = Time
+
... | Adds datetime, date and time to module level to mimic standard library | py |
diff --git a/python/jsbeautifier/__init__.py b/python/jsbeautifier/__init__.py
index <HASH>..<HASH> 100644
--- a/python/jsbeautifier/__init__.py
+++ b/python/jsbeautifier/__init__.py
@@ -232,7 +232,7 @@ def main():
argv = sys.argv[1:]
try:
- opts, args = getopt.getopt(argv, "f:s:c:e:o:rdEPjabkil:xhtv... | The -b option should be followed by an argument | py |
diff --git a/openpnm/materials/BereaCubic.py b/openpnm/materials/BereaCubic.py
index <HASH>..<HASH> 100644
--- a/openpnm/materials/BereaCubic.py
+++ b/openpnm/materials/BereaCubic.py
@@ -36,8 +36,6 @@ class BereaCubic(Project):
Examples
--------
- >>> import openpnm as op
- >>> proj = op.materials.Ber... | Deleting docstring example in Berea file since it's being run | py |
diff --git a/python/orca/src/bigdl/orca/common.py b/python/orca/src/bigdl/orca/common.py
index <HASH>..<HASH> 100644
--- a/python/orca/src/bigdl/orca/common.py
+++ b/python/orca/src/bigdl/orca/common.py
@@ -183,7 +183,7 @@ def init_orca_context(cluster_mode="local", cores=2, memory="2g", num_nodes=1,
... | attempt to fix ray memory (#<I>) * attempt to fix ray memory * exclude webui | py |
diff --git a/documentation_builder/conf.py b/documentation_builder/conf.py
index <HASH>..<HASH> 100644
--- a/documentation_builder/conf.py
+++ b/documentation_builder/conf.py
@@ -51,7 +51,7 @@ MOCK_MODULES = [
'optlang', 'optlang.interface', 'optlang.symbolics',
'optlang.symbolics.core',
'future', 'futur... | fix: add ruamel back into the mock list (#<I>) | py |
diff --git a/bottle_sqlalchemy.py b/bottle_sqlalchemy.py
index <HASH>..<HASH> 100644
--- a/bottle_sqlalchemy.py
+++ b/bottle_sqlalchemy.py
@@ -120,7 +120,7 @@ class SQLAlchemyPlugin(object):
config = route.config
_callback = route.callback
- g = lambda key, default: config.get(key, de... | Broke old bottle versions. Fixing that now. :/ | py |
diff --git a/tools/harness-thci/OpenThread.py b/tools/harness-thci/OpenThread.py
index <HASH>..<HASH> 100755
--- a/tools/harness-thci/OpenThread.py
+++ b/tools/harness-thci/OpenThread.py
@@ -80,7 +80,8 @@ class OpenThread(IThci):
self.pskc = ModuleHelper.Default_PSKc
self.securityPolicySecs = ... | THCI: update default SED polling rate as 3s (#<I>) | py |
diff --git a/LiSE/LiSE/rule.py b/LiSE/LiSE/rule.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/rule.py
+++ b/LiSE/LiSE/rule.py
@@ -543,10 +543,16 @@ class RuleMapping(MutableMapping):
return 'RuleMapping({})'.format([k for k in self])
def __iter__(self):
- return self.engine.db.active_rules_ruleb... | Rewrite RuleMapping.__iter__ to use the cache I can't believe I didn't do this already. | py |
diff --git a/CSHLDAP.py b/CSHLDAP.py
index <HASH>..<HASH> 100755
--- a/CSHLDAP.py
+++ b/CSHLDAP.py
@@ -215,7 +215,7 @@ class Member(object):
return 'rtp' in self.groups
def isBirthday(self):
- if not birthday:
+ if not self.birthday:
return False
birthday = self.birth... | Added __str__ for members | py |
diff --git a/pyEX/common.py b/pyEX/common.py
index <HASH>..<HASH> 100644
--- a/pyEX/common.py
+++ b/pyEX/common.py
@@ -873,9 +873,9 @@ def _quoteSymbols(symbols):
"""urlquote a potentially comma-separate list of symbols"""
if isinstance(symbols, list) or "," not in symbols:
# comma separated, quote s... | mark '/' to be quoted | py |
diff --git a/ibis/tests/all/test_join.py b/ibis/tests/all/test_join.py
index <HASH>..<HASH> 100644
--- a/ibis/tests/all/test_join.py
+++ b/ibis/tests/all/test_join.py
@@ -2,7 +2,7 @@ import pandas as pd
import pytest
from pytest import param
-from ibis.tests.backends import Csv, Pandas, PySpark
+from ibis.tests.bac... | SUPP: Disable BigQuery explicitly in all/test_join.py Strangely, `pytest.mark.only_on_backends` doesn't skip BigQuery, so I added an explicit skip as a workaround. | py |
diff --git a/salt/modules/apt.py b/salt/modules/apt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/apt.py
+++ b/salt/modules/apt.py
@@ -319,8 +319,8 @@ def _get_upgradable():
rexp = re.compile('(?m)^Conf '
'([^ ]+) ' # Package name
'\(([^ ]+) ' # Version
- ... | Updated the regex to match when there is no [arch] field. - Thanks @avimar for the suggested regexes - Tested on <I>, <I> | py |
diff --git a/src/holodeck/agents.py b/src/holodeck/agents.py
index <HASH>..<HASH> 100644
--- a/src/holodeck/agents.py
+++ b/src/holodeck/agents.py
@@ -544,6 +544,9 @@ class TurtleAgent(HolodeckAgent):
``[forward_force, rot_force]``
Inherits from :class:`HolodeckAgent`."""
+
+ agent_type = "TurtleAgent"
+... | Allow TurtleAgent to be spawned (#<I>) | py |
diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -1996,10 +1996,12 @@ class UMAP(BaseEstimator):
if self._small_data:
try:
+ # sklearn pairwise_distances fails for callable metric on sparse data
+ _m =... | fixed pairwise_distances/sparse matrix bug for transform | py |
diff --git a/tests/test_pubsub.py b/tests/test_pubsub.py
index <HASH>..<HASH> 100644
--- a/tests/test_pubsub.py
+++ b/tests/test_pubsub.py
@@ -12,7 +12,7 @@ from redis.exceptions import ConnectionError
from .conftest import _get_client, skip_if_redis_enterprise, skip_if_server_version_lt
-def wait_for_message(pubs... | Increased pubsub's wait_for_messages timeout to prevent flaky tests (#<I>) | py |
diff --git a/safe/impact_functions/inundation/flood_OSM_building_impact.py b/safe/impact_functions/inundation/flood_OSM_building_impact.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/inundation/flood_OSM_building_impact.py
+++ b/safe/impact_functions/inundation/flood_OSM_building_impact.py
@@ -151,7 +151,7 ... | Changed Temporarily closed to Number flooded closing issue #<I> | py |
diff --git a/colorama/tests/ansitowin32_test.py b/colorama/tests/ansitowin32_test.py
index <HASH>..<HASH> 100644
--- a/colorama/tests/ansitowin32_test.py
+++ b/colorama/tests/ansitowin32_test.py
@@ -1,11 +1,5 @@
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
-try:
- # python3
- from i... | Remove unused "except ImportError" The io module is available on all supported Pythons. It was added in version <I>. The fallback is never used. For additional details on the module, see: <URL> | py |
diff --git a/brownant/pipeline/base.py b/brownant/pipeline/base.py
index <HASH>..<HASH> 100644
--- a/brownant/pipeline/base.py
+++ b/brownant/pipeline/base.py
@@ -57,9 +57,9 @@ class PipelineProperty(cached_property):
# optional attrs
else:
self.options[name] = value
- ... | refine a variable's name. | py |
diff --git a/src/pybel/io/nodelink.py b/src/pybel/io/nodelink.py
index <HASH>..<HASH> 100644
--- a/src/pybel/io/nodelink.py
+++ b/src/pybel/io/nodelink.py
@@ -98,7 +98,7 @@ def node_link_data(graph: BELGraph) -> Mapping[str, Any]:
'multigraph': True,
'graph': graph.graph.copy(),
'nodes': [
- ... | Make sure nodes also get BEL in node-link JSON | py |
diff --git a/tests/schema.py b/tests/schema.py
index <HASH>..<HASH> 100644
--- a/tests/schema.py
+++ b/tests/schema.py
@@ -337,6 +337,8 @@ class TestModelDDL(ModelDatabaseTestCase):
class PG10Identity(TestModel):
id = IdentityField()
data = TextField()
+ class Meta:
+ ... | Fix failing test related to using wrong db with schema test model. | py |
diff --git a/vprof/runner.py b/vprof/runner.py
index <HASH>..<HASH> 100644
--- a/vprof/runner.py
+++ b/vprof/runner.py
@@ -92,7 +92,7 @@ def run(func, options, args=(), kwargs={}, host='localhost', port=8000): # pyli
result = None
for prof in run_stats:
- if not result:
+ if result is None:
... | Any return type for result (#<I>) It is safer to check for None, in case the function returns non-standard python variable (ex numpy of tensorflow) Should fix <URL> | py |
diff --git a/dallinger/recruiters.py b/dallinger/recruiters.py
index <HASH>..<HASH> 100644
--- a/dallinger/recruiters.py
+++ b/dallinger/recruiters.py
@@ -258,7 +258,7 @@ class ProlificRecruiter(object):
"reward": self.config.get(
"prolific:reward"
), # This is the hourly rat... | Prolific studies are "ACTIVE", not "PUBLISHED" | py |
diff --git a/spyderlib/plugins/sphinxify.py b/spyderlib/plugins/sphinxify.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/sphinxify.py
+++ b/spyderlib/plugins/sphinxify.py
@@ -26,6 +26,7 @@ from tempfile import mkdtemp
# Sphinx = None
from sphinx.application import Sphinx
from pygments import plugin
+from doc... | Print a warning message when sphinx can't process a docstring -. Not every package use rst docstrings, so we have to account for these cases. | py |
diff --git a/gluish/database.py b/gluish/database.py
index <HASH>..<HASH> 100644
--- a/gluish/database.py
+++ b/gluish/database.py
@@ -35,14 +35,16 @@ class sqlite3db(object):
(1, "Hello World"))
"""
- def __init__(self, path, copy_on_exit=None):
+ def __init__(self, path, timeo... | pass on timeout and detect_types | py |
diff --git a/scripts/validate_docs_snippet_line_numbers.py b/scripts/validate_docs_snippet_line_numbers.py
index <HASH>..<HASH> 100644
--- a/scripts/validate_docs_snippet_line_numbers.py
+++ b/scripts/validate_docs_snippet_line_numbers.py
@@ -195,6 +195,12 @@ if __name__ == "__main__":
broken_refs: List[Docusaurus... | [MAINTENANCE] Set upper bound on number of allowed warnings in snippet validation script | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ def read(fname):
setup(
name='pipe2py',
- version='0.10.0',
+ version='0.11.0',
description=(
'A project to compile Yahoo! Pipes into Python. '
'The pipe2py package can compi... | Bump to version <I> | py |
diff --git a/airflow/sensors/sql.py b/airflow/sensors/sql.py
index <HASH>..<HASH> 100644
--- a/airflow/sensors/sql.py
+++ b/airflow/sensors/sql.py
@@ -43,12 +43,12 @@ class SqlSensor(BaseSensorOperator):
:type parameters: dict or iterable
:param success: Success criteria for the sensor is a Callable that take... | Fix docstring of SqlSensor (#<I>) Fix docstring of SqlSensor by removing `:` from `type:`. | py |
diff --git a/tests/test_pickle_core.py b/tests/test_pickle_core.py
index <HASH>..<HASH> 100644
--- a/tests/test_pickle_core.py
+++ b/tests/test_pickle_core.py
@@ -271,7 +271,7 @@ def _helper_bad_cache_file(sleeptime):
# we want this to succeed at leat once
def test_bad_cache_file():
"""Test pickle core handling ... | try to fix bad_cache_file test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -105,7 +105,7 @@ setup(
'jsonschema>=2.4.0',
'lockfile>=0.12.2',
'MarkupSafe>=0.23',
- # 'MySQL-python>=1.2.5',
+ ... | Added MySQL-python module to setup.py. | py |
diff --git a/pymc3/smc/sample_smc.py b/pymc3/smc/sample_smc.py
index <HASH>..<HASH> 100644
--- a/pymc3/smc/sample_smc.py
+++ b/pymc3/smc/sample_smc.py
@@ -180,8 +180,8 @@ def sample_smc(
if chains is None:
chains = max(2, cores)
- elif chains == 1:
- cores = 1
+ else:
+ cores = min(c... | Fix sample_smc chains/cores info | py |
diff --git a/src/diamond/handler/Handler.py b/src/diamond/handler/Handler.py
index <HASH>..<HASH> 100644
--- a/src/diamond/handler/Handler.py
+++ b/src/diamond/handler/Handler.py
@@ -29,7 +29,6 @@ class Handler(object):
self.log.debug("Running Handler %s locked" % (self))
self.lock.acq... | Only release in the finally block, this prevents a double lock release issue | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -50,6 +50,8 @@ setuptools.setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3... | Add Python <I> and <I> support to package | py |
diff --git a/meshio/off_io.py b/meshio/off_io.py
index <HASH>..<HASH> 100644
--- a/meshio/off_io.py
+++ b/meshio/off_io.py
@@ -2,7 +2,8 @@
#
"""
I/O for the OFF surface format, cf.
-<https://en.wikipedia.org/wiki/OFF_(file_format)>.
+<https://en.wikipedia.org/wiki/OFF_(file_format)>,
+<http://www.geomview.org/docs/h... | be less strict in the OFF assertions Fixes #<I>. | py |
diff --git a/pyAudioAnalysis/ShortTermFeatures.py b/pyAudioAnalysis/ShortTermFeatures.py
index <HASH>..<HASH> 100644
--- a/pyAudioAnalysis/ShortTermFeatures.py
+++ b/pyAudioAnalysis/ShortTermFeatures.py
@@ -396,7 +396,6 @@ def spectrogram(signal, sampling_rate, window, step, plot=False,
signal = (signal - dc_offse... | added tqdm in spegram calculation | py |
diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index <HASH>..<HASH> 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1348,7 +1348,9 @@ def assert_frame_equal(left, right, check_dtype=True,
check_categorical : bool, default True
Whether to compare internal Categorical exac... | DOC: Clarify check_like behavior in assert_frame_equal (#<I>) | py |
diff --git a/tornado/autoreload.py b/tornado/autoreload.py
index <HASH>..<HASH> 100644
--- a/tornado/autoreload.py
+++ b/tornado/autoreload.py
@@ -233,7 +233,7 @@ def _reload():
os.environ.get("PYTHONPATH", ""))
if not _has_execv:
subprocess.Popen([sys.executable] ... | autoreload: Improve autoreload wrapper on windows On platforms without execv(), we must spawn a separate subprocess. This breaks down when an internal autoreload is firing in a wrapped process, since the internal reload raises an exception with the wrapper catches (triggering a second reload and another copy of the pr... | py |
diff --git a/zipline/test/test_messaging.py b/zipline/test/test_messaging.py
index <HASH>..<HASH> 100644
--- a/zipline/test/test_messaging.py
+++ b/zipline/test/test_messaging.py
@@ -104,8 +104,6 @@ class SimulatorTestCase(object):
sim.register_controller( con )
sim.register_components([ret1, ret2, cl... | Woops, left pdb assert in. | py |
diff --git a/aegean.py b/aegean.py
index <HASH>..<HASH> 100644
--- a/aegean.py
+++ b/aegean.py
@@ -906,8 +906,11 @@ def find_sources_in_image(filename, hdu_index=0, outfile=None,rms=None, max_summ
# flux values
#the background is taken from background map
- source.background=bkgim... | #<I> Aegean fix crash for sources at edge of image (clamp background pixel location to edge) | py |
diff --git a/configure.py b/configure.py
index <HASH>..<HASH> 100755
--- a/configure.py
+++ b/configure.py
@@ -246,7 +246,7 @@ n.comment('Main executable is library plus main() function.')
objs = cxx('ninja')
ninja = n.build(binary('ninja'), 'link', objs, implicit=ninja_lib,
variables=[('libs', libs)... | ninja_syntax.build() returns a list, not a single string. Fixes 'multiple rules' warnings on mac/linux. | py |
diff --git a/vcr/cassette.py b/vcr/cassette.py
index <HASH>..<HASH> 100644
--- a/vcr/cassette.py
+++ b/vcr/cassette.py
@@ -16,11 +16,13 @@ from .util import partition_dict
try:
from asyncio import iscoroutinefunction
- from ._handle_coroutine import handle_coroutine
except ImportError:
def iscoroutinef... | Fix cassette module to work with py<I> | py |
diff --git a/salt/modules/npm.py b/salt/modules/npm.py
index <HASH>..<HASH> 100644
--- a/salt/modules/npm.py
+++ b/salt/modules/npm.py
@@ -76,13 +76,16 @@ def install(pkg=None,
if result['retcode'] != 0:
raise CommandExecutionError(result['stderr'])
+ # npm >1.2.21 is putting the output to stderr eve... | Fixed issue with npm.install for npm>=<I>. Closes #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ from setuptools import setup
setup(
name='Flask-Security',
- version='1.6.10',
+ version='1.6.9',
url='https://github.com/mattupstate/flask-security',
license='MIT',
author='Matt Wri... | Fix version to be able to merge | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ with open('docido_sdk/__init__.py') as istr:
exec(l)
install_requires = [
- 'elasticsearch>=2.3.0,<5',
+ 'elasticsearch==2.3.0',
'ProxyTypes==0.9',
'pymongo>=2.9.4',
'python-dateut... | Force ES to <I> | py |
diff --git a/mambuloan.py b/mambuloan.py
index <HASH>..<HASH> 100644
--- a/mambuloan.py
+++ b/mambuloan.py
@@ -280,11 +280,13 @@ class MambuLoan(MambuStruct):
holder.attrs['clients'] = clients
self.attrs['clients'] = loanclients
-
+ self.attrs['hold... | Add holderType attr on MambuLoan.setHolder to diff between groups and clients | py |
diff --git a/src/main/config/portal/default/redbox/scripts/actions/workflow.py b/src/main/config/portal/default/redbox/scripts/actions/workflow.py
index <HASH>..<HASH> 100644
--- a/src/main/config/portal/default/redbox/scripts/actions/workflow.py
+++ b/src/main/config/portal/default/redbox/scripts/actions/workflow.py
@... | Fixed attach file error in IE 8 | py |
diff --git a/src/mbed_cloud/account_management/account_management.py b/src/mbed_cloud/account_management/account_management.py
index <HASH>..<HASH> 100644
--- a/src/mbed_cloud/account_management/account_management.py
+++ b/src/mbed_cloud/account_management/account_management.py
@@ -598,8 +598,7 @@ class Account(BaseObj... | :tshirt: docstring | py |
diff --git a/gooey/python_bindings/gooey_decorator.py b/gooey/python_bindings/gooey_decorator.py
index <HASH>..<HASH> 100644
--- a/gooey/python_bindings/gooey_decorator.py
+++ b/gooey/python_bindings/gooey_decorator.py
@@ -58,7 +58,9 @@ def Gooey(f=None,
build_spec = None
if load_build_config:
... | load build config file from directory where the running python script is located | py |
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/chart.py
+++ b/holoviews/plotting/mpl/chart.py
@@ -66,7 +66,7 @@ class CurvePlot(ChartPlot):
show_legend = param.Boolean(default=True, doc="""
Whether to show legend for ... | Added missing 'ms' style option to matplotlib CurvePlot (#<I>) | py |
diff --git a/nameko/extensions.py b/nameko/extensions.py
index <HASH>..<HASH> 100644
--- a/nameko/extensions.py
+++ b/nameko/extensions.py
@@ -311,6 +311,8 @@ def is_entrypoint(obj):
def iter_extensions(extension):
+ """ Depth-first iterator over sub-extensions on `extension`.
+ """
for _, ext in inspec... | Comment for iter_extensions | py |
diff --git a/fault/verilator_target.py b/fault/verilator_target.py
index <HASH>..<HASH> 100644
--- a/fault/verilator_target.py
+++ b/fault/verilator_target.py
@@ -187,7 +187,7 @@ class VerilatorTarget(VerilogTarget):
def make_print(self, i, action):
name = verilog_name(action.port.name)
- if acti... | allowing printing %d or %x | py |
diff --git a/folium/plugins/heat_map_withtime.py b/folium/plugins/heat_map_withtime.py
index <HASH>..<HASH> 100644
--- a/folium/plugins/heat_map_withtime.py
+++ b/folium/plugins/heat_map_withtime.py
@@ -42,7 +42,7 @@ class HeatMapWithTime(JSCSSMixin, Layer):
display_index: default True
Display the index (... | docs: fix simple typo, aimation -> animation There is a small typo in folium/plugins/heat_map_withtime.py. Should read `animation` rather than `aimation`. | py |
diff --git a/cachalot/tests/models.py b/cachalot/tests/models.py
index <HASH>..<HASH> 100644
--- a/cachalot/tests/models.py
+++ b/cachalot/tests/models.py
@@ -18,20 +18,13 @@ class Test(Model):
bin = BinaryField(null=True, blank=True)
class Meta(object):
- app_label = 'cachalot'
ordering = (... | Removes the useless explicit app_label since Django <I>. | py |
diff --git a/dispatch/api/serializers.py b/dispatch/api/serializers.py
index <HASH>..<HASH> 100644
--- a/dispatch/api/serializers.py
+++ b/dispatch/api/serializers.py
@@ -53,7 +53,7 @@ class ImageSerializer(serializers.HyperlinkedModelSerializer):
def update(self, instance, validated_data):
# Save prope... | ArticleSerializer: change author_ids from string to list | py |
diff --git a/nfc/npp/server.py b/nfc/npp/server.py
index <HASH>..<HASH> 100644
--- a/nfc/npp/server.py
+++ b/nfc/npp/server.py
@@ -50,6 +50,8 @@ class NPPServer(Thread):
try:
data = nfc.llcp.recv(socket)
+ while nfc.llcp.poll(socket, "recv"):
+ data += nfc.llcp.recv(soc... | Reverted patch <I>. | py |
diff --git a/mapchete/mapchete.py b/mapchete/mapchete.py
index <HASH>..<HASH> 100644
--- a/mapchete/mapchete.py
+++ b/mapchete/mapchete.py
@@ -129,12 +129,16 @@ class Mapchete(object):
del self.tile_cache[tile.id]
tile_event.set()
tile_process = None
+ message... | experimenting with status messages & adding pyramid plan | py |
diff --git a/djstripe/models.py b/djstripe/models.py
index <HASH>..<HASH> 100644
--- a/djstripe/models.py
+++ b/djstripe/models.py
@@ -1741,6 +1741,10 @@ class Source(StripeObject):
)
)
+ source_data = StripeJSONField(help_text=(
+ "The data corresponding to the source type."
+ ))
+
cu... | Add a `source_data` field on Source which aliases the core source field | py |
diff --git a/lib/fileutil.py b/lib/fileutil.py
index <HASH>..<HASH> 100644
--- a/lib/fileutil.py
+++ b/lib/fileutil.py
@@ -126,9 +126,20 @@ def getDate():
def isFits(input):
"""
- Returns a tuple (isfits, fitstype)
+ Always returns a tuple (isfits, fitstype)
isfits - True|False
- fitstype - one of... | This behavior has been changed for Ticket #<I>. WJH git-svn-id: <URL> | py |
diff --git a/client-python/setup.py b/client-python/setup.py
index <HASH>..<HASH> 100644
--- a/client-python/setup.py
+++ b/client-python/setup.py
@@ -5,16 +5,15 @@ pep420_package_finder = PEP420PackageFinder()
setup(
name='grakn',
packages=pep420_package_finder.find('.', include=['grakn*']),
- version='1... | Update version and URL for <I> and required python version | py |
diff --git a/scoped_nodes.py b/scoped_nodes.py
index <HASH>..<HASH> 100644
--- a/scoped_nodes.py
+++ b/scoped_nodes.py
@@ -927,13 +927,15 @@ class Class(StmtMixIn, LocalsDictNodeNG, FilterStmtsMixin):
if not herited and not implements.frame() is self:
return
found = set()
+ missing... | fix Class.interfaces so that no InferenceError raised on empty __implements__ --HG-- branch : stable | py |
diff --git a/crossplane/__init__.py b/crossplane/__init__.py
index <HASH>..<HASH> 100644
--- a/crossplane/__init__.py
+++ b/crossplane/__init__.py
@@ -11,7 +11,7 @@ __title__ = 'crossplane'
__summary__ = 'Reliable and fast NGINX configuration file parser.'
__url__ = 'https://github.com/nginxinc/crossplane'
-__versi... | Increased version to <I> | py |
diff --git a/simuvex/s_state.py b/simuvex/s_state.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_state.py
+++ b/simuvex/s_state.py
@@ -404,6 +404,7 @@ class SimState(object): # pylint: disable=R0904
strs.append(self.BVV(s))
# end string table with NULL
+ ptrs = ptrs[::-1]
ptrs.ap... | env pointers were before argv pointers and NULL was at wrong place | py |
diff --git a/examples/Example2_ScheduledReporters.py b/examples/Example2_ScheduledReporters.py
index <HASH>..<HASH> 100644
--- a/examples/Example2_ScheduledReporters.py
+++ b/examples/Example2_ScheduledReporters.py
@@ -50,8 +50,6 @@ results = workspace.getScheduledReporterResults()
print('\t...and put these results ... | getScheduledReporterResults now returns a pandas dataframe. Example adjusted accordingly | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.