diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/horizon/base.py b/horizon/base.py
index <HASH>..<HASH> 100644
--- a/horizon/base.py
+++ b/horizon/base.py
@@ -879,17 +879,16 @@ class Site(Registry, HorizonComponent):
raise ImproperlyConfigured('You must set a '
'"_registerable_class" property '
... | No need to discover panel in Site class Panel discovery is done by the _audodiscover() method in the Dashboard class later Change-Id: I<I>a3cd9ad<I>ab<I>ef4ae3b<I>a8d7ae3b<I> Closes-Bug: #<I> | py |
diff --git a/nolds/test_measures.py b/nolds/test_measures.py
index <HASH>..<HASH> 100644
--- a/nolds/test_measures.py
+++ b/nolds/test_measures.py
@@ -110,6 +110,11 @@ class TestNoldsLyap(unittest.TestCase):
plt.legend(loc="best")
plt.show()
# TODO add some asserts
+ def test_lyap_fbm(self):
+ # TODO use logi... | adds small test with FBM for lyap_e | py |
diff --git a/pypeerassets/protocol.py b/pypeerassets/protocol.py
index <HASH>..<HASH> 100644
--- a/pypeerassets/protocol.py
+++ b/pypeerassets/protocol.py
@@ -241,7 +241,7 @@ class DeckState:
for card in self.cards:
- cid = card["txid"] + card["cardseq"]
+ cid = card["txid"] + str(car... | use cardseq int as str | py |
diff --git a/test/test_client.py b/test/test_client.py
index <HASH>..<HASH> 100644
--- a/test/test_client.py
+++ b/test/test_client.py
@@ -194,7 +194,7 @@ class TestEsiPy(unittest.TestCase):
incursions = self.client_no_auth.request(operation)
self.assertEqual(incursions.data[0].faction_id, 500... | delete whitespace mostly just to make travis run again | py |
diff --git a/src/ipcalc.py b/src/ipcalc.py
index <HASH>..<HASH> 100644
--- a/src/ipcalc.py
+++ b/src/ipcalc.py
@@ -531,7 +531,7 @@ class Network(IP):
'''
Generate a range of ip addresses within the network.
- >>> for ip in Network('192.168.114.0.40'):
+ >>> for ip in Network('192.168.1... | Fixed failing doctest (#9) | py |
diff --git a/salt/states/network.py b/salt/states/network.py
index <HASH>..<HASH> 100644
--- a/salt/states/network.py
+++ b/salt/states/network.py
@@ -259,6 +259,7 @@ def managed(name, type, enabled=True, **kwargs):
load = _create_loader(__opts__, 'grains', 'grain', ext_dirs=False)
grains_info = load.gen_grai... | Trigger the controlling minion process to refresh grains also | py |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -412,6 +412,10 @@ class Result(object):
'The master is at version %s while the worker %s is at '
've... | Added a check on dbserver.host | py |
diff --git a/xarray/tests/test_distributed.py b/xarray/tests/test_distributed.py
index <HASH>..<HASH> 100644
--- a/xarray/tests/test_distributed.py
+++ b/xarray/tests/test_distributed.py
@@ -1,3 +1,5 @@
+import sys
+
import pytest
import xarray as xr
from xarray.core.pycompat import suppress
@@ -23,6 +25,8 @@ if has... | Mark dask-distributed tests on Windows as xfail (#<I>) xref GH<I> | py |
diff --git a/flask_mail.py b/flask_mail.py
index <HASH>..<HASH> 100644
--- a/flask_mail.py
+++ b/flask_mail.py
@@ -163,7 +163,7 @@ class Connection(object):
message.date = time.time()
if self.host:
- self.host.sendmail(message.sender,
+ self.host.sendmail(sanitize_address(m... | Sanitized sendmail's from_addr parameter. or Mail.send_message with MAIL_DEFAULT_SENDER as ('XXXX', '<EMAIL>') will raise exception: SMTPSenderRefused(<I>, 'mail from address must be same as authorization user', ('XXXX', '<EMAIL>')) | py |
diff --git a/nightly.py b/nightly.py
index <HASH>..<HASH> 100755
--- a/nightly.py
+++ b/nightly.py
@@ -1032,7 +1032,7 @@ if __name__ == '__main__':
htmlFile = os.path.join(nightly_web, 'pmd-unused', prefix)+'.html'
xsltFile = os.path.join(nightly_repo,'pmd','wz-pmd-report.xslt')
t... | Fixed a bug which was using the wrong path to the pmd-unused reports git-svn-id: <URL> | py |
diff --git a/groupy/object/responses.py b/groupy/object/responses.py
index <HASH>..<HASH> 100644
--- a/groupy/object/responses.py
+++ b/groupy/object/responses.py
@@ -211,6 +211,15 @@ class Group(Recipient):
return cls(**endpoint.Groups.create(name=name, description=description,
... | Added Group.destroy instance method | py |
diff --git a/harpoon/overview.py b/harpoon/overview.py
index <HASH>..<HASH> 100644
--- a/harpoon/overview.py
+++ b/harpoon/overview.py
@@ -147,6 +147,9 @@ class Harpoon(object):
except BadYaml as error:
errors.append(error)
+ if errors:
+ raise B... | Perhaps actually raise an error if extra configuration is broken | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,6 +32,7 @@ install_requires = [
'elasticsearch>=1.0.0,<2.0.0',
'jira>=0.47',
'jsonfield==1.0.0',
+ 'oslo.config < 1.15.0',
'Pillow>=2.0.0',
'python-ceilometerclient==1.0.10',
'python-cinder... | Fix oslo.config version to the working ones - ITACLOUD-<I> | py |
diff --git a/pyphi/tpm.py b/pyphi/tpm.py
index <HASH>..<HASH> 100644
--- a/pyphi/tpm.py
+++ b/pyphi/tpm.py
@@ -119,6 +119,11 @@ def reconstitute_tpm(subsystem):
# (used in the conditioning step when calculating the repertoires); we want
# ON probabilities.
node_tpms = [node.tpm[..., 1] for node in subsys... | tpm.py: Fix `reconstitute_tpm()` Remove dimensions corresponding to nodes outside the subsystem, so the returned TPM is only for subsystem nodes. | py |
diff --git a/qtpy/tests/test_qtsql.py b/qtpy/tests/test_qtsql.py
index <HASH>..<HASH> 100644
--- a/qtpy/tests/test_qtsql.py
+++ b/qtpy/tests/test_qtsql.py
@@ -3,7 +3,7 @@ from __future__ import absolute_import
import pytest
from qtpy import QtSql
-def test_qtsvg():
+def test_qtsql():
"""Test the qtpy.QtSql nam... | Rename test_qtsvg() to test_qtsql() in test_qtsql.py | py |
diff --git a/bcbio/variation/population.py b/bcbio/variation/population.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/population.py
+++ b/bcbio/variation/population.py
@@ -72,7 +72,9 @@ def create_gemini_db(gemini_vcf, data, gemini_db=None, ped_file=None):
# Apply custom resource specifications, all... | Ensure parallel GEMINI uses bcbio installed tools #<I> | py |
diff --git a/binance/client.py b/binance/client.py
index <HASH>..<HASH> 100644
--- a/binance/client.py
+++ b/binance/client.py
@@ -6346,4 +6346,4 @@ class Client(object):
:type recvWindow: int
"""
- return self._request_options_api('get', 'userTrades', signed=True, data=params
+ return... | Update client.py Add missing bracket | py |
diff --git a/src/benchsuite/rest/app.py b/src/benchsuite/rest/app.py
index <HASH>..<HASH> 100644
--- a/src/benchsuite/rest/app.py
+++ b/src/benchsuite/rest/app.py
@@ -20,11 +20,13 @@
import logging
import signal
import sys
+import json
from flask import Flask
+from flask_restplus import Swagger
from benchsuite... | added function to dump swagger api specs | py |
diff --git a/marquise/marquise.py b/marquise/marquise.py
index <HASH>..<HASH> 100644
--- a/marquise/marquise.py
+++ b/marquise/marquise.py
@@ -21,10 +21,6 @@ MARQUISE_UPDATE_SOURCE = C_LIBMARQUISE.marquise_update_source
MARQUISE_FREE_SOURCE = C_LIBMARQUISE.marquise_free_source
# pylint: enable=no-member
-# constant... | We don't need those constants now | py |
diff --git a/pandas/io/data.py b/pandas/io/data.py
index <HASH>..<HASH> 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -367,7 +367,8 @@ def get_data_fred(name=None, start=dt.datetime(2010, 1, 1),
url = fred_URL + '%s' % name + \
'/downloaddata/%s' % name + '.csv'
data = read_csv(urllib.url... | ENH: Adding '.' as an na_value for FRED. | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -19,6 +19,7 @@ import time
import traceback
import sys
import signal
+import errno
from random import randint
import salt
@@ -1178,7 +1179,6 @@ class Minion(object):
)
sel... | Fix pylint errors and delete commented code | py |
diff --git a/mbuild/lattice.py b/mbuild/lattice.py
index <HASH>..<HASH> 100755
--- a/mbuild/lattice.py
+++ b/mbuild/lattice.py
@@ -528,4 +528,8 @@ class Lattice(object):
'default boxes. Only rectangular lattices are valid '
'at this time.')
+ # if coordinates are below... | Floating point rounding fix for lattice.populate (#<I>) When populating lattice, there will occasionally be values near 0 that exhibit rounding errors that push the values to very small scientific notation (1e-<I>+, etc) representation. This is not the most accurate and rounding back to 0 after a threshold "tolera... | py |
diff --git a/timepiece/crm/views.py b/timepiece/crm/views.py
index <HASH>..<HASH> 100644
--- a/timepiece/crm/views.py
+++ b/timepiece/crm/views.py
@@ -21,7 +21,7 @@ from timepiece.forms import YearMonthForm, UserYearMonthForm, SearchForm
from timepiece.templatetags.timepiece_tags import seconds_to_hours
from timepiec... | Use POST data rather than GET data | py |
diff --git a/python-package/setup.py b/python-package/setup.py
index <HASH>..<HASH> 100644
--- a/python-package/setup.py
+++ b/python-package/setup.py
@@ -168,8 +168,8 @@ def compile_cpp(use_mingw=False, use_gpu=False, use_mpi=False,
else: # Linux, Darwin (macOS), etc.
logger.info("Starting to compile wi... | [python] correctly handle full path to compiler in CC and CXX env vars (#<I>) | py |
diff --git a/sprinter/injections_tests.py b/sprinter/injections_tests.py
index <HASH>..<HASH> 100644
--- a/sprinter/injections_tests.py
+++ b/sprinter/injections_tests.py
@@ -99,6 +99,25 @@ class TestInjections(object):
assert i.in_noninjected_file(self.temp_file_path, self.permanent_string)
assert no... | adding a new test to show desired behaviour | py |
diff --git a/aikif/core_data.py b/aikif/core_data.py
index <HASH>..<HASH> 100644
--- a/aikif/core_data.py
+++ b/aikif/core_data.py
@@ -11,7 +11,9 @@ core_data_types = [ 'Character', # Who
'Fact' # Why
]
-
+core_process = [ 'List',
+ ]... | core_data function for show parent and children | py |
diff --git a/src/fam/database/firestore.py b/src/fam/database/firestore.py
index <HASH>..<HASH> 100644
--- a/src/fam/database/firestore.py
+++ b/src/fam/database/firestore.py
@@ -103,7 +103,9 @@ class FirestoreWrapper(BaseDatabase):
print("already initaialised")
else:
# in app eng... | checking if the firebase_admin app is initialised in app engine version on things | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(name="magic-wormhole",
package_data={"wormhole": ["db-schemas/*.sql"]},
entry_points={"console_scripts":
["wormhole = wormhole.scripts.runner:entry"]},
- install_req... | switch to spake2==<I>, with the faster symmetric algorithm Note that this breaks compatibility of SymmetricWormhole, which was previously only used by the Twisted flavor. | py |
diff --git a/tinyfeedback/helper.py b/tinyfeedback/helper.py
index <HASH>..<HASH> 100644
--- a/tinyfeedback/helper.py
+++ b/tinyfeedback/helper.py
@@ -3,8 +3,6 @@ import time
import urllib
from twisted.web.client import getPage
-import config
-
PORT = 8000
HOST = '127.0.0.1' | getting rid of import config - just set HOST and PORT in helper.py | py |
diff --git a/src/tdl/queue/queue_based_implementation_runner.py b/src/tdl/queue/queue_based_implementation_runner.py
index <HASH>..<HASH> 100644
--- a/src/tdl/queue/queue_based_implementation_runner.py
+++ b/src/tdl/queue/queue_based_implementation_runner.py
@@ -117,8 +117,9 @@ class ApplyProcessingRules:
#T... | Stopping the broker when an exception occurs this prevents the next messages to be sent | py |
diff --git a/udiskie/mount.py b/udiskie/mount.py
index <HASH>..<HASH> 100644
--- a/udiskie/mount.py
+++ b/udiskie/mount.py
@@ -762,23 +762,6 @@ class Mounter(object):
propagate_ignored(root)
return device_nodes
- def get_device_tree_filtered(self):
- """Get a tree of all handleable devices... | Remove Mounter.get_device_tree_filtered (dysfunctional) | py |
diff --git a/pro/fields.py b/pro/fields.py
index <HASH>..<HASH> 100644
--- a/pro/fields.py
+++ b/pro/fields.py
@@ -29,7 +29,10 @@ class CreditCardField(forms.CharField):
class CreditCardExpiryWidget(forms.MultiWidget):
"""MultiWidget for representing credit card expiry date."""
def decompress(self, value):
-... | Removed conditional expression for Python<I> compatibility. | py |
diff --git a/tests/test_session.py b/tests/test_session.py
index <HASH>..<HASH> 100644
--- a/tests/test_session.py
+++ b/tests/test_session.py
@@ -132,9 +132,9 @@ def test_cookies():
assert c.domain == '.archive.org'
with responses.RequestsMock() as rsps:
- rsps.add(responses.GET, '{0}//t... | use example.com instead of test.com | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -160,7 +160,7 @@ class PyTestCommand(test):
setup(
name='openhtf',
- version='1.0.3',
+ version='1.1.0',
description='OpenHTF, the open hardware testing framework.',
author='John Hawley',
author_em... | Update version to <I> (#<I>) | py |
diff --git a/bloop/engine.py b/bloop/engine.py
index <HASH>..<HASH> 100644
--- a/bloop/engine.py
+++ b/bloop/engine.py
@@ -120,10 +120,10 @@ class Engine:
def _update(self, obj, attrs, expected, context=None, **kwargs):
"""Push values by dynamo_name into an object"""
context = context or {"engine... | engine._update does not guard _load from None #<I> | py |
diff --git a/uproot_methods/base.py b/uproot_methods/base.py
index <HASH>..<HASH> 100644
--- a/uproot_methods/base.py
+++ b/uproot_methods/base.py
@@ -59,9 +59,11 @@ class ROOTMethods(awkward.Methods):
starts, stops = None, None
for i in range(len(arrays)):
if starts is None and isinstanc... | another fix, based on @guitargeek's comment | py |
diff --git a/tests/unit_mambustruct.py b/tests/unit_mambustruct.py
index <HASH>..<HASH> 100644
--- a/tests/unit_mambustruct.py
+++ b/tests/unit_mambustruct.py
@@ -850,7 +850,7 @@ class MambuStructMethodsTests(unittest.TestCase):
@mock.patch("MambuPy.rest.mambustruct.iriToUri")
@mock.patch("MambuPy.rest.mambus... | Rename function, for tests with python2, add a '_ | py |
diff --git a/iopipe/system.py b/iopipe/system.py
index <HASH>..<HASH> 100644
--- a/iopipe/system.py
+++ b/iopipe/system.py
@@ -3,7 +3,7 @@ import socket
def read_bootid():
"""
- REturns the system boot id.
+ Returns the system boot id.
:returns: The system bood it.
:rtype: str
@@ -14,7 +14,7 @... | Fix stime path, fix a couple typos | py |
diff --git a/tests/test_pool.py b/tests/test_pool.py
index <HASH>..<HASH> 100644
--- a/tests/test_pool.py
+++ b/tests/test_pool.py
@@ -258,6 +258,11 @@ class TestPool(tb.ConnectedTestCase):
await pool.close()
+ def test_pool_init_run_until_complete(self):
+ pool_init = self.create_pool(database='... | Add a test for run_until_complete(asyncpg.create_pool()) This is to see if #<I> reproduces in CI. | py |
diff --git a/src/infi/docopt_completion/zsh.py b/src/infi/docopt_completion/zsh.py
index <HASH>..<HASH> 100644
--- a/src/infi/docopt_completion/zsh.py
+++ b/src/infi/docopt_completion/zsh.py
@@ -15,7 +15,7 @@ FILE_TEMPLATE = '''#compdef {0}
_message_next_arg()
{{
argcount=0
- for word in "${{words[@]:1}}"
+ ... | fix array slicing in zsh, didn't work on some systems | py |
diff --git a/tools/vis2.py b/tools/vis2.py
index <HASH>..<HASH> 100755
--- a/tools/vis2.py
+++ b/tools/vis2.py
@@ -249,15 +249,15 @@ def main():
throughput_filename = '%s-throughput-%s.png' % (prefix, app_filename)
filenames.append((app, latency95_filename, latency99_filename, throughput_filename, ior... | Performance charts: correct descriptions for combined charts | py |
diff --git a/vb_suite/frame_methods.py b/vb_suite/frame_methods.py
index <HASH>..<HASH> 100644
--- a/vb_suite/frame_methods.py
+++ b/vb_suite/frame_methods.py
@@ -158,9 +158,23 @@ def interactive_repr(frame):
df = pandas.DataFrame(np.random.randn(10,10000))
"""
-
+
frame_wide_repr = Benchmark('repr(df)', s... | VB: add vbench for df.xs across row/col | py |
diff --git a/src/toil/job.py b/src/toil/job.py
index <HASH>..<HASH> 100644
--- a/src/toil/job.py
+++ b/src/toil/job.py
@@ -1356,15 +1356,16 @@ class EncapsulatedJob(Job):
Let A be the root job of a job subgraph and B be another job we'd like to run after A
and all its successors have completed, for this use e... | Improved docstring formatting in EncapsulatedJob | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -50,6 +50,9 @@ def local_oscrypto():
if _oscrypto_module is None:
import oscrypto as _oscrypto_module
+ if os.environ.get('OSCRYPTO_USE_CTYPES'):
+ _oscrypto_module... | Forcing ctypes has to be done before forcing a backend | py |
diff --git a/openquake/commonlib/logictree.py b/openquake/commonlib/logictree.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/logictree.py
+++ b/openquake/commonlib/logictree.py
@@ -60,7 +60,13 @@ class SourceModel(object):
"""
def __init__(self, name, weight, path, src_groups, num_gsim_paths, ordina... | Changed SourceModel.name [skip CI] | py |
diff --git a/moto/server.py b/moto/server.py
index <HASH>..<HASH> 100644
--- a/moto/server.py
+++ b/moto/server.py
@@ -139,12 +139,16 @@ class DomainDispatcherApplication(object):
def get_action_from_body(self, environ):
body = None
try:
- request_body_size = int(environ.get("CONTENT_L... | STS - Only check request-body of eligible requests for Actions | py |
diff --git a/datajoint/condition.py b/datajoint/condition.py
index <HASH>..<HASH> 100644
--- a/datajoint/condition.py
+++ b/datajoint/condition.py
@@ -206,5 +206,7 @@ def extract_column_names(sql_expression):
s = re.sub(r"(\b[a-z][a-z_0-9]*)\(", "(", s)
remaining_tokens = set(re.findall(r"\b[a-z][a-z_0-9]*\b"... | Fix styling and add to MySQL reserved words. | py |
diff --git a/synapse/lib/base.py b/synapse/lib/base.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/base.py
+++ b/synapse/lib/base.py
@@ -123,7 +123,11 @@ class Base:
return self
async def __aexit__(self, exc, cls, tb):
- assert asyncio.get_running_loop() == self.loop
+ # Either there sho... | Relax loop checking assertion on __aexit__ | py |
diff --git a/motor/core.py b/motor/core.py
index <HASH>..<HASH> 100644
--- a/motor/core.py
+++ b/motor/core.py
@@ -1332,11 +1332,13 @@ class AgnosticBaseCursor(AgnosticBase):
.. testsetup:: to_list
MongoClient().test.test_collection.remove()
- collection = MotorClient().test.test_collecti... | Fix to_list's docstring. | py |
diff --git a/esipy/client.py b/esipy/client.py
index <HASH>..<HASH> 100644
--- a/esipy/client.py
+++ b/esipy/client.py
@@ -54,7 +54,8 @@ class EsiClient(BaseClient):
:param transport_adapter: (optional) an HTTPAdapter object / implement
:param cache: (optional) esipy.cache.BaseCache cache implementat... | fixed a comment line being to long (style) | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -59,6 +59,9 @@ linkcheck_ignore = [
r'http://localhost:\d+/', # local URLs
r'https://codecov\.io/gh/cherrypy/cheroot/branch/master/graph/badge\.svg',
r'https://github\.com/cherrypy/cheroot/actio... | Ignore GH Actions Workflows badge URL Originally I thought it's <URL> | py |
diff --git a/zarr/core.py b/zarr/core.py
index <HASH>..<HASH> 100644
--- a/zarr/core.py
+++ b/zarr/core.py
@@ -1147,7 +1147,7 @@ class Array:
See Also
--------
- basic_selection, set_basic_selection, get_mask_selection, set_mask_selection,
+ get_basic_selection, set_basic_selection, ge... | Update zarr/core.py | py |
diff --git a/datacats/cli/install.py b/datacats/cli/install.py
index <HASH>..<HASH> 100644
--- a/datacats/cli/install.py
+++ b/datacats/cli/install.py
@@ -45,7 +45,8 @@ def install_all(project, clean):
if not exists(fulld + '/setup.py'):
continue
srcdirs.add(d)
- if exists(fulld + ... | fixes #<I> - pip-requirements.txt not being picked up | py |
diff --git a/app/preparation/mzidplus.py b/app/preparation/mzidplus.py
index <HASH>..<HASH> 100644
--- a/app/preparation/mzidplus.py
+++ b/app/preparation/mzidplus.py
@@ -57,7 +57,7 @@ def add_percolator_to_mzidtsv(mzidfn, tsvfn, multipsm, header, seqdb=None):
for line in readers.generate_tsv_psms(tsvfn, oldheader... | Fixed a bug that caused duplication of a lot of PSMs | py |
diff --git a/grab/base.py b/grab/base.py
index <HASH>..<HASH> 100644
--- a/grab/base.py
+++ b/grab/base.py
@@ -458,7 +458,7 @@ class Grab(LXMLExtension, FormExtension, PyqueryExtension,
#raise IOError('Response code is %s: ' % self.response_code)
if self.config['log_file']:
- with ope... | Change file open mode in log_file option | py |
diff --git a/tableone.py b/tableone.py
index <HASH>..<HASH> 100644
--- a/tableone.py
+++ b/tableone.py
@@ -243,12 +243,21 @@ class TableOne(object):
elif df.loc[v]['continuous'] == 0:
# get the ordered observed frequencies of each level within each strata
all_lvls = sorted(data[v][dat... | fix mismatch of counts in contingency if some counts were 0 | py |
diff --git a/skew/resources/aws/cloudfront.py b/skew/resources/aws/cloudfront.py
index <HASH>..<HASH> 100644
--- a/skew/resources/aws/cloudfront.py
+++ b/skew/resources/aws/cloudfront.py
@@ -23,6 +23,8 @@ class Distribution(CloudfrontResource):
enum_spec = ('list_distributions', 'DistributionList.Items[]', Non... | Update tags_spec for Cloudfront.Distribution (#<I>) We can now retrieve Cloudfront.Distributions tag list. | py |
diff --git a/cablemap.core/cablemap/core/__init__.py b/cablemap.core/cablemap/core/__init__.py
index <HASH>..<HASH> 100644
--- a/cablemap.core/cablemap/core/__init__.py
+++ b/cablemap.core/cablemap/core/__init__.py
@@ -38,6 +38,7 @@ Provides access to common functions of the reader module.
:organization: Semagia - <ht... | Cablemap uses absolute imports and requires Py <I> now | py |
diff --git a/abydos/distance/_token_distance.py b/abydos/distance/_token_distance.py
index <HASH>..<HASH> 100644
--- a/abydos/distance/_token_distance.py
+++ b/abydos/distance/_token_distance.py
@@ -888,13 +888,10 @@ member function, such as Levenshtein."
# Let Z_3 denote the 0* in Z_2's column (if any). S... | removed some unnecessary lines (zeros don't change from the last step) | py |
diff --git a/timeside/encoder/core.py b/timeside/encoder/core.py
index <HASH>..<HASH> 100644
--- a/timeside/encoder/core.py
+++ b/timeside/encoder/core.py
@@ -27,8 +27,7 @@ from timeside.tools import *
class GstEncoder(Processor):
def release(self):
- while self.bus.have_pending():
- self.bus.po... | timeside/encoder/core.py: block push-buffer when max-bytes are queued, make sure num-buffers is unlimited, clean up unused release | py |
diff --git a/sacad/cover.py b/sacad/cover.py
index <HASH>..<HASH> 100644
--- a/sacad/cover.py
+++ b/sacad/cover.py
@@ -394,7 +394,7 @@ class CoverSourceResult:
# prefer square covers #1
delta_ratio1 = abs(first.size[0] / first.size[1] - 1)
delta_ratio2 = abs(second.size[0] / second.size[1] - 1)
- if a... | Relax square cover detection a bit Fixes command line "sacad vader 'de profundis / future of the past' <I>" returning unrelated cover instead of the high quality from LastFM <URL> | py |
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_obj.py
+++ b/pycm/pycm_obj.py
@@ -541,6 +541,7 @@ def __overall_stat_init__(cm):
cm.PPV_Macro = cm.overall_stat["PPV Macro"]
cm.TPR_Micro = cm.overall_stat["TPR Micro"]
cm.PPV_Micro = cm.overall_stat["PPV Micro"]... | fix : F1 Macro added to object | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='Flask-Philo',
- version='3.5.2',
+ version='3.6.2',
description='Simple web framework based on Flask',
long_description='Flask based framework to b... | version <I> removes vagrantfiles, replaces it by docker | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ setup(
install_requires=[
'telepot',
'easy_cache',
- 'annoying'
+ 'django-annoying'
],
license="MIT",
zip_safe=False, | add install_requires to setup.py | py |
diff --git a/subliminal/api.py b/subliminal/api.py
index <HASH>..<HASH> 100644
--- a/subliminal/api.py
+++ b/subliminal/api.py
@@ -78,7 +78,7 @@ def download_subtitles(paths, languages=None, services=None, force=True, multi=F
:param function scan_filter: filter function that takes a path as argument and returns a ... | Fix returned results of download_subtitles in api | py |
diff --git a/plugins/ldap/server/__init__.py b/plugins/ldap/server/__init__.py
index <HASH>..<HASH> 100644
--- a/plugins/ldap/server/__init__.py
+++ b/plugins/ldap/server/__init__.py
@@ -68,6 +68,8 @@ def _validateLdapServers(doc):
raise ValidationException('Invalid LDAP servers list: ' + e.message)
for... | Move URI munging to validation time | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,8 @@ setup(name=PACKAGENAME,
packages=packagenames,
ext_modules=[],
scripts=scripts,
- install_requires=['astropy >= 0.3'],
+ install_requires=['astropy >= 0.3', 'numpy >= 1.5', 'python... | setup.py: install_requires changes - added dateutil - added specific versions for numpy, astropy, and matplotlib | py |
diff --git a/src/listparser/common.py b/src/listparser/common.py
index <HASH>..<HASH> 100644
--- a/src/listparser/common.py
+++ b/src/listparser/common.py
@@ -14,8 +14,6 @@ namespaces = {
'http://purl.org/rss/1.0/': 'rss',
'http://blogs.yandex.ru/schema/foaf/': 'ya',
}
-# Provide a shorthand to save space in... | Remove the `_ns` variable, which is no longer used | py |
diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py
index <HASH>..<HASH> 100644
--- a/python-package/xgboost/core.py
+++ b/python-package/xgboost/core.py
@@ -426,7 +426,7 @@ def _deprecate_positional_args(f):
class DMatrix: # pylint: disable=too-many-instance-attributes
"... | Fixed few grammatical mistakes in doc (#<I>) | py |
diff --git a/werkzeug/_compat.py b/werkzeug/_compat.py
index <HASH>..<HASH> 100644
--- a/werkzeug/_compat.py
+++ b/werkzeug/_compat.py
@@ -82,7 +82,7 @@ if PY2:
leave it as unicode.
"""
try:
- return str(s)
+ return to_native(s)
except UnicodeError:
... | Fix bug in try_coerce_native In Python 3: str(b'foo') will return the repr instead of a decoded string. | py |
diff --git a/neo/Core/State/ContractState.py b/neo/Core/State/ContractState.py
index <HASH>..<HASH> 100644
--- a/neo/Core/State/ContractState.py
+++ b/neo/Core/State/ContractState.py
@@ -39,7 +39,7 @@ class ContractState(StateBase):
self.CodeVersion = reader.ReadVarString(max=252)
self.Author = reader... | fix for segfault issue when deserializing contract state | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -146,6 +146,9 @@ class build_clib(_build_clib):
"src/libsodium/test/default/wintest.bat"]:
os.chmod(here(filename), 0o755)
+ if not which("make"):
+ raise Exception("ERROR: The... | setup.py: Check that 'make' is present in PATH (#<I>) Fixes #<I> | py |
diff --git a/lib/webuser.py b/lib/webuser.py
index <HASH>..<HASH> 100644
--- a/lib/webuser.py
+++ b/lib/webuser.py
@@ -100,7 +100,16 @@ def createGuestUser():
def page_not_authorized(req, referer='', uid='', text='', navtrail='', ln=cdslang,
navmenuid=""):
- """Show error message when acc... | Better described page_not_authorized within comment. Fixed handling of not yet activated users. | py |
diff --git a/sockeye/training.py b/sockeye/training.py
index <HASH>..<HASH> 100644
--- a/sockeye/training.py
+++ b/sockeye/training.py
@@ -1031,7 +1031,7 @@ class TensorboardLogger:
target_vocab: Optional[vocab.Vocab] = None) -> None:
self.logdir = logdir
self.source_labels = vocab.g... | Copy & paste error ;), nah! it's a typo. (#<I>) Aren't we all guilty of copy and paste mistake ;) :D | py |
diff --git a/FlowCytometryTools/GUI/gui.py b/FlowCytometryTools/GUI/gui.py
index <HASH>..<HASH> 100755
--- a/FlowCytometryTools/GUI/gui.py
+++ b/FlowCytometryTools/GUI/gui.py
@@ -14,7 +14,7 @@ class GUIEmbedded(GeneratedWireframe):
self.fc_toolbar = fc_widget.FCToolBar(self.ax)
self._update_axes()
-... | FIX: loading measurement programmatically | py |
diff --git a/pylivetrader/testing/smoke/backend.py b/pylivetrader/testing/smoke/backend.py
index <HASH>..<HASH> 100644
--- a/pylivetrader/testing/smoke/backend.py
+++ b/pylivetrader/testing/smoke/backend.py
@@ -216,6 +216,9 @@ class Backend(BaseBackend):
self._closed_orders[zp_order_id] = canceled_order
... | implement get_order to be able to run pipeline test code | py |
diff --git a/ssyncer/sclient.py b/ssyncer/sclient.py
index <HASH>..<HASH> 100644
--- a/ssyncer/sclient.py
+++ b/ssyncer/sclient.py
@@ -52,12 +52,18 @@ class sclient:
def send_request(self, url):
""" Send a request to given url. """
- try:
- return urllib.request.urlopen(url)
- e... | Added retry feature when request failed. | py |
diff --git a/tests/python/tensorrt/test_tensorrt_lenet5.py b/tests/python/tensorrt/test_tensorrt_lenet5.py
index <HASH>..<HASH> 100644
--- a/tests/python/tensorrt/test_tensorrt_lenet5.py
+++ b/tests/python/tensorrt/test_tensorrt_lenet5.py
@@ -95,9 +95,11 @@ def test_tensorrt_inference():
print("MXNet accuracy: %f"... | Decreases test sensitivity (#<I>) | py |
diff --git a/evohomeclient2/zone.py b/evohomeclient2/zone.py
index <HASH>..<HASH> 100644
--- a/evohomeclient2/zone.py
+++ b/evohomeclient2/zone.py
@@ -52,14 +52,16 @@ class Zone(ZoneBase):
def set_temperature(self, temperature, until=None):
if until is None:
- data = {"HeatSetpointValue":temp... | Fixing a typo and adding a missing header - thanks to fullTalgoRythm | py |
diff --git a/cocaine/services/base.py b/cocaine/services/base.py
index <HASH>..<HASH> 100644
--- a/cocaine/services/base.py
+++ b/cocaine/services/base.py
@@ -144,10 +144,10 @@ class Service(BaseService):
log.debug("already connected", extra=self._extra)
return
- log.info("connecting ... | It's called 'resolving', man. | py |
diff --git a/oath/hotp.py b/oath/hotp.py
index <HASH>..<HASH> 100644
--- a/oath/hotp.py
+++ b/oath/hotp.py
@@ -11,7 +11,7 @@ Python implementation of HOTP and TOTP algorithms from the OATH project.
def __truncated_value(h):
bytes = map(ord, h)
- offset = bytes[19] & 0xf
+ offset = bytes[-1] & 0xf
v =... | Fix truncation function for hash whose size is not <I>bits like SHA1 | py |
diff --git a/thunder/series/series.py b/thunder/series/series.py
index <HASH>..<HASH> 100755
--- a/thunder/series/series.py
+++ b/thunder/series/series.py
@@ -140,7 +140,7 @@ class Series(Data):
if engine is None:
raise ValueError('Must provide SparkContext')
- return fromarray(self.toarr... | Fix misspelled "labels" in series.py | py |
diff --git a/rio_client/contrib/flask.py b/rio_client/contrib/flask.py
index <HASH>..<HASH> 100644
--- a/rio_client/contrib/flask.py
+++ b/rio_client/contrib/flask.py
@@ -6,6 +6,7 @@ from collections import namedtuple
from flask import g
from flask import request
+from flask import current_app
from rio_client.ba... | get config from current_app. | py |
diff --git a/cocaine/asio/ev.py b/cocaine/asio/ev.py
index <HASH>..<HASH> 100644
--- a/cocaine/asio/ev.py
+++ b/cocaine/asio/ev.py
@@ -109,7 +109,7 @@ class Loop(object):
def proxy(self, fd, event):
if event & self.WRITE:
self._callbacks[(fd, self.WRITE)]()
- elif event & self.READ:
+ ... | Fix memory leak on highload. * dispatcher method in the framework's event loop class now checks both write and read event. In some cases, say frequently spamming write events, there was no other way for read events to be read. It led to the memory leak and response freezing. | py |
diff --git a/src/pyctools/core/frame.py b/src/pyctools/core/frame.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/core/frame.py
+++ b/src/pyctools/core/frame.py
@@ -278,7 +278,14 @@ class Metadata(object):
# container already exists
break
else:
- ... | Create XMP containers of the right type | py |
diff --git a/holoviews/ipython/__init__.py b/holoviews/ipython/__init__.py
index <HASH>..<HASH> 100644
--- a/holoviews/ipython/__init__.py
+++ b/holoviews/ipython/__init__.py
@@ -1,3 +1,4 @@
+import warnings
from unittest import SkipTest
import matplotlib.pyplot as plt
@@ -91,8 +92,10 @@ def load_ipython_extension(... | Silencing warnings from matplotlib.animation when loading extension Users without ffmpeg or imagemagick might be alarmed by warnings by matplotlib.animation regarding these missing (optional) dependencies. | py |
diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py
index <HASH>..<HASH> 100644
--- a/tests/python/unittest/test_operator.py
+++ b/tests/python/unittest/test_operator.py
@@ -2504,8 +2504,9 @@ def test_stn_valid_sampling():
) + target_shape))
-# Seed set because the test... | Re-enabling randomized test_operator/test_operator_gpu.test_dot (#<I>) | py |
diff --git a/miflora/miflora_poller.py b/miflora/miflora_poller.py
index <HASH>..<HASH> 100644
--- a/miflora/miflora_poller.py
+++ b/miflora/miflora_poller.py
@@ -28,7 +28,7 @@ class MiFloraPoller(object):
A class to read data from Mi Flora plant sensors.
"""
- def __init__(self, mac, backend, cache_time... | Removed unused "retries" and "ble_timeout" | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,5 +61,10 @@ setup(
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
# TODO
- install_requires=['future'],
+ install_requires=[
+ 'future>=0.16.0',
+ 'n... | Close #<I>: Add missing requirements in <I> setup.py | py |
diff --git a/applepy.py b/applepy.py
index <HASH>..<HASH> 100644
--- a/applepy.py
+++ b/applepy.py
@@ -689,7 +689,7 @@ class CPU:
if __name__ == "__main__":
- mem = Memory(0x100000)
+ mem = Memory(0x10000)
# available from http://www.easy68k.com/paulrsm/6502/index.html
mem.load_file(0xD000, "... | only need to allocate <I>k of memory | py |
diff --git a/falafel/__init__.py b/falafel/__init__.py
index <HASH>..<HASH> 100644
--- a/falafel/__init__.py
+++ b/falafel/__init__.py
@@ -1,7 +1,7 @@
import os
__here__ = os.path.dirname(os.path.abspath(__file__))
-VERSION = "1.2.0"
+VERSION = "1.3.0"
NAME = "falafel"
with open(os.path.join(__here__, "RELEASE"... | Bumped version to <I>. | py |
diff --git a/timeside/analyzer/core.py b/timeside/analyzer/core.py
index <HASH>..<HASH> 100644
--- a/timeside/analyzer/core.py
+++ b/timeside/analyzer/core.py
@@ -804,9 +804,7 @@ class AnalyzerResultContainer(dict):
'''
>>> import timeside
- >>> import os
- >>> ModulePath = os.path.dirname(os.path.re... | timeside/analyzer/core.py: simplify docstring, test passes from source dir | py |
diff --git a/bcbio/structural/cnvkit.py b/bcbio/structural/cnvkit.py
index <HASH>..<HASH> 100644
--- a/bcbio/structural/cnvkit.py
+++ b/bcbio/structural/cnvkit.py
@@ -17,7 +17,7 @@ except ImportError:
import numpy
import toolz as tz
-from bcbio import utils
+from bcbio import install, utils
from bcbio.distributed.... | Pass R libpath to CNVkit to handle installation in non-standard directories. etal/cnvkit#2 | py |
diff --git a/dclab/elastic/elastic_lut.py b/dclab/elastic/elastic_lut.py
index <HASH>..<HASH> 100644
--- a/dclab/elastic/elastic_lut.py
+++ b/dclab/elastic/elastic_lut.py
@@ -88,9 +88,6 @@ def get_elasticity(area, deformation, medium="CellCarrier",
if px_um:
# Correct deformation for pixelation effect (... | lut must not be corrected | py |
diff --git a/asana/client.py b/asana/client.py
index <HASH>..<HASH> 100644
--- a/asana/client.py
+++ b/asana/client.py
@@ -270,6 +270,18 @@ class Client(object):
}
@classmethod
+ def basic_auth(Klass, apiKey):
+ """DEPRECATED: this is only present for backwards-compatibility.
+
+ This w... | Added back in the basic_auth function | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(name='uncurl',
author='Yue Zhang',
author_email='yjzhang@cs.washington.edu',
license='MIT',
- packages=['uncurl'],
+ packages=['uncurl, uncurl.robust'],
install_requires... | fixed setup.py to include robust | py |
diff --git a/ceph_deploy/__init__.py b/ceph_deploy/__init__.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/__init__.py
+++ b/ceph_deploy/__init__.py
@@ -1,3 +1,3 @@
-__version__ = '2.0.0'
+__version__ = '2.0.1' | [RM-<I>] bump to <I> | py |
diff --git a/plexapi/video.py b/plexapi/video.py
index <HASH>..<HASH> 100644
--- a/plexapi/video.py
+++ b/plexapi/video.py
@@ -644,7 +644,7 @@ class Episode(Playable, Video):
_include = ('?checkFiles=1&includeExtras=1&includeRelated=1'
'&includeOnDeck=1&includeChapters=1&includePopularLeaves=1'
... | update episodes _include to include markers add markers attrib to episode | py |
diff --git a/a10_neutron_lbaas/acos_client_extensions.py b/a10_neutron_lbaas/acos_client_extensions.py
index <HASH>..<HASH> 100644
--- a/a10_neutron_lbaas/acos_client_extensions.py
+++ b/a10_neutron_lbaas/acos_client_extensions.py
@@ -37,7 +37,7 @@ def patient_http(original):
def request(*args, **kwargs):
... | Wait for connection refused when connecting to a launched instance | 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
@@ -100,7 +100,7 @@ def load(fnames, tag=None, sat_id=None, sim_multi_file_right=False,
day = int(parts[2][0:2])
... | Update pysat_testing.py Fixed bug in incomplete if/else statement | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.