diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/import_export/widgets.py b/import_export/widgets.py
index <HASH>..<HASH> 100644
--- a/import_export/widgets.py
+++ b/import_export/widgets.py
@@ -237,10 +237,10 @@ class SimpleArrayWidget(Widget):
self.separator = separator
super(SimpleArrayWidget, self).__init__()
- def clean(self, ... | Fix method signatures for clean() and render() for SimpleArrayWidget | py |
diff --git a/html5lib/html5parser.py b/html5lib/html5parser.py
index <HASH>..<HASH> 100644
--- a/html5lib/html5parser.py
+++ b/html5lib/html5parser.py
@@ -879,7 +879,7 @@ def getPhases(debug):
self.startTagHandler = utils.MethodDispatcher([
("html", self.startTagHtml),
(("... | Removed duplicate dispatch of noframes, fixes #<I> | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -28,8 +28,8 @@ setup(
packages=['googledatastore'],
package_dir={'googledatastore': 'googledatastore'},
install_requires=[
- 'httplib2==0.8',
- 'oauth2client==2.0.1',
+ ... | Update httplib and oauth2client versions | py |
diff --git a/ckanutils/utils.py b/ckanutils/utils.py
index <HASH>..<HASH> 100644
--- a/ckanutils/utils.py
+++ b/ckanutils/utils.py
@@ -398,7 +398,7 @@ def chunk(iterable, chunksize=0, start=0, stop=None):
return chunked
-def hash_file(filepath, hasher='sha1', chunksize=0):
+def hash_file(filepath, hasher='sha1... | Add verbose option support to hash_file | py |
diff --git a/filterpy/kalman/tests/test_sqrtkf.py b/filterpy/kalman/tests/test_sqrtkf.py
index <HASH>..<HASH> 100644
--- a/filterpy/kalman/tests/test_sqrtkf.py
+++ b/filterpy/kalman/tests/test_sqrtkf.py
@@ -93,7 +93,7 @@ def test_noisy_1d():
for i in range(f.P.shape[0]):
for j in range(f.P.shape[1]):
- ... | Made the comparison of P in the test of the square root kalman filter more strict by reducing the tolerance to 1e-6. | py |
diff --git a/eventkit/admin.py b/eventkit/admin.py
index <HASH>..<HASH> 100644
--- a/eventkit/admin.py
+++ b/eventkit/admin.py
@@ -140,7 +140,15 @@ class EventAdmin(ChildModelPluginPolymorphicParentModelAdmin):
ends = timezone.localize(
datetime.datetime.strptime(request.GET['end'], '%Y-%m-%d'), t... | Expands `starts_between` in place as queryset method was missing from `PolymorphicQuerySet`. | py |
diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py
index <HASH>..<HASH> 100644
--- a/salt/modules/ssh.py
+++ b/salt/modules/ssh.py
@@ -139,7 +139,7 @@ def _validate_keys(key_file):
if line.startswith('#'):
# Commented Line
continue
- ln = re.search('(.*?)\s?... | Add second param to search() Somehow forgot this from the transition from dev branch to develop | py |
diff --git a/indra/pysb_assembler.py b/indra/pysb_assembler.py
index <HASH>..<HASH> 100644
--- a/indra/pysb_assembler.py
+++ b/indra/pysb_assembler.py
@@ -273,6 +273,9 @@ def get_annotation(component, db_name, db_ref):
elif db_name == 'XFAM' and db_ref.startswith('PF'):
obj = url + 'pfam/%s' % db_ref
... | Add InterPro grounding as Annotation in PySB model | py |
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/client.py
+++ b/pyrogram/client/client.py
@@ -516,7 +516,7 @@ class Client:
# Make file_dir if it was specified
os.makedirs(file_dir, exist_ok=True)
- ... | allow file objects be passed to file_name arg of client.download_media | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,9 +25,10 @@ long_description = 'FIXME stub: refer to https://github.com/netheosgithub/pcs_ap
setup(
- name='pcs_api',
+ name='pcs-api',
version=metadata['version'],
url='https://github.com/netheosgithu... | setup.py: renamed (underscore not allowed in a pypi distribution) | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -321,6 +321,7 @@ class Syndic(salt.client.LocalClient, Minion):
or not data.has_key('expr_form')\
or not data.has_key('arg'):
return
+ data['to'] = ... | modify the timeout on syndic connections | py |
diff --git a/openquake/hazardlib/geo/utils.py b/openquake/hazardlib/geo/utils.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/geo/utils.py
+++ b/openquake/hazardlib/geo/utils.py
@@ -427,14 +427,14 @@ def cross_idl(lon1, lon2):
def plane_fit(points):
"""
- usage: p, n = planeFit(points)
-
- Fit an... | Added comments to the plane fitting function | py |
diff --git a/httprunner/client.py b/httprunner/client.py
index <HASH>..<HASH> 100644
--- a/httprunner/client.py
+++ b/httprunner/client.py
@@ -41,7 +41,7 @@ def get_req_resp_record(resp_obj: Response) -> ReqRespData:
# record actual request info
request_headers = dict(resp_obj.request.headers)
- request_... | fix: requests.cookies.CookieConflictError, multiple cookies with name | py |
diff --git a/ansible_runner/runner_config.py b/ansible_runner/runner_config.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/runner_config.py
+++ b/ansible_runner/runner_config.py
@@ -81,7 +81,7 @@ class RunnerConfig(object):
- prepare_env
- prepare_command
- It's also responsiblel for wra... | Docstring minor corrections (runner_config) | py |
diff --git a/LiSE/LiSE/thing.py b/LiSE/LiSE/thing.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/thing.py
+++ b/LiSE/LiSE/thing.py
@@ -156,12 +156,9 @@ class Thing(Node):
"""
(a, b) = self['locations']
try:
- return self.character.portal[a][b]
+ return self.engine._porta... | Optimize Thing.container for the new object caches | py |
diff --git a/python/dllib/src/test/bigdl/keras/test_net.py b/python/dllib/src/test/bigdl/keras/test_net.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/test/bigdl/keras/test_net.py
+++ b/python/dllib/src/test/bigdl/keras/test_net.py
@@ -117,5 +117,13 @@ class TestLayer(ZooTestCase):
output = net.forward(... | Net.loadTF from folder (#<I>) * loadtf from folder * python * meet review * fix * fix ut * style * update mkdir * update | py |
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py
index <HASH>..<HASH> 100644
--- a/discord/ext/tasks/__init__.py
+++ b/discord/ext/tasks/__init__.py
@@ -74,8 +74,6 @@ class Loop:
except self._valid_exception as exc:
if not self.reconnect:
... | [tasks] Keep retrying before gracefully exiting. | py |
diff --git a/indra/assemblers/indranet/net.py b/indra/assemblers/indranet/net.py
index <HASH>..<HASH> 100644
--- a/indra/assemblers/indranet/net.py
+++ b/indra/assemblers/indranet/net.py
@@ -321,7 +321,8 @@ def _simple_scorer_update(G, edge):
evidence_list.append(Evidence(source_api=s))
try:
- ... | Fix non keyword arg in call to score_statement | py |
diff --git a/appnexus/model.py b/appnexus/model.py
index <HASH>..<HASH> 100644
--- a/appnexus/model.py
+++ b/appnexus/model.py
@@ -74,7 +74,7 @@ class Model(Thingy):
result = self.create(payload, **kwargs)
else:
result = self.modify(payload, id=self.id, **kwargs)
- return resul... | Report Model to store data related to reporting and download them | py |
diff --git a/peep/__init__.py b/peep/__init__.py
index <HASH>..<HASH> 100644
--- a/peep/__init__.py
+++ b/peep/__init__.py
@@ -83,7 +83,6 @@ def pip_download(req, argv, temp_path):
['--no-deps', '--download', temp_path] +
list(requirement_args(argv[2:], want_other=True)) + # other args
... | No, I did not break Windows. This splits only lines from requirements files, not general pip commandlines like I was thinking in my fatigue-addled state. That grammar is the same for everyone--and not very demanding, at that. | py |
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/private/session.py
+++ b/pyghmi/ipmi/private/session.py
@@ -958,6 +958,8 @@ class Session(object):
return regid
def unregister_keepalive(self, regid):
+ if self._customkeepal... | Fix unregister_keepalive when no keepalives registered If no keepalives are registered, return cleanly from an attempt to unregister rather than raise an exception. Change-Id: I<I>af4ba8f1b<I>f<I>dc0dc<I>c<I>fe | py |
diff --git a/bitex/api/rest.py b/bitex/api/rest.py
index <HASH>..<HASH> 100644
--- a/bitex/api/rest.py
+++ b/bitex/api/rest.py
@@ -451,7 +451,6 @@ class PoloniexREST(RESTAPI):
payload = params
msg = urllib.parse.urlencode(payload).encode('utf-8')
- print(msg)
sig = hmac.new(self.secr... | removed print from pooniex auth | py |
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py
index <HASH>..<HASH> 100644
--- a/tools/interop_matrix/client_matrix.py
+++ b/tools/interop_matrix/client_matrix.py
@@ -109,6 +109,9 @@ LANG_RELEASE_MATRIX = {
{
'v1.9.2': None
},
+ {
+ ... | Add go release versions to client_matrix.py | py |
diff --git a/slap/cli.py b/slap/cli.py
index <HASH>..<HASH> 100644
--- a/slap/cli.py
+++ b/slap/cli.py
@@ -29,7 +29,8 @@ def get_args():
action="store_true",
help="publish all entries in config")
parser.add_argument("-g", "--git",
- help="pub... | Removes uneeded config values The command line argument is sufficent for creating a new site | py |
diff --git a/sirmordred/task_enrich.py b/sirmordred/task_enrich.py
index <HASH>..<HASH> 100644
--- a/sirmordred/task_enrich.py
+++ b/sirmordred/task_enrich.py
@@ -202,7 +202,8 @@ class TaskEnrich(Task):
node_regex=node_regex,
studies_args=studies_args,
... | [task_enrich] Pass projects.json repo url to ELK This code allows to forward the url of a specific repo within the projects.json to elk (`enrich_backend` function). This change is needed to simplify the assignment of the repo to the project defined in the projects.json. The function `enrich_backend` now accepts a... | py |
diff --git a/salt/modules/rh_ip.py b/salt/modules/rh_ip.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rh_ip.py
+++ b/salt/modules/rh_ip.py
@@ -957,7 +957,7 @@ def build_routes(iface, **settings):
'''
template = 'rh6_route_eth.jinja'
- if __grains__['osmajorrelease'] < 6:
+ if __grains__['osrelease... | removed osmajorrelease key | py |
diff --git a/tests/parse_ifconfig.py b/tests/parse_ifconfig.py
index <HASH>..<HASH> 100644
--- a/tests/parse_ifconfig.py
+++ b/tests/parse_ifconfig.py
@@ -182,6 +182,8 @@ class Device:
def get_netmask_bits(self):
# Convert a dotted netmask string to a bitcount int
# e.g. from "255.255.252.0" to 2... | Handle situation when netmask cannot be scraped from ifconfig | py |
diff --git a/gwpy/data/series.py b/gwpy/data/series.py
index <HASH>..<HASH> 100644
--- a/gwpy/data/series.py
+++ b/gwpy/data/series.py
@@ -37,7 +37,9 @@ class Series(Array):
return Quantity(new, unit=self.unit)
elif isinstance(item, slice):
if item.start:
- new.x0 += (i... | Series: bug fix in metadata ownership when slicing | py |
diff --git a/src/pandas_profiling/report/formatters.py b/src/pandas_profiling/report/formatters.py
index <HASH>..<HASH> 100644
--- a/src/pandas_profiling/report/formatters.py
+++ b/src/pandas_profiling/report/formatters.py
@@ -6,7 +6,7 @@ from datetime import timedelta
from typing import Any, Dict, List, Optional, Uni... | refactor: use markupsafe escape | py |
diff --git a/lexicon/providers/luadns.py b/lexicon/providers/luadns.py
index <HASH>..<HASH> 100644
--- a/lexicon/providers/luadns.py
+++ b/lexicon/providers/luadns.py
@@ -63,14 +63,15 @@ class Provider(BaseProvider):
records = []
for record in payload:
- processed_record = {
- ... | Bug fixed: failure if "Forward" Record (#<I>) * Bug fixed: failure if "Forward" Record If there is a "Forward" Record in a zone the script will fail. I discribed the failure here: <URL> | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,7 +50,7 @@ copyright = u'2010, Eldarion'
# The short X.Y version.
version = '0.1'
# The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = '0.1.dev11'
# The language for content a... | corrected release variable in conf.py | py |
diff --git a/fireplace/game.py b/fireplace/game.py
index <HASH>..<HASH> 100644
--- a/fireplace/game.py
+++ b/fireplace/game.py
@@ -135,13 +135,18 @@ class BaseGame(Entity):
gameover = False
for player in self.players:
if player.playstate == PlayState.LOSING:
- player.playstate = PlayState.LOST
gameove... | Match Hearthstone playstate behaviour on tied games | py |
diff --git a/fusionbox/behaviors.py b/fusionbox/behaviors.py
index <HASH>..<HASH> 100644
--- a/fusionbox/behaviors.py
+++ b/fusionbox/behaviors.py
@@ -184,7 +184,7 @@ class ManagedQuerySet(Behavior):
Merge QuerySet classes
"""
querysets = [getattr(parent, 'QuerySet', False) for parent in cls.... | fix for error resolving MRO in ManagedQuerySet behavior | py |
diff --git a/moneywagon/tx.py b/moneywagon/tx.py
index <HASH>..<HASH> 100644
--- a/moneywagon/tx.py
+++ b/moneywagon/tx.py
@@ -1,5 +1,3 @@
-from pybitcointools import history, mktx, signall
-
def from_unit_to_satoshi(value, unit):
"""
Convert a value to satoshis. units can be any fiat currency
@@ -28,6 +26,7... | moved pybitcointools imports to inner functions | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,9 +25,7 @@ Run it with
"""
from distutils.core import setup
-from distutils.core import Command
from setuptools import find_packages
-from freshmeat import freshmeat
import sys
import os
@@ -55,16 +53,6 @@ def rea... | Removed garbage from setup.py that I commited unintenionally. | py |
diff --git a/plot_featured.py b/plot_featured.py
index <HASH>..<HASH> 100644
--- a/plot_featured.py
+++ b/plot_featured.py
@@ -2,6 +2,7 @@
import numpy as _np
import matplotlib.pyplot as _plt
from addlabel import addlabel as _addlabel
+from figure import _figure
def plot_featured(*args,**kwargs):
"""Wrapper for... | Added a way to change the figure label in plot_featured. | py |
diff --git a/fulltext/backends/__json.py b/fulltext/backends/__json.py
index <HASH>..<HASH> 100644
--- a/fulltext/backends/__json.py
+++ b/fulltext/backends/__json.py
@@ -1,5 +1,6 @@
import json
import sys
+import re
from six import StringIO
from six import string_types
@@ -7,6 +8,7 @@ from six import integer_typ... | Fallback JSON parsing. | py |
diff --git a/sphinxcontrib/katex.py b/sphinxcontrib/katex.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/katex.py
+++ b/sphinxcontrib/katex.py
@@ -85,9 +85,13 @@ def run_katex(latex, *options):
(cmd, ) + options,
stdout=subprocess.PIPE,
stdin=subprocess.PIPE,
+ stderr=subprocess.PI... | Let pre-rendering fail if KaTeX fails (#<I>) | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -29,7 +29,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return Mock()
-MOCK_MODULES = ['json','boto','requests', 'gbdx_auth', 'pycurl', 'numpy', 'rasterio']
+MOCK_MODULES = ['json'... | mock requests.exceptions for readthedocs | py |
diff --git a/salt/spm/__init__.py b/salt/spm/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/spm/__init__.py
+++ b/salt/spm/__init__.py
@@ -654,12 +654,11 @@ class SPMClient(object):
formula_tar = tarfile.open(out_path, 'w:bz2')
- # Add FORMULA first, to speed up create_repo on large packages
- ... | SPM: packaging doesn't work in Python <I>. Fixed. | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1667,6 +1667,10 @@ class Cmd(cmd.Cmd):
# have to use ctypes to do it since Python's readline API does not wrap the function
readline_lib.rl_forced_update_display()
+ # Let readline know that... | Letting readline know we updated the display | py |
diff --git a/pyemma/coordinates/tests/test_featurereader_and_tica_projection.py b/pyemma/coordinates/tests/test_featurereader_and_tica_projection.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/tests/test_featurereader_and_tica_projection.py
+++ b/pyemma/coordinates/tests/test_featurereader_and_tica_projection.... | fix test (which had run estimation twice with same parameters). | py |
diff --git a/ctk_cli/module.py b/ctk_cli/module.py
index <HASH>..<HASH> 100644
--- a/ctk_cli/module.py
+++ b/ctk_cli/module.py
@@ -330,10 +330,18 @@ class CLIParameter(object):
self.index = int(self.index)
if self.default:
- self.default = self.parseValue(self.default)
+ tr... | error messages for unparseable default/enum values Instead of throwing exceptions, output a warning and continue, skipping the elements that cannot be parsed (e.g. USHRT_MAX for an integer) | py |
diff --git a/wkhtmltopdf/__init__.py b/wkhtmltopdf/__init__.py
index <HASH>..<HASH> 100644
--- a/wkhtmltopdf/__init__.py
+++ b/wkhtmltopdf/__init__.py
@@ -3,4 +3,4 @@ if 'DJANGO_SETTINGS_MODULE' in os.environ:
from .utils import *
__author__ = 'Incuna Ltd'
-__version__ = '1.0-rc2'
+__version__ = '1.0' | Bump to full <I> version. | py |
diff --git a/py3status/modules/bitcoin-price-checker.py b/py3status/modules/bitcoin-price-checker.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/bitcoin-price-checker.py
+++ b/py3status/modules/bitcoin-price-checker.py
@@ -18,7 +18,7 @@ class Py3status:
# btc-e, api,bitfinex, bitstamp, bitpay
websites... | last prices dict has to be global | py |
diff --git a/tests/pytests/unit/modules/test_schedule.py b/tests/pytests/unit/modules/test_schedule.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/unit/modules/test_schedule.py
+++ b/tests/pytests/unit/modules/test_schedule.py
@@ -698,9 +698,23 @@ def test_modify(sock_dir, job1, schedule_config_file):
... | Fixing failing test. Order of OrderedDict not guaranteed on older Python versions. | py |
diff --git a/graphene/__init__.py b/graphene/__init__.py
index <HASH>..<HASH> 100644
--- a/graphene/__init__.py
+++ b/graphene/__init__.py
@@ -10,7 +10,7 @@ except NameError:
__SETUP__ = False
-VERSION = (1, 1, 1, 'final', 0)
+VERSION = (1, 1, 2, 'final', 0)
__version__ = get_version(VERSION) | Updated version to <I> | py |
diff --git a/py/selenium/webdriver/common/desired_capabilities.py b/py/selenium/webdriver/common/desired_capabilities.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/common/desired_capabilities.py
+++ b/py/selenium/webdriver/common/desired_capabilities.py
@@ -53,6 +53,7 @@ class DesiredCapabilities(object):
... | Add the W3C capability to Firefox for accepting insecure certificates | py |
diff --git a/salt/utils/openstack/nova.py b/salt/utils/openstack/nova.py
index <HASH>..<HASH> 100644
--- a/salt/utils/openstack/nova.py
+++ b/salt/utils/openstack/nova.py
@@ -139,22 +139,14 @@ class NovaServer(object):
'access_ip': server['accessIPv4']
}
- if 'addresses' in server:
- ... | include all ips in public_ips or private_ips | py |
diff --git a/boatdclient/bearing.py b/boatdclient/bearing.py
index <HASH>..<HASH> 100644
--- a/boatdclient/bearing.py
+++ b/boatdclient/bearing.py
@@ -35,6 +35,18 @@ class Bearing(object):
def degrees(self):
return self._degrees
+ def delta(self, other):
+ '''
+ Return the error between... | Add method to find the delta between two bearings | py |
diff --git a/addons/after/gemini_viewer_addon/__init__.py b/addons/after/gemini_viewer_addon/__init__.py
index <HASH>..<HASH> 100644
--- a/addons/after/gemini_viewer_addon/__init__.py
+++ b/addons/after/gemini_viewer_addon/__init__.py
@@ -3,7 +3,6 @@
import os
import logging
from decimal import Decimal
-from typing ... | :hammer: Change dynamo property name to avoid reserved keywords | py |
diff --git a/awp/packager.py b/awp/packager.py
index <HASH>..<HASH> 100755
--- a/awp/packager.py
+++ b/awp/packager.py
@@ -177,13 +177,18 @@ def copy_pkg_resources(workflow_path, workflow_resources, force=False):
print('Nothing to copy; workflow is already up-to-date')
+# Return a hash/checksum of the give... | Fix error when Unicode characters are in README (#7) | py |
diff --git a/salt/returners/elasticsearch_return.py b/salt/returners/elasticsearch_return.py
index <HASH>..<HASH> 100644
--- a/salt/returners/elasticsearch_return.py
+++ b/salt/returners/elasticsearch_return.py
@@ -4,7 +4,7 @@ Return data to an elasticsearch server for indexing.
:maintainer: Jurnell Cockhren <jur... | add link to elasticsearch client library docs | 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
@@ -885,9 +885,10 @@ class SourceManager(object):
for i, tile in enumerate(tiles):
data = []
for src in source... | Disable filter_mon when the filtering is disabled | py |
diff --git a/aiohttp/connector.py b/aiohttp/connector.py
index <HASH>..<HASH> 100644
--- a/aiohttp/connector.py
+++ b/aiohttp/connector.py
@@ -291,12 +291,6 @@ class BaseConnector(object):
else:
transport, proto = yield from self._create_connection(req)
- if not se... | Avoid putting a new connection in the free list The invariant should be: a transport is either in the free list (_conns) or in the active list (_acquired). This fixes a bug that put every newly created connection in both lists | py |
diff --git a/pymatgen/electronic_structure/tests/test_dos.py b/pymatgen/electronic_structure/tests/test_dos.py
index <HASH>..<HASH> 100644
--- a/pymatgen/electronic_structure/tests/test_dos.py
+++ b/pymatgen/electronic_structure/tests/test_dos.py
@@ -84,7 +84,7 @@ class FermiDosTest(unittest.TestCase):
self.... | Updated the this unit test to reflect the improved precision in the last commit. | py |
diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index <HASH>..<HASH> 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1600,7 +1600,8 @@ _network_error_messages = (
'HTTP Error 403',
'Temporary failure in name resolution',
'Name or service not known',
- )
+ 'Connecti... | TST: add connection refused (<I>) error to skipping for network. the urlerror apparentely doesn't provide an errno so were not ignoring this | py |
diff --git a/tests/input/logictree_test.py b/tests/input/logictree_test.py
index <HASH>..<HASH> 100644
--- a/tests/input/logictree_test.py
+++ b/tests/input/logictree_test.py
@@ -999,7 +999,7 @@ class GMPELogicTreeBrokenInputTestCase(unittest.TestCase):
branchSetID="bs1"
... | input/logictree_test: Fixed a few minor test failures. Former-commit-id: d0a<I>af<I>bd<I>b3affd<I>d5b5c<I>a<I>ab5 | py |
diff --git a/mailmerge/__main__.py b/mailmerge/__main__.py
index <HASH>..<HASH> 100644
--- a/mailmerge/__main__.py
+++ b/mailmerge/__main__.py
@@ -281,7 +281,7 @@ def read_csv_database(database_path):
# pylint: disable=too-few-public-methods, missing-class-docstring
strict = True
- with database_... | No need to specify utf-8 when opening a file | py |
diff --git a/lib/websearch_external_collections_getter.py b/lib/websearch_external_collections_getter.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_external_collections_getter.py
+++ b/lib/websearch_external_collections_getter.py
@@ -107,7 +107,7 @@ class HTTPAsyncPageGetter(asyncore.dispatcher_with_send):
... | WebApiKey: initial release * Initial release of the user-signed Web API key facility. (closes #<I>) * Adds an admin interface to view/edit user's Web API keys. | py |
diff --git a/script/lib/config.py b/script/lib/config.py
index <HASH>..<HASH> 100644
--- a/script/lib/config.py
+++ b/script/lib/config.py
@@ -7,8 +7,8 @@ import sys
BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
- 'http://github-janky-artifacts.s3.amazonaws.com/libchromiumcontent'
-LIBCHROMIUMCONTENT_C... | Update libchromiumcontent to have mas build | py |
diff --git a/tests/run_tests.py b/tests/run_tests.py
index <HASH>..<HASH> 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -8,7 +8,9 @@ import os
import sys
import unittest
-sys.path.insert(1, os.path.join(os.path.dirname(__file__), '../'))
+test_mod = os.path.abspath(os.path.join(os.path.dirname(__file_... | Only add full path to test module if it isn't already in sys.path. | py |
diff --git a/build_libtcod.py b/build_libtcod.py
index <HASH>..<HASH> 100644
--- a/build_libtcod.py
+++ b/build_libtcod.py
@@ -242,7 +242,7 @@ try:
USE_OPENMP = eval(os.environ.get('USE_OPENMP', 'None').title())
except Exception:
USE_OPENMP = None
-print(sys.argv)
+
if sys.platform == 'win32' and '--compile... | Removed a debug print statement. | py |
diff --git a/pysat/utils/coords.py b/pysat/utils/coords.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/coords.py
+++ b/pysat/utils/coords.py
@@ -63,16 +63,10 @@ def update_longitude(inst, lon_name=None, high=180.0, low=-180.0):
Updates instrument data in column provided by `lon_name`
"""
- if lon_name ... | BUG: removed special data setting Removed the special data setting by structure type, as it is no longer always works. Also search for longitude variable in the variables list. | py |
diff --git a/pyxmpp/expdict.py b/pyxmpp/expdict.py
index <HASH>..<HASH> 100644
--- a/pyxmpp/expdict.py
+++ b/pyxmpp/expdict.py
@@ -121,7 +121,7 @@ class ExpiringDictionary(dict):
if timeout<=time.time():
if callback:
try:
- callback(key,self[key])
+ ... | - do not use self[] in _expire_item or infinite recursion may occur | py |
diff --git a/pysat/tests/test_sw.py b/pysat/tests/test_sw.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_sw.py
+++ b/pysat/tests/test_sw.py
@@ -15,7 +15,7 @@ class TestSWKp():
self.testInst.data = pds.DataFrame({'Kp': np.arange(0, 4, 1.0/3.0)},
index=[pysat.... | RStoneback fixes Fixed errors found by Russell. | py |
diff --git a/sutime/sutime.py b/sutime/sutime.py
index <HASH>..<HASH> 100644
--- a/sutime/sutime.py
+++ b/sutime/sutime.py
@@ -13,7 +13,9 @@ class SUTime(object):
"""Python wrapper for SUTime (CoreNLP) by Stanford.
Attributes:
- jars: Paths to the SUTime Java dependencies.
+ jars: List of path... | added feature to specify if JVM has already been started (with all Java dependencies loaded) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,14 @@
from setuptools import setup, find_packages
+import sys
+PYTHON_3 = sys.version_info[0] == 3
+if PYTHON_3:
+ pdfminer = 'pdfminer3k'
+else:
+ pdfminer = 'pdfminer'
+
+
setup(name='slate',
versi... | added pdfminer3k dependency to setup.py | py |
diff --git a/tsfresh/feature_selection/significance_tests.py b/tsfresh/feature_selection/significance_tests.py
index <HASH>..<HASH> 100644
--- a/tsfresh/feature_selection/significance_tests.py
+++ b/tsfresh/feature_selection/significance_tests.py
@@ -116,8 +116,7 @@ def target_binary_feature_real_test(x, y, test):
... | fix implementation of mannwhitneyu function (#<I>) * fix implementation of mannwhitneyu function * remove empty line at the end caused by Atom whitespace package * remove empty line at the end caused by editing through browser | py |
diff --git a/plumbing/cache.py b/plumbing/cache.py
index <HASH>..<HASH> 100644
--- a/plumbing/cache.py
+++ b/plumbing/cache.py
@@ -127,7 +127,7 @@ class property_pickled(object):
def __get__(self, instance, owner):
"""
- If you see the current source code in a seemingly unrelated part of
+ ... | Change text of property cached docstring | py |
diff --git a/src/quart/testing/app.py b/src/quart/testing/app.py
index <HASH>..<HASH> 100644
--- a/src/quart/testing/app.py
+++ b/src/quart/testing/app.py
@@ -41,6 +41,9 @@ class TestApp:
self._task = asyncio.ensure_future(self.app(scope, self._asgi_receive, self._asgi_send))
await self._app_queue.put... | Bugfix raise any lifespan startup failures when testing This is a common way to find lifespan issues (when testing) so it is important this works - currently the exceptions are swallowed by the task and users can't see them. | py |
diff --git a/python/ray/tests/test_component_failures.py b/python/ray/tests/test_component_failures.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_component_failures.py
+++ b/python/ray/tests/test_component_failures.py
@@ -26,6 +26,7 @@ from ray.tests.utils import (run_string_as_driver_nonblocking,
def tes... | Fix test_dying_worker_get (#<I>) | py |
diff --git a/opbeat/traces.py b/opbeat/traces.py
index <HASH>..<HASH> 100644
--- a/opbeat/traces.py
+++ b/opbeat/traces.py
@@ -283,8 +283,6 @@ class trace(object):
self.skip_frames = skip_frames
self.leaf = leaf
- self.transaction = None
-
def __call__(self, func):
self.signatur... | Don't store `transaction` on `trace` object, as the latter might be shared amongst threads Fixes #<I> | py |
diff --git a/python/src/cm_api/endpoints/types.py b/python/src/cm_api/endpoints/types.py
index <HASH>..<HASH> 100644
--- a/python/src/cm_api/endpoints/types.py
+++ b/python/src/cm_api/endpoints/types.py
@@ -574,7 +574,6 @@ class ApiCommand(BaseApiObject):
def retry(self):
"""
Retry a failed or aborted comm... | [cm-api] OPSAPS-<I> Comment for command retry in the cm_api Python github needs to be updated. - Removed the note in the comment/doc "Note: The retry will only work for ClusterUpgrade command for now". This is not valid anymore and more commands could become retriable soon. Maintaining a while list here is not reasona... | py |
diff --git a/cherrypy/_cphttptools.py b/cherrypy/_cphttptools.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cphttptools.py
+++ b/cherrypy/_cphttptools.py
@@ -330,10 +330,7 @@ def handleRequest(wfile):
stat = os.stat(fname)
except OSError:
raise cperror.NotFound
- ... | Removed python-<I> support | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,11 @@ setup(
tests_require=['mock', 'pytest', 'sh>=1.08'],
extras_require={
'yaml': ['PyYAML>=3.10'],
- ':python_version < "3"': ['urllib3[secure]'],
+ # See https://github.com/kennet... | fix(dependencies): match urllib3 pin for py2 to requests (#<I>) | py |
diff --git a/websocket_server/websocket_server.py b/websocket_server/websocket_server.py
index <HASH>..<HASH> 100644
--- a/websocket_server/websocket_server.py
+++ b/websocket_server/websocket_server.py
@@ -191,7 +191,7 @@ class WebSocketHandler(StreamRequestHandler):
def read_next_message(self):
try:
... | Add comments for future refactoring | py |
diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/salt/netapi/rest_cherrypy/app.py
+++ b/salt/netapi/rest_cherrypy/app.py
@@ -693,7 +693,7 @@ def lowdata_fmt():
# if the data was sent as urlencoded, we need to make it a list.
# this is a very fo... | Account for no POST data The serving.request doesn't include a raw_body when the POST data is blank, so set it to an empty dict. Also fixed a bug where we assumed that if data wasn't a list, it was a dict, which bombs because null POSTS result in None. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,9 +44,10 @@ setup(
"OpenPGP"],
# dependencies
- install_requires = ['cryptography==0.4',
- 'requests',
- 'enum34'],
+ install_requires = ['... | forgot to update requirements in setup.py | py |
diff --git a/quilt/push.py b/quilt/push.py
index <HASH>..<HASH> 100644
--- a/quilt/push.py
+++ b/quilt/push.py
@@ -41,6 +41,11 @@ class Push(Command):
Patch(self.cwd, patch_file, backup=True, prefix=prefix)
self.db.add_patch(patch_name)
+ if os.path.exists(prefix):
+ open(os.path.j... | Create the .timestamp file after patching | py |
diff --git a/salt/utils/gitfs.py b/salt/utils/gitfs.py
index <HASH>..<HASH> 100644
--- a/salt/utils/gitfs.py
+++ b/salt/utils/gitfs.py
@@ -835,7 +835,10 @@ class GitProvider(object):
Set and automatically clear a lock
'''
if not isinstance(lock_type, six.string_types):
- raise GitL... | Fix exception raise This was missing an error code | py |
diff --git a/openquake/calculators/hazard/general.py b/openquake/calculators/hazard/general.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/general.py
+++ b/openquake/calculators/hazard/general.py
@@ -471,7 +471,6 @@ class BaseHazardCalculatorNext(base.CalculatorNext):
super(BaseHazardCalcula... | calcs/hazard/general: Remove computation mesh caching from the base hazard calculator, since this caching is now done within the model (`HazardCalculation`). Former-commit-id: 5f9d<I>c2d<I>aa7f9de<I>bfe<I>c1df<I>e<I>de | py |
diff --git a/odl/discr/discretization.py b/odl/discr/discretization.py
index <HASH>..<HASH> 100644
--- a/odl/discr/discretization.py
+++ b/odl/discr/discretization.py
@@ -234,7 +234,8 @@ class RawDiscretizationVector(NtuplesBaseVector):
def __init__(self, space, ntuple):
"""Initialize a new instance."""
... | ENH: improve assert in RawDiscretizationVector | py |
diff --git a/airflow/providers_manager.py b/airflow/providers_manager.py
index <HASH>..<HASH> 100644
--- a/airflow/providers_manager.py
+++ b/airflow/providers_manager.py
@@ -143,6 +143,8 @@ class ProvidersManager:
"""
for entry_point, dist in entry_points_with_dist('apache_airflow_provider'):
... | skip entrypoint load if provider has already been loaded from local source (#<I>) | py |
diff --git a/otu_condense.py b/otu_condense.py
index <HASH>..<HASH> 100755
--- a/otu_condense.py
+++ b/otu_condense.py
@@ -31,7 +31,7 @@ def prune_taxonomy(taxF, level):
nuTax = {} #non-unique taxonomies
for line in taxF:
- otuID, tax, floatVal, otuIDr = line.split('\t')
+ otuID, tax, flo... | Removes extra newlines from condensed assign taxa file | py |
diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py
index <HASH>..<HASH> 100755
--- a/dosagelib/plugins/t.py
+++ b/dosagelib/plugins/t.py
@@ -213,7 +213,6 @@ class TheOuterQuarter(_BasicScraper):
class TheThinHLine(_BasicScraper):
description = u'the thin H line. Proudly mediocre. NSFW.'
url = 'http... | added the thin H line, fixes #<I> | py |
diff --git a/spyderlib/utils/introspection/plugin_manager.py b/spyderlib/utils/introspection/plugin_manager.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/introspection/plugin_manager.py
+++ b/spyderlib/utils/introspection/plugin_manager.py
@@ -71,6 +71,9 @@ class RequestHandler(QObject):
if name == self... | Prevent completions from stalling | py |
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/signing.py b/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
@@ -14,7 +14,14 @@ import in_toto.set... | Add support for in-toto >= <I> (#<I>) * Pin in-toto to <I> * slightly more robust patch | py |
diff --git a/test/test_datasets_download.py b/test/test_datasets_download.py
index <HASH>..<HASH> 100644
--- a/test/test_datasets_download.py
+++ b/test/test_datasets_download.py
@@ -195,6 +195,10 @@ def mnist():
return collect_download_configs(lambda: datasets.MNIST(".", download=True), name="MNIST")
+def fas... | fashion_mnist (#<I>) | py |
diff --git a/holoviews/plotting/bokeh/geometry.py b/holoviews/plotting/bokeh/geometry.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/geometry.py
+++ b/holoviews/plotting/bokeh/geometry.py
@@ -61,7 +61,12 @@ class RectanglesPlot(GeomMixin, LegendPlot, ColorbarPlot):
x0, y0, x1, y1 = (element.dime... | Support datetimes in bokeh RectanglesPlot (#<I>) | py |
diff --git a/src/funcparserlib/parser.py b/src/funcparserlib/parser.py
index <HASH>..<HASH> 100644
--- a/src/funcparserlib/parser.py
+++ b/src/funcparserlib/parser.py
@@ -126,10 +126,13 @@ class Parser(object):
vs = [v for v in [v1, v2] if not isinstance(v, _Ignored)]
if len(vs) == 1:
... | Fixed bug in results of skip + skip parsers | py |
diff --git a/salt/modules/augeas_cfg.py b/salt/modules/augeas_cfg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/augeas_cfg.py
+++ b/salt/modules/augeas_cfg.py
@@ -95,7 +95,7 @@ def execute(context=None, lens=None, commands=()):
.. code-block:: bash
- salt '*' augeas.execute commands='["set bind 0.0.... | Add context to augeas.execute CLI example | py |
diff --git a/discord/http.py b/discord/http.py
index <HASH>..<HASH> 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -181,12 +181,12 @@ class HTTPClient:
# sleep a bit
retry_after = data['retry_after'] / 1000.0
- log.info(fmt, retry_after, ... | Log rate limit hits into WARNING instead of INFO. | py |
diff --git a/cleverhans/attacks_tf.py b/cleverhans/attacks_tf.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks_tf.py
+++ b/cleverhans/attacks_tf.py
@@ -126,7 +126,7 @@ def vatm(model, x, logits, eps, num_iterations=1, xi=1e-6,
Hd = tf.gradients(kl, d)[0]
d = tf.stop_gradient(Hd)
... | make sure VAT input is differentiable | py |
diff --git a/quantecon/kalman.py b/quantecon/kalman.py
index <HASH>..<HASH> 100644
--- a/quantecon/kalman.py
+++ b/quantecon/kalman.py
@@ -19,7 +19,7 @@ class Kalman:
.. math::
- x_{t+1} = A x_t + C w_{t+1}
+ x_{t+1} = A x_t + C w_{t+1} \\
y_t = G x_t + H v_t
Here :math:`x_t` is t... | fix kalman class docstring (#<I>) | py |
diff --git a/assess_status_output.py b/assess_status_output.py
index <HASH>..<HASH> 100644
--- a/assess_status_output.py
+++ b/assess_status_output.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
from __future__ import print_function
__metaclass__ = type
@@ -140,7 +141,7 @@ def main():
log_dir = args.logs
client ... | Fixed a couple of bugs on parse args. | py |
diff --git a/owslib/iso.py b/owslib/iso.py
index <HASH>..<HASH> 100644
--- a/owslib/iso.py
+++ b/owslib/iso.py
@@ -171,6 +171,8 @@ class MD_Metadata(object):
val = md.find(util.nspath_eval('gmi:acquisitionInformation/gmi:MI_AcquisitionInformation', namespaces))
if val is not None:
... | fix ref (#<I>) | py |
diff --git a/provider/views.py b/provider/views.py
index <HASH>..<HASH> 100644
--- a/provider/views.py
+++ b/provider/views.py
@@ -503,8 +503,11 @@ class AccessToken(OAuthView, Mixin):
user = data.get('user')
scope = data.get('scope')
- at = self.create_access_token(request, user, scope, clie... | Single Access Token featured applied to password grant as well | py |
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/_version.py
+++ b/grimoire_elk/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.30.44"
+__version__ = "0.30.45" | [release] Update version number to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with open(readme_path) as f:
setup(
name='openag',
- version='0.1',
+ version='0.1.0',
author='Open Agriculture Initiative',
description='Core Python package for the OpenAg software stack... | Updated version number for re-upload to pypi | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.