diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/nodeconductor/structure/models.py b/nodeconductor/structure/models.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/models.py
+++ b/nodeconductor/structure/models.py
@@ -1,10 +1,8 @@
from __future__ import unicode_literals
-import yaml
import logging
from django.core.validators import Ma... | Cleanup - NC-<I> | py |
diff --git a/osmnx/plot.py b/osmnx/plot.py
index <HASH>..<HASH> 100644
--- a/osmnx/plot.py
+++ b/osmnx/plot.py
@@ -231,14 +231,15 @@ def _save_and_show(fig, ax, save=False, show=True, close=True, filepath=None, dp
fig.patch.set_alpha(0.0)
fig.savefig(filepath, bbox_inches=0, format=ext, faceco... | correct frame on/off for both saving and showing | py |
diff --git a/eventsourcing/application/simple.py b/eventsourcing/application/simple.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/application/simple.py
+++ b/eventsourcing/application/simple.py
@@ -472,11 +472,11 @@ class SimpleApplication(Pipeable, Generic[TVersionedEntity, TVersionedEvent]):
... | Put conditional outside loop, so it's only done once. | py |
diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py
index <HASH>..<HASH> 100644
--- a/napalm_junos/junos.py
+++ b/napalm_junos/junos.py
@@ -285,7 +285,7 @@ class JunOSDriver(NetworkDriver):
environment_data['temperature'][sensor_object] = {}
environment_data['tempe... | remove float() cast from temperature Addresses Issue #<I> with MX-RE | py |
diff --git a/web/opensubmit/cmdline.py b/web/opensubmit/cmdline.py
index <HASH>..<HASH> 100644
--- a/web/opensubmit/cmdline.py
+++ b/web/opensubmit/cmdline.py
@@ -30,8 +30,8 @@ def apache_config(config):
Generate a valid Apache configuration file, based on the given settings.
'''
if os.path.exists(AP... | Kill existing Apache config to fix media file security issues | py |
diff --git a/web/core/response.py b/web/core/response.py
index <HASH>..<HASH> 100644
--- a/web/core/response.py
+++ b/web/core/response.py
@@ -1,5 +1,30 @@
# encoding: utf-8
+"""Respone / view registry.
+
+WebCore uses a return type (or response) registry to transform values returned by controllers for use as a resp... | Documentation for the return type registry. | py |
diff --git a/zipline/algorithm.py b/zipline/algorithm.py
index <HASH>..<HASH> 100644
--- a/zipline/algorithm.py
+++ b/zipline/algorithm.py
@@ -319,7 +319,6 @@ class TradingAlgorithm(object):
def _create_daily_stats(self, perfs):
# create daily and cumulative stats dataframe
daily_perfs = []
- ... | BUG: cum_perfs defined but not used. | py |
diff --git a/prometheus_client/__init__.py b/prometheus_client/__init__.py
index <HASH>..<HASH> 100644
--- a/prometheus_client/__init__.py
+++ b/prometheus_client/__init__.py
@@ -6,8 +6,6 @@ from . import process_collector
from . import platform_collector
__all__ = ['Counter', 'Gauge', 'Summary', 'Histogram']
-# ht... | Remove hack to encode __all__ as ascii (#<I>) Previously the code included: from __future__ import unicode_literals But with that gone in the current version, it makes no sense to mess with the contents of __all__ at all. | py |
diff --git a/nbt/nbt.py b/nbt/nbt.py
index <HASH>..<HASH> 100644
--- a/nbt/nbt.py
+++ b/nbt/nbt.py
@@ -203,6 +203,12 @@ class TAG_List(TAG):
def __repr__(self):
return "%i entries of type %s" % (len(self.tags), TAGLIST[self.tagID].__name__)
+ def __iter__(self):
+ return iter(self.tags)
+
+ def __len__(self):
+... | Make TAG_List behave like a list (is iterable and has length) | py |
diff --git a/triflow/core/simulation.py b/triflow/core/simulation.py
index <HASH>..<HASH> 100755
--- a/triflow/core/simulation.py
+++ b/triflow/core/simulation.py
@@ -5,6 +5,7 @@ import inspect
import logging
import pprint
from collections import namedtuple
+import warnings
import time
import streamz
@@ -250,11 ... | Fix simulation.run error if simulation already ended. | py |
diff --git a/tests/lpeg_test.py b/tests/lpeg_test.py
index <HASH>..<HASH> 100644
--- a/tests/lpeg_test.py
+++ b/tests/lpeg_test.py
@@ -1,4 +1,4 @@
-# -*- coding: latin1 -*-
+# -*- coding: utf-8 -*-
"""A port of the lpeg test suite to ppeg.
This is a direct port of as much of the lpeg test suite as makes sense fo... | Correct file encoding declaration I'm not sure if this file was ever latin1, but it's UTF-8 now. | py |
diff --git a/tendril/application.py b/tendril/application.py
index <HASH>..<HASH> 100644
--- a/tendril/application.py
+++ b/tendril/application.py
@@ -65,6 +65,15 @@ class Application(object):
def recv_frame(self, frame):
"""
Called to pass received frames to the application.
+
+ Note: if ... | Expand documentation for Tendril.recv_frame() Add a note that any exception raised by recv_frame() will cause the connection to be closed and the closed() callback called with the exception. | py |
diff --git a/vanilla.py b/vanilla.py
index <HASH>..<HASH> 100644
--- a/vanilla.py
+++ b/vanilla.py
@@ -1,6 +1,7 @@
# Organ pipe arrangement of imports; because Guido likes it
import collections
+import traceback
import functools
import mimetypes
import urlparse
@@ -42,6 +43,10 @@ class Closed(Exception):
pa... | begin preparing the core lib for the concept of abandoned pipes | py |
diff --git a/tools/pip/setup.py b/tools/pip/setup.py
index <HASH>..<HASH> 100644
--- a/tools/pip/setup.py
+++ b/tools/pip/setup.py
@@ -147,7 +147,7 @@ package_data = {'mxnet': [os.path.join('mxnet', os.path.basename(LIB_PATH[0]))],
'dmlc_tracker': []}
if variant.endswith('MKL'):
if platform.syste... | Fix IndentationError in setup.py (#<I>) | py |
diff --git a/tests/test_emulation.py b/tests/test_emulation.py
index <HASH>..<HASH> 100644
--- a/tests/test_emulation.py
+++ b/tests/test_emulation.py
@@ -285,7 +285,7 @@ class GreenSelectMixin(object):
def test_kqueue(self):
with self.socketpair() as (client, server):
kq = emulat... | nice to see that OS X's kqueue bug is faithfully reproduced in our emulation layer. now work around it in the test | py |
diff --git a/visidata/macros.py b/visidata/macros.py
index <HASH>..<HASH> 100644
--- a/visidata/macros.py
+++ b/visidata/macros.py
@@ -58,5 +58,5 @@ def startMacro(cmdlog):
vd.status(vd.macrosheet)
-Sheet.addCommand('m', 'macro-start', 'vd.cmdlog.startMacro()')
+Sheet.addCommand('m', 'macro-record', 'vd.cmdlog.sta... | [macros] rename macro-start to macro-record | py |
diff --git a/tensorflow_datasets/core/download/downloader.py b/tensorflow_datasets/core/download/downloader.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/download/downloader.py
+++ b/tensorflow_datasets/core/download/downloader.py
@@ -181,7 +181,7 @@ class _Downloader(object):
if not url.startswi... | Added io.DEFAULT_BUFFER_SIZE to StreamReader | 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
@@ -661,9 +661,13 @@ def get_sitecol_assetcol(oqparam, haz_sitecol=None):
logging.info('Associated %d assets to %d sites',
... | Raised an error for discarded sites [skip hazardlib] | py |
diff --git a/constants.py b/constants.py
index <HASH>..<HASH> 100644
--- a/constants.py
+++ b/constants.py
@@ -48,4 +48,4 @@ MAP_LINE_TYPE = {
VAR = 'a-zA-Z0-9_'
VAR_DOTS = VAR + '\.'
-FILENAME = 'a-zA-Z0-9_\./'
+FILENAME = 'a-zA-Z0-9_\-\./' | Allow "-" as a char in a filename | py |
diff --git a/chainlet/concurrency/thread.py b/chainlet/concurrency/thread.py
index <HASH>..<HASH> 100644
--- a/chainlet/concurrency/thread.py
+++ b/chainlet/concurrency/thread.py
@@ -31,15 +31,16 @@ class ThreadPoolExecutor(object):
self._identifier = identifier or ('%s_%d' % (self.__class__.__name__, id(self)... | removed race for ThreadPool during shutdown | py |
diff --git a/msrestazure/azure_active_directory.py b/msrestazure/azure_active_directory.py
index <HASH>..<HASH> 100644
--- a/msrestazure/azure_active_directory.py
+++ b/msrestazure/azure_active_directory.py
@@ -534,6 +534,7 @@ class AdalAuthentication(Authentication): # pylint: disable=too-few-public-meth
"""
... | Fix ADAL missing init call (#<I>) | py |
diff --git a/ros_buildfarm/sourcedeb_job.py b/ros_buildfarm/sourcedeb_job.py
index <HASH>..<HASH> 100644
--- a/ros_buildfarm/sourcedeb_job.py
+++ b/ros_buildfarm/sourcedeb_job.py
@@ -87,7 +87,14 @@ def build_sourcedeb(sources_dir, os_name=None, os_code_name=None):
'--git-ignore-new',
'--git-ignore-bra... | pass dpkg-genbuildinfo option on Debian Stretch to prevent checking for build dependencies | py |
diff --git a/sslyze/plugins/session_renegotiation_plugin.py b/sslyze/plugins/session_renegotiation_plugin.py
index <HASH>..<HASH> 100755
--- a/sslyze/plugins/session_renegotiation_plugin.py
+++ b/sslyze/plugins/session_renegotiation_plugin.py
@@ -210,6 +210,9 @@ def _test_client_renegotiation(server_info: ServerConnect... | [#<I>] Handle rejected reneg due to unexpected record | py |
diff --git a/ReText/window.py b/ReText/window.py
index <HASH>..<HASH> 100644
--- a/ReText/window.py
+++ b/ReText/window.py
@@ -422,6 +422,8 @@ class ReTextWindow(QMainWindow):
urlstr = url.toString()
if urlstr.startswith('file://') or ':/' not in urlstr:
self.previewBoxes[self.ind].load(url)
+ elif urlstr.st... | Extend linkClicked() anchor handling to work with Qt 5 | py |
diff --git a/tests/test_gist.py b/tests/test_gist.py
index <HASH>..<HASH> 100644
--- a/tests/test_gist.py
+++ b/tests/test_gist.py
@@ -6,18 +6,13 @@ import configparser
import contextlib
import errno
import gnupg
+import io
import os
import shlex
import subprocess
import sys
import tempfile
import unittest
-
-... | tests: remove support for StringIO pkg | py |
diff --git a/singularity/hub/__init__.py b/singularity/hub/__init__.py
index <HASH>..<HASH> 100644
--- a/singularity/hub/__init__.py
+++ b/singularity/hub/__init__.py
@@ -24,10 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
'''
-
-from simplejson import JSONDecodeEr... | removing JSONDecodeError in favor of ValueError | py |
diff --git a/asv/graph.py b/asv/graph.py
index <HASH>..<HASH> 100644
--- a/asv/graph.py
+++ b/asv/graph.py
@@ -138,7 +138,11 @@ class Graph(object):
def _mean_with_none(values):
- values = [x for x in values if x is not None]
+ """
+ Take a mean, with the understanding that None and NaN stand for
+ mis... | Take care NaNs do not end up in graph json data | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ def read(fname):
setup(
name='NURBS-Python',
- version='2.0',
+ version='2.1.1',
description='NURBS curve and surface calculation algorithms in native Python',
author='Onur Rauf Bingo... | Version bumped to <I> | py |
diff --git a/flask_appbuilder/models/filters.py b/flask_appbuilder/models/filters.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/models/filters.py
+++ b/flask_appbuilder/models/filters.py
@@ -131,7 +131,7 @@ class Filters(object):
self.clear_filters()
if self.search_columns:
self._... | Fix, create filters even when search_columns is empty (#<I>) Without this change, filters for add endpoints on views will not be created unless there are search_columns defined. This leads to a KeyError when filter columns are indexed, breaking endpoints like /fooview/add?_flt_0_bar=1 even when bar is a column t... | py |
diff --git a/lexicon/providers/inwx.py b/lexicon/providers/inwx.py
index <HASH>..<HASH> 100644
--- a/lexicon/providers/inwx.py
+++ b/lexicon/providers/inwx.py
@@ -11,7 +11,7 @@ except ImportError:
LOGGER = logging.getLogger(__name__)
-NAMESERVER_DOMAINS = ["inwx.com"]
+NAMESERVER_DOMAINS = ["ns.inwx.de", "ns2.inwx... | Update Nameserver for INWX (#<I>) I've added all Nameserver of INWX | py |
diff --git a/Lib/fontParts/base/deprecated.py b/Lib/fontParts/base/deprecated.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/deprecated.py
+++ b/Lib/fontParts/base/deprecated.py
@@ -146,6 +146,16 @@ class DeprecatedContour(DeprecatedBase, DeprecatedTransformation):
class DeprecatedGlyph(DeprecatedBase, Depr... | deprecated glyph.mark | py |
diff --git a/gandi/cli/core/utils/__init__.py b/gandi/cli/core/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/core/utils/__init__.py
+++ b/gandi/cli/core/utils/__init__.py
@@ -234,6 +234,10 @@ def output_iface(gandi, iface, datacenters, vms, output_keys, justify=10):
output_line(gandi, 'datace... | Add iface custom output for vlan field | py |
diff --git a/pro/views.py b/pro/views.py
index <HASH>..<HASH> 100644
--- a/pro/views.py
+++ b/pro/views.py
@@ -161,7 +161,7 @@ class PayPalPro(object):
return HttpResponseRedirect(pp_url)
else:
self.context = {'errors':'There was a problem contacting PayPal. Please try again later.'}
... | pro/views: updated to not overwrite context & removed context params from internal function calls. | py |
diff --git a/dtool_azure/storagebroker.py b/dtool_azure/storagebroker.py
index <HASH>..<HASH> 100644
--- a/dtool_azure/storagebroker.py
+++ b/dtool_azure/storagebroker.py
@@ -317,7 +317,7 @@ class AzureStorageBroker(BaseStorageBroker):
prefix=self.annotations_key_prefix
):
annotation_... | Fix annotation listing for annotations with . in name | py |
diff --git a/openstack_dashboard/utils/settings.py b/openstack_dashboard/utils/settings.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/utils/settings.py
+++ b/openstack_dashboard/utils/settings.py
@@ -117,7 +117,7 @@ def update_dashboards(modules, horizon_config, installed_apps):
horizon_config['panel_... | Permit 'exceptions' to be omitted from HORIZON_CONFIG Without this change, if HORIZON_CONFIG is defined in local_settings.py and does not have an 'exceptions' entry, then horizon throws and exception and fails to start. Change-Id: I<I>f<I>d1c<I>ac<I>bdcc<I>d5acb2a0b<I> Closes-Bug: #<I> | py |
diff --git a/test_pg13/test_weval.py b/test_pg13/test_weval.py
index <HASH>..<HASH> 100644
--- a/test_pg13/test_weval.py
+++ b/test_pg13/test_weval.py
@@ -38,6 +38,7 @@ def test_classify_wherex():
assert isinstance(single, weval.SingleTableCond) and single.table == 't1' and isinstance(single.exp, sqparse2.BinX)
a... | [test] ignore new-functionality test on master branch | py |
diff --git a/chartpress.py b/chartpress.py
index <HASH>..<HASH> 100755
--- a/chartpress.py
+++ b/chartpress.py
@@ -237,10 +237,6 @@ def build_images(prefix, images, tag=None, commit_range=None, push=False, chart_
if skip_build:
continue
- if tag is None and commit_range and not path_touch... | remove duplicate Skipping-build logic caused by a merge | py |
diff --git a/mythril/laser/ethereum/svm.py b/mythril/laser/ethereum/svm.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/svm.py
+++ b/mythril/laser/ethereum/svm.py
@@ -308,9 +308,9 @@ class LaserEVM:
return [new_global_state], op_code
except TransactionEndSignal as end_signal:
- ... | take last element instead of popping the transaction Other components doing analysis will otherwise have a mistaken view of the final globalstate of a transaction | py |
diff --git a/hearthstone/entities.py b/hearthstone/entities.py
index <HASH>..<HASH> 100644
--- a/hearthstone/entities.py
+++ b/hearthstone/entities.py
@@ -203,6 +203,8 @@ class Card(Entity):
def reveal(self, id, tags):
self.revealed = True
self.card_id = id
+ if self.initial_card_id is None:
+ self.initial_c... | entities: Set initial_card_id on reveal if not already known | py |
diff --git a/dingo/core/network/grids.py b/dingo/core/network/grids.py
index <HASH>..<HASH> 100644
--- a/dingo/core/network/grids.py
+++ b/dingo/core/network/grids.py
@@ -176,7 +176,7 @@ class MVGridDingo(GridDingo):
if node_source in node_ring:
for path in nx.shortest_path(self._graph, no... | include MV station when checking ring nodes in method graph_nodes_from_subtree() | py |
diff --git a/messages_extends/models.py b/messages_extends/models.py
index <HASH>..<HASH> 100644
--- a/messages_extends/models.py
+++ b/messages_extends/models.py
@@ -31,8 +31,7 @@ class Message(models.Model):
return isinstance(other, Message) and self.level == other.level and\
self.message == ... | Use __hash__ from parent class | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -1421,7 +1421,9 @@ class API(object):
file_type = imghdr.what(filename) or mimetypes.guess_type(filename)[0]
if file_type is None:
raise TweepError('Could not determine fi... | Use proper MIME type in Content-Type header for uploaded images Fixes regression introduced with #<I> where Content-Type headers of uploaded images did not use proper MIME type structure and only specified the subtype | py |
diff --git a/moban/mobanfile.py b/moban/mobanfile.py
index <HASH>..<HASH> 100644
--- a/moban/mobanfile.py
+++ b/moban/mobanfile.py
@@ -12,6 +12,8 @@ from moban.utils import merge, parse_targets, git_clone
from moban.utils import expand_directories, pip_install
from moban.copier import Copier
+KNOWN_DOMAIN_FOR_GIT =... | :hammer: code refactoring | py |
diff --git a/util/builder.py b/util/builder.py
index <HASH>..<HASH> 100644
--- a/util/builder.py
+++ b/util/builder.py
@@ -19,6 +19,7 @@ class RainbowBuilder(object):
'css': '1.0.7',
'generic': '1.0.9',
'go': '1.0',
+ 'haskell': '1.0.1',
'html': '1.0.7',
... | added haskell to the builder.py. | py |
diff --git a/python/ray/util/accelerators/accelerators.py b/python/ray/util/accelerators/accelerators.py
index <HASH>..<HASH> 100644
--- a/python/ray/util/accelerators/accelerators.py
+++ b/python/ray/util/accelerators/accelerators.py
@@ -3,3 +3,4 @@ NVIDIA_TESLA_P100 = "P100"
NVIDIA_TESLA_T4 = "T4"
NVIDIA_TESLA_P4 =... | Add NVIDIA_TESLA_A<I> to accelerator types (#<I>) Adds Nvidia's A<I> to the list of accelerator types. AWS offers this in the p4d<I>xlarge instance type. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,7 @@ setup(
'ShExJSG',
'jsonasobj',
'pyshex',
- 'backoff'
+ 'backoff',
+ 'shexer'
],
) | add shexer as install_requires | py |
diff --git a/ansible_runner/utils.py b/ansible_runner/utils.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/utils.py
+++ b/ansible_runner/utils.py
@@ -12,6 +12,7 @@ import subprocess
import base64
import threading
import pipes
+import uuid
from collections import Iterable, Mapping
from io import StringIO
@@ ... | ensure verbose events get a uuid | py |
diff --git a/salt/config/__init__.py b/salt/config/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/config/__init__.py
+++ b/salt/config/__init__.py
@@ -3314,6 +3314,10 @@ def api_config(path):
'pidfile': opts.get('api_pidfile', DEFAULT_API_OPTS['api_pidfile']),
})
opts.update(api_opts)
+ prepen... | Add root_dir to salt-api file paths | py |
diff --git a/dedupe/training.py b/dedupe/training.py
index <HASH>..<HASH> 100644
--- a/dedupe/training.py
+++ b/dedupe/training.py
@@ -263,13 +263,13 @@ def coveredRecordsLink(blocker, record_1, records_2) :
for id, record in viewvalues(records_2) :
blocks = predicate(record)
for bloc... | order in coveredRecordLInk | py |
diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py
index <HASH>..<HASH> 100644
--- a/testing/test_assertrewrite.py
+++ b/testing/test_assertrewrite.py
@@ -1388,6 +1388,9 @@ class TestEarlyRewriteBailout:
@pytest.mark.skipif(
sys.platform.startswith("win32"), reason="cannot remove c... | Fix cwd removal on Solaris | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='rtmbot',
- version='0.3.0',
+ version='0.4.0',
description='A Slack bot written in python that connects via the RTM API.',
author='R... | Update the version to avoid conflict with existing version | py |
diff --git a/crosscat/jsonrpc_http/test_engine.py b/crosscat/jsonrpc_http/test_engine.py
index <HASH>..<HASH> 100644
--- a/crosscat/jsonrpc_http/test_engine.py
+++ b/crosscat/jsonrpc_http/test_engine.py
@@ -67,7 +67,7 @@ engine = JSONRPCEngine(inf_seed, URI=URI)
X_L, X_D = engine.initialize(M_c, M_r, T)
# burn in
... | BUGFIX: use passed num_transitions remove hardcoded value "1" | py |
diff --git a/hca/util/__init__.py b/hca/util/__init__.py
index <HASH>..<HASH> 100755
--- a/hca/util/__init__.py
+++ b/hca/util/__init__.py
@@ -206,8 +206,11 @@ class SwaggerClient(object):
except OSError as e:
if not (e.errno == errno.EEXIST and os.path.isdir(self.config.user_confi... | Fixup for <I>f<I>b Do not write to cache file unless valid Swagger was downloaded. | py |
diff --git a/rig/machine_control/machine_controller.py b/rig/machine_control/machine_controller.py
index <HASH>..<HASH> 100644
--- a/rig/machine_control/machine_controller.py
+++ b/rig/machine_control/machine_controller.py
@@ -1816,7 +1816,7 @@ class MachineController(ContextMixin):
info = self._send_scp(x, y,... | Use unpack_from rather than explicit substring to unpack chip_info. Thanks @mundya! | py |
diff --git a/mallory/cli.py b/mallory/cli.py
index <HASH>..<HASH> 100644
--- a/mallory/cli.py
+++ b/mallory/cli.py
@@ -13,7 +13,6 @@ def start(args):
parser.add_option("--verify-ca-cert", dest="ca_cert", help="CA certificate to verify on backend")
parser.add_option("--ssl-key", dest="ssl_key", help="Private k... | removes pid file option since we aren't daemonizing | py |
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/fixtures/base_case.py
+++ b/seleniumbase/fixtures/base_case.py
@@ -702,6 +702,9 @@ class BaseCase(unittest.TestCase):
scroll_script = "window.scrollTo(0, %s);" % element_location
... | Add small recovery time for long-distance slow-scrolling | py |
diff --git a/samtranslator/__init__.py b/samtranslator/__init__.py
index <HASH>..<HASH> 100644
--- a/samtranslator/__init__.py
+++ b/samtranslator/__init__.py
@@ -1 +1 @@
-__version__ = "1.22.0"
+__version__ = "1.23.0" | chore: bump translator version (#<I>) | py |
diff --git a/salt/client/ssh/client.py b/salt/client/ssh/client.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/client.py
+++ b/salt/client/ssh/client.py
@@ -56,7 +56,7 @@ class SSHClient(object):
("ssh_priv", str),
("ssh_priv_passwd", str),
("ssh_identities_only", bool),
- ... | Fix ssh_remote_port_forwards wart causing test to fail | py |
diff --git a/mpm/bin/__init__.py b/mpm/bin/__init__.py
index <HASH>..<HASH> 100644
--- a/mpm/bin/__init__.py
+++ b/mpm/bin/__init__.py
@@ -159,7 +159,8 @@ def main(args=None):
print >> sys.stderr, '[warning] Skipping missing plugin'
elif args.command == 'install':
if args.requirements... | Ignore lines starting with "#" (i.e., comments) | py |
diff --git a/fasteners/lock.py b/fasteners/lock.py
index <HASH>..<HASH> 100644
--- a/fasteners/lock.py
+++ b/fasteners/lock.py
@@ -271,8 +271,10 @@ def locked(*args, **kwargs):
attr_value = getattr(self, attr_name)
if isinstance(attr_value, (tuple, list)):
with _utils.LockStac... | If stack fails getting a lock, stop and raise | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,6 +11,7 @@ with open("./README.rst") as f:
setup(
name="axe-selenium-python",
use_scm_version=True,
+ setup_requires=["setuptools_scm"],
description="Python library to integrate axe and selenium for web ... | fix automatic pypi uploads (#<I>) * updated the changelog to warn about breaking changes * updating versioning for pypi release | py |
diff --git a/CGRtools/algorithms/standardize.py b/CGRtools/algorithms/standardize.py
index <HASH>..<HASH> 100644
--- a/CGRtools/algorithms/standardize.py
+++ b/CGRtools/algorithms/standardize.py
@@ -414,6 +414,18 @@ class Standardize:
bonds_fix = ((1, 2, 2),)
rules.append((atoms, bonds, atom_fix, bond... | New standardization rule for carbon monoxide added (#<I>) | py |
diff --git a/mpop/satin/aapp1b.py b/mpop/satin/aapp1b.py
index <HASH>..<HASH> 100644
--- a/mpop/satin/aapp1b.py
+++ b/mpop/satin/aapp1b.py
@@ -40,8 +40,6 @@ import glob
from ConfigParser import ConfigParser
from mpop import CONFIG_PATH
-from mpop.satin.helper_functions import reduce_swath
-
LOGGER = logging.getLog... | Reverted not to reduce swath data | py |
diff --git a/openquake/risk/job/general.py b/openquake/risk/job/general.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/job/general.py
+++ b/openquake/risk/job/general.py
@@ -57,7 +57,9 @@ def preload(mixin):
def write_output(mixin):
- """ Write the output of a block to kvs. """
+ """
+ Write the outp... | risk/job/general.py: more correct docstring in write_output() Former-commit-id: <I>c6d<I>f<I>be0a<I>fabbeb8efa<I>ef | py |
diff --git a/tests/test_copy_paste.py b/tests/test_copy_paste.py
index <HASH>..<HASH> 100644
--- a/tests/test_copy_paste.py
+++ b/tests/test_copy_paste.py
@@ -73,27 +73,23 @@ class TestOSX(_TestClipboard):
class TestGtk(_TestClipboard):
- if not HAS_DISPLAY:
- return
-
- try:
- import gtk
- ... | Undoing change which introduced syntax errors | py |
diff --git a/Lib/glyphsLib/parser.py b/Lib/glyphsLib/parser.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphsLib/parser.py
+++ b/Lib/glyphsLib/parser.py
@@ -229,14 +229,15 @@ class Parser(object):
def _trim_value(self, value):
"""Trim double quotes off the ends of a value, un-escaping inner
- doubl... | parser: replace '\' with '\' inside quoted strings this fixes <URL>. NOTE: the _trim_value method returns a string unmodified if it is not within quotes, because escape sequences can only occur inside quoted strings | py |
diff --git a/features/steps/install_steps.py b/features/steps/install_steps.py
index <HASH>..<HASH> 100644
--- a/features/steps/install_steps.py
+++ b/features/steps/install_steps.py
@@ -5,4 +5,4 @@ from captainhook.checkers.utils import bash
@given('I have installed captainhook')
def step_impl(context):
- bash(... | Fix behave tests to use install command. | py |
diff --git a/pydle/features/rfc1459/client.py b/pydle/features/rfc1459/client.py
index <HASH>..<HASH> 100644
--- a/pydle/features/rfc1459/client.py
+++ b/pydle/features/rfc1459/client.py
@@ -2,7 +2,7 @@
# Basic RFC1459 stuff.
import datetime
-from pydle.client import BasicClient
+from pydle.client import BasicClien... | Add topic command to RFC<I> client. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@ setup(
packages=['pypxlib', 'pypxlib.pxlib_ctypes'],
package_data={
'pypxlib.pxlib_ctypes': [
- 'pxlib.dll', 'libpx.dylib', 'libpx.so'
+ 'pxlib.dll', 'pxlib_x64.dll', 'libpx.dylib', 'libpx.so'
]
... | Add required file pxlib_x<I>.dll to package_data. | py |
diff --git a/gargoyle/models.py b/gargoyle/models.py
index <HASH>..<HASH> 100644
--- a/gargoyle/models.py
+++ b/gargoyle/models.py
@@ -6,11 +6,13 @@ gargoyle.models
:license: Apache License 2.0, see LICENSE for more details.
"""
-import datetime
-
from django.db import models
from django.conf import settings
fro... | Add support for Django <I> timezone aware datetimes. | py |
diff --git a/insights/client/data_collector.py b/insights/client/data_collector.py
index <HASH>..<HASH> 100644
--- a/insights/client/data_collector.py
+++ b/insights/client/data_collector.py
@@ -252,7 +252,7 @@ class CleanOptions(object):
try:
keywords = rm_conf['keywords']
... | encode to bytes before writing keywords file (#<I>) | py |
diff --git a/aiobotocore/endpoint.py b/aiobotocore/endpoint.py
index <HASH>..<HASH> 100644
--- a/aiobotocore/endpoint.py
+++ b/aiobotocore/endpoint.py
@@ -32,6 +32,23 @@ def convert_to_response_dict(http_response, operation_model):
return response_dict
+class ClientResponseContentProxy:
+ """Proxy object fo... | Fixing streaming responses. Closing the body stream closes the underlying aiohttp reponse object. | py |
diff --git a/pyblueprints/neo4j.py b/pyblueprints/neo4j.py
index <HASH>..<HASH> 100644
--- a/pyblueprints/neo4j.py
+++ b/pyblueprints/neo4j.py
@@ -160,6 +160,21 @@ class Vertex(Element):
for edge in self.neoelement.relationships.incoming():
yield Edge(edge)
+ def getBothEdges(self, la... | Added getBothEdges method | py |
diff --git a/pecan/hooks.py b/pecan/hooks.py
index <HASH>..<HASH> 100644
--- a/pecan/hooks.py
+++ b/pecan/hooks.py
@@ -55,11 +55,6 @@ class TransactionHook(PecanHook):
self.rollback = rollback
self.clear = clear
- if defer is False:
- self.on_route = self.__begin
- else:
... | remove old code that should have been remove before prior commit | py |
diff --git a/pycoin/tx/script/vm.py b/pycoin/tx/script/vm.py
index <HASH>..<HASH> 100644
--- a/pycoin/tx/script/vm.py
+++ b/pycoin/tx/script/vm.py
@@ -161,7 +161,7 @@ def eval_script(script, signature_for_hash_type_f, lock_time, expected_hash_type
continue
if opcode == opcodes.OP_CODESEP... | Fix problem with OP_CODESEPARATOR. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,7 @@ _cflag_parser.add_argument('-l', dest='libraries', action='append')
_cflag_parser.add_argument('-D', dest='define_macros', action='append')
_cflag_parser.add_argument('-R', dest='runtime_library_dirs', action=... | Move decode to the right spot. ... because Python3 won't let us decode `str`. | py |
diff --git a/dusty/daemon.py b/dusty/daemon.py
index <HASH>..<HASH> 100644
--- a/dusty/daemon.py
+++ b/dusty/daemon.py
@@ -1,10 +1,11 @@
"""Listen for user commands to Dusty
Usage:
- dustyd [--suppress-warnings]
+ dustyd [--suppress-warnings] [--preflight-only]
Options:
--suppress-warnings Do not display r... | accept preflight-only arg | py |
diff --git a/pgmpy/BayesianModel/BayesianModel.py b/pgmpy/BayesianModel/BayesianModel.py
index <HASH>..<HASH> 100644
--- a/pgmpy/BayesianModel/BayesianModel.py
+++ b/pgmpy/BayesianModel/BayesianModel.py
@@ -1017,7 +1017,7 @@ class BayesianModel(nx.DiGraph):
from pgmpy.Independencies import Independencies
... | correction in local_independencies method #<I> | py |
diff --git a/raiden/network/proxies/token_network_registry.py b/raiden/network/proxies/token_network_registry.py
index <HASH>..<HASH> 100644
--- a/raiden/network/proxies/token_network_registry.py
+++ b/raiden/network/proxies/token_network_registry.py
@@ -338,7 +338,8 @@ class TokenNetworkRegistry:
# At... | Different messages for unrecoverable errors. | py |
diff --git a/opengem/job/__init__.py b/opengem/job/__init__.py
index <HASH>..<HASH> 100644
--- a/opengem/job/__init__.py
+++ b/opengem/job/__init__.py
@@ -150,6 +150,6 @@ class Job(object):
def to_kvs(self):
"""Store this job into memcached."""
- self._slurp_files()
+ # self._slurp_files()... | don't slurp | py |
diff --git a/demo/urls.py b/demo/urls.py
index <HASH>..<HASH> 100644
--- a/demo/urls.py
+++ b/demo/urls.py
@@ -4,6 +4,7 @@ from django.contrib import admin
from django.conf.urls import url
from django.conf.urls import include
from django.conf.urls import patterns
+from django.views.generic.base import RedirectView
... | use class based view for redirection in the demo | py |
diff --git a/tests/urls.py b/tests/urls.py
index <HASH>..<HASH> 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -1,6 +1,6 @@
-from django.conf.urls import include, url
+from django.urls import include, re_path
urlpatterns = [
- url(r"^avatar/", include("avatar.urls")),
+ re_path(r"^avatar/", include("avata... | url => re_path | py |
diff --git a/spyder/plugins/editor/widgets/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/widgets/codeeditor.py
+++ b/spyder/plugins/editor/widgets/codeeditor.py
@@ -4636,7 +4636,8 @@ class CodeEditor(TextEditBaseWidget):
# redefine this ... | Editor: Complete after auto_completion_characters if auto completions is on Otherwise we're going against expectations because if auto completions is off, we shouldn't trigger completions automatically under any situation. | py |
diff --git a/src/googleclouddebugger/python_breakpoint.py b/src/googleclouddebugger/python_breakpoint.py
index <HASH>..<HASH> 100644
--- a/src/googleclouddebugger/python_breakpoint.py
+++ b/src/googleclouddebugger/python_breakpoint.py
@@ -399,7 +399,26 @@ class PythonBreakpoint(object):
collector = capture_colle... | Add try/except around CaptureCollector to catch any exceptions and convert them into breakpoint errors. This should cover unforeseen exceptions from: 1. from capture loop, 2. labels collector, 3. user id collector. We can remove this try/except once we figure out the root cause of the problem. ------------- Cr... | py |
diff --git a/telemetry/telemetry/unittest/json_results.py b/telemetry/telemetry/unittest/json_results.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/unittest/json_results.py
+++ b/telemetry/telemetry/unittest/json_results.py
@@ -80,6 +80,7 @@ def FullResults(args, suite, results):
full_results['path_delimi... | Include builder_name in full_results in telemetry_unittests. Turns out we need it to be included in full_results.json as well as passed as a URL parameter :(. TBR=<EMAIL>, <EMAIL> BUG=<I> Review URL: <URL> | py |
diff --git a/pycbc/filter/matchedfilter.py b/pycbc/filter/matchedfilter.py
index <HASH>..<HASH> 100644
--- a/pycbc/filter/matchedfilter.py
+++ b/pycbc/filter/matchedfilter.py
@@ -303,7 +303,7 @@ def matched_filter_core(template, data, psd=None, low_frequency_cutoff=None,
def smear(idx, factor):
s = [... | Think this needs to go to +/- factor inclusive (so in python terms range(-factor,factor<I>) | py |
diff --git a/tests/test_sempai.py b/tests/test_sempai.py
index <HASH>..<HASH> 100644
--- a/tests/test_sempai.py
+++ b/tests/test_sempai.py
@@ -17,7 +17,8 @@ TEST_FILE = '''{
{"array": [
{"and_nested_again": "dotted"}
]}
- ]
+ ],
+ "lots_of_lists": [[{"in_da_list": true}]]
}'''
... | Add test for objects in lists in lists | py |
diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -1808,8 +1808,8 @@ class TestSeries(tm.TestCase, CheckNameIntegration):
for idx, val in compat.iteritems(self.ts):
self.assertEq... | BUG: Use reversed to check for list | py |
diff --git a/tests/test_demands.py b/tests/test_demands.py
index <HASH>..<HASH> 100644
--- a/tests/test_demands.py
+++ b/tests/test_demands.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import unittest2
import inspect
@@ -76,6 +77,17 @@ class HttpServiceTests(PatchedSessionTests):
method='GET', url='http... | Add test for send_as_json | py |
diff --git a/paco/throttle.py b/paco/throttle.py
index <HASH>..<HASH> 100644
--- a/paco/throttle.py
+++ b/paco/throttle.py
@@ -48,11 +48,22 @@ def throttle(coro, limit=1, timeframe=1,
Usage::
+ # Use as simple wrapper
task = paco.throttle(coro, limit=1, timeframe=1)
- task(1)
- ta... | feat(#<I>): use as standard wrapper | py |
diff --git a/bugwarrior/services/githubutils.py b/bugwarrior/services/githubutils.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/githubutils.py
+++ b/bugwarrior/services/githubutils.py
@@ -74,7 +74,13 @@ def _getter(url, auth):
raise IOError(
"Non-200 status code %r; %r" % (respo... | Support older python-requests. Relates to #<I>. | py |
diff --git a/infoblox_client/object_manager.py b/infoblox_client/object_manager.py
index <HASH>..<HASH> 100644
--- a/infoblox_client/object_manager.py
+++ b/infoblox_client/object_manager.py
@@ -113,6 +113,17 @@ class InfobloxObjectManager(object):
except ib_ex.InfobloxSearchError:
return False
... | Deprecate network_exists instead of removing network_exists is still used in networking-infolbox, so instead of complete removing just deprecate it for now. | py |
diff --git a/tests/test_util.py b/tests/test_util.py
index <HASH>..<HASH> 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -349,9 +349,8 @@ class NetworkDataframeTests(unittest.TestCase):
from py2cytoscape.util.util_dataframe import to_dataframe
with open(self.cur_dir + '/data/galFiltered.j... | Adding check to see if "SUID" get placed into dataframe column. | py |
diff --git a/salt/modules/mine.py b/salt/modules/mine.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mine.py
+++ b/salt/modules/mine.py
@@ -314,7 +314,7 @@ def get_docker(interfaces=None, cidrs=None):
good_ips = []
for cidr in cidrs:
for ip_ in host_ips:
- ... | no need for a comma, lint | py |
diff --git a/PySimpleGUI.py b/PySimpleGUI.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUI.py
+++ b/PySimpleGUI.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
-version = __version__ = "4.43.0.1 Unreleased\nChanged get_versions string to be more clear, removed canvas from return values"
+version = __version__ = "4.43.0.2 Unre... | cwd is automatically set to the folder of the application being launched when execute_py_file is called with cwd=None | py |
diff --git a/sentry/client/base.py b/sentry/client/base.py
index <HASH>..<HASH> 100644
--- a/sentry/client/base.py
+++ b/sentry/client/base.py
@@ -52,10 +52,10 @@ class SentryClient(object):
try:
response = urllib2.urlopen(req, None, settings.REMOTE_TIMEOUT).read()
... | exc_info isnt part of extra, its on the base log method | py |
diff --git a/polyaxon/api/projects/views.py b/polyaxon/api/projects/views.py
index <HASH>..<HASH> 100644
--- a/polyaxon/api/projects/views.py
+++ b/polyaxon/api/projects/views.py
@@ -59,7 +59,6 @@ class ProjectListView(BookmarkedListMixinView, AdminResourceEndpoint, ListEndpoi
queryset = queries.projects.order_by(... | Fix pagination for project and projects' names apis | py |
diff --git a/lib/svtplay/service/kanal5.py b/lib/svtplay/service/kanal5.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay/service/kanal5.py
+++ b/lib/svtplay/service/kanal5.py
@@ -35,7 +35,6 @@ class Kanal5():
filename = test["source"]
match = re.search("^(.*):", filename)
- options.output = ... | kanal5: download_* should set the extention | py |
diff --git a/zipline/algorithm.py b/zipline/algorithm.py
index <HASH>..<HASH> 100644
--- a/zipline/algorithm.py
+++ b/zipline/algorithm.py
@@ -142,7 +142,11 @@ class TradingAlgorithm(object):
self.sim_params = kwargs.pop('sim_params', None)
if self.sim_params:
- self.sim_params.data_frequ... | MAINT: Allow sim_params to provide data frequency for the algorithm. In the case that data_frequency of the algorithm is None, allow the sim_params to provide the data_frequency. For less redundancy when setting up an algorithm. | py |
diff --git a/pyecharts/conf.py b/pyecharts/conf.py
index <HASH>..<HASH> 100644
--- a/pyecharts/conf.py
+++ b/pyecharts/conf.py
@@ -9,8 +9,8 @@ DEFAULT_TEMPLATE_DIR = get_resource_dir('templates')
# Load js & map file index into a dictionary.
-JS_EXTENSIONS = [] # [JsExtension..]
-CITY_NAME_PINYIN_MAP = {} # {<Ch... | :fire: get rid of useless declarations | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.