diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/requirementslib/models/dependencies.py b/src/requirementslib/models/dependencies.py index <HASH>..<HASH> 100644 --- a/src/requirementslib/models/dependencies.py +++ b/src/requirementslib/models/dependencies.py @@ -287,7 +287,6 @@ def get_dependencies(ireq, named, sources=None, parent=None): ...
Always cache unless the ireq is editable
py
diff --git a/nameko/standalone/rpc.py b/nameko/standalone/rpc.py index <HASH>..<HASH> 100644 --- a/nameko/standalone/rpc.py +++ b/nameko/standalone/rpc.py @@ -75,9 +75,6 @@ class PollingQueueConsumer(object): replies[msg_correlation_id] = (body, msg) - if correlation_id not in replies: - ...
now checked in the `while` clause
py
diff --git a/tests/test_citation_utils.py b/tests/test_citation_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_citation_utils.py +++ b/tests/test_citation_utils.py @@ -135,8 +135,8 @@ class TestCitations(TemporaryCacheMixin): def test_accent_duplicate(self): """This tests when two authors, Gomez ...
Make unicode strings explicit This should help some of the python2/3 testing issues
py
diff --git a/salt/utils/thin.py b/salt/utils/thin.py index <HASH>..<HASH> 100644 --- a/salt/utils/thin.py +++ b/salt/utils/thin.py @@ -231,10 +231,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False, so_mods='', return thintar if _six.PY3: # Let's check for the minimum python 2 version...
Simplify shell cmd to get the version on Python 2.x
py
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index <HASH>..<HASH> 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -987,6 +987,7 @@ def form_blocks(data, axes): # put "leftover" items in float bucket, where else? # generalize? float_dict = {} + complex_dict =...
ENH: treat complex number in internals.form_blocks
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='django-variant', - version='0.1.0', + version='0.1.1', description='Django variant testing framework', author='Jeremy Sattefield', author_emai...
version bump to <I> to get latest Buddy changes
py
diff --git a/tests/rpc/test_rpc_fixtures.py b/tests/rpc/test_rpc_fixtures.py index <HASH>..<HASH> 100644 --- a/tests/rpc/test_rpc_fixtures.py +++ b/tests/rpc/test_rpc_fixtures.py @@ -78,8 +78,9 @@ def validate_account_state(rpc, state, addr, at_block): for fixture_key, rpc_method in RPC_STATE_LOOKUPS: val...
rpc: test storage position at 0x0 instead of 0x
py
diff --git a/howdoi/howdoi.py b/howdoi/howdoi.py index <HASH>..<HASH> 100755 --- a/howdoi/howdoi.py +++ b/howdoi/howdoi.py @@ -100,7 +100,6 @@ def _get_links(query): def get_link_at_pos(links, position): - links = [link for link in links if _is_question(link)] if not links: return False @@ -138,...
_is_question logic check is moved outside
py
diff --git a/doc/sphinxext/gen_rst.py b/doc/sphinxext/gen_rst.py index <HASH>..<HASH> 100644 --- a/doc/sphinxext/gen_rst.py +++ b/doc/sphinxext/gen_rst.py @@ -196,8 +196,13 @@ def generate_file_rst(fname, target_dir, src_dir, plot_gallery): print 'plotting %s' % fname import matplotlib.pyplot ...
MISC: reduce disk consumption when generating docs In the examples: remove temporary files not useful. When generating the docs: CD to the directory of the examples, so that the files are downloaded there.
py
diff --git a/urbansim/developer/sqftproforma.py b/urbansim/developer/sqftproforma.py index <HASH>..<HASH> 100644 --- a/urbansim/developer/sqftproforma.py +++ b/urbansim/developer/sqftproforma.py @@ -378,6 +378,9 @@ class SqFtProForma(object): df['park_sqft'] = 0 # not all fars ...
simple check to make sure no tall skinny buildings
py
diff --git a/gwpy/io/ligolw.py b/gwpy/io/ligolw.py index <HASH>..<HASH> 100644 --- a/gwpy/io/ligolw.py +++ b/gwpy/io/ligolw.py @@ -126,13 +126,11 @@ def table_from_file(f, tablename, columns=None, filt=None, contenthandler=contenthandler, verbose=verbose) # extract table - try: - out = ...
ligolw.table_from_file: simplified table creation glue is mature enough that we can require Table.get_table
py
diff --git a/libsubmit/__init__.py b/libsubmit/__init__.py index <HASH>..<HASH> 100644 --- a/libsubmit/__init__.py +++ b/libsubmit/__init__.py @@ -9,7 +9,7 @@ import logging logger = logging.getLogger(__name__) -from libsubmit import errors +from libsubmit.error import * from libsubmit.slurm.slurm import Slurm f...
Updating __init__ with fixed paths
py
diff --git a/hwt/code.py b/hwt/code.py index <HASH>..<HASH> 100644 --- a/hwt/code.py +++ b/hwt/code.py @@ -235,7 +235,8 @@ def StaticForEach(parentUnit, items, bodyFn, name=""): .addCases( enumerate(statementLists) ).Default( - bodyFn(items[0], 0)[0] + bodyFn(ite...
fix StaticForEach latch on for_ack
py
diff --git a/source/test/network_test/test_acknowledged_messages.py b/source/test/network_test/test_acknowledged_messages.py index <HASH>..<HASH> 100644 --- a/source/test/network_test/test_acknowledged_messages.py +++ b/source/test/network_test/test_acknowledged_messages.py @@ -159,6 +159,9 @@ def test_acknowledged_mes...
Network test: Uninstall reactor at end of test This allows the next test to install a custom reactor (e.g. gtk2reactor)
py
diff --git a/amplpy/ampl.py b/amplpy/ampl.py index <HASH>..<HASH> 100644 --- a/amplpy/ampl.py +++ b/amplpy/ampl.py @@ -19,6 +19,11 @@ from .utils import Utils, lock_call from . import amplpython +class DefaultOutputHandler(OutputHandler): + def output(self, kind, msg): + print(msg) + + class AMPL(object...
Stop printing to the console in jupyter notebooks
py
diff --git a/pybitcoin/transactions/serialize.py b/pybitcoin/transactions/serialize.py index <HASH>..<HASH> 100644 --- a/pybitcoin/transactions/serialize.py +++ b/pybitcoin/transactions/serialize.py @@ -11,6 +11,7 @@ from binascii import hexlify, unhexlify import struct from .utils import flip_endian, variable_length...
Include extra sanity checks on the size and format of the transaction hash before serializing.
py
diff --git a/timeside/core.py b/timeside/core.py index <HASH>..<HASH> 100644 --- a/timeside/core.py +++ b/timeside/core.py @@ -28,7 +28,8 @@ import re import numpy import uuid import networkx as nx - +import inspect +import os import gobject gobject.threads_init() @@ -52,10 +53,14 @@ class MetaProcessor(MetaComp...
fix(core): fix symlink issue when identifying duplicated processors
py
diff --git a/perceval/_version.py b/perceval/_version.py index <HASH>..<HASH> 100644 --- a/perceval/_version.py +++ b/perceval/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.11.0" +__version__ = "0.11.1"
Update version number to <I>
py
diff --git a/gandi/cli/tests/commands/test_paas.py b/gandi/cli/tests/commands/test_paas.py index <HASH>..<HASH> 100644 --- a/gandi/cli/tests/commands/test_paas.py +++ b/gandi/cli/tests/commands/test_paas.py @@ -293,12 +293,9 @@ is not a valid Simple Hosting git remote args = [] git_content = """ -[r...
Update paas test_deploy after deploy improvement
py
diff --git a/pyrsistent/_pmap.py b/pyrsistent/_pmap.py index <HASH>..<HASH> 100644 --- a/pyrsistent/_pmap.py +++ b/pyrsistent/_pmap.py @@ -453,7 +453,7 @@ def pmap(initial={}, pre_size=0): def m(**kwargs): """ - Creates a new persitent map. Inserts all key value arguments into the newly created map. + Cre...
Fix typo in docstring for "m" This PR simply fixes a typo in a docstring, replacing "persitent" with "persistent". I did grep through the sources for other occurrences of this particular typo, and didn't find any other matches for either "persit" or "pyrsit".
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ setup( 'configargparse', 'pynab', 'requests', - 'jsontableschema', + 'jsontableschema==0.10.0', 'unicodecsv', 'appdirs', 'six>=1.5',
force <I> in setup.py
py
diff --git a/sigal/image.py b/sigal/image.py index <HASH>..<HASH> 100644 --- a/sigal/image.py +++ b/sigal/image.py @@ -147,13 +147,14 @@ def process_image(filepath, outpath, settings): try: generate_image(filepath, outname, settings, options=options) - except Exception: - return Status.FAILURE...
Avoid failure when an image can't be read (fix #<I>). When use_orig=True and orig_link=True, the image is not read in generate_image, so with a bad image it will later in generate_thumbnail.
py
diff --git a/drf_auto_endpoint/endpoints.py b/drf_auto_endpoint/endpoints.py index <HASH>..<HASH> 100644 --- a/drf_auto_endpoint/endpoints.py +++ b/drf_auto_endpoint/endpoints.py @@ -189,6 +189,8 @@ class Endpoint(object): ] def get_fieldsets(self): + from drf_auto_endpoint.app_settings import se...
:heavy_minus_sign: don't add to-many relationships to default fieldsets
py
diff --git a/devicecloud/examples/example_helpers.py b/devicecloud/examples/example_helpers.py index <HASH>..<HASH> 100644 --- a/devicecloud/examples/example_helpers.py +++ b/devicecloud/examples/example_helpers.py @@ -5,6 +5,7 @@ # Copyright (c) 2015 Digi International, Inc. from getpass import getpass import os +f...
Handle using the input function in python 2 for getting username for examples Previously this used the builtin input function to get the username. In python 3 this is fine, but if python 2 this is equivalent to eval(raw_input(prompt)) and thus tried to evaluate the username as a variable and typically failed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,14 @@ from setuptools import setup, find_packages +with open('README.md') as f: + long_description = f.read() setup( name='normality', version='2.0.0', description="Micro-library to normalize t...
Add readme to pypi
py
diff --git a/src/crate/client/test_http.py b/src/crate/client/test_http.py index <HASH>..<HASH> 100644 --- a/src/crate/client/test_http.py +++ b/src/crate/client/test_http.py @@ -160,11 +160,19 @@ class HttpClientTest(TestCase): client.blob_get('blobs', 'fake_digest') except ProgrammingError: ...
added regression test for adding non-https servers on redirect
py
diff --git a/tools/run_tests/xds_k8s_test_driver/tests/outlier_detection_test.py b/tools/run_tests/xds_k8s_test_driver/tests/outlier_detection_test.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/xds_k8s_test_driver/tests/outlier_detection_test.py +++ b/tools/run_tests/xds_k8s_test_driver/tests/outlier_detection_t...
Enable outlier detection k8s interop test for Java >= <I>.x (#<I>) * Enable outlier detection k8s interop test for Java. (#<I>) * xDS interop: enable outlier detection Java tests in >= <I>.x
py
diff --git a/tickets/views.py b/tickets/views.py index <HASH>..<HASH> 100644 --- a/tickets/views.py +++ b/tickets/views.py @@ -2,6 +2,7 @@ from django.views.generic import ListView, DetailView, CreateView from django.core.urlresolvers import reverse from django.contrib import messages from django.http import HttpRes...
add loca support to messages in ticket views
py
diff --git a/rcli/log.py b/rcli/log.py index <HASH>..<HASH> 100644 --- a/rcli/log.py +++ b/rcli/log.py @@ -25,7 +25,7 @@ import typing # noqa: F401 pylint: disable=unused-import import colorama import six -from . import exceptions as exc +from . import exceptions _LOGFILE_STREAM = six.StringIO() @@ -150,7 +15...
Fix a pylint naming issue.
py
diff --git a/molo/core/tests/test_models.py b/molo/core/tests/test_models.py index <HASH>..<HASH> 100644 --- a/molo/core/tests/test_models.py +++ b/molo/core/tests/test_models.py @@ -95,6 +95,21 @@ class TestModels(TestCase, MoloTestCaseMixin): self.main2.get_site()).languages.filter( ...
adding tests for move method of article page
py
diff --git a/flask_sslify.py b/flask_sslify.py index <HASH>..<HASH> 100644 --- a/flask_sslify.py +++ b/flask_sslify.py @@ -40,7 +40,7 @@ class SSLify(object): # Should we skip? if self.skip_list and not isinstance(self.skip_list, basestring): for skip in self.skip_list: - ...
Concat string with format() like a real person would do.
py
diff --git a/irc/tests/test_client_aio.py b/irc/tests/test_client_aio.py index <HASH>..<HASH> 100644 --- a/irc/tests/test_client_aio.py +++ b/irc/tests/test_client_aio.py @@ -1,3 +1,5 @@ +import warnings +import contextlib from unittest.mock import MagicMock import asyncio @@ -11,13 +13,21 @@ def make_mocked_create...
Suppress DeprecationWarning until root cause can be addressed. Ref #<I>.
py
diff --git a/py/nupic/encoders/scalarspace.py b/py/nupic/encoders/scalarspace.py index <HASH>..<HASH> 100644 --- a/py/nupic/encoders/scalarspace.py +++ b/py/nupic/encoders/scalarspace.py @@ -35,11 +35,11 @@ class ScalarSpaceEncoder(Encoder): pass def __new__(self, w, minval=None, maxval=None, periodic=False, n=...
forced param for scalarspace
py
diff --git a/django_q/models.py b/django_q/models.py index <HASH>..<HASH> 100644 --- a/django_q/models.py +++ b/django_q/models.py @@ -31,7 +31,7 @@ class Task(models.Model): return Task.objects.get(name=task_id).result @staticmethod - def get_group_result(group_id): + def get_result_group(gro...
renamed get_group_result to get_result_group I think I fumbled a commit
py
diff --git a/searx/metrology/error_recorder.py b/searx/metrology/error_recorder.py index <HASH>..<HASH> 100644 --- a/searx/metrology/error_recorder.py +++ b/searx/metrology/error_recorder.py @@ -51,15 +51,12 @@ def add_error_context(engine_name: str, error_context: ErrorContext) -> None: def get_trace(traces): - ...
[fix] error_recorder: record code and lineno about the engine since the PR #<I> , code and lineno were sometimes meaningless see /stats/errors
py
diff --git a/salt/exitcodes.py b/salt/exitcodes.py index <HASH>..<HASH> 100644 --- a/salt/exitcodes.py +++ b/salt/exitcodes.py @@ -13,3 +13,16 @@ EX_GENERIC = 1 EX_THIN_PYTHON_OLD = 10 EX_THIN_DEPLOY = 11 EX_THIN_CHECKSUM = 12 + +# The os.EX_* exit codes are Unix only so in the interest of cross-platform +# compatib...
add more constants to exitcodes.py
py
diff --git a/aioupnp/protocols/ssdp.py b/aioupnp/protocols/ssdp.py index <HASH>..<HASH> 100644 --- a/aioupnp/protocols/ssdp.py +++ b/aioupnp/protocols/ssdp.py @@ -83,7 +83,7 @@ class SSDPProtocol(MulticastProtocol): self._pending_searches.append( (address, packet.st, fut, self.loop.call_so...
don't catch CancelledError
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,20 @@ #!/usr/bin/env python +from __future__ import print_function + import codecs import os import sys +import pip + from setuptools import setup, find_packages +if 'docker-py' in [x.project_name for x in pi...
Prevent issues when installing docker and docker-py in the same environment
py
diff --git a/readthedocs_ext/external_version_warning.py b/readthedocs_ext/external_version_warning.py index <HASH>..<HASH> 100644 --- a/readthedocs_ext/external_version_warning.py +++ b/readthedocs_ext/external_version_warning.py @@ -19,7 +19,7 @@ def process_external_version_warning_banner(app, doctree, fromdocname):...
Fix path to html_context
py
diff --git a/alot/db/utils.py b/alot/db/utils.py index <HASH>..<HASH> 100644 --- a/alot/db/utils.py +++ b/alot/db/utils.py @@ -42,7 +42,17 @@ def add_signature_headers(mail, sigs, error_msg): error_msg = error_msg or 'no signature found' else: try: - sig_from = crypto.get_key(sigs[0].f...
Indicate untrusted PGP signatures in thread view.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ CONSOLE_SCRIPTS = [ py_version = platform.python_version() -_APITOOLS_VERSION = '0.5.30' +_APITOOLS_VERSION = '0.5.31' with open('README.rst') as fileobj: README = fileobj.read()
Update apitools version to <I>.
py
diff --git a/demo/gptools_mds_ne.py b/demo/gptools_mds_ne.py index <HASH>..<HASH> 100644 --- a/demo/gptools_mds_ne.py +++ b/demo/gptools_mds_ne.py @@ -200,7 +200,7 @@ gp.add_data(R_mid_ETS_w, ne_ETS_w, err_y=dev_ne_ETS_w) gp.add_data(R_mag_mean, 0, n=1) gp.add_data(0.904, 0, err_y=0.1) gp.add_data(0.904, 0, n=1, err...
Try tightening error bar a little bit more to stop samples from going negative.
py
diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py index <HASH>..<HASH> 100644 --- a/telethon/network/mtproto_sender.py +++ b/telethon/network/mtproto_sender.py @@ -72,7 +72,6 @@ class MtProtoSender: request = MessageContainer(self.session, requests) self._send_...
Fix adding a request twice (or container) to ._pending_receive
py
diff --git a/ait/core/server/handler.py b/ait/core/server/handler.py index <HASH>..<HASH> 100644 --- a/ait/core/server/handler.py +++ b/ait/core/server/handler.py @@ -1,4 +1,5 @@ from abc import ABCMeta, abstractmethod +import cPickle as pickle from ait.core import tlm @@ -82,4 +83,4 @@ class PacketHandler(Handle...
Issue #<I> - Serialize PacketHandler output Update PacketHandler.handle to return a pickled tuple.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages import os -_version = '0.2' +_version = '0.2.1' _packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]) _short_description = "pylint-django is ...
Bumping version to <I> for hotfix
py
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright (c) 2016 ARM Limited, All Rights Reserved # SPDX-License-Identifier: Apache-2.0
Do not assume that python means python2 mbed-cli cannot assume that the system has python2 installed as python. This causes breakage for developers who have installed python3 prior to python2.
py
diff --git a/pysnow/response.py b/pysnow/response.py index <HASH>..<HASH> 100644 --- a/pysnow/response.py +++ b/pysnow/response.py @@ -92,7 +92,7 @@ class Response(object): builder.event(event, value) if (has_result_single or has_result_many) and self.count == 0: # Results empty - ...
Replaced deprecated StopIteration with return
py
diff --git a/pylls/__init__.py b/pylls/__init__.py index <HASH>..<HASH> 100644 --- a/pylls/__init__.py +++ b/pylls/__init__.py @@ -17,3 +17,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, see <http://www.gnu.org/licenses/>. + +__all__ = ['client', '...
Fixing imports for python3
py
diff --git a/trezor_agent/gpg/__main__.py b/trezor_agent/gpg/__main__.py index <HASH>..<HASH> 100755 --- a/trezor_agent/gpg/__main__.py +++ b/trezor_agent/gpg/__main__.py @@ -16,6 +16,9 @@ log = logging.getLogger(__name__) def run_create(args): """Generate a new pubkey for a new/existing GPG identity.""" use...
gpg: add a note about restoring GPG keys with --time command-line flag
py
diff --git a/beetle/base.py b/beetle/base.py index <HASH>..<HASH> 100644 --- a/beetle/base.py +++ b/beetle/base.py @@ -28,8 +28,9 @@ class Config: return cls(data) -def default_copy(path, output): - pass +def default_read(path): + with open(path, 'rb') as fo: + return fo.read() class ...
Made the includer able to manipulate the included files.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from setuptools import setup, find_packages -version = '0.1.5.dev0' +version = '0.2.0' setup( name="tasa",
Preparing release <I>
py
diff --git a/pyontutils/ontree.py b/pyontutils/ontree.py index <HASH>..<HASH> 100755 --- a/pyontutils/ontree.py +++ b/pyontutils/ontree.py @@ -442,6 +442,7 @@ def main(): verbose = args['--verbose'] sgg._verbose = verbose sgv._verbose = verbose + sgc._verbose = verbose if args['--test']: ...
ontree pass api key into cypher
py
diff --git a/mhcflurry/affinity_measurement_dataset.py b/mhcflurry/affinity_measurement_dataset.py index <HASH>..<HASH> 100644 --- a/mhcflurry/affinity_measurement_dataset.py +++ b/mhcflurry/affinity_measurement_dataset.py @@ -757,7 +757,7 @@ class AffinityMeasurementDataset(object): (k in keys_to_remove_s...
Attempt to fix linter error
py
diff --git a/identify/extensions.py b/identify/extensions.py index <HASH>..<HASH> 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -139,6 +139,7 @@ EXTENSIONS = { 'pxi': {'text', 'cython'}, 'py': {'text', 'python'}, 'pyi': {'text', 'pyi'}, + 'pyproj': {'text', 'xml', 'pyproj'}, ...
Also identify other MS Visualstudio project files as XML The .csproj was already present in the list. Now also the .vbproj, .pyproj and .vcxproj are added and identified as XML files.
py
diff --git a/salt/modules/smartos_vmadm.py b/salt/modules/smartos_vmadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/smartos_vmadm.py +++ b/salt/modules/smartos_vmadm.py @@ -289,7 +289,7 @@ def reboot(vm, force=False, key='uuid'): return True -def list_vms(search=None, sort=None, order='uuid,type,ram,stat...
vmadm.list should have keyed=True as default!
py
diff --git a/salt/proxy/fx2.py b/salt/proxy/fx2.py index <HASH>..<HASH> 100644 --- a/salt/proxy/fx2.py +++ b/salt/proxy/fx2.py @@ -327,7 +327,7 @@ def chconfig(cmd, *args, **kwargs): ''' # Strip the __pub_ keys...is there a better way to do this? - for k in kwargs: + for k in list(kwargs): if...
Fix issue #<I> using the same approach as PR #<I>
py
diff --git a/nianalysis/archive/daris/login.py b/nianalysis/archive/daris/login.py index <HASH>..<HASH> 100644 --- a/nianalysis/archive/daris/login.py +++ b/nianalysis/archive/daris/login.py @@ -4,9 +4,9 @@ import stat import tempfile import logging try: - from lxml import etree + from lxml.etree import XML e...
tried to get non-lxml etree to work
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -2043,7 +2043,7 @@ class ForeignRelatedObject(object): if isinstance(obj, int): setattr(instance, self.field_column, obj) else: - assert isinstance(obj, self.to), "...
Zomfgwtfbbq
py
diff --git a/psamm/bayesian.py b/psamm/bayesian.py index <HASH>..<HASH> 100644 --- a/psamm/bayesian.py +++ b/psamm/bayesian.py @@ -399,12 +399,12 @@ def reaction_equation_mapping_approx_max_likelihood( p_no_match = 0.0 # get the possible best-match pairs - pair_list = [ + pair_list = list(set( ...
Fix a rear incompatible issue with pandas.
py
diff --git a/isort/settings.py b/isort/settings.py index <HASH>..<HASH> 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -53,7 +53,7 @@ default = {'force_to_top': [], "decimal", "difflib", "dircache", "dis", "doctest", "dumbdbm", "EasyDialogs", ...
add "io" as known standard library the io module has been standard since <I>: see <URL>
py
diff --git a/GPy/inference/mcmc/samplers.py b/GPy/inference/mcmc/samplers.py index <HASH>..<HASH> 100644 --- a/GPy/inference/mcmc/samplers.py +++ b/GPy/inference/mcmc/samplers.py @@ -41,7 +41,7 @@ class Metropolis_Hastings: self.model._log_det_jacobian() accepted = np.zeros(Ntotal,dtype=np....
bug fix for the print function in samplers.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -61,7 +61,11 @@ BOOTSTRAP_SCRIPT_DISTRIBUTED_VERSION = os.environ.get( # Store a reference to the executing platform IS_WINDOWS_PLATFORM = sys.platform.startswith('win') -IS_SMARTOS_PLATFORM = os.uname()[0] == 'SunOS' and ...
Backport uname fix from #<I>
py
diff --git a/salt/modules/boto_elb.py b/salt/modules/boto_elb.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_elb.py +++ b/salt/modules/boto_elb.py @@ -31,7 +31,7 @@ Connection module for Amazon ELB key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs region: us-east-1 -:depends: boto +:dep...
Show required version of boto in documentation
py
diff --git a/howdoi/howdoi.py b/howdoi/howdoi.py index <HASH>..<HASH> 100755 --- a/howdoi/howdoi.py +++ b/howdoi/howdoi.py @@ -441,7 +441,7 @@ def _clear_cache(): def _is_help_query(query): - return any([query.lower() == help_query for help_query in SUPPORTED_HELP_QUERIES]) + return any(query.lower() == help...
Fix issue with failing pylint rule More info at <URL>
py
diff --git a/py/docs/source/conf.py b/py/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/py/docs/source/conf.py +++ b/py/docs/source/conf.py @@ -127,7 +127,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied afte...
[py] Remove configuration of static files for docs
py
diff --git a/shoebot/data/typography.py b/shoebot/data/typography.py index <HASH>..<HASH> 100644 --- a/shoebot/data/typography.py +++ b/shoebot/data/typography.py @@ -88,6 +88,9 @@ class Text(Grob, ColorMixin): # pre rendering is needed to measure the metrics of the text, it's also useful to get the path, without ...
Was missing some bits from the old Gtk3 branch.
py
diff --git a/ginga/rv/plugins/Preferences.py b/ginga/rv/plugins/Preferences.py index <HASH>..<HASH> 100644 --- a/ginga/rv/plugins/Preferences.py +++ b/ginga/rv/plugins/Preferences.py @@ -674,7 +674,7 @@ class Preferences(GingaPlugin.LocalPlugin): b.stretch_factor.set_enabled(zoomalg != 'step') zoomr...
Update lower limit for zoom rate in Preferences
py
diff --git a/salt/returners/__init__.py b/salt/returners/__init__.py index <HASH>..<HASH> 100644 --- a/salt/returners/__init__.py +++ b/salt/returners/__init__.py @@ -198,13 +198,15 @@ def _fetch_profile_opts( # Using a profile and it is in _options + creds = {} profile = _options[profile_attr] - lo...
Only look for a profile in the cfg dict or function if one has been passed.
py
diff --git a/logagg/nsqsender.py b/logagg/nsqsender.py index <HASH>..<HASH> 100644 --- a/logagg/nsqsender.py +++ b/logagg/nsqsender.py @@ -17,7 +17,7 @@ class NSQSender(object): self.nsq_max_depth = nsq_max_depth self.log = log - self.session = requests.Session() + self.session = reque...
fixed logagg creating multiple connections when nsq is down
py
diff --git a/cltk/prosody/old_norse/verse.py b/cltk/prosody/old_norse/verse.py index <HASH>..<HASH> 100644 --- a/cltk/prosody/old_norse/verse.py +++ b/cltk/prosody/old_norse/verse.py @@ -415,6 +415,13 @@ class UnspecifiedStanza(Metre): def find_alliteration(self): """ Alliterations in short lines...
Doctest for find_alliteration for UnspecifiedStanza
py
diff --git a/jungle/cli.py b/jungle/cli.py index <HASH>..<HASH> 100644 --- a/jungle/cli.py +++ b/jungle/cli.py @@ -14,11 +14,14 @@ class JungleCLI(click.MultiCommand): def get_command(self, ctx, name): """get command""" - mod = __import__('jungle.' + name, None, None, ['cli']) - return mod...
Fix unintended ImportError for wrong subcommnad
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/trello.py b/datadog_checks_dev/datadog_checks/dev/tooling/trello.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/trello.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/trello.py @@ -43,6 +43,7 @@ class TrelloClient: ...
[ddev] Handle the team/triage label (#<I>) It's not a real team, so for now map it to Agent Platform.
py
diff --git a/hydpy/core/autodoctools.py b/hydpy/core/autodoctools.py index <HASH>..<HASH> 100644 --- a/hydpy/core/autodoctools.py +++ b/hydpy/core/autodoctools.py @@ -123,6 +123,7 @@ def _add_lines(specification, module): f'.. autoclass:: {module.__name__.rpartition(".")[0]}' f'.{n...
Use the :noindex: directive in module `autodoctools`. Using Sphinx 3, we get "duplicate object description" errors, related to the explicitly documented "model collection classes". The :noindex: directive seems to solve this problem. However, I am not sure if this is the best approach. At least, first inspections d...
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -18,7 +18,10 @@ import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the ...
Modified sphinx conf.py to import netpyne from local copy rather than install
py
diff --git a/galpy/df_src/diskdf.py b/galpy/df_src/diskdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/diskdf.py +++ b/galpy/df_src/diskdf.py @@ -178,7 +178,8 @@ class diskdf(df): vT= nu.array([o._orb.vxvv[2] for o in args[0]]) R= nu.array([o._orb.vxvv[0] for o in args[0]]) r...
do need to check whether __call__input is array because of Quantity
py
diff --git a/plenum/server/replica.py b/plenum/server/replica.py index <HASH>..<HASH> 100644 --- a/plenum/server/replica.py +++ b/plenum/server/replica.py @@ -1332,10 +1332,6 @@ class Replica(HasActionQueue, MessageProcessor, HookManager): if not self.isMsgFromPrimary(pre_prepare, sender): return ...
INDY-<I>: Removal of check for pre-prepare
py
diff --git a/source/test/common/test_z_backward_stepping.py b/source/test/common/test_z_backward_stepping.py index <HASH>..<HASH> 100644 --- a/source/test/common/test_z_backward_stepping.py +++ b/source/test/common/test_z_backward_stepping.py @@ -115,7 +115,7 @@ def test_backward_stepping(caplog): testing_utils....
fix backward stepping test during GUI shutown a valid warning appears, thus increasing warning count for check caplog
py
diff --git a/tensor2tensor/rl/dopamine_connector.py b/tensor2tensor/rl/dopamine_connector.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/rl/dopamine_connector.py +++ b/tensor2tensor/rl/dopamine_connector.py @@ -40,7 +40,7 @@ try: except ImportError: cv2 = None try: - from dopamine.atari import run_experiment ...
Update Dopamine path to use new discrete_domains directory. PiperOrigin-RevId: <I>
py
diff --git a/txtorcon/torstate.py b/txtorcon/torstate.py index <HASH>..<HASH> 100644 --- a/txtorcon/torstate.py +++ b/txtorcon/torstate.py @@ -843,7 +843,6 @@ class TorState(object): event_map = {'STREAM': _stream_update, 'CIRC': _circuit_update, - 'NS': _update_network_status, ...
don't need to listen for these I don't think
py
diff --git a/tests/highlights/test_command.py b/tests/highlights/test_command.py index <HASH>..<HASH> 100644 --- a/tests/highlights/test_command.py +++ b/tests/highlights/test_command.py @@ -8,13 +8,12 @@ if sys.version_info < (2, 7): else: import unittest -try: +if sys.version_info > (2, 4): from mock imp...
Fix @skipIf to class is not supported on py<I> and py<I>
py
diff --git a/salt/states/docker_container.py b/salt/states/docker_container.py index <HASH>..<HASH> 100644 --- a/salt/states/docker_container.py +++ b/salt/states/docker_container.py @@ -300,7 +300,7 @@ def running(name, Additionally, the specified selinux context will be set within the container....
Fix read_only doc typo Following the examples, this should be 'rw' instead of 'ro'
py
diff --git a/spinoff/actor/remoting.py b/spinoff/actor/remoting.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/remoting.py +++ b/spinoff/actor/remoting.py @@ -72,7 +72,7 @@ class Connection(object): del self.queue def close(self): - log("Lost connection to %r" % self.addr) + log() ...
Less redundancy in the connection closed log message
py
diff --git a/src/toil_scripts/lib/test/test_jobs.py b/src/toil_scripts/lib/test/test_jobs.py index <HASH>..<HASH> 100644 --- a/src/toil_scripts/lib/test/test_jobs.py +++ b/src/toil_scripts/lib/test/test_jobs.py @@ -2,11 +2,11 @@ import os from toil.job import Job -def test_sample_batcher(tmpdir): +def test_map_job...
Add disk to test_map_job
py
diff --git a/tensorflow_probability/python/distributions/loglogistic.py b/tensorflow_probability/python/distributions/loglogistic.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/loglogistic.py +++ b/tensorflow_probability/python/distributions/loglogistic.py @@ -46,7 +46,7 @@ class LogLo...
Update tensorflow_probability/python/distributions/loglogistic.py
py
diff --git a/circlator/external_progs.py b/circlator/external_progs.py index <HASH>..<HASH> 100644 --- a/circlator/external_progs.py +++ b/circlator/external_progs.py @@ -17,7 +17,7 @@ prog_to_env_var = { prog_to_version_cmd = { 'bwa': ('', re.compile('^Version: ([0-9\.]+)')), - 'nucmer': ('--version', re.co...
fixes #<I>, #<I> should still work for versions lower than <I>, but not tested on those
py
diff --git a/lib/search_engine.py b/lib/search_engine.py index <HASH>..<HASH> 100644 --- a/lib/search_engine.py +++ b/lib/search_engine.py @@ -3416,13 +3416,16 @@ def perform_request_cache(req, action="show"): for ln in collection_i18nname_cache[coll].keys(): out += "%s, %s = %s<br>" % (coll, ln, ...
Write <html>...</html> envelope for log() and cache() requests.
py
diff --git a/prosper/common/prosper_logging.py b/prosper/common/prosper_logging.py index <HASH>..<HASH> 100644 --- a/prosper/common/prosper_logging.py +++ b/prosper/common/prosper_logging.py @@ -97,7 +97,7 @@ class ProsperLogger(object): self.logger.addHandler(debug_handler) self.log_handlers.append('...
fixing reference to configure_discord_logger
py
diff --git a/trezorlib/transport_hid.py b/trezorlib/transport_hid.py index <HASH>..<HASH> 100644 --- a/trezorlib/transport_hid.py +++ b/trezorlib/transport_hid.py @@ -20,6 +20,7 @@ from __future__ import absolute_import import time import hid +import os from .protocol_v1 import ProtocolV1 from .protocol_v2 impo...
transport_hid: force V1 transport with env var
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -227,6 +227,7 @@ setup( os.path.join('bin','gracedb'), os.path.join('bin','LSCdataFind'), os.path.join('bin','ligo_data_find'), + os.path.join('bin','ligo_channel_query'), os.path.join('bin','lars'), ...
Added ligo_channel_query to scripts list
py
diff --git a/schedule/periods.py b/schedule/periods.py index <HASH>..<HASH> 100644 --- a/schedule/periods.py +++ b/schedule/periods.py @@ -170,7 +170,7 @@ class Month(Period): while date < self.end: #list events to make it only one query week = Week(self.events, date, self.get_persist...
Optimisation part 1 - passing occurrences as occurrence_pool
py
diff --git a/winpty/winpty_wrapper.py b/winpty/winpty_wrapper.py index <HASH>..<HASH> 100644 --- a/winpty/winpty_wrapper.py +++ b/winpty/winpty_wrapper.py @@ -15,7 +15,7 @@ OPEN_EXISTING = 3 GENERIC_WRITE = 0x40000000 GENERIC_READ = 0x80000000 -LARGE_INTEGER = ctypes.c_longlong +LARGE_INTEGER = ctypes.c_ulong PLAR...
WriteFile: num_bytes should be ulong
py
diff --git a/f5/__init__.py b/f5/__init__.py index <HASH>..<HASH> 100644 --- a/f5/__init__.py +++ b/f5/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = '1.3.1' +__version__ = '1.5.0'
Update __init__.py Because I can't stand it anymore...
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -172,6 +172,19 @@ a{foo="b\\\\a\\z"} 2 metric_family.add_metric(["b\\a\\z"], 2) self.assertEqual([metric_family], list(families)) + def test_timestamps_dis...
Add unittest for discarding timestamps in parser
py
diff --git a/noodles/lib/streams.py b/noodles/lib/streams.py index <HASH>..<HASH> 100644 --- a/noodles/lib/streams.py +++ b/noodles/lib/streams.py @@ -159,8 +159,11 @@ class push_map(push): sink = sink() while True: - x = yield - sink.send(self.f(x)) + try: + ...
fix issue with StopIteration in stream map
py
diff --git a/mysql/toolkit/components/database.py b/mysql/toolkit/components/database.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/components/database.py +++ b/mysql/toolkit/components/database.py @@ -15,7 +15,7 @@ class Database: -with-the-same-name-and-the-sa """ print('\tCopying data...
Added '\n' prefix to print statement
py
diff --git a/ford/__init__.py b/ford/__init__.py index <HASH>..<HASH> 100755 --- a/ford/__init__.py +++ b/ford/__init__.py @@ -120,7 +120,8 @@ LICENSES = { def convert_to_bool(name, option): - """Convert value 'option' to a bool, with a nice error message on failure""" + """Convert value 'option' to a bool, ...
Tweak some comments on converting options
py
diff --git a/backtrader/plot/plot.py b/backtrader/plot/plot.py index <HASH>..<HASH> 100644 --- a/backtrader/plot/plot.py +++ b/backtrader/plot/plot.py @@ -411,8 +411,10 @@ class Plot_OldSync(with_metaclass(MetaParams, object)): # plot data lplot = line.plotrange(self.pinf.xstart, self.pinf.xen...
Support disabling plotting of line's last value
py
diff --git a/scanpy/preprocessing/simple.py b/scanpy/preprocessing/simple.py index <HASH>..<HASH> 100644 --- a/scanpy/preprocessing/simple.py +++ b/scanpy/preprocessing/simple.py @@ -513,6 +513,13 @@ def pca(data, n_comps=None, zero_center=True, svd_solver='auto', random_state=0, copy : `bool`, optional (default: ...
Added documentation for chunked PCA
py
diff --git a/mocket/__init__.py b/mocket/__init__.py index <HASH>..<HASH> 100644 --- a/mocket/__init__.py +++ b/mocket/__init__.py @@ -7,4 +7,4 @@ except ImportError: __all__ = (mocketize, Mocket, MocketEntry, Mocketizer) -__version__ = '2.2.4' +__version__ = '2.3.0'
Updating version for new release [ci skip].
py
diff --git a/source/rafcon/mvc/mygaphas/segment.py b/source/rafcon/mvc/mygaphas/segment.py index <HASH>..<HASH> 100644 --- a/source/rafcon/mvc/mygaphas/segment.py +++ b/source/rafcon/mvc/mygaphas/segment.py @@ -29,6 +29,6 @@ class TransitionSegment(LineSegment): return handles and handles[0] def...
Do not split segments into more than two parts
py