diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ except ImportError: # with -e flag. This package will be either distributed with C # sources or as properly built wheels from Travis CI and Appveyor. if os.environ.get('READTHEDOCS', N...
docs: another RTD-related setup.py fix
py
diff --git a/cumulusci/cli/cli.py b/cumulusci/cli/cli.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/cli.py +++ b/cumulusci/cli/cli.py @@ -729,11 +729,11 @@ def org_remove(config, org_name, global_org): try: org_config = config.keychain.get_org(org_name) if isinstance(org_config, ScratchOrgCo...
Use org_config.date_created to determine if a scratch org was created and fix call to delete_org
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -version = __version__ = "4.1.0 Unreleased" +version = __version__ = "4.1.0.1 Unreleased" import sys
Bumped version by 1 more digit so that it's 4 digits long. When posting to PyPI, will post only 3 digits
py
diff --git a/src/urh/controller/CompareFrameController.py b/src/urh/controller/CompareFrameController.py index <HASH>..<HASH> 100644 --- a/src/urh/controller/CompareFrameController.py +++ b/src/urh/controller/CompareFrameController.py @@ -188,6 +188,9 @@ class CompareFrameController(QFrame): self.protocol_labe...
update combox values if values were changed
py
diff --git a/datalad_service/tasks/validator.py b/datalad_service/tasks/validator.py index <HASH>..<HASH> 100644 --- a/datalad_service/tasks/validator.py +++ b/datalad_service/tasks/validator.py @@ -55,8 +55,9 @@ def issues_mutation(dataset_id, ref, validator_output): # Remove extra stats to keep collection si...
make sure validator issue has file field before access
py
diff --git a/salt/renderers/pyobjects.py b/salt/renderers/pyobjects.py index <HASH>..<HASH> 100644 --- a/salt/renderers/pyobjects.py +++ b/salt/renderers/pyobjects.py @@ -258,17 +258,18 @@ TODO * Interface for working with reactor files ''' +# Import Python Libs from __future__ import absolute_import - import log...
Python 3 compat for salt/renderers/pyobjects.py
py
diff --git a/tests/rw_functional.py b/tests/rw_functional.py index <HASH>..<HASH> 100644 --- a/tests/rw_functional.py +++ b/tests/rw_functional.py @@ -805,7 +805,7 @@ class RHPartnerTest(BaseTest): if len(query_results) != 1: raise AssertionError( 'external tracker query by bug id...
tests: Fix incompatability with python<I>
py
diff --git a/integration_tests/blockstack_integration_tests/scenarios/name_pre_reg_fast_sync.py b/integration_tests/blockstack_integration_tests/scenarios/name_pre_reg_fast_sync.py index <HASH>..<HASH> 100644 --- a/integration_tests/blockstack_integration_tests/scenarios/name_pre_reg_fast_sync.py +++ b/integration_test...
give zonefiles time to replicate (just to be safe)
py
diff --git a/gosymbolsextractor.py b/gosymbolsextractor.py index <HASH>..<HASH> 100644 --- a/gosymbolsextractor.py +++ b/gosymbolsextractor.py @@ -127,7 +127,7 @@ class GoSymbolsExtractor(object): data["dependencies"] = package_imports # list of defined packages (defined package has at least one exported symbol...
GoSymbolsExtractor: normalize paths for exported-api artefacts
py
diff --git a/examples/federated_learning_with_encryption.py b/examples/federated_learning_with_encryption.py index <HASH>..<HASH> 100644 --- a/examples/federated_learning_with_encryption.py +++ b/examples/federated_learning_with_encryption.py @@ -138,7 +138,7 @@ class Server: """Private key holder. Decrypts the av...
Correct an error in the example federated_learning_with_encryption.py
py
diff --git a/tpot/decorators.py b/tpot/decorators.py index <HASH>..<HASH> 100644 --- a/tpot/decorators.py +++ b/tpot/decorators.py @@ -155,7 +155,9 @@ def _pre_test(func): else: sklearn_pipeline.fit(pretest_X_reg, pretest_y_reg) bad_pipeline...
ADD: Debug printout to know if pipeline is wrong or something else is happening inside the _pre_test decorator.
py
diff --git a/mrcrowbar/fields.py b/mrcrowbar/fields.py index <HASH>..<HASH> 100644 --- a/mrcrowbar/fields.py +++ b/mrcrowbar/fields.py @@ -382,6 +382,10 @@ class BlockField( Field ): stream = property_get( self.stream, parent ) fill = property_get( self.fill, parent ) + if count is not None a...
fields.BlockField: allow writeback of count property
py
diff --git a/superset/viz.py b/superset/viz.py index <HASH>..<HASH> 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -1089,11 +1089,11 @@ class NVD3TimeSeriesViz(NVD3Viz): if df[name].dtype.kind not in 'biufc': continue if isinstance(name, list): - series_t...
Fix python2 str() in visualization (#<I>)
py
diff --git a/astropy_helpers/utils.py b/astropy_helpers/utils.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/utils.py +++ b/astropy_helpers/utils.py @@ -56,24 +56,6 @@ def get_numpy_include_path(): return numpy_include -def import_file(filename): - """ - Imports a module from a single file as if it...
Remove duplicate import_file that somehow crept in during a merge
py
diff --git a/updates.py b/updates.py index <HASH>..<HASH> 100755 --- a/updates.py +++ b/updates.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Mikhail Fedosov (tbs.micle@gmail.com)" -__version__ = "0.1.3.8" +__version__ = "0.1.4" # http://code.activestate.com/recipes/577708-check-f...
Try to search package with "-" replaced by "_" in the name (as in "django_compressor")
py
diff --git a/dvc/daemon.py b/dvc/daemon.py index <HASH>..<HASH> 100644 --- a/dvc/daemon.py +++ b/dvc/daemon.py @@ -83,7 +83,7 @@ def daemon(args): os.path.dirname(os.path.dirname(file_path)) ) - logger.debug("Trying to spawn '{}' with env '{}'".format(cmd, env)) + logger.debug("Trying to spawn '{}...
daemon: don't dump env into debug log
py
diff --git a/stripe/blacklist.py b/stripe/blacklist.py index <HASH>..<HASH> 100644 --- a/stripe/blacklist.py +++ b/stripe/blacklist.py @@ -23,7 +23,7 @@ def verify(hostname, certificate): return True sha = hashlib.sha1() - sha.update(certificate) + sha.update(certificate.encode('utf-8')) fing...
Encode certificate data before hashing
py
diff --git a/dimod/serialization/lp.py b/dimod/serialization/lp.py index <HASH>..<HASH> 100644 --- a/dimod/serialization/lp.py +++ b/dimod/serialization/lp.py @@ -173,7 +173,7 @@ def remove_strings(string, strings_to_remove): def get_variables_from_parsed_lp(parse_output: ParseResults, ...
updated docstring and added final new line
py
diff --git a/bokeh/server/configure.py b/bokeh/server/configure.py index <HASH>..<HASH> 100644 --- a/bokeh/server/configure.py +++ b/bokeh/server/configure.py @@ -2,6 +2,7 @@ import logging from os.path import dirname import imp import sys +import warnings from six.moves.queue import Queue from tornado import io...
flask only allows us to register blueprints once - (for testing)
py
diff --git a/flask_appbuilder/views.py b/flask_appbuilder/views.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/views.py +++ b/flask_appbuilder/views.py @@ -1,5 +1,6 @@ import json import logging +import os.path as op from typing import Set from flask import ( @@ -626,7 +627,7 @@ class ModelView(RestCRUDVie...
[mvc] Fix, use os.path.join for downloads (#<I>)
py
diff --git a/engine.py b/engine.py index <HASH>..<HASH> 100644 --- a/engine.py +++ b/engine.py @@ -2018,7 +2018,7 @@ class BibFormatObject(object): # If record is given as parameter self.xml_record = xml_record self.record = create_record(xml_record)[0] - recID = record...
editor: partial legacy port * Moves templates from legacy to Jinja2. * Moves web interface to Flask views. * Creates editor bundles. * Several small changes and bugfixes.
py
diff --git a/parsl/tests/test_ipp/bash_app.py b/parsl/tests/test_ipp/bash_app.py index <HASH>..<HASH> 100644 --- a/parsl/tests/test_ipp/bash_app.py +++ b/parsl/tests/test_ipp/bash_app.py @@ -12,7 +12,7 @@ import argparse # parsl.set_stream_logger() workers = IPyParallelExecutor() -dfk = DataFlowKernel(workers) +dfk...
Add missing keyword to DFK instantiation Fixes #<I>.
py
diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py index <HASH>..<HASH> 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_t...
pylint issue snuck in (#<I>)
py
diff --git a/atlas/panelgeneration/models.py b/atlas/panelgeneration/models.py index <HASH>..<HASH> 100644 --- a/atlas/panelgeneration/models.py +++ b/atlas/panelgeneration/models.py @@ -181,8 +181,8 @@ class AlleleGenerator(object): return combination_context def _get_start_end(self, pos, delta = 0): -...
List indices should be ints
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ except IOError: TEST_DEPENDENCIES = ['mock', 'requests', 'sqlalchemy', - 'pillow', 'ming', 'TurboGears...
Pillow4 removing support for py<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def readme(): return f.read() setup(name = 'timeago', - version = '1.0.13', + version = '1.0.14', description = 'A very simple python library, used to format datetime with `*** time ag...
v. <I> - Added lt locale #<I> - Credits to @naglis
py
diff --git a/modis/discord_modis/modules/!core/api_core.py b/modis/discord_modis/modules/!core/api_core.py index <HASH>..<HASH> 100644 --- a/modis/discord_modis/modules/!core/api_core.py +++ b/modis/discord_modis/modules/!core/api_core.py @@ -18,10 +18,10 @@ async def update_server_data(server): data = datatools.g...
Fixed intro muting to still update data.json
py
diff --git a/twitter_ads/resource.py b/twitter_ads/resource.py index <HASH>..<HASH> 100644 --- a/twitter_ads/resource.py +++ b/twitter_ads/resource.py @@ -107,7 +107,7 @@ class Resource(object): resource = self.RESOURCE.format(account_id=self.account.id, id=self.id) response = Request(self.account.cli...
[minor] correcting void methods, should return object
py
diff --git a/table_enforcer/main_classes.py b/table_enforcer/main_classes.py index <HASH>..<HASH> 100644 --- a/table_enforcer/main_classes.py +++ b/table_enforcer/main_classes.py @@ -7,8 +7,6 @@ from collections import OrderedDict import pandas as pd from munch import Munch -# import table_enforcer.errors as e -fro...
main_classes.py: removed faulty imports
py
diff --git a/proso/release.py b/proso/release.py index <HASH>..<HASH> 100644 --- a/proso/release.py +++ b/proso/release.py @@ -1 +1 @@ -VERSION = '3.9.0.dev' +VERSION = '3.9.0'
release a new version <I>
py
diff --git a/lib/parseinput.py b/lib/parseinput.py index <HASH>..<HASH> 100644 --- a/lib/parseinput.py +++ b/lib/parseinput.py @@ -6,9 +6,11 @@ # Version 0.1.2 01/10/2005: Removed the appending of "_drz.fits" to extracted # file names. -- CJH # Version 0.1.3 01/18/2005: Added the NICMOS '_asc.fits' to the...
Parseinput was modified to maintain the correct order of filenames as read in from the ASN table for excluded files. WJH git-svn-id: <URL>
py
diff --git a/tools/c7n_azure/setup.py b/tools/c7n_azure/setup.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/setup.py +++ b/tools/c7n_azure/setup.py @@ -77,5 +77,7 @@ setup( "adal~=1.0.0", "backports.functools_lru_cache", "futures>=3.1.1"], - + ...
azure - edit setup to package dlls with pip install (#<I>)
py
diff --git a/libinput/constant.py b/libinput/constant.py index <HASH>..<HASH> 100755 --- a/libinput/constant.py +++ b/libinput/constant.py @@ -37,7 +37,9 @@ class EventType(Enum): POINTER_MOTION_ABSOLUTE = auto() POINTER_BUTTON = auto() POINTER_AXIS = auto() - POINTER_SCROLLWHEEL = auto() + POINTER_SCROLL_WHEEL =...
Add additional missing events Add a few more pointer scroll events and gesture hold events
py
diff --git a/libargos/config/simplectis.py b/libargos/config/simplectis.py index <HASH>..<HASH> 100644 --- a/libargos/config/simplectis.py +++ b/libargos/config/simplectis.py @@ -242,7 +242,7 @@ class BoolCti(BaseCti): return widget.property("editor_data") - def paintDisplayValue(self, painter, ...
When not painting ourselves the label and the checkbox partially overlap :-(
py
diff --git a/margaritashotgun/tunnel.py b/margaritashotgun/tunnel.py index <HASH>..<HASH> 100755 --- a/margaritashotgun/tunnel.py +++ b/margaritashotgun/tunnel.py @@ -1,5 +1,6 @@ #!/usr/bin/env python +import errno import paramiko import socket import select @@ -46,7 +47,7 @@ class tunnel(): def cleanup(self...
handle socket server exception when transport is closed
py
diff --git a/optimizely/decision_service.py b/optimizely/decision_service.py index <HASH>..<HASH> 100644 --- a/optimizely/decision_service.py +++ b/optimizely/decision_service.py @@ -195,7 +195,7 @@ class DecisionService(object): break # Evaluate last rule i.e. "Everyone Else" rule - everyone_e...
Fixing rollout evaluation (#<I>)
py
diff --git a/mapclassify.py b/mapclassify.py index <HASH>..<HASH> 100644 --- a/mapclassify.py +++ b/mapclassify.py @@ -385,6 +385,7 @@ class Map_Classifier: * :class:`~pysal.esda.mapclassify.Box_Plot` * :class:`~pysal.esda.mapclassify.Equal_Interval` * :class:`~pysal.esda.mapclassify.Fisher_Jenks` + *...
added missing entry for Fisher_Jenks_Sampled
py
diff --git a/globus_cli/helpers/printing.py b/globus_cli/helpers/printing.py index <HASH>..<HASH> 100644 --- a/globus_cli/helpers/printing.py +++ b/globus_cli/helpers/printing.py @@ -49,17 +49,23 @@ def print_table(iterable, headers_and_keys, print_headers=True): # the same order as the headers_and_keys array ...
Fix table printing to handle unicode This is not sufficient for us to claim broad unicode support, but rather a patch for something I just encountered. If there is unicode data in a table we want to print for output, we need to handle two things: 1. str(value) is unsafe, so only do it on types that don't support __...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,6 @@ setup(name='iopipe', 'flake8' ] }, - setup_requires=['flake8', 'pytest-runner'], + setup_requires=['pytest-runner'], tests_require=['mock', 'pytest', 'requests']...
Take `flake8` out of `setup_rquires`
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -37,3 +37,8 @@ def test_highlighting(): results = s.search('World Wide Web', hl=False) for doc in results['documents']: assert '<h>' not in doc['Title'] + +def test_unicode(): + s = Summon(app_id, secret_key)...
needed to remove print statement diagnostics! oops!
py
diff --git a/sacred/observers/tinydb_hashfs.py b/sacred/observers/tinydb_hashfs.py index <HASH>..<HASH> 100644 --- a/sacred/observers/tinydb_hashfs.py +++ b/sacred/observers/tinydb_hashfs.py @@ -247,4 +247,4 @@ class TinyDbOption(CommandLineOption): if not tail: tail = 'observer_db' - ret...
Tidy code for flake8
py
diff --git a/intake/cli/server/server.py b/intake/cli/server/server.py index <HASH>..<HASH> 100644 --- a/intake/cli/server/server.py +++ b/intake/cli/server/server.py @@ -218,13 +218,11 @@ class ServerSourceHandler(tornado.web.RequestHandler): out = msgpack.packb(source_info, use_bin_type=True) ...
Work on copy that will be serialized.
py
diff --git a/ezibpy/ezibpy.py b/ezibpy/ezibpy.py index <HASH>..<HASH> 100644 --- a/ezibpy/ezibpy.py +++ b/ezibpy/ezibpy.py @@ -1201,6 +1201,7 @@ class ezIBpy(): (contract.m_expiry == "" or contract.m_strike == "" or contract.m_right == ""): return True + tickerId = self.tickerId(contr...
bugfix (added tickerId)
py
diff --git a/thinc/tests/shims/test_pytorch_grad_scaler.py b/thinc/tests/shims/test_pytorch_grad_scaler.py index <HASH>..<HASH> 100644 --- a/thinc/tests/shims/test_pytorch_grad_scaler.py +++ b/thinc/tests/shims/test_pytorch_grad_scaler.py @@ -1,6 +1,6 @@ import pytest -from hypothesis import given +from hypothesis i...
Remove deadline of test_scale_random_inputs (#<I>) By default the hypothesis deadline is <I>ms. The test_scale_random_inputs test would frequently fail because on the first run the deadline was exceeded because GPU initialization takes some time.
py
diff --git a/plotnine/stats/stat_boxplot.py b/plotnine/stats/stat_boxplot.py index <HASH>..<HASH> 100644 --- a/plotnine/stats/stat_boxplot.py +++ b/plotnine/stats/stat_boxplot.py @@ -39,10 +39,10 @@ class stat_boxplot(stat): 'upper' # upper hinge, 75% quantile 'notchlower' # lower edge of notch, c...
DOC: Remove code highlighting markup from comment
py
diff --git a/dosagelib/plugins/g.py b/dosagelib/plugins/g.py index <HASH>..<HASH> 100644 --- a/dosagelib/plugins/g.py +++ b/dosagelib/plugins/g.py @@ -111,11 +111,11 @@ class GirlGenius(_BasicScraper): stripUrl = url + '?date=%s' firstStripUrl = stripUrl % '20021104' imageSearch = compile(tagre("img", "s...
Updated GirlGenius to new markup GG markup has changed, so I fixed the prevSearch regex to find the "previous" button on the redesigned page. As well, I set multipleImagesPerStrip to true, since there are quite a few comics with multiple images that were being discarded.
py
diff --git a/asv/machine.py b/asv/machine.py index <HASH>..<HASH> 100644 --- a/asv/machine.py +++ b/asv/machine.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function, import six import os -import multiprocessing +import multiprocessing as mp import platform import sys import textwr...
CLN multiprocessing naming convention
py
diff --git a/cdmcfparserversion.py b/cdmcfparserversion.py index <HASH>..<HASH> 100644 --- a/cdmcfparserversion.py +++ b/cdmcfparserversion.py @@ -1 +1 @@ -version = '2.2.1' +version = '2.2.2'
Preparing release <I>
py
diff --git a/jsonfield/subclassing.py b/jsonfield/subclassing.py index <HASH>..<HASH> 100644 --- a/jsonfield/subclassing.py +++ b/jsonfield/subclassing.py @@ -32,7 +32,7 @@ class Creator(object): def __get__(self, obj, type=None): if obj is None: - raise AttributeError('Can only be accessed v...
Django <I> compatibility, prevents AttributeError The code was copied from this old file in Django: <URL>
py
diff --git a/liquid/__init__.py b/liquid/__init__.py index <HASH>..<HASH> 100644 --- a/liquid/__init__.py +++ b/liquid/__init__.py @@ -134,14 +134,18 @@ class Liquid: localns = {} exec(execode, None, localns) # pylint: disable=exec-used return localns[LIQUID_RENDER_FUNC_NAME](final_context) - except Except...
Use the maximum lineno on traceback instead of the last one.
py
diff --git a/ceph_deploy/cli.py b/ceph_deploy/cli.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/cli.py +++ b/ceph_deploy/cli.py @@ -93,6 +93,8 @@ def get_parser(): if not os.environ.get('CEPH_DEPLOY_TEST'): p.set_defaults(cd_conf=ceph_deploy.conf.cephdeploy.load()) + # flag if the defa...
set a default_release attribute that is False by default in the arg parser obj
py
diff --git a/stackinabox/util/requests_mock/core.py b/stackinabox/util/requests_mock/core.py index <HASH>..<HASH> 100644 --- a/stackinabox/util/requests_mock/core.py +++ b/stackinabox/util/requests_mock/core.py @@ -12,7 +12,6 @@ import sys import threading import types -import mock import requests from requests i...
Bug Fix: `mock` is not a dependency - Bug Fix: request-mock support accidentally imported `mock`
py
diff --git a/src/pipeline/phase.py b/src/pipeline/phase.py index <HASH>..<HASH> 100644 --- a/src/pipeline/phase.py +++ b/src/pipeline/phase.py @@ -335,7 +335,7 @@ class SourceLensPhase(Phase): tracer = ray_tracing.Tracer([lens_galaxy], [source_galaxy], self.coordinate_collection) fitter = fitt...
checking all_with_hyper_galaxies before calling that function
py
diff --git a/tarbell/configure.py b/tarbell/configure.py index <HASH>..<HASH> 100644 --- a/tarbell/configure.py +++ b/tarbell/configure.py @@ -226,7 +226,7 @@ def _setup_s3(settings, path, prompt=True): }) - more_prompt = "\nWould you like to add bucket credentials? [y/N] " + more_prompt = "\nWou...
update language when adding additional buckets to be more clear
py
diff --git a/drivers/python/rethinkdb/net.py b/drivers/python/rethinkdb/net.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/net.py +++ b/drivers/python/rethinkdb/net.py @@ -29,6 +29,7 @@ class Cursor(object): self.responses = [ ] self.outstanding_requests = 0 self.end_flag = Fal...
adding better error message when using an incomplete cursor on a closed connection
py
diff --git a/atomic_reactor/core.py b/atomic_reactor/core.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/core.py +++ b/atomic_reactor/core.py @@ -593,8 +593,9 @@ class DockerTasker(LastLogger): # returns bytes response = self.d.logs(container_id, stdout=True, stderr=stderr, stream=stream) ...
core: fix up non-stream logs decode for python3 - fixes test_rpmqa.py under python3
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -632,6 +632,7 @@ class TestValidate(ParameterizedTestCase, unittest.TestCase): with self.assertRaises(SchemaError): validate([1], {"minItems" : "1"}) # needs to be an integer +class TestDeprecations(un...
Split off deprecation tests.
py
diff --git a/confidence.py b/confidence.py index <HASH>..<HASH> 100644 --- a/confidence.py +++ b/confidence.py @@ -157,9 +157,9 @@ class Configuration(Mapping): self._missing = missing self._root = self - if isinstance(self._missing, (Missing, str)): + if isinstance(self._missing, Miss...
Avoid using str instances as Missing values, require Missing as sentinels
py
diff --git a/cocaine/proxy/proxy.py b/cocaine/proxy/proxy.py index <HASH>..<HASH> 100644 --- a/cocaine/proxy/proxy.py +++ b/cocaine/proxy/proxy.py @@ -259,9 +259,16 @@ class CocaineProxy(HTTPServer): request.logger.debug("%d: received %d bytes as a body chunk (attempt %d)", ...
[Proxy] Workaround for msgpack less than <I> in the body unpacking.
py
diff --git a/devassistant/version.py b/devassistant/version.py index <HASH>..<HASH> 100644 --- a/devassistant/version.py +++ b/devassistant/version.py @@ -1 +1 @@ -VERSION = '0.7.0dev' +VERSION = '0.7.0a'
Bump to <I>a
py
diff --git a/gwpy/table/io/gravityspy.py b/gwpy/table/io/gravityspy.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/gravityspy.py +++ b/gwpy/table/io/gravityspy.py @@ -30,10 +30,11 @@ is the username and thesecret is the password. """ import os -from .. import GravitySpyTable -from .. import EventTable from ast...
table.io.gravityspy: quick improvement in imports
py
diff --git a/Lib/glyphsLib/builder/anchors.py b/Lib/glyphsLib/builder/anchors.py index <HASH>..<HASH> 100644 --- a/Lib/glyphsLib/builder/anchors.py +++ b/Lib/glyphsLib/builder/anchors.py @@ -129,8 +129,8 @@ def _adjust_anchors(anchor_data, ufo, parent, component): """Adjust anchors to which a mark component may ha...
Moved method call out of for-loop
py
diff --git a/can/interfaces/pcan/pcan.py b/can/interfaces/pcan/pcan.py index <HASH>..<HASH> 100644 --- a/can/interfaces/pcan/pcan.py +++ b/can/interfaces/pcan/pcan.py @@ -479,8 +479,11 @@ class PcanBus(BusABC): @staticmethod def _detect_available_configs(): - libraryHandle = PCANBasic() chan...
handle exception if library cannot be loaded
py
diff --git a/glim/app.py b/glim/app.py index <HASH>..<HASH> 100644 --- a/glim/app.py +++ b/glim/app.py @@ -12,15 +12,26 @@ from werkzeug.utils import redirect class Glim: - def __init__(self, urls = [], environment = 'development'): + def __init__(self, urls = {}, environment = 'development'): - sel...
add route grouping feature w/out filtering
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -823,13 +823,13 @@ class HazardCalculator(BaseCalculator): for taxo, weight in items: if taxo !=...
Edit an error message regarding taxonomy strings 'taxonomies' would imply different building classification systems like the GEM Taxonomy and HAZUS Taxonomy. Instead, the phrase 'taxonomy strings' might be more apt for these logging/error messages.
py
diff --git a/drf_haystack/serializers.py b/drf_haystack/serializers.py index <HASH>..<HASH> 100644 --- a/drf_haystack/serializers.py +++ b/drf_haystack/serializers.py @@ -284,6 +284,8 @@ class FacetFieldSerializer(serializers.Serializer): return self.root.paginate_by_param pagination_class = sel...
If no pagination class, don't try to look up pagination attributes
py
diff --git a/triflow/core/simulation.py b/triflow/core/simulation.py index <HASH>..<HASH> 100755 --- a/triflow/core/simulation.py +++ b/triflow/core/simulation.py @@ -9,6 +9,8 @@ import pendulum from coolname import generate_slug from path import Path from triflow.plugins import container, schemes +from triflow.core...
user can use any mappable for initial fields
py
diff --git a/ayrton/__init__.py b/ayrton/__init__.py index <HASH>..<HASH> 100644 --- a/ayrton/__init__.py +++ b/ayrton/__init__.py @@ -26,6 +26,7 @@ import dis import traceback import linecache import pdb +import os.path # patch logging so we have debug2 and debug3 import ayrton.utils @@ -196,6 +197,14 @@ class ...
[+] added the script run by ayrton's parent dirctory to the sys.path, so we can import modules relative to it.
py
diff --git a/ctypeslib/codegen/clangparser.py b/ctypeslib/codegen/clangparser.py index <HASH>..<HASH> 100644 --- a/ctypeslib/codegen/clangparser.py +++ b/ctypeslib/codegen/clangparser.py @@ -191,7 +191,7 @@ class Clang_Parser(object): ''' Location is also used for codegeneration ordering.''' def set_locatio...
Handle cursors with no location attribute
py
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -1792,7 +1792,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix # load pt w...
only load state dict when the checkpoint is not None (#<I>)
py
diff --git a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py +++ b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py @@ -3...
Remove repetition of "Attached to" in table When volume is attached to instances, there is duplicated word "Attached to" in table header and table cell. So I fixed words to "devices on instances" in table cell. Change-Id: I<I>f<I>df<I>dbe<I>ea5eb<I>fc9d<I>a Closes-Bug: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,12 @@ # DEALINGS IN THE SOFTWARE. """Molecule distribution package setuptools installer.""" +import site import setuptools +import sys + +# See https://github.com/pypa/pip/issues/7953 +site.ENABLE_USER_SITE = "...
Workaround pip editable install bug Implements workaround for failure to install as editable on certain cases when --user is mentioned. Related: <URL>
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -11,6 +11,7 @@ import coverage import sh from mock import patch +from mock import mock_open import pytest from coveralls import Coveralls @@ -153,6 +154,14 @@ class WearTest(unittest...
Add a test for the merge.
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -362,7 +362,7 @@ class SearchBackend(BaseSearchBackend): } if not end_offset: - end_offset = database.get_doccount() + end_offset = database...
Calculate end_offset as doccount - start_offset when end_offset is None
py
diff --git a/test/base/test_mock_driver.py b/test/base/test_mock_driver.py index <HASH>..<HASH> 100644 --- a/test/base/test_mock_driver.py +++ b/test/base/test_mock_driver.py @@ -74,15 +74,15 @@ class TestMockDriver(object): with pytest.raises(NotImplementedError) as excinfo: d.get_route_to() - ...
Fix path in tests when running on a windows environment (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup( name='taskcluster-urls', description='Standardized url generator for taskcluster resources.', long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), + long_d...
Update setup.py to include readme filetype
py
diff --git a/dotlink/dotlink.py b/dotlink/dotlink.py index <HASH>..<HASH> 100755 --- a/dotlink/dotlink.py +++ b/dotlink/dotlink.py @@ -12,6 +12,7 @@ import subprocess import sys import tempfile +from collections import OrderedDict from os import path VERSION = '0.4.0' @@ -134,7 +135,7 @@ class Dotlink(object): ...
Use an ordered dictionary to fix dependency orders
py
diff --git a/pyparsing.py b/pyparsing.py index <HASH>..<HASH> 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -2540,12 +2540,15 @@ class ParserElement(object): try: pp_value = postParse(t, result) if pp_value is not None: - ...
Fix runTests output bug introduced in d<I>c<I>d<I>c<I>eaf<I>b<I>ef<I>d<I>d
py
diff --git a/spyder/widgets/sourcecode/tests/test_folding.py b/spyder/widgets/sourcecode/tests/test_folding.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/sourcecode/tests/test_folding.py +++ b/spyder/widgets/sourcecode/tests/test_folding.py @@ -36,6 +36,8 @@ def get_fold_levels(): ' self.b = 3...
Add arbitrary commented line to folding test.
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 setup( name='django-versatileimagefield', - packages=find_packages(), + packages=find_packages(exclude=['tests']), version='1.7.1', author=u'Jonathan El...
Fix #<I>: Exclude the top-level "tests" folder when building a package
py
diff --git a/trunk/metpy/vis/plots.py b/trunk/metpy/vis/plots.py index <HASH>..<HASH> 100644 --- a/trunk/metpy/vis/plots.py +++ b/trunk/metpy/vis/plots.py @@ -440,9 +440,8 @@ def station_plot(data, ax=None, proj=None, layout=None, styles=None, return field_info.get(name, name) #Update the default layout...
Fix the default station_plot layout. This worked previously and got lost in merging somewhere. git-svn-id: <URL>
py
diff --git a/autofit/mapper/prior_model/recursion.py b/autofit/mapper/prior_model/recursion.py index <HASH>..<HASH> 100644 --- a/autofit/mapper/prior_model/recursion.py +++ b/autofit/mapper/prior_model/recursion.py @@ -1,4 +1,5 @@ from functools import wraps + import numpy as np @@ -85,11 +86,15 @@ class DynamicR...
docs and product item id for safety
py
diff --git a/aiohttp_validate/__init__.py b/aiohttp_validate/__init__.py index <HASH>..<HASH> 100644 --- a/aiohttp_validate/__init__.py +++ b/aiohttp_validate/__init__.py @@ -35,6 +35,15 @@ def _validate_data(data, schema, validator_cls): """ validator = validator_cls(schema) _errors = defaultdict(list) ...
added solution for nested errors.
py
diff --git a/api.py b/api.py index <HASH>..<HASH> 100644 --- a/api.py +++ b/api.py @@ -50,33 +50,18 @@ import fs import six from datetime import datetime -from flask import g from fs.opener import opener -from werkzeug.utils import import_string -from werkzeug.local import LocalProxy -from invenio.base.globals i...
jsonalchemy: `StorageEngine` metaclass addition * Adds metaclass that reads `__storagename__` class attribute used as prefix for reading the configuration.
py
diff --git a/saltcloud/clouds/rackspace.py b/saltcloud/clouds/rackspace.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/rackspace.py +++ b/saltcloud/clouds/rackspace.py @@ -109,6 +109,6 @@ def create(vm_): print('Created Cloud VM {0} with the following values:'.format( vm_['name'] )) - f...
Repair bad call to __dict__
py
diff --git a/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/modeling_tf_{{cookiecutter.lowercase_modelname}}.py b/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/modeling_tf_{{cookiecutter.lowercase_modelname}}.py index <HASH>..<HASH> 100644 --- a/templates/a...
Fix typo (#<I>)
py
diff --git a/pyxmpp/presence.py b/pyxmpp/presence.py index <HASH>..<HASH> 100644 --- a/pyxmpp/presence.py +++ b/pyxmpp/presence.py @@ -227,8 +227,8 @@ class Presence(Stanza): "unsubscribe", "unsubscribed"): raise ValueError("Results may only be generated for...
Presence accept/deny-response fixes
py
diff --git a/html5lib/tests/test_stream.py b/html5lib/tests/test_stream.py index <HASH>..<HASH> 100644 --- a/html5lib/tests/test_stream.py +++ b/html5lib/tests/test_stream.py @@ -308,9 +308,11 @@ def test_invalid_codepoints(inp, num): ("'\\uD800\\uD800\\uD800'", 3), ...
Fix Pytest4.x compatibility error According to pytest docs: ``` marks in pytest.mark.parametrize Removed in version <I>. Applying marks to values of a pytest.mark.parametrize call is now deprecated. ... This was considered hard to read and understand, and also its implementation presented problems to the code preven...
py
diff --git a/pyked/_version.py b/pyked/_version.py index <HASH>..<HASH> 100644 --- a/pyked/_version.py +++ b/pyked/_version.py @@ -1,2 +1,4 @@ -__version_info__ = (0, 1, 1) -__version__ = '.'.join(map(str, __version_info__)) +__version_info__ = (0, 1, 1, 'a1') +__version__ = '.'.join(map(str, __version_info__[:3])) +if...
Allow alpha versions in the versioning string
py
diff --git a/test/test_sums.py b/test/test_sums.py index <HASH>..<HASH> 100644 --- a/test/test_sums.py +++ b/test/test_sums.py @@ -60,6 +60,7 @@ def test_accuracy_comparison_rand(): def test_accuracy_comparison_illcond(): kernels = [ + sum, numpy.sum, accupy.kahan_sum, lambda p...
add naive sum to comparison
py
diff --git a/ravendb/documents/operations/compare_exchange/compare_exchange.py b/ravendb/documents/operations/compare_exchange/compare_exchange.py index <HASH>..<HASH> 100644 --- a/ravendb/documents/operations/compare_exchange/compare_exchange.py +++ b/ravendb/documents/operations/compare_exchange/compare_exchange.py @...
RDBC-<I> Don't erase Id field from compare exchange values
py
diff --git a/tibiapy/highscores.py b/tibiapy/highscores.py index <HASH>..<HASH> 100644 --- a/tibiapy/highscores.py +++ b/tibiapy/highscores.py @@ -220,7 +220,7 @@ class Highscores(abc.Serializable): page_links = pages_div.find_all("a") listed_pages = [int(p.text) for p in page_links] if liste...
Fixed last page of highscores parsing as page 0
py
diff --git a/tests/test_status.py b/tests/test_status.py index <HASH>..<HASH> 100644 --- a/tests/test_status.py +++ b/tests/test_status.py @@ -51,3 +51,43 @@ def test_sessions(): assert items[2].session.key == 4 assert items[2].session.player.title == "One" assert items[2].session.user.title == "someone"...
Added tests for [SessionContainer] filter() and get() methods
py
diff --git a/analyzers/PhishTank/phishtank_checkurl.py b/analyzers/PhishTank/phishtank_checkurl.py index <HASH>..<HASH> 100755 --- a/analyzers/PhishTank/phishtank_checkurl.py +++ b/analyzers/PhishTank/phishtank_checkurl.py @@ -78,4 +78,3 @@ class phishtankAnalyzer(Analyzer): if __name__ == '__main__': phishtank...
remove unnecessary call to summary(). this is implied.
py
diff --git a/test/test_message_sync.py b/test/test_message_sync.py index <HASH>..<HASH> 100644 --- a/test/test_message_sync.py +++ b/test/test_message_sync.py @@ -56,6 +56,7 @@ class TestMessageFiltering(unittest.TestCase, ComparingMessagesTestCase): timings.append(now - start) start = now +...
exclude AppVeyor from MessageSync tests
py
diff --git a/pympi/Elan.py b/pympi/Elan.py index <HASH>..<HASH> 100644 --- a/pympi/Elan.py +++ b/pympi/Elan.py @@ -1681,8 +1681,12 @@ def to_eaf(file_path, eaf_obj, pretty=True): if pretty: indent(ADOCUMENT) if file_path == '-': - file_path = sys.stdout - elif os.access(file_path, os.F_OK):...
fix issue #<I>, a bit ugly but it works
py
diff --git a/cartoframes/context.py b/cartoframes/context.py index <HASH>..<HASH> 100644 --- a/cartoframes/context.py +++ b/cartoframes/context.py @@ -165,15 +165,17 @@ class CartoContext(object): verbose=0): self.creds = Credentials(creds=creds, key=api_key, base_url=base_url) - sel...
corrects which auth client gets client_id
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open('LICENSE') as f: setup( name='Eve-Elastic', - version='2.0rc2', + version='2.0rc3', description='Elasticsearch data layer for eve rest framework', long_description=readme + '\n\...
release <I>rc3
py
diff --git a/examples/flask_example.py b/examples/flask_example.py index <HASH>..<HASH> 100644 --- a/examples/flask_example.py +++ b/examples/flask_example.py @@ -90,7 +90,7 @@ def get_author(pk): @app.route('/quotes/', methods=['GET']) def get_quotes(): quotes = Quote.query.all() - result = quotes_schema.dum...
Fix list dump Should we use many=True on this case?
py
diff --git a/pysc2/run_configs/lib.py b/pysc2/run_configs/lib.py index <HASH>..<HASH> 100644 --- a/pysc2/run_configs/lib.py +++ b/pysc2/run_configs/lib.py @@ -71,6 +71,8 @@ VERSIONS = version_dict([ Version("4.6.0", 67926, "7DE59231CBF06F1ECE9A25A27964D4AE", None), Version("4.6.1", 67926, "BEA99B4A8E7B41E62AD...
Add support for <I> and <I>. PiperOrigin-RevId: <I>
py