diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/udata/core/topic/views.py b/udata/core/topic/views.py
index <HASH>..<HASH> 100644
--- a/udata/core/topic/views.py
+++ b/udata/core/topic/views.py
@@ -25,7 +25,7 @@ class TopicSearchMixin(object):
def search(self):
'''Override search to match on topic tags'''
s = super(TopicSearchMixi... | Perform a Bool(must=filter) query instead of Bool(filter) for topics tags | py |
diff --git a/pandas/core/base.py b/pandas/core/base.py
index <HASH>..<HASH> 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -758,7 +758,7 @@ class IndexOpsMixin(object):
@property
def strides(self):
""" return the strides of the underlying data """
- warnings.warn("{obj}.strudes ... | CLN: Fix typo "strudes" --> "strides" (#<I>) | py |
diff --git a/mishmash/commands/sync/sync.py b/mishmash/commands/sync/sync.py
index <HASH>..<HASH> 100644
--- a/mishmash/commands/sync/sync.py
+++ b/mishmash/commands/sync/sync.py
@@ -400,7 +400,7 @@ class SyncPlugin(LoaderPlugin):
if self._num_loaded or self._num_deleted:
pout("")
- p... | chg: Reduced sync stats precision | py |
diff --git a/spyderlib/plugins/externalconsole.py b/spyderlib/plugins/externalconsole.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/externalconsole.py
+++ b/spyderlib/plugins/externalconsole.py
@@ -280,7 +280,7 @@ class ExternalConsole(PluginWidget):
filename = QFileDialog.getOpenFileName(self,
... | External console/bugfix: std I/O were not redirected when using the "Run Python script" feature | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,6 +13,7 @@
import sys, os
import sphinx_bootstrap_theme
+from version import get_version
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sy... | Make sphinx config use version from top-level. | py |
diff --git a/gwpy/segments/flag.py b/gwpy/segments/flag.py
index <HASH>..<HASH> 100644
--- a/gwpy/segments/flag.py
+++ b/gwpy/segments/flag.py
@@ -452,12 +452,13 @@ class DataQualityFlag(object):
data, uri = apicalls.dqsegdbQueryTimes(protocol, server, ifo,
... | DataQualityFlag.query_dqsegdb: added coalescing - also restrict return to input segments | py |
diff --git a/i3ipc.py b/i3ipc.py
index <HASH>..<HASH> 100644
--- a/i3ipc.py
+++ b/i3ipc.py
@@ -427,11 +427,14 @@ class Con(object):
self.window_class = None
self.window_instance = None
+ self.window_role = None
if 'window_properties' in data:
if 'class' in data['window_p... | Add support for window_role Added window_role as an attribute. Added find_by_role() to search for windows by matching on the window_role attribute. | py |
diff --git a/parsl/launchers/launchers.py b/parsl/launchers/launchers.py
index <HASH>..<HASH> 100644
--- a/parsl/launchers/launchers.py
+++ b/parsl/launchers/launchers.py
@@ -88,6 +88,7 @@ export CORES=$(getconf _NPROCESSORS_ONLN)
[[ "{debug}" == "1" ]] && echo "Found cores : $CORES"
WORKERCOUNT={task_blocks}
FAILON... | Do not use "wait -n" in order to support bash versions older than <I>. (#<I>) The single node launcher introduced by PR #<I> uses "wait -n". The "-n" flag was introduced in bash v5. This PR rewrites that piece of code to not use said flag. Fixes #<I> | py |
diff --git a/satpy/readers/viirs_compact.py b/satpy/readers/viirs_compact.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/viirs_compact.py
+++ b/satpy/readers/viirs_compact.py
@@ -211,7 +211,8 @@ class VIIRSCompactFileHandler(BaseFileHandler):
name=dataset_key.name,
... | Cut radiances array depending on number of scans | py |
diff --git a/pysparkling/utils.py b/pysparkling/utils.py
index <HASH>..<HASH> 100644
--- a/pysparkling/utils.py
+++ b/pysparkling/utils.py
@@ -150,9 +150,17 @@ def get_keyfunc(cols):
def key(row):
"""
- Returns a tuple of a row column values in the requested column order
+ Returns a tuple ... | Fix sorting of Dataframe with None values | py |
diff --git a/SpiceyPy/wrapper.py b/SpiceyPy/wrapper.py
index <HASH>..<HASH> 100644
--- a/SpiceyPy/wrapper.py
+++ b/SpiceyPy/wrapper.py
@@ -1240,7 +1240,6 @@ def eknseg(handle):
def ekntab():
- #Todo: test ekntab
n = ctypes.c_int()
libspice.ekntab_c(ctypes.byref(n))
return n.value
@@ -1344,12 +134... | fixed issue in ektnam that caused travis for python <I> to fail. | py |
diff --git a/algoliasearch/http/request_options.py b/algoliasearch/http/request_options.py
index <HASH>..<HASH> 100644
--- a/algoliasearch/http/request_options.py
+++ b/algoliasearch/http/request_options.py
@@ -51,7 +51,13 @@ class RequestOptions(object):
class Params(object):
- HEADERS = ("Content-type", "User... | fix: accept X-Algolia-UserToken as a valid extra header for RequestOptions | 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
@@ -340,7 +340,6 @@ class ArticleSerializer(DispatchModelSerializer, DispatchPublishableSerializer):
class Meta:
model = Article
f... | Move location of 'preview_id' in ArticleSerializer and PageSerializer | py |
diff --git a/tests/test_06_httpd.py b/tests/test_06_httpd.py
index <HASH>..<HASH> 100644
--- a/tests/test_06_httpd.py
+++ b/tests/test_06_httpd.py
@@ -38,7 +38,11 @@ env = support.env(base='.')
class Test(object):
tcp_host = '127.0.0.1'
- tcp_port = 34567
+ tcp_port = os.environ.get('NOSE_HTTPD_PORT')
+ if tcp_por... | allow the httpd control port to be specified in the environment | py |
diff --git a/virtualbox/library_base.py b/virtualbox/library_base.py
index <HASH>..<HASH> 100644
--- a/virtualbox/library_base.py
+++ b/virtualbox/library_base.py
@@ -61,7 +61,7 @@ def add_metaclass(metaclass):
class Enum(object):
"""Enum objects provide a container for VirtualBox enumerations"""
_enums = {}... | This change attempts to address issue #<I> by making the attribute behaviour more explicit. *value* is not optional. | py |
diff --git a/superset/views/core.py b/superset/views/core.py
index <HASH>..<HASH> 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1792,7 +1792,9 @@ class Superset(BaseSupersetView):
metrics = []
for column_name, config in data.get('columns').items():
is_dim = config.g... | Use connector registry to fetch the table column class. (#<I>) | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,3 @@
+import logging
+logging.getLogger("urllib3").setLevel(logging.WARNING)
+logging.getLogger("requests").setLevel(logging.WARNING) | Silence annoying log messages from requests/urllib3 | py |
diff --git a/test/api_v2_test.py b/test/api_v2_test.py
index <HASH>..<HASH> 100644
--- a/test/api_v2_test.py
+++ b/test/api_v2_test.py
@@ -154,7 +154,7 @@ class TestApi2(unittest.TestCase):
objective = gw2api.v2.wvw_objectives.get(objective_ids[0])
self.assertIn("name", objective)
self.assert... | remove failing test, not all objectives have coordinates | py |
diff --git a/bx/align/maf.py b/bx/align/maf.py
index <HASH>..<HASH> 100644
--- a/bx/align/maf.py
+++ b/bx/align/maf.py
@@ -1,7 +1,7 @@
from bx.align import *
import itertools
-import interval_index_file
+from bx import interval_index_file
# Tools for dealing with multiple alignments in MAF format | changed import of interval_index_file | py |
diff --git a/openid/association.py b/openid/association.py
index <HASH>..<HASH> 100644
--- a/openid/association.py
+++ b/openid/association.py
@@ -158,7 +158,7 @@ class DiffieHelmanAssociator(object):
raise RuntimeError("Unknown association type: %r" % (assoc_type,))
assoc_handle = getRe... | [project @ Made DiffieHellmanAssociator not crash if no expires_in field is found] | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,9 +40,10 @@ if sys.version_info < (2, 7):
if sys.version_info < (3, 0):
# These don't support Python3 yet - don't run their tests
tests_require += ['Kajiki']
- tests_require += ['Genshi>=0.7']
-else:
tes... | Fix a bit of logic surrounding Python 3/Genshi <I> | py |
diff --git a/hsreplay/__init__.py b/hsreplay/__init__.py
index <HASH>..<HASH> 100644
--- a/hsreplay/__init__.py
+++ b/hsreplay/__init__.py
@@ -9,7 +9,7 @@ from xml.dom import minidom
__author__ = "Jerome Leclanche"
__email__ = "jerome@leclan.ch"
-__version__ = "1.0"
+__version__ = "1.1"
SYSTEM_DTD = "http://hear... | Update DTD version to <I> | py |
diff --git a/mesh_tensorflow/transformer/utils.py b/mesh_tensorflow/transformer/utils.py
index <HASH>..<HASH> 100644
--- a/mesh_tensorflow/transformer/utils.py
+++ b/mesh_tensorflow/transformer/utils.py
@@ -1106,7 +1106,7 @@ def write_lines_to_file(lines, filename):
tf.io.gfile.remove(filename)
with tf.io.gfile... | Fix eval bug do to non-string results from postprocess_fn. PiperOrigin-RevId: <I> | py |
diff --git a/tests/utils/test_dag_cycle.py b/tests/utils/test_dag_cycle.py
index <HASH>..<HASH> 100644
--- a/tests/utils/test_dag_cycle.py
+++ b/tests/utils/test_dag_cycle.py
@@ -23,6 +23,8 @@ from airflow import DAG
from airflow.exceptions import AirflowDagCycleException
from airflow.operators.empty import EmptyOper... | Add DAG cycle test for Label use within Task Groups (#<I>) To guard against any future regressions, this PR adds a unit test to ensure that a DAG cycle is not detected when using Labels alongside tasks contained in Task Groups. | py |
diff --git a/indra/tests/test_sparser.py b/indra/tests/test_sparser.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_sparser.py
+++ b/indra/tests/test_sparser.py
@@ -72,7 +72,7 @@ def test_fix_agent_ncit_only():
def test_fix_agent_ncit_only():
- a = Agent('XXX', db_refs={'NCIT': 'C104166'})
+ a = Agent(... | Update NCIT equivalence in test_sparser | py |
diff --git a/pythran/interval.py b/pythran/interval.py
index <HASH>..<HASH> 100644
--- a/pythran/interval.py
+++ b/pythran/interval.py
@@ -416,6 +416,8 @@ class IntervalTuple(object):
return out or UNKNOWN_RANGE
def widen(self, other):
+ if isinstance(other, Interval):
+ return UNKNOWN... | Acknowledge the fact we don't know how to widen Intervals based on Interval Fix #<I> | py |
diff --git a/odl/operator/oputils.py b/odl/operator/oputils.py
index <HASH>..<HASH> 100644
--- a/odl/operator/oputils.py
+++ b/odl/operator/oputils.py
@@ -86,6 +86,12 @@ def matrix_representation(op):
num_dom = 1
m = [op.domain.size]
+ def as_flat_array(x):
+ if hasattr(x, 'order'):
+ ... | ENH: Add support for matrix_representation of higher dimensional spaces | py |
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index <HASH>..<HASH> 100644
--- a/docs/_ext/djangodocs.py
+++ b/docs/_ext/djangodocs.py
@@ -41,7 +41,7 @@ def setup(app):
rolename="lookup",
indextemplate="pair: %s; field lookup type",
)
- app.add_description_unit(
+ app.add_ob... | [docs] Replace calls to add_description_unit As of Sphinx <I>, the deprecated add_description_unit function has been removed. As a result, the docs no longer build when using Sphinx <I>. Replacing add_description_unit with add_object_type corrects this. | py |
diff --git a/phabricator/__init__.py b/phabricator/__init__.py
index <HASH>..<HASH> 100644
--- a/phabricator/__init__.py
+++ b/phabricator/__init__.py
@@ -6,6 +6,8 @@ import json
import requests
import time
+__version__ = '1.4.1'
+
class Phabricator:
def __init__(self, host, user, cert):
@@ -25,9 +27,9 @@ c... | Improve Phabricator.connect_params | py |
diff --git a/test/test_tecplot.py b/test/test_tecplot.py
index <HASH>..<HASH> 100644
--- a/test/test_tecplot.py
+++ b/test/test_tecplot.py
@@ -5,7 +5,7 @@ import meshio
@pytest.mark.parametrize(
- "mesh", [helpers.tri_mesh, helpers.quad_mesh, helpers.tet_mesh, helpers.hex_mesh,],
+ "mesh", [helpers.tri_mesh,... | remove extra comma after make format | py |
diff --git a/path.py b/path.py
index <HASH>..<HASH> 100644
--- a/path.py
+++ b/path.py
@@ -1133,15 +1133,21 @@ class Path(text_type):
os.chmod(self, mode)
return self
- if hasattr(os, 'chown'):
- def chown(self, uid=-1, gid=-1):
- """ .. seealso:: :func:`os.chown` """
+ def c... | Changing the chown method to always be defined Raise an error if the platform does not support ownership. | py |
diff --git a/polyaxon/scheduler/spawners/tensorboard_spawner.py b/polyaxon/scheduler/spawners/tensorboard_spawner.py
index <HASH>..<HASH> 100644
--- a/polyaxon/scheduler/spawners/tensorboard_spawner.py
+++ b/polyaxon/scheduler/spawners/tensorboard_spawner.py
@@ -134,7 +134,7 @@ class TensorboardSpawner(ProjectJobSpawne... | Double {}s to escape in format string (#<I>) | py |
diff --git a/pushbullet/pushbullet.py b/pushbullet/pushbullet.py
index <HASH>..<HASH> 100644
--- a/pushbullet/pushbullet.py
+++ b/pushbullet/pushbullet.py
@@ -115,14 +115,23 @@ class PushBullet(object):
else:
return False, r.json()
- def get_pushes(self, modified_after=None):
- data = ... | Retrieve extra pages of pushes using 'cursor'. Also, optionally limit the number of pushes fetched by get_pushes(). | py |
diff --git a/src/mistclient/model.py b/src/mistclient/model.py
index <HASH>..<HASH> 100644
--- a/src/mistclient/model.py
+++ b/src/mistclient/model.py
@@ -396,13 +396,14 @@ class Machine(object):
"""
return RequestsHandler(*args, api_token=self.api_token, **kwargs)
- def run_script(self, script_i... | comment out run_script in machine model | py |
diff --git a/pygc/gc.py b/pygc/gc.py
index <HASH>..<HASH> 100644
--- a/pygc/gc.py
+++ b/pygc/gc.py
@@ -152,6 +152,10 @@ def vinc_dist( f, a, phi1, lembda1, phi2, lembda2 ) :
sigma = math.atan2( Sin_sigma, Cos_sigma )
Sin_alpha = math.cos(U1) * math.cos(U2) * math.sin(lembda) / math.sin(sigma)
+ ... | Floating point rounding error if x is outside of -1 <= x <= 1. Fix it. This was happening on great_distance calculations of exactly 2 decimal degrees of longitude. So weird. | py |
diff --git a/rope/refactor/restructure.py b/rope/refactor/restructure.py
index <HASH>..<HASH> 100644
--- a/rope/refactor/restructure.py
+++ b/rope/refactor/restructure.py
@@ -63,12 +63,12 @@ class Restructure(object):
Example #5::
- pattern ${inst}.f(${p1}, ${p2})
+ pattern ${inst}.longtask(${p1}, ${... | restructure: changing an example to use unsure argument | py |
diff --git a/scripts/ci/update_ext_cmd_tree.py b/scripts/ci/update_ext_cmd_tree.py
index <HASH>..<HASH> 100644
--- a/scripts/ci/update_ext_cmd_tree.py
+++ b/scripts/ci/update_ext_cmd_tree.py
@@ -44,8 +44,7 @@ def update_cmd_tree(ext_name):
az_cli.invocation = invoker
sys.path.append(ext_dir)
- extension_... | support build command tree for codegen v2 (#<I>) | py |
diff --git a/seleniumrequests/request.py b/seleniumrequests/request.py
index <HASH>..<HASH> 100644
--- a/seleniumrequests/request.py
+++ b/seleniumrequests/request.py
@@ -87,7 +87,7 @@ def _find_window_handle(webdriver, callback):
webdriver.switch_to.window(original_window_handle)
-def request(self, method, ur... | Made the request function private, only expose the mixin class | py |
diff --git a/spyder_kernels/_version.py b/spyder_kernels/_version.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/_version.py
+++ b/spyder_kernels/_version.py
@@ -1,4 +1,4 @@
"""Version File."""
-VERSION_INFO = (0, 3, 0, 'dev0')
+VERSION_INFO = (1, 0, 0, 'dev0')
__version__ = '.'.join(map(str, VERSION_INFO)) | Change version in master to correspond to Spyder 4 | py |
diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py
index <HASH>..<HASH> 100644
--- a/trollimage/xrimage.py
+++ b/trollimage/xrimage.py
@@ -880,13 +880,16 @@ class XRImage(object):
return np.concatenate(channels, axis=0)
new_data = l_data.data.map_blocks(_colorize, colormap,
- ... | Handle colormaps with alpha channel in colorize | py |
diff --git a/git_repo/repo.py b/git_repo/repo.py
index <HASH>..<HASH> 100644
--- a/git_repo/repo.py
+++ b/git_repo/repo.py
@@ -108,7 +108,7 @@ Configuration example:
token = yourapitoken
fqdn = custom.org
-{self} version {version}, Copyright ⓒ2016 Bernard `Guyzmo` Pratz
+{self} version {version}, Copyright ... | 💄 fixed copyright unicode character | py |
diff --git a/examples/information_extraction/entity_relations.py b/examples/information_extraction/entity_relations.py
index <HASH>..<HASH> 100644
--- a/examples/information_extraction/entity_relations.py
+++ b/examples/information_extraction/entity_relations.py
@@ -42,7 +42,7 @@ def filter_spans(spans, prefer_longest=... | Fix typo (see #<I>) | py |
diff --git a/vtki/ipy_tools.py b/vtki/ipy_tools.py
index <HASH>..<HASH> 100644
--- a/vtki/ipy_tools.py
+++ b/vtki/ipy_tools.py
@@ -12,6 +12,35 @@ import vtki
def orthographic_slicer(dataset, plotter=None, threshold=True, step=None,
scalars=None, preference='cell', plotParams={}):
+ """Wit... | Add docstring for orthographic_slicer | py |
diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py
index <HASH>..<HASH> 100755
--- a/py/selenium/webdriver/remote/webelement.py
+++ b/py/selenium/webdriver/remote/webelement.py
@@ -342,7 +342,7 @@ class WebElement(object):
@property
def size(self):
""... | move size and location to call getElementRect, will remove soon | py |
diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/oem/lenovo/nextscale.py
+++ b/pyghmi/ipmi/oem/lenovo/nextscale.py
@@ -209,7 +209,7 @@ def get_fpc_firmware(bmcver, ipmicmd, fpcorsmm):
elif len(builddata) == 8:
builddata = ... | Fix build id of FPC FPC does BCD encode of the build id. Fix the display. Change-Id: I<I>c9cb8cde<I>ed<I>bb<I>dc<I>d7f<I>a8 | py |
diff --git a/pyocd/probe/pydapaccess/interface/pywinusb_backend.py b/pyocd/probe/pydapaccess/interface/pywinusb_backend.py
index <HASH>..<HASH> 100644
--- a/pyocd/probe/pydapaccess/interface/pywinusb_backend.py
+++ b/pyocd/probe/pydapaccess/interface/pywinusb_backend.py
@@ -83,13 +83,14 @@ class PyWinUSB(Interface):
... | pywinusb backend: raise DeviceError on timeout while opening device. - DeviceError is raised instead of a forced assertion failure. | py |
diff --git a/sentry/conf/defaults.py b/sentry/conf/defaults.py
index <HASH>..<HASH> 100644
--- a/sentry/conf/defaults.py
+++ b/sentry/conf/defaults.py
@@ -95,8 +95,7 @@ ROOT_URLCONF = 'sentry.web.urls'
## The following settings refer to the built-in webserver
-SENTRY_WEB_HOST = 'localhost'
-SENTRY_WEB_PORT = 9000
... | Default server settings should not be prefixed with SENTRY_ | py |
diff --git a/delphin/main.py b/delphin/main.py
index <HASH>..<HASH> 100644
--- a/delphin/main.py
+++ b/delphin/main.py
@@ -285,7 +285,7 @@ def repp(args):
str(step.operation), step.input, step.output))
if args.FILE:
- with open(args.file) as fh:
+ with open(args.FILE) as fh... | Fix minor issue with REPP input files | py |
diff --git a/dipper/sources/GeneOntology.py b/dipper/sources/GeneOntology.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/GeneOntology.py
+++ b/dipper/sources/GeneOntology.py
@@ -116,7 +116,7 @@ class GeneOntology(Source):
'url': GOGA + '/goa_cow.gaf.gz',
'columnns': gaf_columns
}... | breadcrumb for finding future species/strain issues | py |
diff --git a/sherlock/__version__.py b/sherlock/__version__.py
index <HASH>..<HASH> 100644
--- a/sherlock/__version__.py
+++ b/sherlock/__version__.py
@@ -1 +1 @@
-__version__ = '2.0.1'
+__version__ = '2.0.2' | annotation writing & peak magnitude calculations now faster | py |
diff --git a/pymc3/step_methods/metropolis.py b/pymc3/step_methods/metropolis.py
index <HASH>..<HASH> 100644
--- a/pymc3/step_methods/metropolis.py
+++ b/pymc3/step_methods/metropolis.py
@@ -300,10 +300,13 @@ class BinaryGibbsMetropolis(ArrayStep):
"""A Metropolis-within-Gibbs step method optimized for binary vari... | More flexible kernel that allows antithetical sampling. Setting transit_p=1 we recover the old behavior of the sampler. | py |
diff --git a/docs/sphinx_util.py b/docs/sphinx_util.py
index <HASH>..<HASH> 100644
--- a/docs/sphinx_util.py
+++ b/docs/sphinx_util.py
@@ -40,7 +40,7 @@ def convert_md_phase(phase):
import pypandoc
except:
return phase
- return pypandoc.convert(phase, 'rst', format='md')
+ return pypandoc.c... | [docs] remove \n\r in pandoc converted results (#<I>) | py |
diff --git a/pilight/pilight.py b/pilight/pilight.py
index <HASH>..<HASH> 100644
--- a/pilight/pilight.py
+++ b/pilight/pilight.py
@@ -25,7 +25,7 @@ class Client(threading.Thread):
def __init__(self, host='127.0.0.1', port=5000, timeout=1, recv_ident=None, recv_codes_only=True):
threading.Thread.__init__(... | API: add stop method for receiver thread | py |
diff --git a/OpenPNM/Base/__Core__.py b/OpenPNM/Base/__Core__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Base/__Core__.py
+++ b/OpenPNM/Base/__Core__.py
@@ -1415,7 +1415,7 @@ class Core(dict):
def _parse_locations(self, locations):
if locations is None:
- locations = []
+ locatio... | Minor tweak to the _parse_locations method in Core to handle None inputs. | py |
diff --git a/SimpleHTTP404Server.py b/SimpleHTTP404Server.py
index <HASH>..<HASH> 100644
--- a/SimpleHTTP404Server.py
+++ b/SimpleHTTP404Server.py
@@ -15,8 +15,7 @@ class GitHubHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
"""
def do_GET(self):
path = self.translate_path(self.path)
- pri... | Remove some print lines from the fake server. | py |
diff --git a/qtpylib/broker.py b/qtpylib/broker.py
index <HASH>..<HASH> 100644
--- a/qtpylib/broker.py
+++ b/qtpylib/broker.py
@@ -68,11 +68,8 @@ class Broker():
# -----------------------------------
# connect to IB
self.ibConn = ezibpy.ezIBpy()
- self.ibConn.connect(clientId=int(ibcli... | moved ibConn.connect() to own method | py |
diff --git a/koala/ast/graph.py b/koala/ast/graph.py
index <HASH>..<HASH> 100644
--- a/koala/ast/graph.py
+++ b/koala/ast/graph.py
@@ -324,7 +324,11 @@ class Spreadsheet(object):
return data
def eval_ref(self, addr1, addr2 = None):
- cell1 = self.cellmap[addr1]
+ try:
+ cell1 = ... | [bug] eval_ref() returns EmptyCellError when the cell address is not found in cellmap | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,11 +16,14 @@ setup(
platforms=["any"],
keywords="validation adaptation typechecking jsonschema",
classifiers=[
- "Development Status :: 4 - Beta",
+ "Development Status :: 5 - Production/Stable... | Upgrade status to Production/Stable and add specific python version to classifiers | py |
diff --git a/classic.py b/classic.py
index <HASH>..<HASH> 100644
--- a/classic.py
+++ b/classic.py
@@ -115,10 +115,11 @@ class ClassicRequest(Request, ClassicBaseRequest):
repr(self.media))
class ClassicUser(User):
- def __init__(self, coll, key, realName, level):
+ def __init__(self, coll, key, realName... | classic: add check_password to ClassicUser | py |
diff --git a/jams/util.py b/jams/util.py
index <HASH>..<HASH> 100644
--- a/jams/util.py
+++ b/jams/util.py
@@ -12,7 +12,6 @@ Utility functions
smkdirs
filebase
find_with_extension
- _deprecated
"""
import os | removed dangling entry from util docstring index | py |
diff --git a/automation/src/rabird/automation/selenium/__init__.py b/automation/src/rabird/automation/selenium/__init__.py
index <HASH>..<HASH> 100644
--- a/automation/src/rabird/automation/selenium/__init__.py
+++ b/automation/src/rabird/automation/selenium/__init__.py
@@ -5,11 +5,12 @@ from selenium.webdriver.remote.... | Fixed wrong method type be set to WebElement and WebDriver. | py |
diff --git a/twtxt/parser.py b/twtxt/parser.py
index <HASH>..<HASH> 100644
--- a/twtxt/parser.py
+++ b/twtxt/parser.py
@@ -9,7 +9,7 @@
"""
import logging
-from datetime import timezone
+from datetime import datetime, timezone
import dateutil.parser
@@ -28,7 +28,7 @@ def parse_iso8601(string):
return make_... | Parser: Ignore status updates coming from the future (very funny, indeed) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,27 @@
# -*- coding: utf-8 -*-
+import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
+def walk_subpkg(name):
+ data_files = []
+ package_dir ... | folium issue #<I> - fixed setup.py to package all the files in templates/tiles. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
version = "0.50",
author = "adam goucher",
author_email = "adam@element34.ca",
- install_requires = ['pytest>=2.2.3',
+ install_requires = ['pytest>=2.3.2',
'... | upping the version of pytest | py |
diff --git a/master/buildbot/worker/docker.py b/master/buildbot/worker/docker.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/worker/docker.py
+++ b/master/buildbot/worker/docker.py
@@ -291,8 +291,8 @@ class DockerLatentWorker(CompatibleLatentWorkerMixin,
volumes, binds = self._thd_parse_volumes(volumes)
... | make it easier to understand what is happening wiht the init value | py |
diff --git a/salt/modules/kvm_hyper.py b/salt/modules/kvm_hyper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/kvm_hyper.py
+++ b/salt/modules/kvm_hyper.py
@@ -1,6 +1,8 @@
'''
Provide the hyper module for kvm hypervisors. This is the interface used to
interact with kvm on behalf of the salt-virt interface
+
+Requ... | Don't complain about missing libvirt for kvm_hyper | py |
diff --git a/lektor_embed_x.py b/lektor_embed_x.py
index <HASH>..<HASH> 100644
--- a/lektor_embed_x.py
+++ b/lektor_embed_x.py
@@ -24,7 +24,7 @@ class EmbedXMixin(object):
content = OnlineContent(link)
# print content.get_embed_code()
return Markup(content.get_embed_co... | Catch when a host is not supported When a host is not supported, an AttributeError is raised by some code in EmbedX: AttributeError: 'NoneType' object has no attribute 'EMBED_SCRIPT' | py |
diff --git a/phoebe/frontend/io.py b/phoebe/frontend/io.py
index <HASH>..<HASH> 100644
--- a/phoebe/frontend/io.py
+++ b/phoebe/frontend/io.py
@@ -352,6 +352,7 @@ filename - a .phoebe file (from phoebe 1)
"""
def load_legacy(filename, add_compute_legacy=True, add_compute_phoebe=True):
+ conf_state = conf.interac... | interactive mode tweak to legacy wrapper legacy wrapper now checks for whether interactive mode is on or off and updates accordingly after import. | py |
diff --git a/openpnm/algorithms/_generic_transport.py b/openpnm/algorithms/_generic_transport.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/_generic_transport.py
+++ b/openpnm/algorithms/_generic_transport.py
@@ -219,9 +219,8 @@ class GenericTransport(GenericAlgorithm, BCsMixin):
"""
logge... | Solver passed to the run method must be instantiated | py |
diff --git a/src/dolo/misc/commands.py b/src/dolo/misc/commands.py
index <HASH>..<HASH> 100644
--- a/src/dolo/misc/commands.py
+++ b/src/dolo/misc/commands.py
@@ -75,7 +75,7 @@ def print_model(model=None, print_residuals=True):
else:
print( str(model) )
-def pprint(obj):
+def pprint(obj,col_names=None,r... | Added option to print pretty-print arrays in sage mode. | py |
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -447,7 +447,7 @@ def test_tls_client_auth( # noqa: C901 # FIXME
"BrokenPipeError(32, 'Broken pipe'))",
)
- if IS_GITHUB_A... | Add the broken TLS exception on macOS outside GHA | py |
diff --git a/src/japronto/reloader.py b/src/japronto/reloader.py
index <HASH>..<HASH> 100644
--- a/src/japronto/reloader.py
+++ b/src/japronto/reloader.py
@@ -31,6 +31,8 @@ def main():
*(v for v in sys.argv[1:] if v != '--reload')])
child.wait()
+ if child.returncode != 0:
+ br... | exit loader if child fails with non zero code | py |
diff --git a/yabt/builders/proto.py b/yabt/builders/proto.py
index <HASH>..<HASH> 100644
--- a/yabt/builders/proto.py
+++ b/yabt/builders/proto.py
@@ -89,7 +89,7 @@ def proto_builder(build_context, target):
protoc_cmd.extend(('--cpp_out', buildenv_workspace))
if target.props.gen_python:
protoc_cm... | grpc implies building go (#<I>) * grpc implies building go | py |
diff --git a/girder/api/v1/file.py b/girder/api/v1/file.py
index <HASH>..<HASH> 100644
--- a/girder/api/v1/file.py
+++ b/girder/api/v1/file.py
@@ -17,6 +17,8 @@
# limitations under the License.
###############################################################################
+import cherrypy
+
from ..describe impor... | Fixes #<I>. Send <I>-level error if chunk is passed incorrectly Now users will be given a useful error message about how they should actually send the chunk data. | py |
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -985,10 +985,6 @@ class Editor(SpyderPluginWidget):
self.connect(editorstack, SIGNAL("edit_goto(QString,int,QString)"),
... | Editor: removed deprecated signal connection | py |
diff --git a/shovel/__init__.py b/shovel/__init__.py
index <HASH>..<HASH> 100755
--- a/shovel/__init__.py
+++ b/shovel/__init__.py
@@ -261,6 +261,8 @@ def help(*names):
tasks = Task.find(name)
if not tasks:
print 'Could not find task or module "%s"' % name
+ elif le... | Print the task-specific help if only one task if matched. | py |
diff --git a/master/buildbot/www/plugin.py b/master/buildbot/www/plugin.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/www/plugin.py
+++ b/master/buildbot/www/plugin.py
@@ -20,6 +20,8 @@ import pkg_resources
from twisted.web import static
+from buildbot.util import bytes2NativeString
+
class Application(o... | pkg_resources.resource_string() returns bytes, but we really want a native string | py |
diff --git a/d1_client_cli/src/d1_client_cli/impl/session.py b/d1_client_cli/src/d1_client_cli/impl/session.py
index <HASH>..<HASH> 100755
--- a/d1_client_cli/src/d1_client_cli/impl/session.py
+++ b/d1_client_cli/src/d1_client_cli/impl/session.py
@@ -156,6 +156,7 @@ class Session(object):
self._replication_policy ... | Added check for valid session variable name in set command. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,8 +10,8 @@ source_suffix = ".rst"
master_doc = "index"
project = "pwned-passwords-django"
copyright = "2018-2020, James Bennett"
-version = "1.4a"
-release = "1.4a"
+version = "1.4"
+release = "1.4"
exc... | Fix version number in docs. | py |
diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/datashader.py
+++ b/holoviews/operation/datashader.py
@@ -1,8 +1,10 @@
from __future__ import absolute_import, division
-from collections import Callable
import warnings
+from c... | Avoid datashading twice on Overlay | py |
diff --git a/ontology/wallet/control.py b/ontology/wallet/control.py
index <HASH>..<HASH> 100644
--- a/ontology/wallet/control.py
+++ b/ontology/wallet/control.py
@@ -1,6 +1,12 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+
class Control(object):
- def __init__(self, id="", address='', enc_alg="aes-256-gcm... | fix the mistake that the default argument value is mutable | py |
diff --git a/pymbar/mbar.py b/pymbar/mbar.py
index <HASH>..<HASH> 100644
--- a/pymbar/mbar.py
+++ b/pymbar/mbar.py
@@ -2114,12 +2114,3 @@ class MBAR:
g[i] = N_k[i] - N_k[i] * W_nk[:,i].sum()
return g
-
-#=============================================================================================
-#... | Removed main() from mbar.py, no longer necessary. nose handles doctests without explicitly calling main. | py |
diff --git a/source/rafcon/gui/utils/splash_screen.py b/source/rafcon/gui/utils/splash_screen.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/utils/splash_screen.py
+++ b/source/rafcon/gui/utils/splash_screen.py
@@ -48,7 +48,8 @@ class SplashScreen(Gtk.Window):
# add label to display text, the text can ... | fix(splash_screen): Replace deprecated set_alignment by set_[x|y]align | py |
diff --git a/src/flask_assets.py b/src/flask_assets.py
index <HASH>..<HASH> 100644
--- a/src/flask_assets.py
+++ b/src/flask_assets.py
@@ -4,7 +4,7 @@ from flask import _request_ctx_stack, url_for
from webassets.env import BaseEnvironment, ConfigStorage, env_options
-__version__ = (0, 6, 2)
+__version__ = (0, 7, '... | Indicate that this is the <I> dev branch. This wasn't done properly after the <I> release. | py |
diff --git a/salt/modules/win_system.py b/salt/modules/win_system.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_system.py
+++ b/salt/modules/win_system.py
@@ -173,7 +173,7 @@ def reboot(timeout=5, in_seconds=False, wait_for_reboot=False, # pylint: disabl
state intended to be executed
at the e... | win_system: return False from a skipped reboot ...and clarify what success represents. | py |
diff --git a/salt/states/mount.py b/salt/states/mount.py
index <HASH>..<HASH> 100644
--- a/salt/states/mount.py
+++ b/salt/states/mount.py
@@ -86,9 +86,10 @@ def mounted(name,
# Get the active data
active = __salt__['mount.active']()
real_name = os.path.realpath(name)
+ real_device = os.path.realpath(... | fix remount because of a different device name - Compare real device path instead of given to those listed by mount (fix #<I>) - Compare given device name to those given by mount -l (#<I>) | py |
diff --git a/signing/sawtooth_signing/secp256k1.py b/signing/sawtooth_signing/secp256k1.py
index <HASH>..<HASH> 100644
--- a/signing/sawtooth_signing/secp256k1.py
+++ b/signing/sawtooth_signing/secp256k1.py
@@ -27,7 +27,6 @@ from sawtooth_signing.core import Context
__CONTEXTBASE__ = secp256k1.Base(ctx=None, flags=s... | Remove cached pubkey previously used as a factory Remove some detritus that had survived a few refactorings of the signing library. Previously a public key object was cached to use as a factory and that is no longer relevant. | py |
diff --git a/questionary/question.py b/questionary/question.py
index <HASH>..<HASH> 100644
--- a/questionary/question.py
+++ b/questionary/question.py
@@ -74,12 +74,12 @@ class Question:
await utils.activate_prompt_toolkit_async_mode()
if patch_stdout:
- # with prompt_toolkit.patch_st... | trying to fix async ask | py |
diff --git a/spyderlib/utils/codeanalysis.py b/spyderlib/utils/codeanalysis.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/codeanalysis.py
+++ b/spyderlib/utils/codeanalysis.py
@@ -50,6 +50,12 @@ def check_with_pyflakes(source_code, filename=None):
return []
else:
return [(val... | pyflakes code analysis function: handling files with invalid \x or null chars Update Issue <I> Status: Started This revision fixes a part of Issue <I> by handling the following bugs: <URL> | py |
diff --git a/tests/addressbook/abook_test.py b/tests/addressbook/abook_test.py
index <HASH>..<HASH> 100644
--- a/tests/addressbook/abook_test.py
+++ b/tests/addressbook/abook_test.py
@@ -29,7 +29,7 @@ class TestAbookAddressBook(unittest.TestCase):
name = you
email = you@other.domain, you@example.com
... | tests/addressbook/abook_test: fix for py3k | py |
diff --git a/tests/symbols/test_symbolVAR.py b/tests/symbols/test_symbolVAR.py
index <HASH>..<HASH> 100644
--- a/tests/symbols/test_symbolVAR.py
+++ b/tests/symbols/test_symbolVAR.py
@@ -53,7 +53,7 @@ class TestSymbolVAR(TestCase):
self.assertEqual(self.v.t, self.v._t)
self.v.class_ = CLASS.const
... | Test updated. .t property must be always of type string. | py |
diff --git a/src/briefkasten/setup.py b/src/briefkasten/setup.py
index <HASH>..<HASH> 100644
--- a/src/briefkasten/setup.py
+++ b/src/briefkasten/setup.py
@@ -5,7 +5,7 @@ version = '0.1'
setup(name='briefkasten',
version=version,
- description='A secure drop box',
+ description='a reasonably secure web ap... | update setup.py with the new description | py |
diff --git a/termsandconditions/urls.py b/termsandconditions/urls.py
index <HASH>..<HASH> 100644
--- a/termsandconditions/urls.py
+++ b/termsandconditions/urls.py
@@ -31,7 +31,7 @@ register_converter(TermsVersionConverter, 'termsversion')
urlpatterns = (
# View Default Terms
- path("", TermsView.as_view(), {... | Let default view use any defined terms rather than default slug only. | py |
diff --git a/raiden/connection_manager.py b/raiden/connection_manager.py
index <HASH>..<HASH> 100644
--- a/raiden/connection_manager.py
+++ b/raiden/connection_manager.py
@@ -339,12 +339,16 @@ class ConnectionManager:
# or it's nonfunded channel), continue to ensure it's funded
pass
+ ... | Connection manager should not deposit if funding per partner is 0 | py |
diff --git a/saltcloud/clouds/aws.py b/saltcloud/clouds/aws.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/aws.py
+++ b/saltcloud/clouds/aws.py
@@ -354,7 +354,12 @@ def set_tags(name, tags):
try:
log.info('Setting tags for {0}'.format(name))
data = conn.ex_create_tags(resource=node, tags=t... | correctly print tags of a renamed node after set_tags | py |
diff --git a/graph/functions/searching/depth_first_search.py b/graph/functions/searching/depth_first_search.py
index <HASH>..<HASH> 100644
--- a/graph/functions/searching/depth_first_search.py
+++ b/graph/functions/searching/depth_first_search.py
@@ -54,6 +54,10 @@ def depth_first_search_with_parent_data(graph, root_no... | Correct DFS implementation to avoid re-adding nodes that have already been discovered to the visit list | py |
diff --git a/internetarchive/session.py b/internetarchive/session.py
index <HASH>..<HASH> 100644
--- a/internetarchive/session.py
+++ b/internetarchive/session.py
@@ -331,6 +331,7 @@ class ArchiveSession(requests.sessions.Session):
def send(self, request, **kwargs):
# Catch urllib3 warnings for HTTPS re... | local variable 'insecure' referenced before assignment. Fixes #<I> | py |
diff --git a/src/pnLaplacian.py b/src/pnLaplacian.py
index <HASH>..<HASH> 100644
--- a/src/pnLaplacian.py
+++ b/src/pnLaplacian.py
@@ -86,9 +86,9 @@ class Laplacian:
"""
# input dist array
- inp = gdaZeros(localArray.shape, localArray.dtype)
- # output dist array
- out = gdaZero... | ~ the output array need not be distributed | py |
diff --git a/skpy/user.py b/skpy/user.py
index <HASH>..<HASH> 100644
--- a/skpy/user.py
+++ b/skpy/user.py
@@ -136,15 +136,18 @@ class SkypeUser(SkypeObj):
def chat(self):
return self.skype.chats["8:" + self.id]
- def invite(self, greeting):
+ def invite(self, greeting=None):
"""
... | Make user invite work with bots Part of #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -73,6 +73,7 @@ REQUIREMENTS_EXTERNAL = [
'python-slugify==0.1.0',
'path.py==7.2',
'httpretty==0.8.4',
+ 'tornado==4.1',
'jsonschema>=2.5.1',
'gprof2dot',
'ujsonpath==0.0.2', | fix tornado version to avoid ssl installation bug | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.