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
@@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='cflib',
- version='0.1.7',
+ version='0.1.8',
packages=find_packages(exclude=['examples', 'tests']),
description='Crazyflie python driver', | Bumped version to <I> | py |
diff --git a/scout/commands/update/case.py b/scout/commands/update/case.py
index <HASH>..<HASH> 100644
--- a/scout/commands/update/case.py
+++ b/scout/commands/update/case.py
@@ -52,7 +52,7 @@ def case(context, case_id, case_name, institute, collaborator, vcf, vcf_sv,
if not case_id:
if not (case_name and... | click.abort instead of return | py |
diff --git a/tests/test_conformance.py b/tests/test_conformance.py
index <HASH>..<HASH> 100644
--- a/tests/test_conformance.py
+++ b/tests/test_conformance.py
@@ -1,3 +1,4 @@
+# encoding: utf8
from unittest import main
from base import Base
@@ -489,6 +490,21 @@ A
A
'''.lstrip())
+ def test_filter_uni... | Test passing unicode to coffeescript. | py |
diff --git a/dataviews/views.py b/dataviews/views.py
index <HASH>..<HASH> 100644
--- a/dataviews/views.py
+++ b/dataviews/views.py
@@ -3,6 +3,7 @@ Views objects used to hold data and provide indexing into different coordinate
systems.
"""
import math
+import itertools
from collections import OrderedDict, defaultdic... | Added all_keys property to Grid to find keys of all Grid elements | py |
diff --git a/LiSE/LiSE/character.py b/LiSE/LiSE/character.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/character.py
+++ b/LiSE/LiSE/character.py
@@ -196,6 +196,8 @@ class CharacterThingMapping(MutableMapping, RuleFollower):
yield n
return
(branch, tick) = self.engine.time
+ ... | properly stop iterating if there's nothing to iterate over Those are defaultdicts. They don't raise KeyError when you try to look up a key that isn't in them. | py |
diff --git a/soapbox/models.py b/soapbox/models.py
index <HASH>..<HASH> 100644
--- a/soapbox/models.py
+++ b/soapbox/models.py
@@ -39,11 +39,10 @@ class MessageManager(models.Manager):
URL.
"""
- results = set()
- for message in self.active():
- if message.is_global or messa... | Slightly cleaner approach to message matching. This also has the side effect of explicitly breaking Python <I> compatibility, which should not break anyone's install since Python <I> is unsupported by any current version of Django, but is worth noting. | py |
diff --git a/vncdotool/rfb.py b/vncdotool/rfb.py
index <HASH>..<HASH> 100644
--- a/vncdotool/rfb.py
+++ b/vncdotool/rfb.py
@@ -141,7 +141,7 @@ class RFBClient(Protocol):
log.msg("Using protocol version %.3f" % version)
parts = str(version).split('.')
self.transport.write(
- ... | RFB Python3 fix: tuple issue addressed, key issue addressed | py |
diff --git a/tests/basics/object_new.py b/tests/basics/object_new.py
index <HASH>..<HASH> 100644
--- a/tests/basics/object_new.py
+++ b/tests/basics/object_new.py
@@ -12,6 +12,11 @@ except AttributeError:
class Foo:
+ def __new__(cls):
+ # Should not be called in this test
+ print("in __new__")
+ ... | tests/object_new: Better messages, check user __new__() method. Make messages more verbose and easier to follow and check that user class' __new__() is not called by object.__new__(user_class). | py |
diff --git a/test/full_test.py b/test/full_test.py
index <HASH>..<HASH> 100755
--- a/test/full_test.py
+++ b/test/full_test.py
@@ -95,8 +95,8 @@ def run_canonical_tests(mode, checker, protocol, cores, slices):
"cores" : cores,
"slices" : slices,
... | corruption test with the memcache client just takes forever... | py |
diff --git a/masonite/drivers/SessionMemoryDriver.py b/masonite/drivers/SessionMemoryDriver.py
index <HASH>..<HASH> 100644
--- a/masonite/drivers/SessionMemoryDriver.py
+++ b/masonite/drivers/SessionMemoryDriver.py
@@ -98,20 +98,30 @@ class SessionMemoryDriver(SessionContract):
ip = self.__get_client_address... | added comments and new check for memory driver data collection | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -174,6 +174,7 @@ console or advanced editor, in your own software.
"""),
download_url=__website_url__ + "#fh5co-download",
author="The Spyder Project Contributors",
+ author_email="spyderlib@googlegroups.com",
... | Add back author email with Google Groups one | py |
diff --git a/ariba/summary.py b/ariba/summary.py
index <HASH>..<HASH> 100644
--- a/ariba/summary.py
+++ b/ariba/summary.py
@@ -192,7 +192,7 @@ class Summary:
if self.show_known_het and (cluster, variant) in all_het_snps:
rows[filename][cluster][key + '.%'] =... | bug fix not adding % column for some samples | py |
diff --git a/rootpy/hep/vector.py b/rootpy/hep/vector.py
index <HASH>..<HASH> 100644
--- a/rootpy/hep/vector.py
+++ b/rootpy/hep/vector.py
@@ -50,3 +50,11 @@ class FourVector(TLorentzVector):
_copy = TLorentzVector(self)
_copy.__class__ = self.__class__
return _copy
+
+ def __repr__(self):... | add repr to FourVector | py |
diff --git a/newick.py b/newick.py
index <HASH>..<HASH> 100644
--- a/newick.py
+++ b/newick.py
@@ -194,7 +194,7 @@ class Node(object):
n.length += father.length
if grandfather:
for i,child in enumerate(grandfather.descendants):
- if id(ch... | more pythonic version, following @xrotwang's suggestion | py |
diff --git a/simpleyapsy/plugin_manager.py b/simpleyapsy/plugin_manager.py
index <HASH>..<HASH> 100644
--- a/simpleyapsy/plugin_manager.py
+++ b/simpleyapsy/plugin_manager.py
@@ -26,13 +26,6 @@ class PluginManager(object):
if plugin not in self.blacklisted_plugins:
self.plugins.append(plug... | removed get active plugins from plugin manager | py |
diff --git a/netpyne/sim/save.py b/netpyne/sim/save.py
index <HASH>..<HASH> 100644
--- a/netpyne/sim/save.py
+++ b/netpyne/sim/save.py
@@ -321,6 +321,8 @@ def compactConnFormat():
del cell.conns
cell.conns = newConns
+_previousIntervalSaveFile = None
+
#---------------------------------------------... | delete data from previous interval saves after new save | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,19 +21,22 @@ def read(*names, **kwargs):
encoding=kwargs.get('encoding', 'utf8')
).read()
+def get_version():
+ f = open("VERSION","r")
+ return f.read().strip()
setup(
name='pypachy',
- ve... | Update pypi setup script | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ TESTS_REQUIRE = [
'mock>=2.0.0' if sys.version_info.major == 2 else None,
]
-with codecs.open('README.rst', encoding='utf-8') as file:
+with codecs.open('README.md', encoding='utf-8') as file:
README ... | setup.py: Fix path to readme | py |
diff --git a/moderngl/context.py b/moderngl/context.py
index <HASH>..<HASH> 100644
--- a/moderngl/context.py
+++ b/moderngl/context.py
@@ -1392,8 +1392,7 @@ class Context:
def create_context(require=None, standalone=False, share=False, **settings) -> Context:
'''
Create a ModernGL context by loading Open... | Outdated context api docs | py |
diff --git a/ca/django_ca/tests/tests_extensions.py b/ca/django_ca/tests/tests_extensions.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/tests/tests_extensions.py
+++ b/ca/django_ca/tests/tests_extensions.py
@@ -44,6 +44,7 @@ from ..extensions import SubjectAlternativeName
from ..extensions import SubjectKeyIdentif... | skip test in cryptography<<I> | py |
diff --git a/test/test_docker_actions.py b/test/test_docker_actions.py
index <HASH>..<HASH> 100644
--- a/test/test_docker_actions.py
+++ b/test/test_docker_actions.py
@@ -33,7 +33,12 @@ from contextlib import contextmanager
from sos.sos_script import SoS_Script
from sos.utils import env
-from sos.docker.client impo... | Fix appveyor for docker tests | py |
diff --git a/tests/from_dict_test.py b/tests/from_dict_test.py
index <HASH>..<HASH> 100644
--- a/tests/from_dict_test.py
+++ b/tests/from_dict_test.py
@@ -5,5 +5,5 @@ def test_from_dict():
data = {'A': [1, 2, 3], 'B': ['a', 'b', 'c']}
ds = vaex.from_dict(data)
assert 'A' in ds.get_column_names()
- ass... | Fixing the from_dict unit-test to account for the ordering of the dictionary. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ from setuptools import setup
setup(
name='onecodex',
- version='0.0.5',
+ version='0.0.6',
url='https://www.onecodex.com/',
license='MIT',
author='Reference Genomics, Inc.', | Bump to <I> for PyPI release. | py |
diff --git a/acky/ec2.py b/acky/ec2.py
index <HASH>..<HASH> 100644
--- a/acky/ec2.py
+++ b/acky/ec2.py
@@ -181,8 +181,7 @@ class InstanceCollection(AwsCollection, EC2ApiClient):
class KeyPairCollection(AwsCollection, EC2ApiClient):
def get(self, filters=None):
- # returns (key_info, ...)
- # Descr... | Implemented get, create, and destroy methods on acky.ec2.KeyPairCollection. | py |
diff --git a/bittrex/bittrex.py b/bittrex/bittrex.py
index <HASH>..<HASH> 100644
--- a/bittrex/bittrex.py
+++ b/bittrex/bittrex.py
@@ -5,7 +5,7 @@
import time
import hmac
import hashlib
-
+import sys
try:
from urllib import urlencode
except ImportError:
@@ -147,9 +147,17 @@ class Bittrex(object):
req... | Fix for INVALID_SIGNATURE in python3.x.x (#<I>) | py |
diff --git a/src/toil/jobStores/aws/jobStore.py b/src/toil/jobStores/aws/jobStore.py
index <HASH>..<HASH> 100644
--- a/src/toil/jobStores/aws/jobStore.py
+++ b/src/toil/jobStores/aws/jobStore.py
@@ -758,7 +758,7 @@ class AWSJobStore(AbstractJobStore):
readStatsFileOwnerID = uuid.UUID('e77fc3aa-d232-4255-ae04-f64ee... | Update jobStore.py With __future__, str() is producing a future.types.newstr.newstr in Python 2, rather than str, which is required by uuid5. I am not sure why the str() was there. | py |
diff --git a/mordred/mordred.py b/mordred/mordred.py
index <HASH>..<HASH> 100755
--- a/mordred/mordred.py
+++ b/mordred/mordred.py
@@ -209,6 +209,18 @@ class Mordred:
# Checking for exceptions in threads to log them
self.__check_queue_for_errors()
+ # Empty the shared queues. They must have j... | [mordred] Clean the threads shared queues once the execution is finished The queues used to share the SH uuids and the data sources to refresh must be cleaned after the initial tasks execution. | py |
diff --git a/insteonplm/devices/dimmableLightingControl.py b/insteonplm/devices/dimmableLightingControl.py
index <HASH>..<HASH> 100644
--- a/insteonplm/devices/dimmableLightingControl.py
+++ b/insteonplm/devices/dimmableLightingControl.py
@@ -93,7 +93,7 @@ class DimmableLightingControl(DeviceBase):
def _light_of... | Send device id not msg.address | py |
diff --git a/src/scs_core/__init__.py b/src/scs_core/__init__.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/__init__.py
+++ b/src/scs_core/__init__.py
@@ -6,4 +6,4 @@ Created on 3 May 2021
https://packaging.python.org/guides/single-sourcing-package-version/
"""
-__version__ = '1.0.10'
+__version__ = '1.0.11' | Added modem signal to status report | py |
diff --git a/icekit/publishing/apps.py b/icekit/publishing/apps.py
index <HASH>..<HASH> 100644
--- a/icekit/publishing/apps.py
+++ b/icekit/publishing/apps.py
@@ -36,10 +36,9 @@ class AppConfig(AppConfig):
super(AppConfig, self).__init__(*args, **kwargs)
def ready(self):
- # Monkey-patch workarou... | Fix translation update failures on partially-published items, re #5 #<I> | py |
diff --git a/Python/phate/phate.py b/Python/phate/phate.py
index <HASH>..<HASH> 100644
--- a/Python/phate/phate.py
+++ b/Python/phate/phate.py
@@ -544,6 +544,7 @@ class PHATE(BaseEstimator):
precomputed = "distance"
else:
precomputed = "affinity"
+ log_info("Usi... | Info message to notify type of precomputed matrix | py |
diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -27,7 +27,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (3, 1, 2)
+version_info = (3, 1, 3, "dev0")
__vers... | Back to work [ci skip] | py |
diff --git a/tests/test_session.py b/tests/test_session.py
index <HASH>..<HASH> 100644
--- a/tests/test_session.py
+++ b/tests/test_session.py
@@ -2,9 +2,12 @@
# coding: utf8
import geocoder
-from unittest import mock
import requests
+try:
+ import mock
+except ImportError:
+ from unittest import mock
a... | Changed import to be compatible with python <I> | py |
diff --git a/angr/analysis.py b/angr/analysis.py
index <HASH>..<HASH> 100644
--- a/angr/analysis.py
+++ b/angr/analysis.py
@@ -75,7 +75,7 @@ class Analyses(object):
@param kwargs: keyword arguments to pass to the analysis
@returns the analysis results (an instance of a subclass of the ... | replace 'fast_fail' with 'fail_fast' | py |
diff --git a/karaage/people/views/user.py b/karaage/people/views/user.py
index <HASH>..<HASH> 100644
--- a/karaage/people/views/user.py
+++ b/karaage/people/views/user.py
@@ -89,6 +89,7 @@ def profile(request):
return render_to_response('people/profile.html', locals(), context_instance=RequestContext(request))
... | Add missing login required checks. Not possible for anonymous user to change their password. | py |
diff --git a/src/rostful_node/rostful_node_process.py b/src/rostful_node/rostful_node_process.py
index <HASH>..<HASH> 100644
--- a/src/rostful_node/rostful_node_process.py
+++ b/src/rostful_node/rostful_node_process.py
@@ -76,6 +76,7 @@ class RostfulNodeProcess(object):
check_init,
... | adding log to show rostful node process finishing. | py |
diff --git a/simpl/config.py b/simpl/config.py
index <HASH>..<HASH> 100644
--- a/simpl/config.py
+++ b/simpl/config.py
@@ -870,7 +870,7 @@ def current():
return SINGLETON
-def main():
+def main(): # pragma: no cover
"""Simple tests."""
opts = [
Option('--foo'),
@@ -891,5 +891,5 @@ def main(... | fix(config): increase test coverage - exclude test code | py |
diff --git a/commands.py b/commands.py
index <HASH>..<HASH> 100755
--- a/commands.py
+++ b/commands.py
@@ -40,8 +40,8 @@ def virtualenv(config, where='.env', python='python3', overwrite=False):
@command
-def install(config, where='.env', upgrade=False, overwrite=False):
- virtualenv(config, where=where, overwri... | Add --python option to install command Pass through to virtualenv command. | py |
diff --git a/ipyvolume/embed.py b/ipyvolume/embed.py
index <HASH>..<HASH> 100644
--- a/ipyvolume/embed.py
+++ b/ipyvolume/embed.py
@@ -124,7 +124,7 @@ def add_referring_widgets(states, drop_defaults=False):
return found_new
def embed_html(filename, widgets, drop_defaults=False, all=False, title="ipyvolume embed e... | use jupyter-js-widget ~<I>-alpha0 for embedding | py |
diff --git a/discord_bind/tests/test_index_view.py b/discord_bind/tests/test_index_view.py
index <HASH>..<HASH> 100644
--- a/discord_bind/tests/test_index_view.py
+++ b/discord_bind/tests/test_index_view.py
@@ -109,6 +109,16 @@ class TestAuthorizationRequest(TestCase):
self.assertEqual('https://discordapp.... | Added tests for redirect_uri manipulation. | py |
diff --git a/lark/lark.py b/lark/lark.py
index <HASH>..<HASH> 100644
--- a/lark/lark.py
+++ b/lark/lark.py
@@ -44,8 +44,9 @@ class LarkOptions(Serialize):
Applies the transformer to every parse tree (equivalent to applying it after the parse, but faster)
propagate_positions
Propagates (li... | Fixed Lark's docstring for propagate_positions | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -96,14 +96,14 @@ class Minion(object):
return ret
# Verify that the publication applies to this minion
if data.has_key('tgt_type'):
- if not apply(self, '_' + d... | Fix regex issue with impropper use of getattr, remove apply functions, they are deprecated | py |
diff --git a/porespy/generators/__imgen__.py b/porespy/generators/__imgen__.py
index <HASH>..<HASH> 100644
--- a/porespy/generators/__imgen__.py
+++ b/porespy/generators/__imgen__.py
@@ -484,12 +484,12 @@ def overlapping_spheres(shape: List[int], radius: int, porosity: float,
N = int(sp.ceil((1 - porosity)*bulk_vo... | Better parameters for Newton's method for faster convergence/robustness | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -25,17 +25,16 @@ setup(
'modeltranslation.management.commands'],
package_data={'modeltranslation': ['static/modeltranslation/css/*.css',
'static/modeltranslation/js/*... | Updated supported Django and Python version. | py |
diff --git a/pyls/python_ls.py b/pyls/python_ls.py
index <HASH>..<HASH> 100644
--- a/pyls/python_ls.py
+++ b/pyls/python_ls.py
@@ -149,7 +149,7 @@ class PythonLanguageServer(LanguageServer):
return self.signature_help(textDocument['uri'], position)
def m_workspace__did_change_configuration(self, setting... | Fix didChangeConfiguration (#<I>) | py |
diff --git a/angr/surveyors/slicecutor.py b/angr/surveyors/slicecutor.py
index <HASH>..<HASH> 100644
--- a/angr/surveyors/slicecutor.py
+++ b/angr/surveyors/slicecutor.py
@@ -54,7 +54,7 @@ class Slicecutor(Surveyor):
'''The Slicecutor is a surveyor that executes provided code slices.'''
def __init__(self, project... | Fix: actually take start path into consideration in Slicecutor | py |
diff --git a/cattr/multistrategy_dispatch.py b/cattr/multistrategy_dispatch.py
index <HASH>..<HASH> 100644
--- a/cattr/multistrategy_dispatch.py
+++ b/cattr/multistrategy_dispatch.py
@@ -2,7 +2,6 @@ import attr
from .function_dispatch import FunctionDispatch
from ._compat import singledispatch
-
@attr.s
class _Di... | using attrs for classes where it can be, and adding more info to HISTORY.rst. | py |
diff --git a/src/flapjack/authentication/basic.py b/src/flapjack/authentication/basic.py
index <HASH>..<HASH> 100644
--- a/src/flapjack/authentication/basic.py
+++ b/src/flapjack/authentication/basic.py
@@ -34,7 +34,7 @@ class Basic(base.Base):
super(Basic, self).__init__(self, **kwargs)
def can_authent... | Small fix (looks the other way) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,7 @@ setup(
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
... | Add support mention of Python <I> | py |
diff --git a/src/google_music/api.py b/src/google_music/api.py
index <HASH>..<HASH> 100644
--- a/src/google_music/api.py
+++ b/src/google_music/api.py
@@ -18,7 +18,7 @@ def mobileclient(username='', device_id=None, *, token=None, locale='en_US'):
responses. This must be a locale supported by Android. Default: `'en_... | Fix class reference in docstrings | py |
diff --git a/api.py b/api.py
index <HASH>..<HASH> 100644
--- a/api.py
+++ b/api.py
@@ -32,7 +32,7 @@ import logging
log = logging.getLogger(__name__)
# URLs copied to ensure independence of module
-articleset_url = 'projects/{project}/sets/'
+articleset_url = 'projects/{project}/articlesets/'
article_url = article... | change articleset_url from .../sets/ to .../articlesets/ | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ def check_setuptools():
check_setuptools()
setup(name='instana',
- version='1.10.5',
+ version='1.10.6',
url='https://www.instana.com/',
project_urls={
'CI: Travis': 'https... | Bump package version to <I> | py |
diff --git a/LiSE/core.py b/LiSE/core.py
index <HASH>..<HASH> 100644
--- a/LiSE/core.py
+++ b/LiSE/core.py
@@ -500,7 +500,7 @@ class Engine(object):
def time(self, v):
"""Set my gorm's ``branch`` and ``tick``, and call listeners"""
self.locktime = True
- (self.gorm.branch, self.gorm.rev) =... | Just because you're updating branch and tick at once, doesn't mean either of them needs to hit the disk | py |
diff --git a/metaknowledge/record.py b/metaknowledge/record.py
index <HASH>..<HASH> 100644
--- a/metaknowledge/record.py
+++ b/metaknowledge/record.py
@@ -378,7 +378,7 @@ class Record(object):
> An open utf-8 encoded file
"""
if self.bad:
- raise Exception
+ raise BadISI... | Record exception made less vague Former-commit-id: a<I>b<I>b<I>d<I>aa0b<I>cf7e6cb<I>edc6 | py |
diff --git a/pyemma/coordinates/api.py b/pyemma/coordinates/api.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/api.py
+++ b/pyemma/coordinates/api.py
@@ -1220,7 +1220,7 @@ def tica(data=None, lag=10, dim=-1, var_cutoff=0.95, kinetic_map=True, commute_m
def covariance_lagged(data=None, c00=True, c0t=True, ... | [lagged_covar, api] set chunksize to an integer to fix a bug. If chunksize is set to None, estimate is not callable after the object is constructed. | py |
diff --git a/discord/user.py b/discord/user.py
index <HASH>..<HASH> 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -120,12 +120,15 @@ class User(discord.abc.Messageable):
@property
def avatar_url(self):
- """Returns a friendly URL version of the avatar variable the user has. An empty string if... | Return default avatar URL if an avatar is not given for User.avatar_url Also use the CDN URL like Jake has always requested. | py |
diff --git a/autofit/tools/pipeline.py b/autofit/tools/pipeline.py
index <HASH>..<HASH> 100644
--- a/autofit/tools/pipeline.py
+++ b/autofit/tools/pipeline.py
@@ -158,6 +158,10 @@ class Pipeline:
)
def run(self, dataset):
+ for ph in self.phases:
+ with open(ph.paths.file_model_info, "... | save model.infos when pipeline is run | py |
diff --git a/patroni/version.py b/patroni/version.py
index <HASH>..<HASH> 100644
--- a/patroni/version.py
+++ b/patroni/version.py
@@ -1 +1 @@
-__version__ = '0.80'
+__version__ = '0.90' | Bumped version to <I> | py |
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index <HASH>..<HASH> 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -81,8 +81,9 @@ class Datapath(object):
self.address = address
self.is_active = True
- # XIX limit queue size somehow to... | limit the queue size (send_q) cbench in throughtput mode doesn't work with ryu. We need to limit queue size to prevent the queue from eating memory up. The size is arbitrary. It can be the startup parameter. But I think that we should solve this in the better way. So let's not make it global for now | py |
diff --git a/searx/network/network.py b/searx/network/network.py
index <HASH>..<HASH> 100644
--- a/searx/network/network.py
+++ b/searx/network/network.py
@@ -167,8 +167,7 @@ class Network:
for transport in client._mounts.values(): # pylint: disable=protected-access
if isinstance(transport, Async... | Fix Tor proxy when using httpx <I>.x (#<I>) ## What does this PR do? This should fix #<I>. The problem is that `httpx` keeps making breaking changes to their library, so we just have to adjust the code a little bit to make it work with the new version of the library. ## Related issues Closes #<I> | py |
diff --git a/salt/states/user.py b/salt/states/user.py
index <HASH>..<HASH> 100644
--- a/salt/states/user.py
+++ b/salt/states/user.py
@@ -125,7 +125,7 @@ def _changes(name,
change['inactdays'] = inactdays
if warndays is not 7 and lshad['warn'] != warndays:
change['warndays'] = warnda... | typo fixes in salt/states/user.py | py |
diff --git a/iptools/__init__.py b/iptools/__init__.py
index <HASH>..<HASH> 100644
--- a/iptools/__init__.py
+++ b/iptools/__init__.py
@@ -23,7 +23,7 @@
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY... | Bumping version post-release. | py |
diff --git a/samsungctl/__main__.py b/samsungctl/__main__.py
index <HASH>..<HASH> 100644
--- a/samsungctl/__main__.py
+++ b/samsungctl/__main__.py
@@ -95,4 +95,5 @@ def main():
for key in args.key:
remote.control(key)
-main()
+if __name__ == "__main__":
+ main() | Call main function only if running as __main__ | py |
diff --git a/treeherder/perf/management/commands/import_perf_data.py b/treeherder/perf/management/commands/import_perf_data.py
index <HASH>..<HASH> 100644
--- a/treeherder/perf/management/commands/import_perf_data.py
+++ b/treeherder/perf/management/commands/import_perf_data.py
@@ -154,6 +154,9 @@ class Command(BaseCom... | Bug <I> - Disable import_perf_data because it's broken (#<I>) | py |
diff --git a/opbeat/contrib/flask/__init__.py b/opbeat/contrib/flask/__init__.py
index <HASH>..<HASH> 100644
--- a/opbeat/contrib/flask/__init__.py
+++ b/opbeat/contrib/flask/__init__.py
@@ -176,12 +176,7 @@ class Opbeat(object):
self.client.begin_transaction("transaction.flask")
def request_finished(se... | Use "rule" for transaction name instead of the view_func. | py |
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/consumer.py
+++ b/openid/consumer/consumer.py
@@ -125,14 +125,17 @@ USING THIS LIBRARY
is entered in that field and the form is submitted, it should make
a request to the your site which in... | [project @ Fixed docstring Consumer regarding session object] | py |
diff --git a/simple_rest/response.py b/simple_rest/response.py
index <HASH>..<HASH> 100644
--- a/simple_rest/response.py
+++ b/simple_rest/response.py
@@ -65,7 +65,7 @@ class RESTfulResponse(object):
results = view_func(request, *args, **kwargs)
except HttpError, e:
... | Fixed a small bug with HttpError objects and content negotiation If the user was using content negotiation and threw an HttpError and did not provide a message, None would be returned to the client rather than just an empty message body. This commit fixes that issue. | py |
diff --git a/stellar_base/horizon.py b/stellar_base/horizon.py
index <HASH>..<HASH> 100644
--- a/stellar_base/horizon.py
+++ b/stellar_base/horizon.py
@@ -37,7 +37,7 @@ class Horizon (object):
def submit(self, te):
params = {'tx': te}
url = self.horizon + '/transactions/'
- p = requests.po... | Fix horizon that skipped params in request.post | py |
diff --git a/cms7/modules/blog.py b/cms7/modules/blog.py
index <HASH>..<HASH> 100644
--- a/cms7/modules/blog.py
+++ b/cms7/modules/blog.py
@@ -67,6 +67,24 @@ class ArticleWrapper:
def url(self):
return self.gs.url_for(self.name)
+ @property
+ def newer(self):
+ try:
+ return Arti... | expose newer and older articles in api | py |
diff --git a/sixpack/web.py b/sixpack/web.py
index <HASH>..<HASH> 100644
--- a/sixpack/web.py
+++ b/sixpack/web.py
@@ -11,7 +11,7 @@ import utils
app = Flask(__name__)
csrf = SeaSurf(app)
-js = Bundle('js/jquery.js', 'js/d3.js', 'js/bootstrap.js',
+js = Bundle('js/jquery.js', 'js/d3.js',
'js/bootstrap.... | don't include boostrap.js twice | py |
diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/shell_plus.py
+++ b/django_extensions/management/commands/shell_plus.py
@@ -218,7 +218,7 @@ class Command(NoArgsCommand):
... | fix print statement for python3 | py |
diff --git a/pyinfra/api/util.py b/pyinfra/api/util.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/util.py
+++ b/pyinfra/api/util.py
@@ -42,23 +42,21 @@ def get_template(filename_or_string, is_string=False):
based on the filename of the template, or the SHA1 of the input string.
'''
- if is_string:
- ... | Don't read cached template files. | py |
diff --git a/tensorflow_probability/python/distributions/finite_discrete_test.py b/tensorflow_probability/python/distributions/finite_discrete_test.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/finite_discrete_test.py
+++ b/tensorflow_probability/python/distributions/finite_discrete_t... | Avoid triggering two validation assertions in a single TF graph. This was happening in finite_discrete_test on an example where `outcomes` was both too small and incompatible in shape with `probs`. This was bad because the TF runtime would execute the assertions in an unpredictable order, sometimes triggering the one... | py |
diff --git a/openstatesapi/bills.py b/openstatesapi/bills.py
index <HASH>..<HASH> 100644
--- a/openstatesapi/bills.py
+++ b/openstatesapi/bills.py
@@ -73,6 +73,8 @@ class OpenstatesBillScraper(OpenstatesBaseScraper):
classification = ['joint resolution']
if classification == ['legislative resoluti... | NH: Handle 'address'-type Bills' | py |
diff --git a/formats/fql.py b/formats/fql.py
index <HASH>..<HASH> 100644
--- a/formats/fql.py
+++ b/formats/fql.py
@@ -35,7 +35,7 @@ MASK_LITERAL = 1
MASK_EXPRESSION = 2
MAXEXPANSION = 99
-FOLIAVERSION = '0.12.1'
+FOLIAVERSION = '1.0.0'
FQLVERSION = '0.2.5'
class SyntaxError(Exception): | FQL tracks folia version | py |
diff --git a/securesystemslib/hash.py b/securesystemslib/hash.py
index <HASH>..<HASH> 100755
--- a/securesystemslib/hash.py
+++ b/securesystemslib/hash.py
@@ -144,8 +144,13 @@ def digest_fileobject(file_object, algorithm=DEFAULT_HASH_ALGORITHM,
hash_library:
The library providing the hash algorithms (e.g., ... | DOC: Clear warning for line ending normalization option in hash.digest_filename(). To avoid security issues. | 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 setup
setup(
name='algorithmia',
- version='1.3.0',
+ version='1.4.0',
description='Algorithmia Python Client',
long_description='Algorithmia Python Client is a clien... | Update minor version, and remove beta classification (#<I>) | py |
diff --git a/salt/modules/git.py b/salt/modules/git.py
index <HASH>..<HASH> 100644
--- a/salt/modules/git.py
+++ b/salt/modules/git.py
@@ -173,7 +173,7 @@ def clone(cwd, repository, opts=None, user=None, identity=None):
if not opts:
opts = ''
- cmd = 'git clone {0} {1} {2}'.format(repository, cwd, op... | Fix quoting problem in git.clone | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def install():
desc = googletrans.__doc__
setup(
name='py-googletrans',
- version='1.0',
+ version='1.0.1',
description=desc,
long_description=desc,
auth... | add version <I> for pypi release | py |
diff --git a/shoebot/data/bezier.py b/shoebot/data/bezier.py
index <HASH>..<HASH> 100644
--- a/shoebot/data/bezier.py
+++ b/shoebot/data/bezier.py
@@ -272,7 +272,7 @@ class ClippingPath(BezierPath):
class EndClip(Grob):
def __init__(self, canvas, **kwargs):
- Grob.__init__(canvas = canvas)
+ Grob.... | Wasn't passing self to EndClip | py |
diff --git a/odl/operator/operator.py b/odl/operator/operator.py
index <HASH>..<HASH> 100644
--- a/odl/operator/operator.py
+++ b/odl/operator/operator.py
@@ -1642,6 +1642,11 @@ class OperatorRightScalarMult(Operator):
'operator domain {!r}'
''.format(tm... | ENH: Add optimization for OperatorRightScalar mult repeatedly | py |
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -28,7 +28,7 @@ class SELinux(Plugin, RedHatPlugin):
self.add_cmd_output('sestatus')
state = self.get_command_output('getenforce')['output']
- i... | [selinux] string comparison using != Relevant to: #<I> | py |
diff --git a/src/webcolors.py b/src/webcolors.py
index <HASH>..<HASH> 100644
--- a/src/webcolors.py
+++ b/src/webcolors.py
@@ -8,32 +8,6 @@ details of the supported formats, conventions and conversions.
"""
-# Stylistic notes:
-#
-# The HTML5 algorithms are implemented as direct translations into
-# Python of the ... | Remove mostly-pointless long comment. | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -162,6 +162,7 @@ def create_job(user_name="openquake", log_level='progress'):
:class:`openquake.engine.db.models.OqJob` instance.
"""
r... | More work on calc_id <-> job_id | py |
diff --git a/niftypet/nimpa/prc/prc.py b/niftypet/nimpa/prc/prc.py
index <HASH>..<HASH> 100644
--- a/niftypet/nimpa/prc/prc.py
+++ b/niftypet/nimpa/prc/prc.py
@@ -253,6 +253,8 @@ def imtrimup( fims,
except ValueError:
ix0, ix1, iy0, iy1, iz0, scale, fmax = (num(s) for s in parstr)
... | adding exception in image trimming in prc.py | py |
diff --git a/sorna/proto/serialize.py b/sorna/proto/serialize.py
index <HASH>..<HASH> 100644
--- a/sorna/proto/serialize.py
+++ b/sorna/proto/serialize.py
@@ -37,8 +37,8 @@ class Message(UserDict):
return m
def encode(self):
- return bytes(json.dumps(self.data, ensure_ascii=False),
- ... | Fix a potential bug when json string has non-UTF8 characters. * Our sorna-agent error logs contain a case with this unhandled encoding errors, which would cause the agent to stop working. | py |
diff --git a/edisgo/network/timeseries.py b/edisgo/network/timeseries.py
index <HASH>..<HASH> 100644
--- a/edisgo/network/timeseries.py
+++ b/edisgo/network/timeseries.py
@@ -320,9 +320,9 @@ class TimeSeries:
Series with residual load in MW.
"""
- return self.generators_active_power.sum(a... | Return residual load for set timeindex only | py |
diff --git a/scriptabit/habitica_task_service.py b/scriptabit/habitica_task_service.py
index <HASH>..<HASH> 100644
--- a/scriptabit/habitica_task_service.py
+++ b/scriptabit/habitica_task_service.py
@@ -52,6 +52,10 @@ class HabiticaTaskService(TaskService):
for task in tasks:
td = task.task_dict
... | updating completed habitica tasks prior to scoring them, so that final upstream changes are reflected before the task is completed | py |
diff --git a/salt/cloud/clouds/cloudstack.py b/salt/cloud/clouds/cloudstack.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/cloudstack.py
+++ b/salt/cloud/clouds/cloudstack.py
@@ -271,7 +271,8 @@ def create(vm_):
exc_info_on_loglevel=logging.DEBUG
)
return F... | Fix possibly undefined var Closes #<I> | py |
diff --git a/locksmith/hub/urls.py b/locksmith/hub/urls.py
index <HASH>..<HASH> 100644
--- a/locksmith/hub/urls.py
+++ b/locksmith/hub/urls.py
@@ -1,10 +1,17 @@
from django.conf.urls.defaults import *
-urlpatterns = patterns('locksmith.hub.views',
- url(r'^report_calls/$', 'report_calls', name='report_calls'),
+a... | split urls into analytics and accounts | py |
diff --git a/synapse/cortex.py b/synapse/cortex.py
index <HASH>..<HASH> 100644
--- a/synapse/cortex.py
+++ b/synapse/cortex.py
@@ -86,10 +86,7 @@ def openlink(link):
savefile = link[1].get('savefile')
if savefile != None:
- if not os.path.isfile(savefile):
- savefd = open(savefile,'w+b')
-... | use genfile to make savefd | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -69,6 +69,9 @@ setup(
'Jinja2>=2.9.6',
'wrapt>=1.10.8',
'shellescape>=3.4.1',
+ # XXX: Temporarily pin idna since the latest version of the requests
+ # package (2.18.4) explicitly requ... | Temporarily fix idna requirement | py |
diff --git a/test/test_benchmarks.py b/test/test_benchmarks.py
index <HASH>..<HASH> 100644
--- a/test/test_benchmarks.py
+++ b/test/test_benchmarks.py
@@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function,
import os
+import pstats
import pytest
import six
@@ -66,6 +67,11 @@ def test... | Make sure the profile data is unmarshallable as profile data. | py |
diff --git a/tests/test_tetra.py b/tests/test_tetra.py
index <HASH>..<HASH> 100644
--- a/tests/test_tetra.py
+++ b/tests/test_tetra.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) The James Hutton Institute 2017-2019
-# (c) The University of Strathclude 2019-2020
+# (c) The University of Strat... | fix to resolve pandas deprecation warning | py |
diff --git a/parcellation.py b/parcellation.py
index <HASH>..<HASH> 100755
--- a/parcellation.py
+++ b/parcellation.py
@@ -384,15 +384,13 @@ def hcp2016_make():
return ontid, atlas
def main():
- oper = makeGraph('', {})
- oper.reset_writeloc()
- fs = fmri_atlases()
- c = cocomac_make()
- m = mous... | updated parcellation to use the makeGraph context manager | py |
diff --git a/aiogram/types/message.py b/aiogram/types/message.py
index <HASH>..<HASH> 100644
--- a/aiogram/types/message.py
+++ b/aiogram/types/message.py
@@ -1386,7 +1386,7 @@ class Message(base.TelegramObject):
ReplyKeyboardMarkup,
... | Change False to True at reply_dice | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@ if cffi:
setup(
name='zstandard',
- version='0.2.1',
+ version='0.2.2',
description='Zstandard bindings for Python',
long_description=open('README.rst', 'r').read(),
url='https://git... | Bump release to <I> Just the inclusion of make_cffi.py so we can build CFFI from source distributions. | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -350,8 +350,8 @@ def path_complete(text, line, begidx, endidx, dir_exe_only=False, dir_only=False
# Build the search string
search_str = os.path.join(dirname, text + '*')
- # Expand "~" to the real user dire... | ~ only needs to be expanded if search text was entered | py |
diff --git a/shinken/modules/dummy_broker.py b/shinken/modules/dummy_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/dummy_broker.py
+++ b/shinken/modules/dummy_broker.py
@@ -37,7 +37,7 @@ properties = {
# called by the plugin manager to get a broker
def get_instance(mod_conf):
print "Get a Dummy bro... | fix : the dummy_broker module was not calling a valid __init__. | py |
diff --git a/tests/test_tungsten.py b/tests/test_tungsten.py
index <HASH>..<HASH> 100644
--- a/tests/test_tungsten.py
+++ b/tests/test_tungsten.py
@@ -24,6 +24,12 @@ class TungstenTestSuite(unittest.TestCase):
self.assertFalse(result.success)
self.assertEqual(result.error, 'Invalid appid')
+ def ... | Added test_pi case to tests | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.