diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/gandi/cli/commands/ip.py b/gandi/cli/commands/ip.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/ip.py +++ b/gandi/cli/commands/ip.py @@ -3,7 +3,7 @@ import click from gandi.cli.core.cli import cli -from gandi.cli.core.utils import output_ip, output_generic +from gandi.cli.core.utils import out...
ip: remove unused import output_generic `output_generic` was never used in this file
py
diff --git a/tests/io_/metadata.py b/tests/io_/metadata.py index <HASH>..<HASH> 100644 --- a/tests/io_/metadata.py +++ b/tests/io_/metadata.py @@ -154,7 +154,7 @@ class TestMetadataConsistency(unittest.TestCase): __dtypes = [scipy.bool_, scipy.int8, scipy.int16, scipy.int32, scipy.int64, ...
Remove float<I> from the list of dtypes to test, as not present on every machine.
py
diff --git a/examples/fget_object.py b/examples/fget_object.py index <HASH>..<HASH> 100644 --- a/examples/fget_object.py +++ b/examples/fget_object.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Note: YOUR-ACCESSKEYID and YOUR-SECRETACC...
Update fget_object.py Modified the object and bucket name convention.
py
diff --git a/newtabmagic.py b/newtabmagic.py index <HASH>..<HASH> 100644 --- a/newtabmagic.py +++ b/newtabmagic.py @@ -161,8 +161,7 @@ class NewTabMagics(Magics): if obj is not None: page_name = _get_object_pydoc_page_name(obj) else: - obj = pydoc.locate(path) - if o...
Simplify _get_pydoc_page_name
py
diff --git a/addict/addict.py b/addict/addict.py index <HASH>..<HASH> 100644 --- a/addict/addict.py +++ b/addict/addict.py @@ -83,12 +83,7 @@ class Dict(dict): if isinstance(item, dict): return cls(item) elif isinstance(item, (list, tuple)): - new_iter = [] - for ele...
list-comp change some for loop to list comprehension
py
diff --git a/airflow/models.py b/airflow/models.py index <HASH>..<HASH> 100644 --- a/airflow/models.py +++ b/airflow/models.py @@ -212,10 +212,6 @@ class BaseUser(Base): return unicode(self.id) -class User(BaseUser): - pass - - class Connection(Base): """ Placeholder to store information abou...
Removing dummy User class
py
diff --git a/vmo/VMO/oracle.py b/vmo/VMO/oracle.py index <HASH>..<HASH> 100644 --- a/vmo/VMO/oracle.py +++ b/vmo/VMO/oracle.py @@ -188,11 +188,11 @@ class FactorOracle(object): i = i + 1 if i == j: i = i + 1 - _code.append((0,i)) - _compror.ap...
Minor changes to oracle.code and oracle.compror
py
diff --git a/activemq_xml/test_activemq_xml.py b/activemq_xml/test_activemq_xml.py index <HASH>..<HASH> 100644 --- a/activemq_xml/test_activemq_xml.py +++ b/activemq_xml/test_activemq_xml.py @@ -14,7 +14,7 @@ from tests.checks.common import AgentCheckTest @attr(requires='activemq_xml') class ActiveMQTestCase(AgentC...
[activemq][test] fixing check name.
py
diff --git a/astroid/modutils.py b/astroid/modutils.py index <HASH>..<HASH> 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -79,8 +79,9 @@ try: except AttributeError: pass if platform.python_implementation() == 'PyPy': - _root = os.path.dirname(sys.executable) - ST...
Improve the detection of lib_pypy, which was faulty.
py
diff --git a/pymatgen/transformations/advanced_transformations.py b/pymatgen/transformations/advanced_transformations.py index <HASH>..<HASH> 100644 --- a/pymatgen/transformations/advanced_transformations.py +++ b/pymatgen/transformations/advanced_transformations.py @@ -1355,4 +1355,4 @@ class GrainBoundaryTransformati...
Minor change to transformation ('is_one_to_many' None->False) (Was accidentally changed to True when fixing merge conflict)
py
diff --git a/telethon/extensions/tcp_client.py b/telethon/extensions/tcp_client.py index <HASH>..<HASH> 100644 --- a/telethon/extensions/tcp_client.py +++ b/telethon/extensions/tcp_client.py @@ -90,13 +90,13 @@ class TcpClient: self._socket.sendall(data) except socket.timeout as e: ra...
Fix BrokenPipeError was instance of OSError
py
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index <HASH>..<HASH> 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -8,6 +8,7 @@ search_url = None url_xpath = None content_xpath = None title_xpath = None +suggestion_xpath = '' results_xpath = '' def extract_url(xpath_re...
[enh] suggestion support for xpath engine
py
diff --git a/src/fuzzfetch/fetch.py b/src/fuzzfetch/fetch.py index <HASH>..<HASH> 100644 --- a/src/fuzzfetch/fetch.py +++ b/src/fuzzfetch/fetch.py @@ -108,7 +108,7 @@ class BuildFlags(collections.namedtuple('BuildFlagsBase', ('asan', 'debug', 'fuz class BuildTask(object): """Class for storing TaskCluster build ...
Remove duplicate trailing slash from BASE_URL
py
diff --git a/attitude/error/axes.py b/attitude/error/axes.py index <HASH>..<HASH> 100644 --- a/attitude/error/axes.py +++ b/attitude/error/axes.py @@ -4,6 +4,7 @@ and hyperbolic axes. These all operate in axis-aligned space---rotation into global coordinate systems should occur after these transformations are applied...
Added methods to create hyperbolic axes
py
diff --git a/src/saml2/s_utils.py b/src/saml2/s_utils.py index <HASH>..<HASH> 100644 --- a/src/saml2/s_utils.py +++ b/src/saml2/s_utils.py @@ -2,9 +2,15 @@ import time import base64 -import hashlib +import sys import hmac +# from python 2.5 +if sys.version_info >= (2,5): + import hashlib +else: # before pytho...
Handle a standard lib change in <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setup( 'pytrax', 'pyevtk', 'numba', + 'numpy-stl', 'openpnm', 'dask[complet...
adding numpy-stl to setup.py
py
diff --git a/marshmallow/fields.py b/marshmallow/fields.py index <HASH>..<HASH> 100644 --- a/marshmallow/fields.py +++ b/marshmallow/fields.py @@ -261,17 +261,25 @@ class Raw(FieldABC): try: func = getattr(self, method) output = func(*args, **kwargs) - if self.validate is n...
Can now pass a collection of callables and even a generator that push callable in the 'validate' parameter.
py
diff --git a/ruia/field.py b/ruia/field.py index <HASH>..<HASH> 100644 --- a/ruia/field.py +++ b/ruia/field.py @@ -117,7 +117,7 @@ class TextField(_LxmlElementField): """ def _parse_element(self, element): - strings = [node.strip() for node in element.itertext()] + strings = [node for node in ...
Remove .strip() from TextField parsing
py
diff --git a/seriously.py b/seriously.py index <HASH>..<HASH> 100755 --- a/seriously.py +++ b/seriously.py @@ -99,11 +99,18 @@ class Seriously(object): if __name__ == '__main__': srs = Seriously() - while 1: - try: - srs.eval(raw_input('>>> ')) - except EOFError: - exit() ...
added -e flag for command-line program input and file input
py
diff --git a/zinnia/__init__.py b/zinnia/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia/__init__.py +++ b/zinnia/__init__.py @@ -1,5 +1,5 @@ """Zinnia""" -__version__ = '0.14.dev' +__version__ = '0.14' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/Workspace.py b/Workspace.py index <HASH>..<HASH> 100644 --- a/Workspace.py +++ b/Workspace.py @@ -221,15 +221,12 @@ class WorkspaceController(object): return None def __create_display_panel(self): - display_panel = DisplayPanel.DisplayPanel(self.document_controller) - disp...
Eliminate usage of get_display_panel (replaced with higher order function) svn r<I>
py
diff --git a/django_cas_ng/utils.py b/django_cas_ng/utils.py index <HASH>..<HASH> 100644 --- a/django_cas_ng/utils.py +++ b/django_cas_ng/utils.py @@ -61,7 +61,7 @@ def get_cas_client(service_url=None, request=None): if server_url and request and server_url.startswith('/'): scheme = request.META.get("X-Fo...
Commented assert for Travis CI testing
py
diff --git a/src/oidcendpoint/endpoint_context.py b/src/oidcendpoint/endpoint_context.py index <HASH>..<HASH> 100755 --- a/src/oidcendpoint/endpoint_context.py +++ b/src/oidcendpoint/endpoint_context.py @@ -41,7 +41,7 @@ CAPABILITIES = { "claims_parameter_supported": True, "request_parameter_supported": True,...
Rewrote capability gathering to facilitate incorporating more endpoints.
py
diff --git a/paypal/standard/pdt/tests/test_pdt.py b/paypal/standard/pdt/tests/test_pdt.py index <HASH>..<HASH> 100644 --- a/paypal/standard/pdt/tests/test_pdt.py +++ b/paypal/standard/pdt/tests/test_pdt.py @@ -53,7 +53,7 @@ class PDTTest(TestCase): def test_verify_postback(self): dpppdt = DummyPayPalPD...
Fixed some broken tests on Python <I>
py
diff --git a/peri/states.py b/peri/states.py index <HASH>..<HASH> 100644 --- a/peri/states.py +++ b/peri/states.py @@ -65,7 +65,7 @@ class State(comp.ParameterGroup): @property def residuals(self): """ Get the model residuals wrt data """ - return self.model - self.data + return self.da...
switching residuals to be data - model
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100755 --- a/test/test.py +++ b/test/test.py @@ -133,6 +133,7 @@ class TestAegea(unittest.TestCase): self.call("aegea ecs run --command pwd --dry-run", shell=True) + @unittest.skipIf(sys.version_info < (3, 8), "Skipping test which is prone to...
Only run spot fleet builder test on <I>, avoids pricing API rate limits
py
diff --git a/spyder_kernels/customize/spyderpdb.py b/spyder_kernels/customize/spyderpdb.py index <HASH>..<HASH> 100755 --- a/spyder_kernels/customize/spyderpdb.py +++ b/spyder_kernels/customize/spyderpdb.py @@ -300,10 +300,9 @@ class SpyderPdb(ipyPdb, object): # Inherits `object` to call super() in PY2 re...
Avoid repetitions and have pdb matches first
py
diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index <HASH>..<HASH> 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.4.50" +VERSION = "0.4.51" CLASSIFIERS = [ 'Devel...
aks-preview: version bump (#<I>)
py
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_crypto.py +++ b/OpenSSL/test/test_crypto.py @@ -1,4 +1,4 @@ -# Copyright (C) Jean-Paul Calderone 2008, All rights reserved +SignVerifyTests# Copyright (C) Jean-Paul Calderone 2008, All rights reser...
Change the other digest names in this too-long test to str (aka unicode (aka text))
py
diff --git a/soco/data_structures.py b/soco/data_structures.py index <HASH>..<HASH> 100644 --- a/soco/data_structures.py +++ b/soco/data_structures.py @@ -712,6 +712,10 @@ class DidlMusicAlbum(DidlAlbum): """Class that represents a music library album. """ item_class = 'object.container.album.musicAlbum' + ...
musicAlbum is an <item> not a container> (contrary to spec)
py
diff --git a/shapefile.py b/shapefile.py index <HASH>..<HASH> 100644 --- a/shapefile.py +++ b/shapefile.py @@ -336,7 +336,7 @@ class Reader: if shapeType in (3,5,13,15,23,25,31): nParts = unpack("<i", f.read(4))[0] # Shape types with points - if shapeType in (3,5,8,13,15,23,25,3...
Fixed parsing of number of points for some shapes The <I> and <I> need number of points, so we should read it.
py
diff --git a/claripy/operations.py b/claripy/operations.py index <HASH>..<HASH> 100644 --- a/claripy/operations.py +++ b/claripy/operations.py @@ -39,25 +39,26 @@ def op(name, arg_types, return_type, extra_check=None, calc_length=None, self_is clrp = self._claripy args = (self,) + args - ...
what the FUCK. Why doesn't 'NotImplemented in args' work???
py
diff --git a/project.py b/project.py index <HASH>..<HASH> 100644 --- a/project.py +++ b/project.py @@ -29,6 +29,29 @@ project = dict( Development Status :: 4 - Beta Topic :: Software Development Topic :: Software Development :: Libraries + Operating System :: Android + Operating...
Doc: setup.py: support any operating system
py
diff --git a/src/tools/visualStates_py/gui/cppgenerator.py b/src/tools/visualStates_py/gui/cppgenerator.py index <HASH>..<HASH> 100644 --- a/src/tools/visualStates_py/gui/cppgenerator.py +++ b/src/tools/visualStates_py/gui/cppgenerator.py @@ -128,12 +128,10 @@ class CppGenerator(Generator): # generate interf...
use interface name as the header mapping key
py
diff --git a/issue.py b/issue.py index <HASH>..<HASH> 100755 --- a/issue.py +++ b/issue.py @@ -327,7 +327,7 @@ class Issues(object): generic_open = gzip.open try: with generic_open(self.filename, mode="wt") as f: - json.dump(self.issues, f) + json.dump(se...
add unicode support and indeting to json, fixes #5
py
diff --git a/indra/tools/incremental_model.py b/indra/tools/incremental_model.py index <HASH>..<HASH> 100644 --- a/indra/tools/incremental_model.py +++ b/indra/tools/incremental_model.py @@ -3,6 +3,7 @@ import logging from indra.statements import Agent import indra.tools.assemble_corpus as ac from indra.databases im...
Add one more ontology fix to incremental model
py
diff --git a/tensorflow_datasets/image_classification/patch_camelyon.py b/tensorflow_datasets/image_classification/patch_camelyon.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/image_classification/patch_camelyon.py +++ b/tensorflow_datasets/image_classification/patch_camelyon.py @@ -41,8 +41,10 @@ _URL = 'ht...
Add release notes for patch_camelyon
py
diff --git a/addok/batch.py b/addok/batch.py index <HASH>..<HASH> 100644 --- a/addok/batch.py +++ b/addok/batch.py @@ -4,6 +4,7 @@ import sys from datetime import timedelta from addok.config import config +from addok.db import DB from addok.helpers import iter_pipe, parallelize, yielder @@ -13,6 +14,7 @@ def r...
Use explicit BGSAVE at the end of the import, fix #<I>
py
diff --git a/salt/returners/sentry_return.py b/salt/returners/sentry_return.py index <HASH>..<HASH> 100644 --- a/salt/returners/sentry_return.py +++ b/salt/returners/sentry_return.py @@ -45,7 +45,6 @@ from __future__ import absolute_import # Import Python libs import logging -import six # Import Salt libs impor...
Remove duplicate six import, change wording of log string
py
diff --git a/charmhelpers/fetch/bzrurl.py b/charmhelpers/fetch/bzrurl.py index <HASH>..<HASH> 100644 --- a/charmhelpers/fetch/bzrurl.py +++ b/charmhelpers/fetch/bzrurl.py @@ -1,11 +1,16 @@ import os -from bzrlib.branch import Branch from charmhelpers.fetch import ( BaseFetchHandler, UnhandledSource ) from...
Fixed bug where BzrUrlFetcheHandler was failing on systems without python-bzrlib
py
diff --git a/angr/analyses/vfg.py b/angr/analyses/vfg.py index <HASH>..<HASH> 100644 --- a/angr/analyses/vfg.py +++ b/angr/analyses/vfg.py @@ -27,6 +27,7 @@ class VFGNode(object): self.events = [ ] self.input_variables = [ ] self.actions = [ ] + self.final_states = [ ] if st...
VFG: add a new property final_states for VFGNode
py
diff --git a/fudge/__init__.py b/fudge/__init__.py index <HASH>..<HASH> 100644 --- a/fudge/__init__.py +++ b/fudge/__init__.py @@ -222,7 +222,7 @@ class Fake(object): """ def __init__(self, name=None, allows_any_call=False, callable=False): - self.name = (name or self._guess_name()) + self...
self.name is self._name to avoid collisions
py
diff --git a/gcloud/datastore/test_entity.py b/gcloud/datastore/test_entity.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/test_entity.py +++ b/gcloud/datastore/test_entity.py @@ -91,6 +91,16 @@ class TestEntity(unittest2.TestCase): entity.reload() # does not raise, does not update on miss self...
gcloud.datastore.entity: <I>% -> <I>% coverage.
py
diff --git a/googlesamples/assistant/__main__.py b/googlesamples/assistant/__main__.py index <HASH>..<HASH> 100644 --- a/googlesamples/assistant/__main__.py +++ b/googlesamples/assistant/__main__.py @@ -21,7 +21,7 @@ import click from google.assistant.embedded.v1alpha1 import embedded_assistant_pb2 from google.rpc im...
google-assistant-sdk-python: use absolute import for __main__ So that it's also document the import path when being browsed from the documation. Note: this doesn't need part of the <I> artefact, we can simply update the `master` branch on github after we tag the <I> release. Change-Id: I<I>cb5e<I>a6bab<I>dff<I>a6e5d...
py
diff --git a/test/test_stripe.py b/test/test_stripe.py index <HASH>..<HASH> 100644 --- a/test/test_stripe.py +++ b/test/test_stripe.py @@ -203,20 +203,6 @@ class AccountTest(StripeTestCase): self.assertFalse(account.charge_enabled) self.assertFalse(account.details_submitted) -class ChargeTest(Stripe...
Remove uncaptured charge tests, deprecated from Stripe API.
py
diff --git a/cherrypy/process/servers.py b/cherrypy/process/servers.py index <HASH>..<HASH> 100644 --- a/cherrypy/process/servers.py +++ b/cherrypy/process/servers.py @@ -150,8 +150,7 @@ class ServerAdapter(object): if self.bind_addr is None: on_what = "unknown interface (dynamic?)" elif ...
Try to get the scheme from httpserver
py
diff --git a/openquake/hazardlib/geo/surface/complex_fault.py b/openquake/hazardlib/geo/surface/complex_fault.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/surface/complex_fault.py +++ b/openquake/hazardlib/geo/surface/complex_fault.py @@ -181,13 +181,10 @@ class ComplexFaultSurface(BaseQuadrilateralSurf...
Brings back to original status complex_fault surface - the problem will be addressed in a separate PR
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,8 @@ setup( 'kubernetes.watch', 'kubernetes.client.api', 'kubernetes.stream', 'kubernetes.client.models', 'kubernetes.utils', 'kubernetes.client.apis', - 'kub...
Fix leaderelection.resourcelock not found
py
diff --git a/buildbot/status/words.py b/buildbot/status/words.py index <HASH>..<HASH> 100644 --- a/buildbot/status/words.py +++ b/buildbot/status/words.py @@ -280,6 +280,10 @@ class Contact: log.msg('[Contact] BuildRequest for %s submitted to Builder %s' % (brstatus.getSourceStamp(), brstatus.buil...
(fixes #<I>) add a requestCancelled method (that does nothing) to IRCContact
py
diff --git a/docker/api/build.py b/docker/api/build.py index <HASH>..<HASH> 100644 --- a/docker/api/build.py +++ b/docker/api/build.py @@ -18,7 +18,8 @@ class BuildApiMixin(object): custom_context=False, encoding=None, pull=False, forcerm=False, dockerfile=None, container_limits=None, ...
Pass X-Registry-Auth when building an image * Initialize headers variable in BuildApiMixin.build() as a dict rather than as None. This way the correct object gets passed to _set_auth_headers() even if no headers were set in build() * Changing object from None to {} in BuildApiMixin._set_auth_headers() removed ...
py
diff --git a/bids/analysis/transformations/compute.py b/bids/analysis/transformations/compute.py index <HASH>..<HASH> 100644 --- a/bids/analysis/transformations/compute.py +++ b/bids/analysis/transformations/compute.py @@ -56,9 +56,13 @@ class Convolve(Transformation): # Minimum interval between event onsets...
Check that there are at least two events to compute min diff
py
diff --git a/pipeline_browserify/compiler.py b/pipeline_browserify/compiler.py index <HASH>..<HASH> 100755 --- a/pipeline_browserify/compiler.py +++ b/pipeline_browserify/compiler.py @@ -15,7 +15,10 @@ class BrowserifyCompiler(SubProcessCompiler): # similar to old removed in https://github.com/jazzband/django-pipe...
make messaging a little nicer when BROWSERIFY_BINARY is misconfigured, showing a compiler error instead of a somewhat cryptic <I>
py
diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index <HASH>..<HASH> 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -13,8 +13,11 @@ from ..hu import Hungarian from ..tokens import Doc from ..strings import StringStore from ..attrs import ORTH, TAG, HEAD, DEP +from ..util import ...
Add path fixture for spaCy data path
py
diff --git a/tests/test_hunter.py b/tests/test_hunter.py index <HASH>..<HASH> 100644 --- a/tests/test_hunter.py +++ b/tests/test_hunter.py @@ -1100,19 +1100,24 @@ def _bulky_func_that_use_stdlib(): def test_perf_filter(tracer_impl, benchmark): - t = tracer_impl() + impl = tracer_impl() + + class Counter(o...
Try to bench just the tracer.
py
diff --git a/zappa/cli.py b/zappa/cli.py index <HASH>..<HASH> 100755 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -525,7 +525,10 @@ class ZappaCLI(object): try: self.load_settings(self.vargs.get('settings_file')) except ValueError as e: - print("Error: {}".format(e.message)) + ...
guard missing exception.message in python 3 (plus some WS cruft)
py
diff --git a/src/holodeck/holodeck.py b/src/holodeck/holodeck.py index <HASH>..<HASH> 100644 --- a/src/holodeck/holodeck.py +++ b/src/holodeck/holodeck.py @@ -26,7 +26,7 @@ class GLVersion: def make( scenario_name="", scenario_cfg=None, - gl_version=GL_VERSION.OPENGL4, + gl_version=GLVersion.OPENGL4, ...
Update all references to GLVersion
py
diff --git a/master/buildbot/test/unit/test_db_migrate_versions_024_add_buildslaves_table.py b/master/buildbot/test/unit/test_db_migrate_versions_024_add_buildslaves_table.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_db_migrate_versions_024_add_buildslaves_table.py +++ b/master/buildbot/test/unit...
fix expected exception on psycopg2 driver
py
diff --git a/rllib/agents/ppo/ppo_torch_policy.py b/rllib/agents/ppo/ppo_torch_policy.py index <HASH>..<HASH> 100644 --- a/rllib/agents/ppo/ppo_torch_policy.py +++ b/rllib/agents/ppo/ppo_torch_policy.py @@ -223,4 +223,7 @@ PPOTorchPolicy = build_torch_policy( extra_grad_process_fn=apply_grad_clipping, before_...
Fix missing learning rate and entropy coeff schedule for torch PPO (#<I>)
py
diff --git a/examples/simple_pyramid_chat/wsgi.py b/examples/simple_pyramid_chat/wsgi.py index <HASH>..<HASH> 100644 --- a/examples/simple_pyramid_chat/wsgi.py +++ b/examples/simple_pyramid_chat/wsgi.py @@ -1,3 +1,7 @@ from pyramid.paster import get_app app = get_app('development.ini') + +# Can run with gunicorn us...
added a comment of how to use the wsgi.py
py
diff --git a/tests/integration/nupic/opf/hotgym_regression_test.py b/tests/integration/nupic/opf/hotgym_regression_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/nupic/opf/hotgym_regression_test.py +++ b/tests/integration/nupic/opf/hotgym_regression_test.py @@ -64,7 +64,7 @@ class HotgymRegressionTest(unit...
Update hotgym regression test expected results
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,13 @@ from setuptools import setup, find_packages try: - desc = file.read(open('README.rst')) + desc = file.read(open('README.rst')) except StandardError: - desc = 'see README.markdown' + desc = 'see README...
PEP8-ery on setup.py, version bump
py
diff --git a/tests/unit/states/test_module.py b/tests/unit/states/test_module.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_module.py +++ b/tests/unit/states/test_module.py @@ -173,9 +173,8 @@ class ModuleStateTest(TestCase, LoaderModuleMockMixin): with patch.dict(module.__salt__, {CMD: _mocked_f...
Fixed test that since <I>bfb<I>da gets a different error.
py
diff --git a/ipyrad/analysis/snps_extracter.py b/ipyrad/analysis/snps_extracter.py index <HASH>..<HASH> 100644 --- a/ipyrad/analysis/snps_extracter.py +++ b/ipyrad/analysis/snps_extracter.py @@ -108,7 +108,12 @@ class SNPsExtracter(object): with h5py.File(self.data, 'r') as io5: # all names in d...
Allow snps_extractor to handle snps.hdf5 files with names not encoded as bytes
py
diff --git a/asn1crypto/cms.py b/asn1crypto/cms.py index <HASH>..<HASH> 100644 --- a/asn1crypto/cms.py +++ b/asn1crypto/cms.py @@ -130,15 +130,25 @@ class SetOfTime(SetOf): _child_spec = Time +class SetOfAny(SetOf): + _child_spec = Any + + class CMSAttribute(Sequence): _fields = [ ('type', CM...
Fix cms.CMSAttribute() to be able to parse unknown attribute constructs
py
diff --git a/influxdb/_dataframe_client.py b/influxdb/_dataframe_client.py index <HASH>..<HASH> 100644 --- a/influxdb/_dataframe_client.py +++ b/influxdb/_dataframe_client.py @@ -182,7 +182,8 @@ class DataFrameClient(InfluxDBClient): containing all results within that chunk :param chunk_size: Size...
Add support for custom indexes for query in the DataFrameClient (#<I>)
py
diff --git a/instaloader.py b/instaloader.py index <HASH>..<HASH> 100755 --- a/instaloader.py +++ b/instaloader.py @@ -292,6 +292,25 @@ class Post: return re.findall(hashtag_regex, self.caption.lower()) @property + def caption_mentions(self) -> List[str]: + """List of all lowercased profiles t...
Post properties caption_mentions and tagged_users caption_mentions is a list of all lowercased profiles that are mentioned in the Post's caption, without preceeding '@'. tagged_users is a list of all lowercased users that are tagged in the Post. This was requested in #<I>. Just like all properties of instaloader.Pos...
py
diff --git a/src/nupic/regions/SDRClassifierRegion.py b/src/nupic/regions/SDRClassifierRegion.py index <HASH>..<HASH> 100755 --- a/src/nupic/regions/SDRClassifierRegion.py +++ b/src/nupic/regions/SDRClassifierRegion.py @@ -226,7 +226,7 @@ class SDRClassifierRegion(PyRegion): # Convert the steps designation to a li...
Minor change to SDRClassifierRegion
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,22 @@ #encoding: utf-8 +import io import os import re -from setuptools import setup, find_packages + +from setuptools import find_packages, setup # parse version from ate/__init__.py with open(os.path.join(os.p...
setup long description read from README
py
diff --git a/tests/unit/test_version.py b/tests/unit/test_version.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_version.py +++ b/tests/unit/test_version.py @@ -343,6 +343,7 @@ class VersionTestCase(TestCase): for ver, repr_ret in expect: assert repr(SaltStackVersion(*ver)) == repr_ret + ...
Only run Linux tests on Linux and Windows tests on Windows.
py
diff --git a/luminoso_api/client.py b/luminoso_api/client.py index <HASH>..<HASH> 100644 --- a/luminoso_api/client.py +++ b/luminoso_api/client.py @@ -300,6 +300,13 @@ class LuminosoClient(object): newclient = LuminosoClient(self._auth, self.root_url, self.root_url) return newclient.get_raw('/') + ...
add keepalive to wait_for
py
diff --git a/tests/task.py b/tests/task.py index <HASH>..<HASH> 100644 --- a/tests/task.py +++ b/tests/task.py @@ -100,6 +100,19 @@ def _dummy(c): class ConnectionCall_: + class init: + "__init__" + + def inherits_regular_kwargs(self): + t = fabric.Task(_dummy) + call = Conne...
Sanity test ConnectionCall superclass behavior
py
diff --git a/manticore/ethereum.py b/manticore/ethereum.py index <HASH>..<HASH> 100644 --- a/manticore/ethereum.py +++ b/manticore/ethereum.py @@ -613,7 +613,7 @@ class ABI(object): ''' Build transaction data from function signature and arguments ''' - m = re.match(r"(?P<name>[a-zA-Z_]...
Allow function identifiers on smart contract to have numbers on them (#<I>)
py
diff --git a/MambuPy/rest/mambuproduct.py b/MambuPy/rest/mambuproduct.py index <HASH>..<HASH> 100644 --- a/MambuPy/rest/mambuproduct.py +++ b/MambuPy/rest/mambuproduct.py @@ -119,7 +119,8 @@ class AllMambuProducts(MambuStruct): def __new__(cls, *args, **kwargs): if not cls.__instance: - cls._...
mambuproduct singleton __new__ call compatibility with py3
py
diff --git a/thermo/eos_volume.py b/thermo/eos_volume.py index <HASH>..<HASH> 100644 --- a/thermo/eos_volume.py +++ b/thermo/eos_volume.py @@ -719,6 +719,7 @@ def volume_solutions_halley(T, P, b, delta, epsilon, a_alpha): if i == 0: V = Vi = high_V#R*T*P_inv elif i == 1: + 1/0 ...
Confirm volume outer loop no longer being used
py
diff --git a/javaobj/utils.py b/javaobj/utils.py index <HASH>..<HASH> 100644 --- a/javaobj/utils.py +++ b/javaobj/utils.py @@ -38,7 +38,7 @@ import struct import sys # Modified UTF-8 parser -from .modifiedutf8 import decode_modified_utf8 +from .modifiedutf8 import byte_to_int, decode_modified_utf8 # ------------...
FIxed Py <I> compatibility issue
py
diff --git a/tango/test_context.py b/tango/test_context.py index <HASH>..<HASH> 100644 --- a/tango/test_context.py +++ b/tango/test_context.py @@ -160,6 +160,7 @@ class MultiDeviceTestContext(object): class_list = [] device_list = [] + tangoclass_list = [] for device_info in devices_...
Prevent multiple entries for the same Tango class in devices_info
py
diff --git a/plip/modules/plipxml.py b/plip/modules/plipxml.py index <HASH>..<HASH> 100644 --- a/plip/modules/plipxml.py +++ b/plip/modules/plipxml.py @@ -194,6 +194,7 @@ class BSite(XMLStorage): self.longname = self.getdata(bindingsite, 'identifiers/longname') self.ligtype = self.getdata(bindingsite,...
PLIP XML parser reads InChI keys from reports
py
diff --git a/tests/test_ascii.py b/tests/test_ascii.py index <HASH>..<HASH> 100644 --- a/tests/test_ascii.py +++ b/tests/test_ascii.py @@ -1,10 +1,11 @@ +from stl.utils import b from stl import mesh def test_long_name(tmpdir): - name = b'just some very long name which will not fit within the standard' + nam...
binary string interpolation is not supported by python <I>
py
diff --git a/plenum/test/storage/test_reply_persistence_ledger.py b/plenum/test/storage/test_reply_persistence_ledger.py index <HASH>..<HASH> 100644 --- a/plenum/test/storage/test_reply_persistence_ledger.py +++ b/plenum/test/storage/test_reply_persistence_ledger.py @@ -6,6 +6,7 @@ from ledger.immutable_store.merkle im...
using on-file-store branch of ledger
py
diff --git a/signalfx/signalflow/computation.py b/signalfx/signalflow/computation.py index <HASH>..<HASH> 100644 --- a/signalfx/signalflow/computation.py +++ b/signalfx/signalflow/computation.py @@ -30,10 +30,10 @@ class Computation(object): self._current_batch_count = 0 # Kick it off. - self...
Correctly reset stream iterator after computation reconnect
py
diff --git a/androguard/decompiler/dad/decompile.py b/androguard/decompiler/dad/decompile.py index <HASH>..<HASH> 100644 --- a/androguard/decompiler/dad/decompile.py +++ b/androguard/decompiler/dad/decompile.py @@ -311,11 +311,7 @@ class DvClass(object): source.append(klass.get_source()) for met...
Fix weird stuff in the decompiler :)
py
diff --git a/pygubu/uidesigner/main.py b/pygubu/uidesigner/main.py index <HASH>..<HASH> 100644 --- a/pygubu/uidesigner/main.py +++ b/pygubu/uidesigner/main.py @@ -273,6 +273,7 @@ class PygubuUI(util.Application): self.tree_editor.load_file(filename) self.project_name.configure(text=filename) + ...
Clear preview when a new file is open.
py
diff --git a/intake/gui/tests/test_gui.py b/intake/gui/tests/test_gui.py index <HASH>..<HASH> 100644 --- a/intake/gui/tests/test_gui.py +++ b/intake/gui/tests/test_gui.py @@ -6,10 +6,12 @@ #----------------------------------------------------------------------------- import os +import pytest here = os.path.abspath...
Don't test on non-conda
py
diff --git a/wal_e/blobstore/s3/calling_format.py b/wal_e/blobstore/s3/calling_format.py index <HASH>..<HASH> 100644 --- a/wal_e/blobstore/s3/calling_format.py +++ b/wal_e/blobstore/s3/calling_format.py @@ -20,6 +20,7 @@ _S3_REGIONS = { 'ca-central-1': 's3.ca-central-1.amazonaws.com', 'cn-north-1': 's3.cn-nor...
adding support for eu-north-1
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -30,6 +30,10 @@ setup( "A simple sphinx extension to generate " "UML diagrams with pyreverse" ), extras_require={ + "deploy": [ + # deps for deploying + "twine", + ], ...
Adds twine to deploy install extras
py
diff --git a/eth_abi/utils/numeric.py b/eth_abi/utils/numeric.py index <HASH>..<HASH> 100644 --- a/eth_abi/utils/numeric.py +++ b/eth_abi/utils/numeric.py @@ -40,9 +40,9 @@ else: abi_decimal_context = decimal.Context(prec=999) -with decimal.localcontext(abi_decimal_context): - ZERO = decimal.Decimal(0) - TEN...
Decimal context doesn't matter for definitions
py
diff --git a/py/tests/unit/with_runtime_sparkling/test_mojo.py b/py/tests/unit/with_runtime_sparkling/test_mojo.py index <HASH>..<HASH> 100644 --- a/py/tests/unit/with_runtime_sparkling/test_mojo.py +++ b/py/tests/unit/with_runtime_sparkling/test_mojo.py @@ -52,7 +52,7 @@ def testTrainingParams(gbmModel): assert p...
[SW-<I>] Update Number of Parameters in GBM MOJO Test (#<I>)
py
diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py index <HASH>..<HASH> 100644 --- a/pandas/core/internals/managers.py +++ b/pandas/core/internals/managers.py @@ -1568,7 +1568,7 @@ class SingleBlockManager(BlockManager): blk = self._block array = blk._slice(slobj) - ...
PERF: fix placement when slicing a Series (#<I>)
py
diff --git a/udata/app.py b/udata/app.py index <HASH>..<HASH> 100644 --- a/udata/app.py +++ b/udata/app.py @@ -117,6 +117,9 @@ class UDataJsonEncoder(json.JSONEncoder): # Serialize Raw data for Document and EmbeddedDocument. elif hasattr(obj, '_data'): return obj._data + # Serializ...
Ensure Elasticsearch DSL AttrList are serializable
py
diff --git a/openid/message.py b/openid/message.py index <HASH>..<HASH> 100644 --- a/openid/message.py +++ b/openid/message.py @@ -241,10 +241,7 @@ class Message(object): if ElementTree is None: raise RuntimeError('This function requires ElementTree.') - form = ElementTree.Element('form',...
[project @ Disallow override of charset and enctype in HTML form generation]
py
diff --git a/impala/hiveserver2.py b/impala/hiveserver2.py index <HASH>..<HASH> 100644 --- a/impala/hiveserver2.py +++ b/impala/hiveserver2.py @@ -218,7 +218,8 @@ class HiveServer2Cursor(Cursor): self._last_operation_string = operation op = self.session.execute(self._last_operation_strin...
Pass async arg so that we're actually async.
py
diff --git a/examples/images.py b/examples/images.py index <HASH>..<HASH> 100755 --- a/examples/images.py +++ b/examples/images.py @@ -48,7 +48,7 @@ else: sprite = kurt.Sprite(p, "frames") p.sprites.append(sprite) - for image_path in every_other(image_paths): + for image_path in image_paths: ...
images.py: fix so every image is converted, not "every other"
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -243,6 +243,7 @@ import pprint import shutil import traceback import yaml +from itertools import izip_longest # Import salt libs import salt.payload @@ -658,7 +659,7 @@ def _u...
Fix salt.state.file._unify_sources_and_hashes when sources is used without sources_hashes
py
diff --git a/pygsp/graphs/graph.py b/pygsp/graphs/graph.py index <HASH>..<HASH> 100644 --- a/pygsp/graphs/graph.py +++ b/pygsp/graphs/graph.py @@ -130,7 +130,7 @@ class Graph(fourier.GraphFourier, difference.GraphDifference): def to_networkx(self): r"""Export the graph to an `Networkx <https://networkx.gi...
Update pygsp/graphs/graph.py accept change
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ latest_changes = '\n\n\n'.join(changes[:3]) setup(name='django-future', - version='0.1.1', + version='0.1.3', description='Scheduled jobs in Django', long_description=open('README').read() +...
Bumped version to <I>.
py
diff --git a/tests/pod_users_test.py b/tests/pod_users_test.py index <HASH>..<HASH> 100644 --- a/tests/pod_users_test.py +++ b/tests/pod_users_test.py @@ -26,8 +26,10 @@ class Pod_Users_test(unittest.TestCase): def test_get_user_id_by_email(self): ''' test get_user_id_by_email ''' # register resp...
fixing test to be more sane
py
diff --git a/flask_unchained/decorators.py b/flask_unchained/decorators.py index <HASH>..<HASH> 100644 --- a/flask_unchained/decorators.py +++ b/flask_unchained/decorators.py @@ -25,7 +25,7 @@ def param_converter(*decorator_args, **decorator_kwargs): For example:: - @bp.route('/users/<int:user_id>/posts...
update docstring (wow thats old code!)
py
diff --git a/swift/storage.py b/swift/storage.py index <HASH>..<HASH> 100644 --- a/swift/storage.py +++ b/swift/storage.py @@ -53,7 +53,7 @@ class SwiftStorage(Storage): content_type_from_fd = setting('SWIFT_CONTENT_TYPE_FROM_FD', False) _token_creation_time = 0 _token = '' - name_prefix = setting('SW...
add name prefix in makedir, also default to empty string instead of None (so + operator works..)
py
diff --git a/blargg/admin.py b/blargg/admin.py index <HASH>..<HASH> 100644 --- a/blargg/admin.py +++ b/blargg/admin.py @@ -9,9 +9,11 @@ class TagAdmin(admin.ModelAdmin): class EntryAdmin(admin.ModelAdmin): list_display = ( - 'title', 'author', 'published', 'published_on', 'updated_on') + 'title', ...
list and filter by content format in the admin
py
diff --git a/config.py b/config.py index <HASH>..<HASH> 100644 --- a/config.py +++ b/config.py @@ -60,9 +60,10 @@ PLUGINS = [ # Don't load any of the plugins in this list. Same options as above. PLUGIN_BLACKLIST = [ - # "will.plugins.friendly.cookies", # But who would deprive will of cookies?? - "will....
add bitly to blacklist list & docs indent pep8'ed
py