diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py
index <HASH>..<HASH> 100644
--- a/pandas/util/print_versions.py
+++ b/pandas/util/print_versions.py
@@ -54,7 +54,7 @@ def get_sys_info():
def show_versions(as_json=False):
- import imp
+ import imp, importlib
sys_info = get_sys_i... | BLD: provide secondary catching of some imports in print_versions.py for some reason imp can never find pytz, patsy | py |
diff --git a/exchangelib/winzone.py b/exchangelib/winzone.py
index <HASH>..<HASH> 100644
--- a/exchangelib/winzone.py
+++ b/exchangelib/winzone.py
@@ -8,7 +8,7 @@ from .util import to_xml
CLDR_WINZONE_URL = 'https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml'
DEFAULT_TERR... | New CLDR update, but nothing that affects us | py |
diff --git a/datadog_checks_base/datadog_checks/base/stubs/datadog_agent.py b/datadog_checks_base/datadog_checks/base/stubs/datadog_agent.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_base/datadog_checks/base/stubs/datadog_agent.py
+++ b/datadog_checks_base/datadog_checks/base/stubs/datadog_agent.py
@@ -6,9 +6,14... | Mirror Agent's default behavior of `enable_metadata_collection` for `datadog_agent` stub (#<I>) * Add enable_metadata to metadata stub * Apply suggestions from code review | py |
diff --git a/simpleai/search/utils.py b/simpleai/search/utils.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/utils.py
+++ b/simpleai/search/utils.py
@@ -10,18 +10,18 @@ class FifoList(list):
return super(FifoList, self).pop(index)
-class BoundedPriorityQueue(list):
+class BoundedPriorityQueue(object)... | Changed BoundedPriorityQueue to use a internal queue variable The heappush function in heapq.py starts by calling append on the queue, causing endless recursion. This doesn't happen in cpython because it's using a C implementation, but eg. pypy uses the python version. | py |
diff --git a/troposphere/codestarconnections.py b/troposphere/codestarconnections.py
index <HASH>..<HASH> 100644
--- a/troposphere/codestarconnections.py
+++ b/troposphere/codestarconnections.py
@@ -6,7 +6,7 @@
from . import AWSObject, Tags
-VALID_CONNECTION_PROVIDERTYPE = "Bitbucket"
+VALID_CONNECTION_PROVIDERTYP... | Switched VALID_CONNECTION_PROVIDERTYPE to list and added GitHub and GitHubEnterprise | py |
diff --git a/command_line_setup.py b/command_line_setup.py
index <HASH>..<HASH> 100644
--- a/command_line_setup.py
+++ b/command_line_setup.py
@@ -137,7 +137,7 @@ setup(
'gui_scripts': [
'magic_gui.py = programs.magic_gui:main',
'pmag_gui.py = programs.pmag_gui:mai... | make command_line_setup use correct name for demag GUI main function | py |
diff --git a/tcex/testing/test_case_playbook_common.py b/tcex/testing/test_case_playbook_common.py
index <HASH>..<HASH> 100644
--- a/tcex/testing/test_case_playbook_common.py
+++ b/tcex/testing/test_case_playbook_common.py
@@ -48,8 +48,8 @@ class TestCasePlaybookCommon(TestCase):
job_id (int): A job id to ... | fixed issue with populating output in testing playbook common. | py |
diff --git a/django_socketio/events.py b/django_socketio/events.py
index <HASH>..<HASH> 100644
--- a/django_socketio/events.py
+++ b/django_socketio/events.py
@@ -80,7 +80,6 @@ on_disconnect = Event() # request, socket, context
on_finish = Event() # request, socket, context
# Give each event a n... | Fix 'dictionary changed size during iteration' error | py |
diff --git a/muttdown/main.py b/muttdown/main.py
index <HASH>..<HASH> 100644
--- a/muttdown/main.py
+++ b/muttdown/main.py
@@ -79,7 +79,10 @@ def rebuild_multipart(mail, config):
if did_any_markdown:
new_top = MIMEMultipart('alternative')
for k, v in mail.items():
- if not k.startswith... | Do not copy the fake Bcc header into the root message | py |
diff --git a/core/setup.py b/core/setup.py
index <HASH>..<HASH> 100644
--- a/core/setup.py
+++ b/core/setup.py
@@ -56,7 +56,7 @@ REQUIREMENTS = [
'google-auth >= 0.4.0, < 2.0.0dev',
'requests >= 2.18.0, < 3.0.0dev',
'setuptools >= 34.0.0',
- 'six',
+ 'six >= 1.10.0',
]
EXTRAS_REQUIREMENTS = { | Require six <I> (#<I>) | py |
diff --git a/thanatos/database.py b/thanatos/database.py
index <HASH>..<HASH> 100644
--- a/thanatos/database.py
+++ b/thanatos/database.py
@@ -9,6 +9,7 @@ _log = logging.getLogger('thanatos.database')
class DB(object):
required_tables = [
+ 'dgmTypeAttributes',
'invTypes',
'invGroups',
... | Added a DB method for getting a specific dogma attribute for a specified type | py |
diff --git a/pyqode/core/widgets/filesystem_treeview.py b/pyqode/core/widgets/filesystem_treeview.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/widgets/filesystem_treeview.py
+++ b/pyqode/core/widgets/filesystem_treeview.py
@@ -150,6 +150,9 @@ class FileSystemTreeView(QtWidgets.QTreeView):
if os.path.isfile... | FSTreeView: show hidden files | py |
diff --git a/bypy.py b/bypy.py
index <HASH>..<HASH> 100644
--- a/bypy.py
+++ b/bypy.py
@@ -705,6 +705,9 @@ class ByPy(object):
quit_when_fail = False,
listfile = None,
verbose = 0, debug = False):
+
+ self.__access_token = ''
+
self.__slice_size = slice_size
self.__dl_chunk_size = dl_chunk_size
self.... | Fix crash on OAuth (silly mistake :() | py |
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/source.py
+++ b/openquake/commonlib/source.py
@@ -365,7 +365,7 @@ class CompositionInfo(object):
"""
sm = self.source_models[sm_id]
return self.__class__(
- ... | Small fix in case of sampling Former-commit-id: caedbc<I>e<I>e9fb<I>fca<I>d<I>cc<I>b4 | py |
diff --git a/cauldron/resources/examples/pyplot/histogram.py b/cauldron/resources/examples/pyplot/histogram.py
index <HASH>..<HASH> 100644
--- a/cauldron/resources/examples/pyplot/histogram.py
+++ b/cauldron/resources/examples/pyplot/histogram.py
@@ -1,5 +1,4 @@
import numpy as np
-import matplotlib.mlab as mlab
impo... | Matplotlib Compatibility remove `mlab.normpdf` example reference to now that it has been deprecated within matplotlib in favor of scipy's `norm.pdf`. | py |
diff --git a/salt/modules/boto_apigateway.py b/salt/modules/boto_apigateway.py
index <HASH>..<HASH> 100644
--- a/salt/modules/boto_apigateway.py
+++ b/salt/modules/boto_apigateway.py
@@ -1602,6 +1602,9 @@ def delete_usage_plan(plan_id, region=None, key=None, keyid=None, profile=None):
try:
existing = desc... | return error on delete usage plan if we had problems describing the plan_id. | py |
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -216,7 +216,7 @@ class ClassicalCalculator(base.HazardCalculator):
kind can be ('hcurves', 'mean'), ('hmaps', '... | Small renaming [skip CI] | py |
diff --git a/django_airavata/apps/auth/middleware.py b/django_airavata/apps/auth/middleware.py
index <HASH>..<HASH> 100644
--- a/django_airavata/apps/auth/middleware.py
+++ b/django_airavata/apps/auth/middleware.py
@@ -64,8 +64,8 @@ def gateway_groups_middleware(get_response):
request.user.is_staff = T... | warning log when api server down and unable to determine admin group membership | py |
diff --git a/indra/sources/biopax/api.py b/indra/sources/biopax/api.py
index <HASH>..<HASH> 100644
--- a/indra/sources/biopax/api.py
+++ b/indra/sources/biopax/api.py
@@ -157,20 +157,22 @@ def process_pc_pathsfromto(source_genes, target_genes, neighbor_limit=1,
return process_model(model)
-def process_owl(... | Propagate specification of encoding to indra.sources.biopax.process_owl | py |
diff --git a/sramongo/mongo_schema.py b/sramongo/mongo_schema.py
index <HASH>..<HASH> 100644
--- a/sramongo/mongo_schema.py
+++ b/sramongo/mongo_schema.py
@@ -470,12 +470,9 @@ class Experiment(Document):
# NOTE: Additional Fields added post creation
study = ReferenceField(Study)
-
- # NOTE: Additional Fi... | Adds flags field to Run and Experiment. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,18 +1,6 @@
#!/usr/bin/env python
-from distutils.version import StrictVersion
import setuptools
-import sys
-
-
-# Setuptools 17.1 is required, and setup_requires cannot upgrade setuptools
-# in-place, nor trigger the use... | Issue #<I>: use a setup_requires dependency Rather than hand-checking, let setuptools do the checking. This avoids issues with distutils being unable to parse some setuptools release versions, which could bite us in future. | py |
diff --git a/elasticmodels/analysis.py b/elasticmodels/analysis.py
index <HASH>..<HASH> 100644
--- a/elasticmodels/analysis.py
+++ b/elasticmodels/analysis.py
@@ -7,6 +7,8 @@ from elasticsearch_dsl.connections import connections
from django.conf import settings
from .indexes import registry
+DOES_NOT_EXIST = 404
+
... | Handle the case where the elasticsearch index doesn't exist is_analysis_compatible should return True in that case | py |
diff --git a/fhirtordf/__init__.py b/fhirtordf/__init__.py
index <HASH>..<HASH> 100644
--- a/fhirtordf/__init__.py
+++ b/fhirtordf/__init__.py
@@ -26,4 +26,4 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
-__version__ = "0.9.3"
+__version_... | Update version to <I> This is probably pretty close to a "breaking" set of changes, so it seemed like a good time to declare it as <I> | py |
diff --git a/tests/test_lazy_object_proxy.py b/tests/test_lazy_object_proxy.py
index <HASH>..<HASH> 100644
--- a/tests/test_lazy_object_proxy.py
+++ b/tests/test_lazy_object_proxy.py
@@ -1622,13 +1622,21 @@ def test_readonly(lazy_object_proxy):
def test_del_wrapped(lazy_object_proxy):
- class Foo(object):
- ... | Extend the del __wrapped__ test to cover reinitialization. | py |
diff --git a/troposphere/eks.py b/troposphere/eks.py
index <HASH>..<HASH> 100644
--- a/troposphere/eks.py
+++ b/troposphere/eks.py
@@ -162,7 +162,7 @@ class LaunchTemplateSpecification(AWSProperty):
class Taint(AWSProperty):
props = {
"Effect": (validate_taint_effect, False),
- "Name": (validate_t... | Fix EKS::Nodegroup.Taints to use the correct key for taints (#<I>) | py |
diff --git a/userena/views.py b/userena/views.py
index <HASH>..<HASH> 100644
--- a/userena/views.py
+++ b/userena/views.py
@@ -276,7 +276,7 @@ def signin(request, auth_form=AuthenticationForm,
if user.is_active:
login(request, user)
if remember_me:
- req... | Fixed remember me, used to remember for hours instead of days | py |
diff --git a/abilian/web/admin/panels/login_sessions.py b/abilian/web/admin/panels/login_sessions.py
index <HASH>..<HASH> 100644
--- a/abilian/web/admin/panels/login_sessions.py
+++ b/abilian/web/admin/panels/login_sessions.py
@@ -25,7 +25,7 @@ class LoginSessionsPanel(AdminPanel):
for session in sessions:
... | admin panel login sessions: don't break when ip_address is unknown | py |
diff --git a/thumbor/handlers/__init__.py b/thumbor/handlers/__init__.py
index <HASH>..<HASH> 100644
--- a/thumbor/handlers/__init__.py
+++ b/thumbor/handlers/__init__.py
@@ -12,6 +12,7 @@ import functools
from os.path import splitext
import datetime
import traceback
+import re
import tornado.web
import tornado.... | Cleaning extra params before getting the extension | py |
diff --git a/src/toil/jobStores/abstractJobStore.py b/src/toil/jobStores/abstractJobStore.py
index <HASH>..<HASH> 100644
--- a/src/toil/jobStores/abstractJobStore.py
+++ b/src/toil/jobStores/abstractJobStore.py
@@ -96,7 +96,7 @@ class NoSuchFileException(Exception):
if extra:
# Append ex... | Note that we are dumping extra information | py |
diff --git a/factory/django.py b/factory/django.py
index <HASH>..<HASH> 100644
--- a/factory/django.py
+++ b/factory/django.py
@@ -263,8 +263,10 @@ class mute_signals(object):
def __call__(self, callable_obj):
if isinstance(callable_obj, base.FactoryMetaClass):
- generate_method = getattr(cal... | Fix mute_signals' decorator. | py |
diff --git a/datajoint/admin.py b/datajoint/admin.py
index <HASH>..<HASH> 100644
--- a/datajoint/admin.py
+++ b/datajoint/admin.py
@@ -3,8 +3,9 @@ from . import conn
from .utils import user_choice
-def set_password(new_password, connection=conn()): # pragma: no cover
+def set_password(new_password, connection=No... | datajoint now loads even when there is no connection. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,13 +59,13 @@ INSTALL_REQUIRES = [
EXTRAS_REQUIRE = {
'all':[
- # for lcdb
+ # for lcdb
'psycopg2-binary',
# for lcfit.mandelagol_fit_magseries
- 'emcee>=3.0',
+ 'emcee... | setup.py: fix emcee dep, BATMAN is "batman-package" on PyPI not "batman" | 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, find_packages
setup(
name = 'drawille',
- version = '0.0.4',
+ version = '0.1.0',
author = 'Adam Tauber',
author_email = 'asciimoo@gmail.com',
description... | [enh] version bump to <I> | py |
diff --git a/socketio/namespace.py b/socketio/namespace.py
index <HASH>..<HASH> 100644
--- a/socketio/namespace.py
+++ b/socketio/namespace.py
@@ -171,8 +171,8 @@ class BaseNamespace(object):
self.emit('go_back', 'param1', id=packet['id'])
"""
- args = pkt['args']
- name = pkt[... | Woops, renamed the 'pkt' to 'packet' but forgot to fix the function. | py |
diff --git a/shapeshift/__init__.py b/shapeshift/__init__.py
index <HASH>..<HASH> 100644
--- a/shapeshift/__init__.py
+++ b/shapeshift/__init__.py
@@ -2,9 +2,10 @@
"""
Transforming python logs
"""
+from __future__ import absolute_import
from collections import namedtuple
-from formatters import JSONFormatter, Key... | fix compatability issue with python3 | py |
diff --git a/mail_templated/__init__.py b/mail_templated/__init__.py
index <HASH>..<HASH> 100644
--- a/mail_templated/__init__.py
+++ b/mail_templated/__init__.py
@@ -71,6 +71,22 @@ class EmailMessage(mail.EmailMultiAlternatives):
self.attach_alternative(html, 'text/html')
return super(mai... | Added support for pickling/unpickling | py |
diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -13,5 +13,5 @@ used from a setup script as
# Updated automatically by the Python release process.
#
#--start constants--
-__version__ = "3.4.0a0"
+__version__ = "3.4.0a1"
#--end constants-- | Bumped version to <I>a1. | py |
diff --git a/poetry/puzzle/provider.py b/poetry/puzzle/provider.py
index <HASH>..<HASH> 100755
--- a/poetry/puzzle/provider.py
+++ b/poetry/puzzle/provider.py
@@ -324,7 +324,7 @@ class Provider:
with temporary_directory() as temp_dir:
temp_dir = Path(temp_dir)
file_name = os.path.base... | provider: ensure download dest file is a string Resolves: #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -150,7 +150,7 @@ setup(
author=nosedjango.__author__,
author_email=nosedjango.__contact__,
long_description=long_description,
- install_requires=['nose<1.0', 'django<1.4'],
+ install_requires=['nose<2.0', ... | Restrict django/nose to tested versions | py |
diff --git a/widgets.py b/widgets.py
index <HASH>..<HASH> 100644
--- a/widgets.py
+++ b/widgets.py
@@ -99,10 +99,10 @@ class WButton(Widget):
focusable = True
- def __init__(self, text):
+ def __init__(self, w, text):
self.t = text
self.h = 1
- self.w = len(text) + 2
+ sel... | widgets: WButton: Allow to specify explicit width. To make different buttons have teh same width. | py |
diff --git a/openpnm/models/geometry/pore_surface_area/_funcs.py b/openpnm/models/geometry/pore_surface_area/_funcs.py
index <HASH>..<HASH> 100644
--- a/openpnm/models/geometry/pore_surface_area/_funcs.py
+++ b/openpnm/models/geometry/pore_surface_area/_funcs.py
@@ -73,8 +73,7 @@ def circle(
"""
network = t... | updated multipliers of area equation as float (test passes) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,13 +35,13 @@ setup(
install_requires=install_requires,
tests_require=test_requires,
license='MIT',
- classifiers=(
+ classifiers=[
'License :: OSI Approved :: MIT License',
'Framework... | classifiers must be a list | py |
diff --git a/syllabify.py b/syllabify.py
index <HASH>..<HASH> 100644
--- a/syllabify.py
+++ b/syllabify.py
@@ -196,9 +196,9 @@ def barytone(w):
return not syllable_accent(ultima(w))
-def syllable_morae(s, final=None):
+def syllable_morae(s, number):
a = syllable_accent(s)
- l = syllable_length(s, final... | refactored moraic analysis | py |
diff --git a/py/testdir_multi_jvm/test_rf_float_rand.py b/py/testdir_multi_jvm/test_rf_float_rand.py
index <HASH>..<HASH> 100644
--- a/py/testdir_multi_jvm/test_rf_float_rand.py
+++ b/py/testdir_multi_jvm/test_rf_float_rand.py
@@ -31,7 +31,9 @@ def rand_rowData():
# data is best? if we put all 0s or 1, then I gues... | change range to -1e<I>,1e<I>..seems like HEX-<I> is okay now (we don't just support single prec. fp) | py |
diff --git a/zinnia/managers.py b/zinnia/managers.py
index <HASH>..<HASH> 100644
--- a/zinnia/managers.py
+++ b/zinnia/managers.py
@@ -22,11 +22,7 @@ def tags_published():
def authors_published():
"""Return the published authors"""
from django.contrib.auth.models import User
-
- author_ids = [user.pk for ... | Optimized the authors-query who published a blog entry. The previous method is really slow when you have some more users! | py |
diff --git a/tests/task_router/test_statistics.py b/tests/task_router/test_statistics.py
index <HASH>..<HASH> 100644
--- a/tests/task_router/test_statistics.py
+++ b/tests/task_router/test_statistics.py
@@ -67,7 +67,7 @@ class TestStatistics(unittest.TestCase):
resp.status_code = 200
request.return_va... | Add timeout to statistics task queue creation | py |
diff --git a/spyder/widgets/findreplace.py b/spyder/widgets/findreplace.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/findreplace.py
+++ b/spyder/widgets/findreplace.py
@@ -89,11 +89,13 @@ class FindReplace(QWidget):
self.number_matches_text = QLabel(self)
self.previous_button = create_toolb... | Added tooltips for find next/previous | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,14 @@
#from distutils.core import setup
from setuptools import setup, find_packages
+with open('README.markdown') as f:
+ long_description = f.read()
+
setup(
name="secure-smtpd",
version="2.1.1",
... | Ensure file handle is closed by using with statement | py |
diff --git a/patchboard/patchboard.py b/patchboard/patchboard.py
index <HASH>..<HASH> 100644
--- a/patchboard/patchboard.py
+++ b/patchboard/patchboard.py
@@ -6,13 +6,14 @@
from __future__ import print_function
-import json
+import requests
from resource import ResourceType
from api import API
from schema_man... | Make discover use the network instead of mock data | py |
diff --git a/sanic/blueprints.py b/sanic/blueprints.py
index <HASH>..<HASH> 100644
--- a/sanic/blueprints.py
+++ b/sanic/blueprints.py
@@ -109,8 +109,9 @@ class Blueprint:
# Detect which way this was called, @middleware or @middleware('AT')
if len(args) == 1 and len(kwargs) == 0 and callable(args[0]... | fix(blueprints): @middleware IndexError (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ setup(
author = 'Shareef Dabdoub',
author_email = 'dabdoub.2@osu.edu',
url = 'https://github.com/smdabdoub/qiime-tools',
- download_url = 'https://github.com/smdabdoub/qiime-tools/tarball/1.0',
+ down... | fixes download_url entry in setup.py | py |
diff --git a/pysat/instruments/pysat_testing.py b/pysat/instruments/pysat_testing.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/pysat_testing.py
+++ b/pysat/instruments/pysat_testing.py
@@ -120,9 +120,9 @@ def default(inst):
"""
# mess with file dates if kwarg option present
- if 'mangle_file_da... | Switched from self to inst, per new format and correct operation. | py |
diff --git a/tests/unit/test_LambdaContext.py b/tests/unit/test_LambdaContext.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_LambdaContext.py
+++ b/tests/unit/test_LambdaContext.py
@@ -5,9 +5,9 @@ import unittest
class TestLambdaContext(unittest.TestCase):
def test_get_remaining_time_in_millis(self):
- cont... | Fix second/millisecond conversion issue in test case The test for the `get_remaining_time_in_millis` method was evaluating the output against a count in seconds, not milliseconds. This corrects the issue to allow the test suite to pass | py |
diff --git a/openstack-dashboard/dashboard/settings.py b/openstack-dashboard/dashboard/settings.py
index <HASH>..<HASH> 100644
--- a/openstack-dashboard/dashboard/settings.py
+++ b/openstack-dashboard/dashboard/settings.py
@@ -103,12 +103,12 @@ TIME_ZONE = None
gettext_noop = lambda s: s
LANGUAGES = (
('en', get... | added Polish to language dropdown since there are localizations | py |
diff --git a/natsort/tests.py b/natsort/tests.py
index <HASH>..<HASH> 100644
--- a/natsort/tests.py
+++ b/natsort/tests.py
@@ -37,3 +37,11 @@ class NaturalSortTestCase(unittest.TestCase):
positives caused by stable sorting.
"""
assert natsort(['1.5', '1.0']) == ['1.0', '1.5']
+
+ def test_... | Break the tests to uncover a Python 3 incompatibility (issue #2) For details refer to issue 2 on GitHub: <URL> | py |
diff --git a/salt/matchers/list_match.py b/salt/matchers/list_match.py
index <HASH>..<HASH> 100644
--- a/salt/matchers/list_match.py
+++ b/salt/matchers/list_match.py
@@ -2,18 +2,19 @@
# -*- coding: utf-8 -*-
'''
This is the default list matcher.
+
+NOTE: These functions are converted to methods on the Matcher class... | Back out list matcher optimization, somehow breaks nodegroup matching. | py |
diff --git a/dvc/command/checkout.py b/dvc/command/checkout.py
index <HASH>..<HASH> 100644
--- a/dvc/command/checkout.py
+++ b/dvc/command/checkout.py
@@ -29,31 +29,31 @@ def add_parser(subparsers, parent_parser):
formatter_class=argparse.RawDescriptionHelpFormatter,
)
checkout_parser.add_argument(
-... | ui: reorder checkout options to go from common to rare This is the order we use in docs. It also makes sense. | py |
diff --git a/tornado/web.py b/tornado/web.py
index <HASH>..<HASH> 100644
--- a/tornado/web.py
+++ b/tornado/web.py
@@ -875,7 +875,7 @@ class RequestHandler(object):
self.send_error(e.status_code, exception=e)
else:
logging.error("Uncaught exception %s\n%r", self._request_summary()... | Log exceptions with exc_info=True instead of exc_info=e. The logging module checks to see if the value passed for exc_info is a tuple, and if so assumes it contains (type, value, traceback). A bug in python <I> and <I> causes context manager's __exit__ methods to sometimes receive a tuple instead of an exception objec... | py |
diff --git a/internetarchive/files.py b/internetarchive/files.py
index <HASH>..<HASH> 100644
--- a/internetarchive/files.py
+++ b/internetarchive/files.py
@@ -272,12 +272,13 @@ class File(BaseFile):
raise exc
# Set mtime with mtime from files.xml.
- if not no_change_timestamp:
+ ... | Fix indentation problem - This problem never appeared on my own computer - *No* idea why this happened | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ install_requires = [
setup(
name='nydus',
- version='0.10.3',
+ version='0.10.4',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/disqus/nydus', | <I> Tag and release <I> | py |
diff --git a/python/ray/tune/analysis/experiment_analysis.py b/python/ray/tune/analysis/experiment_analysis.py
index <HASH>..<HASH> 100644
--- a/python/ray/tune/analysis/experiment_analysis.py
+++ b/python/ray/tune/analysis/experiment_analysis.py
@@ -185,6 +185,7 @@ class ExperimentAnalysis(Analysis):
"""
... | [tune] Fix small bug in experiment_analysis (#<I>) * [tune] Fix small bug in experiment_analysis _experiment_state was not set as an attribute of ExperimentAnalysis * Update python/ray/tune/analysis/experiment_analysis.py | py |
diff --git a/benchexec/tools/cpachecker.py b/benchexec/tools/cpachecker.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/cpachecker.py
+++ b/benchexec/tools/cpachecker.py
@@ -141,7 +141,7 @@ class Tool(benchexec.tools.template.BaseTool):
elif line.startswith('Error: ') and not status:
... | Add space between 'error' and the description | py |
diff --git a/angr/analyses/analysis.py b/angr/analyses/analysis.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/analysis.py
+++ b/angr/analyses/analysis.py
@@ -1,6 +1,7 @@
import sys
import contextlib
from collections import defaultdict
+from inspect import Signature
import progressbar
import logging
import ti... | Generate signature from analysis class (#<I>) | py |
diff --git a/alot/db/manager.py b/alot/db/manager.py
index <HASH>..<HASH> 100644
--- a/alot/db/manager.py
+++ b/alot/db/manager.py
@@ -275,7 +275,7 @@ class DBManager:
returns all tagsstrings used in the database
:rtype: list of str
"""
- db = Database(path=self.path)
+ db = Dat... | db/manager: Connect in read-only mode whenever appropriate | py |
diff --git a/pypushwoosh/notification.py b/pypushwoosh/notification.py
index <HASH>..<HASH> 100644
--- a/pypushwoosh/notification.py
+++ b/pypushwoosh/notification.py
@@ -66,13 +66,14 @@ class CommonNotificationMixin(BaseNotificationMixin):
self.link = None
self.minimize_link = constants.LINK_MINIMIZE... | Adds support for users property of createMessage notification | py |
diff --git a/vyked/host.py b/vyked/host.py
index <HASH>..<HASH> 100644
--- a/vyked/host.py
+++ b/vyked/host.py
@@ -149,12 +149,6 @@ class Host:
cls._tcp_service.pubsub_bus.register_for_subscription(cls._tcp_service.host, cls._tcp_service.port,
... | HTTP services can't subscribe for pubsub | py |
diff --git a/bit_vector/bit_vector.py b/bit_vector/bit_vector.py
index <HASH>..<HASH> 100644
--- a/bit_vector/bit_vector.py
+++ b/bit_vector/bit_vector.py
@@ -89,10 +89,10 @@ def binary(fn):
return wrapped
def no_x(fn):
- def wrapped(self):
+ def wrapped(self, *args, **kwargs):
if self._value is ... | Update @no_x to support functions with arguments | py |
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/dimension.py
+++ b/holoviews/core/dimension.py
@@ -372,7 +372,8 @@ class LabelledData(param.Parameterized):
custom_key = '_custom_option_%d' % obj_dict['id']
if custo... | LabelledData.__getstate__ style pickling is now robust across backends | py |
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/utils/__init__.py
+++ b/salt/utils/__init__.py
@@ -859,19 +859,19 @@ def check_state_result(running):
if not running:
return False
for host in running:
- if len(host.split('_|-')) = 5:
- ... | A faster approach to the same problem. | py |
diff --git a/spacy/tests/spans/test_span.py b/spacy/tests/spans/test_span.py
index <HASH>..<HASH> 100644
--- a/spacy/tests/spans/test_span.py
+++ b/spacy/tests/spans/test_span.py
@@ -1,9 +1,11 @@
from __future__ import unicode_literals
+from spacy.attrs import HEAD
+from spacy.en import English
+import numpy as np
... | * Improve test for root token in Span | py |
diff --git a/doc/adv-manual/conf.py b/doc/adv-manual/conf.py
index <HASH>..<HASH> 100644
--- a/doc/adv-manual/conf.py
+++ b/doc/adv-manual/conf.py
@@ -217,6 +217,7 @@ latex_elements = {
# Latex figure (float) alignment
#'figure_align': 'htbp',
+ 'preamble': r'\inputencoding{utf8}'
}
# Grouping the document t... | Trying to fix latex encoding | py |
diff --git a/sentry/tests/tests.py b/sentry/tests/tests.py
index <HASH>..<HASH> 100644
--- a/sentry/tests/tests.py
+++ b/sentry/tests/tests.py
@@ -265,7 +265,7 @@ class SentryTestCase(TestCase):
error = get_client().create_from_text(value)
self.assertEquals(Message.objects.count(), cnt+1)
- s... | Update test (revert actually) so that it checks for the string of the value, rather than the proper (but not present) unicode value | py |
diff --git a/frojd_fabric/recipes/django.py b/frojd_fabric/recipes/django.py
index <HASH>..<HASH> 100644
--- a/frojd_fabric/recipes/django.py
+++ b/frojd_fabric/recipes/django.py
@@ -13,6 +13,14 @@ from frojd_fabric import paths
from frojd_fabric.hooks import hook
+@hook("init_tasks")
+def init_tasks():
+ # Rem... | Added public_path to django recipe | py |
diff --git a/versions/admin.py b/versions/admin.py
index <HASH>..<HASH> 100644
--- a/versions/admin.py
+++ b/versions/admin.py
@@ -62,16 +62,21 @@ class VersionableAdmin(ModelAdmin):
"""need a getter for exclude since there is no get_exclude method to be overridden"""
VERSIONABLE_EXCLUDE = ['id', 'ide... | Comments on get_form since that isn't working quite right | py |
diff --git a/pyhardlinkbackup/phlb/publish.py b/pyhardlinkbackup/phlb/publish.py
index <HASH>..<HASH> 100644
--- a/pyhardlinkbackup/phlb/publish.py
+++ b/pyhardlinkbackup/phlb/publish.py
@@ -23,6 +23,7 @@ def publish():
Call this via:
$ poetry run publish
"""
+ verbose_check_call('make', '... | don't publish if tests fail | py |
diff --git a/pyOCD/interface/pyusb_backend.py b/pyOCD/interface/pyusb_backend.py
index <HASH>..<HASH> 100644
--- a/pyOCD/interface/pyusb_backend.py
+++ b/pyOCD/interface/pyusb_backend.py
@@ -59,7 +59,7 @@ class PyUSB(Interface):
while not self.closed:
self.read_sem.acquire()
if not se... | Fix for #<I> - length parameter was removed | py |
diff --git a/osbs/http.py b/osbs/http.py
index <HASH>..<HASH> 100644
--- a/osbs/http.py
+++ b/osbs/http.py
@@ -215,6 +215,7 @@ class PycurlAdapter(object):
self.c.setopt(pycurl.WRITEFUNCTION, self.response.write)
self.c.setopt(pycurl.HEADERFUNCTION, self.response_headers.write)
self.c.setopt(... | http: Don't verify host if verify_ssl is disabled Sometimes OpenShift self-signed certificate isn't created correctly and CommonName is <I> instead of IP address/FQDN under which is OpenShift available. This change allows ignore this inconsistency which would otherwise cause following fatal error: SSL: certificat... | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -64,7 +64,7 @@ release = "1.0"
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
-language = None
+language = "en"
... | Set language to "en" for documentation | py |
diff --git a/crackmapexec.py b/crackmapexec.py
index <HASH>..<HASH> 100755
--- a/crackmapexec.py
+++ b/crackmapexec.py
@@ -2056,8 +2056,9 @@ class CMDEXEC:
result = self.shell.send_data(self.__command)
smb_server.stop()
- except (Exception, KeyboardInterrupt), e:
... | Added check to see if connection was established before shutting down if a Exception was raised | py |
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.py
index <HASH>..<HASH> 100644
--- a/searx/engines/wikipedia.py
+++ b/searx/engines/wikipedia.py
@@ -56,6 +56,17 @@ def request(query, params):
def response(resp):
if resp.status_code == 404:
return []
+
+ if resp.status_code == 400:
+ ... | [upd] wikipedia engine: return an empty result on query with illegal characters on some queries (like an IT error message), wikipedia returns an HTTP error <I>. this commit returns an empty result instead of showing an error to the user. | py |
diff --git a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
+++ b/spikeextractors/extractors/cedextractors/cedrecordingextractor.py
@... | Update spikeextractors/extractors/cedextractors/cedrecordingextractor.py | py |
diff --git a/insights/client/insights_spec.py b/insights/client/insights_spec.py
index <HASH>..<HASH> 100644
--- a/insights/client/insights_spec.py
+++ b/insights/client/insights_spec.py
@@ -85,7 +85,7 @@ class InsightsCommand(InsightsSpec):
exclude_file = NamedTemporaryFile()
exclude_file.wri... | case insensitive regex for patterns section of remove.conf (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,7 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires=[
- 'Django >= 2.1,<4.0',
+ 'Django >= 2.1,<=4.0',
],
zip_safe=False,
) | Add django <I> to allowed versions | py |
diff --git a/src/rituals/acts/devpi.py b/src/rituals/acts/devpi.py
index <HASH>..<HASH> 100644
--- a/src/rituals/acts/devpi.py
+++ b/src/rituals/acts/devpi.py
@@ -70,6 +70,8 @@ def devpi_refresh(requirement='', name='', installed=False):
reqs |= set(i.project_name for i in installed_pkgs)
for req in sor... | :arrow_upper_right: catch strange None/null requirements | py |
diff --git a/proso_models/models.py b/proso_models/models.py
index <HASH>..<HASH> 100644
--- a/proso_models/models.py
+++ b/proso_models/models.py
@@ -1005,11 +1005,7 @@ class ItemManager(models.Manager):
Returns:
set: leaf items which are reachable from the given set of items
"""
- ... | refactor get_all_leaves method | py |
diff --git a/raiden_contracts/tests/test_channel_unlock.py b/raiden_contracts/tests/test_channel_unlock.py
index <HASH>..<HASH> 100644
--- a/raiden_contracts/tests/test_channel_unlock.py
+++ b/raiden_contracts/tests/test_channel_unlock.py
@@ -500,7 +500,9 @@ def test_channel_unlock_expired_lock_refunds(
web3.testi... | Fix test_channel_unlock_expired_lock_refunds after reveal_secrets change `reveal_secrets` now also checks the secret `expiration`, to make sure we mock the pending transfers secret registration correctly. | py |
diff --git a/digsandpaper/search_server.py b/digsandpaper/search_server.py
index <HASH>..<HASH> 100644
--- a/digsandpaper/search_server.py
+++ b/digsandpaper/search_server.py
@@ -60,7 +60,7 @@ def get_default_es_endpoint(project=None):
if "endpoints" in execute_component:
default_es_endpoint = execute_com... | Insert default http protocol when get_default_es_endpoint is built from host and port | py |
diff --git a/popbill/kakaoService.py b/popbill/kakaoService.py
index <HASH>..<HASH> 100644
--- a/popbill/kakaoService.py
+++ b/popbill/kakaoService.py
@@ -124,7 +124,8 @@ class KakaoService(PopbillBase):
:param CorpNum: ํ๋นํ์ ์ฌ์
์๋ฒํธ
:param templateCode: ์๋ฆผํก ํ
ํ๋ฆฟ ์ฝ๋
:param UserID: ํ๋นํ์ ์์ด๋
- ... | added ATSTemplate secureYN, state, stateDT. | py |
diff --git a/test/test_uri_parser.py b/test/test_uri_parser.py
index <HASH>..<HASH> 100644
--- a/test/test_uri_parser.py
+++ b/test/test_uri_parser.py
@@ -18,11 +18,11 @@ import copy
import unittest
from pymongo.uri_parser import (_partition,
- _rpartition,
- ... | Fix a style issue pylint somehow missed. | py |
diff --git a/docker/Dockerfile.py b/docker/Dockerfile.py
index <HASH>..<HASH> 100644
--- a/docker/Dockerfile.py
+++ b/docker/Dockerfile.py
@@ -84,7 +84,7 @@ print(heredoc('''
&& ln -s /home/s3am/bin/s3am /usr/local/bin/
# Install statically linked version of docker client
- RUN wget -O /usr/bin/docke... | Update Toil Appliance Docker client version (resolves #<I>) | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -5,9 +5,12 @@ import unittest
from smartfile import API
-# NOTE: replace API key and password with actual values.
-API_KEY = 'AvmvSkqz9N16e3D'
-API_PASS = '2ovlyNsfdPQMS98'
+# Pull the... | Use API key and password from environment For the unit tests, use API_KEY and API_PASS from the environment instead of hard-coding the values. | py |
diff --git a/coconut/compiler.py b/coconut/compiler.py
index <HASH>..<HASH> 100644
--- a/coconut/compiler.py
+++ b/coconut/compiler.py
@@ -1670,6 +1670,7 @@ class processor(object):
if "#" in line:
line, comment = line.split("#", 1)
line = line.rstrip()
+ co... | Fixes readding of comment markers | py |
diff --git a/disqusapi/tests.py b/disqusapi/tests.py
index <HASH>..<HASH> 100644
--- a/disqusapi/tests.py
+++ b/disqusapi/tests.py
@@ -138,8 +138,17 @@ class DisqusAPITest(unittest.TestCase):
def test_update_interface_legacy(self):
api = disqusapi.DisqusAPI(self.API_SECRET, self.API_PUBLIC)
- wit... | Fixed test for <I>. | py |
diff --git a/plugins/snowflake/dbt/adapters/snowflake/connections.py b/plugins/snowflake/dbt/adapters/snowflake/connections.py
index <HASH>..<HASH> 100644
--- a/plugins/snowflake/dbt/adapters/snowflake/connections.py
+++ b/plugins/snowflake/dbt/adapters/snowflake/connections.py
@@ -252,12 +252,18 @@ class SnowflakeConn... | Fix for errant method call in error handler | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -20,6 +20,21 @@ import sys, os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
+# Mock out binding
+class MockLib:
+ ssrc_undefin... | [docs] mock out srtp bindings | py |
diff --git a/grimoire_elk/elastic_items.py b/grimoire_elk/elastic_items.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elastic_items.py
+++ b/grimoire_elk/elastic_items.py
@@ -164,7 +164,8 @@ class ElasticItems:
scroll_size = page['hits']['total']
if scroll_size == 0:
- logger.debug("N... | [elastic_items] Fix message when scroll_size is 0 | py |
diff --git a/dock/plugins/input_osv3.py b/dock/plugins/input_osv3.py
index <HASH>..<HASH> 100644
--- a/dock/plugins/input_osv3.py
+++ b/dock/plugins/input_osv3.py
@@ -55,7 +55,7 @@ class OSv3InputPlugin(InputPlugin):
'provider_params': {'git_commit': git_ref}
},
'image': image... | input_osv3: treat empty OUTPUT_REGISTRY as unset (#<I>). | py |
diff --git a/src/collectors/httpd/httpd.py b/src/collectors/httpd/httpd.py
index <HASH>..<HASH> 100644
--- a/src/collectors/httpd/httpd.py
+++ b/src/collectors/httpd/httpd.py
@@ -88,7 +88,7 @@ class HttpdCollector(diamond.collector.Collector):
url = headers['location']
connecti... | Display the url we are having issues with | py |
diff --git a/sumy/summarizers/text_rank.py b/sumy/summarizers/text_rank.py
index <HASH>..<HASH> 100644
--- a/sumy/summarizers/text_rank.py
+++ b/sumy/summarizers/text_rank.py
@@ -21,7 +21,7 @@ class TextRankSummarizer(AbstractSummarizer):
epsilon = 1e-4
damping = 0.85
# small number to prevent zero-divis... | TextRank: make clear the constant's purpose | py |
diff --git a/tests/integration/states/test_rabbitmq_user.py b/tests/integration/states/test_rabbitmq_user.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/test_rabbitmq_user.py
+++ b/tests/integration/states/test_rabbitmq_user.py
@@ -1,11 +1,7 @@
-# -*- coding: utf-8 -*-
"""
Tests for the rabbitmq state
... | Drop Py2 and six on tests/integration/states/test_rabbitmq_user.py | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.