diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/test_execution.py b/tests/test_execution.py
index <HASH>..<HASH> 100644
--- a/tests/test_execution.py
+++ b/tests/test_execution.py
@@ -70,7 +70,7 @@ def test_parameter_overrides(cdataset):
assert model2.output['parameters']['beta_3']['estimate'] == 0.0
-def test_tiny_dataset():
+def test_ti... | check dichotomous case as well | py |
diff --git a/python/weka/associations.py b/python/weka/associations.py
index <HASH>..<HASH> 100644
--- a/python/weka/associations.py
+++ b/python/weka/associations.py
@@ -49,7 +49,8 @@ class Associator(OptionHandler):
self.enforce_type(jobject, "weka.associations.Associator")
super(Associator, self)._... | Associator.get_capabilities is now a property: capabilities | py |
diff --git a/jupytext/__init__.py b/jupytext/__init__.py
index <HASH>..<HASH> 100644
--- a/jupytext/__init__.py
+++ b/jupytext/__init__.py
@@ -17,7 +17,7 @@ except ImportError as err:
def load_jupyter_server_extension(app): # pragma: no cover
"""Use Jupytext's contents manager"""
- if isinstance(app.content... | changing isinstance to issubclass the isinstance check `if isinstance(app.contents_manager_class, TextFileContentsManager):` will always fail because app.contents_manager_class is not an instance. Changing this to `if issubclass(app.contents_manager_class, TextFileContentsManager):` will allow others to extend. ... | py |
diff --git a/salt/modules/grains.py b/salt/modules/grains.py
index <HASH>..<HASH> 100644
--- a/salt/modules/grains.py
+++ b/salt/modules/grains.py
@@ -107,6 +107,9 @@ def setval(key, val):
cstr = yaml.safe_dump(grains, default_flow_style=False)
with open(gfn, 'w+') as fp_:
fp_.write(cstr)
+ fn_ = ... | Write the refresh file flag for the running minion | py |
diff --git a/xdot.py b/xdot.py
index <HASH>..<HASH> 100755
--- a/xdot.py
+++ b/xdot.py
@@ -1311,6 +1311,8 @@ class DotWidget(gtk.DrawingArea):
self.filter = filter
def set_dotcode(self, dotcode, filename='<stdin>'):
+ if isinstance(dotcode, unicode):
+ dotcode = dotcode.encode('utf8')
... | Check for unicode (from Jaap Karssenberg). | py |
diff --git a/tests/test_utils.py b/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -142,9 +142,9 @@ def test_is_genesis_block_returns_true_if_genesis(b):
def test_lazy_execution():
from bigchaindb.utils import Lazy
- l = Lazy()
- l.split(',')[1].split... | Fix flake8 ambiguous variable "l" issue | py |
diff --git a/anonymoususage/anonymoususage.py b/anonymoususage/anonymoususage.py
index <HASH>..<HASH> 100644
--- a/anonymoususage/anonymoususage.py
+++ b/anonymoususage/anonymoususage.py
@@ -94,7 +94,13 @@ class AnonymousUsageTracker(object):
"""
Insert a new row into the table of name `key` with valu... | allow __setitem__ to be used to assign a value to a statistic, eg tracker['stat'] = <I> | py |
diff --git a/ELiDE/ELiDE/screen.py b/ELiDE/ELiDE/screen.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/screen.py
+++ b/ELiDE/ELiDE/screen.py
@@ -273,7 +273,7 @@ class MainScreen(Screen):
self.next_turn()
def _update_from_next_turn(self, cmd, branch, turn, tick, ret):
- self.dialoglayout.dialog_... | Fix immediate display of dialog from next_turn | py |
diff --git a/apio/__init__.py b/apio/__init__.py
index <HASH>..<HASH> 100644
--- a/apio/__init__.py
+++ b/apio/__init__.py
@@ -9,7 +9,7 @@
# - Information for the Distribution package
# --------------------------------------------
-VERSION = (0, 7, 1)
+VERSION = (0, 7, 2)
__version__ = ".".join([str(s) for s in VE... | Version bumped to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup
setup(
name='Flask-Assistant',
- version='0.2.5',
+ version='0.2.6',
url='https://github.com/treethought/flask-assistant',
license='Apache 2.0',
author='Ca... | version bump for blueprints <I> | py |
diff --git a/examples/cli.py b/examples/cli.py
index <HASH>..<HASH> 100644
--- a/examples/cli.py
+++ b/examples/cli.py
@@ -177,7 +177,7 @@ class CommandLineInterface(object):
test_name = "test_{0:02d}".format(test)
try:
test_func = eval("self." + test_name)
- except... | must catch attribute error when looking for test functions in class | py |
diff --git a/msaf/input_output.py b/msaf/input_output.py
index <HASH>..<HASH> 100644
--- a/msaf/input_output.py
+++ b/msaf/input_output.py
@@ -592,7 +592,7 @@ def filter_by_artist(file_structs, artist_name="The Beatles"):
"""Filters data set files by artist name."""
new_file_structs = []
for file_struct ... | Skipping JAMS validation when filtering by artist. Seems to be working Former-commit-id: <I>a<I>c8bcc<I>a7b1cc<I>d<I>a<I>c<I>b Former-commit-id: <I>dacdd<I>e8e8b0f<I>adf<I>a9d<I>e<I>b1 | py |
diff --git a/ctd/ctd.py b/ctd/ctd.py
index <HASH>..<HASH> 100644
--- a/ctd/ctd.py
+++ b/ctd/ctd.py
@@ -130,7 +130,7 @@ def from_edf(fname, compression=None, below_water=False, lon=None,
break
f.seek(0)
- cast = read_table(f, header=None, index_col=None, names=names, dtype=float,
+ cast = read_... | XBT includes frame field that is characters not float | py |
diff --git a/tests/test_core.py b/tests/test_core.py
index <HASH>..<HASH> 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -1,7 +1,7 @@
import unittest
from random import random
from genty import genty, genty_dataset
-from auditok import AudioRegion
+from auditok import AudioRegion, AudioParameterError
... | Add test for invalid audio data at AudioRegion creation | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,12 +20,17 @@ requires = [
"pyOpenSSL==0.13"
]
+try:
+ long_description = open(
+ os.path.join(os.path.dirname(__file__), 'README.rst')).read()
+except:
+ long_description = None
+
setup(
name=gap... | Fix installation bug When installing the package the README.rst doesn't exist. | py |
diff --git a/girder/__main__.py b/girder/__main__.py
index <HASH>..<HASH> 100644
--- a/girder/__main__.py
+++ b/girder/__main__.py
@@ -19,8 +19,18 @@
import cherrypy # pragma: no cover
import argparse # pragma: no cover
-
-from girder.utility import server # pragma: no cover
+import os # pragma: no cover
+
+try... | Fixes #<I>. Update sys.path to fix server spawning issue. Inspired-by: Zach Mullen <<EMAIL>> | py |
diff --git a/salt/modules/mount.py b/salt/modules/mount.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mount.py
+++ b/salt/modules/mount.py
@@ -40,7 +40,7 @@ def _active_mountinfo(ret):
def _active_mounts(ret):
- filename = '/proc/self/mountinfo'
+ filename = '/proc/self/mounts'
if not os.access(file... | Fix mounting issue introduced by e<I>c3d<I>b1 | py |
diff --git a/google/datalab/ml/_confusion_matrix.py b/google/datalab/ml/_confusion_matrix.py
index <HASH>..<HASH> 100644
--- a/google/datalab/ml/_confusion_matrix.py
+++ b/google/datalab/ml/_confusion_matrix.py
@@ -12,6 +12,7 @@
import numpy as np
+import itertools
import json
import matplotlib.pyplot as plt
im... | Plot numbers on confusion matrix. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,7 @@ long_description = read('README.rst')
# Core dependencies
install_requires = [
'Sphinx>=1.7.0,<1.8.0',
+ 'docutils==0.14',
'PyYAML',
'sphinx-prompt',
'GitPython', | Pin docutils to <I> docutils <I> came out and it breaks the jira* roles. Sphinx doesn't strongly pin docutils, so let's pin it through documenteer until the role can be fixed. | py |
diff --git a/coaster/utils.py b/coaster/utils.py
index <HASH>..<HASH> 100644
--- a/coaster/utils.py
+++ b/coaster/utils.py
@@ -507,9 +507,8 @@ def for_tsquery(text):
counter -= 1
counterlength -= 1
counter += 1
- if tokens:
- while tokens[0] in ('&', '|', ':*', ')'):
- ... | check if array is present before attempting to retrieve item | py |
diff --git a/octodns/provider/ovh.py b/octodns/provider/ovh.py
index <HASH>..<HASH> 100644
--- a/octodns/provider/ovh.py
+++ b/octodns/provider/ovh.py
@@ -370,11 +370,16 @@ class OvhProvider(BaseProvider):
@staticmethod
def _is_valid_dkim_key(key):
+ result = True
try:
- base64.de... | Fix _is_valid_dkim_key for Python <I> compatibility in OVH provider base<I>.decodestring was deprecated and removed in Python <I> in favour of decodebytes (See <URL>) | py |
diff --git a/spacy/util.py b/spacy/util.py
index <HASH>..<HASH> 100644
--- a/spacy/util.py
+++ b/spacy/util.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
import os
import io
import json | Add missing unicode_literals to spacy.util. I think this was messing up the tokenizer regex for non-ascii characters in Python 2. Re Issue #<I> | py |
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/SSL.py
+++ b/OpenSSL/SSL.py
@@ -1891,7 +1891,7 @@ class Connection(object):
the value for TLS 1.2 would be ``b'TLSv1.2'``.
:rtype: :py:class:`unicode`
"""
- version = _lib.SSL_get_version(self._s... | Added string() to get_protocol_version_name | py |
diff --git a/setuptools_scm/__init__.py b/setuptools_scm/__init__.py
index <HASH>..<HASH> 100644
--- a/setuptools_scm/__init__.py
+++ b/setuptools_scm/__init__.py
@@ -31,7 +31,9 @@ def version_from_scm(root):
"setuptools-scm was unable to detect version for %r.\n\n"
"Make sure you're not using GitHub'... | Add an example of working url for pip install when metadata not available. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(name='citrination-client',
- version='1.5.0',
+ version='1.5.1',
url='http://github.com/CitrineInformatics/python-citrination-client',
... | Version Bump to <I> For Header Update | py |
diff --git a/dotlink/dotlink.py b/dotlink/dotlink.py
index <HASH>..<HASH> 100755
--- a/dotlink/dotlink.py
+++ b/dotlink/dotlink.py
@@ -228,8 +228,13 @@ class Dotlink(object):
self.log.debug('Uploading tarball to %s', upload_path)
self.scp(tempfile_path, upload_path)
- ssh_command ... | Handle uploading to remote home directories correctly | py |
diff --git a/holoviews/plotting/bokeh/chart.py b/holoviews/plotting/bokeh/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/chart.py
+++ b/holoviews/plotting/bokeh/chart.py
@@ -46,8 +46,7 @@ class PointPlot(LegendPlot, ColorbarPlot):
Function applied to size values before applying scaling,
... | Removed outdated bokeh PointPlot style options | py |
diff --git a/src/workflows/contrib/start_service.py b/src/workflows/contrib/start_service.py
index <HASH>..<HASH> 100644
--- a/src/workflows/contrib/start_service.py
+++ b/src/workflows/contrib/start_service.py
@@ -79,7 +79,7 @@ class ServiceStarter:
"--transport",
dest="transport",
... | Use single source of truth for default transport | py |
diff --git a/sphinxgallery/gen_rst.py b/sphinxgallery/gen_rst.py
index <HASH>..<HASH> 100644
--- a/sphinxgallery/gen_rst.py
+++ b/sphinxgallery/gen_rst.py
@@ -308,9 +308,6 @@ def generate_dir_rst(directory, fhindex, root_dir, example_dir, plot_gallery, se
<div style='clear:both'></div>
""") # clear at the en... | Remove apparently unused DOCMODULES variable | py |
diff --git a/httpbin/core.py b/httpbin/core.py
index <HASH>..<HASH> 100644
--- a/httpbin/core.py
+++ b/httpbin/core.py
@@ -511,9 +511,12 @@ def redirect_to():
produces:
- text/html
parameters:
- - name: url
+ - in: query
+ name: url
type: string
- - name: status_code
+ ... | redirect_to: Added url and status_code as query-string parameters for SwaggerUI. Fixed #<I>. | py |
diff --git a/angr/surveyors/explorer.py b/angr/surveyors/explorer.py
index <HASH>..<HASH> 100644
--- a/angr/surveyors/explorer.py
+++ b/angr/surveyors/explorer.py
@@ -88,7 +88,7 @@ class Explorer(Surveyor):
good_find.add(f)
self._find = good_find
- if self._project.arch.name i... | a better way to tell whether the arch is ARM | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ def read_long_description():
setup(name='pi-ina219',
- version='1.3.0',
+ version='1.4.0',
author='Chris Borrill',
author_email='chris.borrill@gmail.com',
description=DESC, | Increment version in preperation for release of version <I> | py |
diff --git a/py/selenium/webdriver/firefox/firefox_profile.py b/py/selenium/webdriver/firefox/firefox_profile.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/firefox/firefox_profile.py
+++ b/py/selenium/webdriver/firefox/firefox_profile.py
@@ -30,7 +30,6 @@ except ImportError:
from io import BytesIO
... | Replace distutils.dir_util by shutil Using distutils in runtime code is not a good idea. distutils.dir_util writes a verbose log and causes test cases that are being run via 'setup.py test' to create a lot of unneeded log output that can not be suppressed easily. shutil.copytree and shutil.rmtree do the same as the fu... | py |
diff --git a/payu/manifest.py b/payu/manifest.py
index <HASH>..<HASH> 100644
--- a/payu/manifest.py
+++ b/payu/manifest.py
@@ -118,7 +118,8 @@ class PayuManifest(YaManifest):
self.add(
filepaths=list(hashvals.keys()),
hashfn=full_hashes,
- fo... | Fixed bug in PayuManifest.check_fast(). Wasn't passing fullpaths, so any file copied into the work directory was getting the work directory as the fullpath. | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -874,7 +874,7 @@ DEFAULT_MINION_OPTS = {
'syndic_pidfile': os.path.join(salt.syspaths.PIDFILE_DIR, 'salt-syndic.pid'),
'random_reauth_delay': 10,
'winrepo_source_dir': 'salt://win/repo/',... | Fix minion-side winrepo_dir location to match master-side | py |
diff --git a/stix2validator/validator.py b/stix2validator/validator.py
index <HASH>..<HASH> 100644
--- a/stix2validator/validator.py
+++ b/stix2validator/validator.py
@@ -588,7 +588,6 @@ def _get_error_generator(type, obj, schema_dir=None, default='core'):
except schema_exceptions.RefResolutionError:
rais... | Added direct error message for when an Observed Data object's objects property is not in dictionary format | py |
diff --git a/albumentations/augmentations/transforms.py b/albumentations/augmentations/transforms.py
index <HASH>..<HASH> 100644
--- a/albumentations/augmentations/transforms.py
+++ b/albumentations/augmentations/transforms.py
@@ -2606,11 +2606,16 @@ class ChannelShuffle(ImageOnlyTransform):
uint8, float32
... | Fix hard-coded 3 channel expectation for ChannelShuffle (#<I>) | py |
diff --git a/blended/__main__.py b/blended/__main__.py
index <HASH>..<HASH> 100644
--- a/blended/__main__.py
+++ b/blended/__main__.py
@@ -79,7 +79,7 @@ def install_plugin(username, repo):
"""Installs a Blended plugin from GitHub"""
print("Installing plugin from " + username + "/" + repo)
- pip.main(['in... | Install plugin always has the latest version the command now adds the -U option | py |
diff --git a/snmp/tests/conftest.py b/snmp/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/snmp/tests/conftest.py
+++ b/snmp/tests/conftest.py
@@ -17,6 +17,13 @@ FILES = [
"https://ddintegrations.blob.core.windows.net/snmp/3850.snmprec",
]
+E2E_METADATA = {
+ 'start_commands': [
+ # Ensure the Age... | Copy profiles over to Agent config directory (#<I>) * Copy profiles over to Agent conf directory in SNMP test env * Lint | py |
diff --git a/src/cmarkgfm/build_cmark.py b/src/cmarkgfm/build_cmark.py
index <HASH>..<HASH> 100644
--- a/src/cmarkgfm/build_cmark.py
+++ b/src/cmarkgfm/build_cmark.py
@@ -26,12 +26,12 @@ with io.open(os.path.join(HERE, 'cmark_module.h'), 'r', encoding='utf-8') as fh:
def _get_sources(dir, exclude=set()):
sour... | Sort input file list (#<I>) so that _cmark.so builds in a reproducible way in spite of indeterministic filesystem readdir order. See <URL> | py |
diff --git a/psiturk/experiment.py b/psiturk/experiment.py
index <HASH>..<HASH> 100644
--- a/psiturk/experiment.py
+++ b/psiturk/experiment.py
@@ -91,6 +91,11 @@ except ImportError as e:
raise
else:
app.register_blueprint(custom_code)
+ try:
+ from custom import init_app as custom_init_app
+ ... | add functionality for a blueprint to have an init_app function | py |
diff --git a/libzfs/zpool.py b/libzfs/zpool.py
index <HASH>..<HASH> 100644
--- a/libzfs/zpool.py
+++ b/libzfs/zpool.py
@@ -85,6 +85,19 @@ class VDevStats(dict):
)
return cls(items)
+ if not isinstance(other, self.__class__):
+ raise TypeError(other)
+ items = [
+ ... | -Add: __sub__ operator for VDevStats. This will allow one to compare two VDevsStats by doing a - b. This should allow for easier display of iostat-like information. | py |
diff --git a/raiden/settings.py b/raiden/settings.py
index <HASH>..<HASH> 100644
--- a/raiden/settings.py
+++ b/raiden/settings.py
@@ -47,9 +47,10 @@ DEFAULT_TRANSPORT_MATRIX_SYNC_TIMEOUT = 60_000
# - The Raiden node might not be able to process the messages immediately
DEFAULT_TRANSPORT_MATRIX_SYNC_LATENCY = 15_000
... | Change production known servers url to mainnet testing RSBs | py |
diff --git a/tests/analyzers/test_language_detector.py b/tests/analyzers/test_language_detector.py
index <HASH>..<HASH> 100755
--- a/tests/analyzers/test_language_detector.py
+++ b/tests/analyzers/test_language_detector.py
@@ -30,11 +30,11 @@ Zde je nějaký ten obsah, který by měl být rozpoznaný jako čeština.
def test_... | #<I>: Fixed language test. | py |
diff --git a/physt/__init__.py b/physt/__init__.py
index <HASH>..<HASH> 100644
--- a/physt/__init__.py
+++ b/physt/__init__.py
@@ -194,7 +194,8 @@ def histogramdd(data, bins=10, *args, name=None, axis_names=None, **kwargs):
weights=weights)
k... | Fix: axis_name as None set in H2D | py |
diff --git a/bin/fontbakery-dev-testrunner.py b/bin/fontbakery-dev-testrunner.py
index <HASH>..<HASH> 100755
--- a/bin/fontbakery-dev-testrunner.py
+++ b/bin/fontbakery-dev-testrunner.py
@@ -16,6 +16,7 @@ from fontbakery.testrunner import (
, Spec
)
from fontbakery.reporters.terminal import T... | [dev-testrunner] include SerializeReporter | py |
diff --git a/pandas/_testing.py b/pandas/_testing.py
index <HASH>..<HASH> 100644
--- a/pandas/_testing.py
+++ b/pandas/_testing.py
@@ -1106,7 +1106,7 @@ def assert_series_equal(
check_categorical : bool, default True
Whether to compare internal Categorical exactly.
check_category_order : bool, defaul... | solve 'check_category_order' description ends with '.' (#<I>) | py |
diff --git a/tensorlayer/nlp.py b/tensorlayer/nlp.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/nlp.py
+++ b/tensorlayer/nlp.py
@@ -298,6 +298,12 @@ def process_sentence(sentence, start_word="<S>", end_word="</S>"):
>>> c = tl.nlp.process_sentence(c)
>>> print(c)
... ['<S>', 'how', 'are', 'you', '?', ... | install nltk and data | py |
diff --git a/modopt/opt/proximity.py b/modopt/opt/proximity.py
index <HASH>..<HASH> 100644
--- a/modopt/opt/proximity.py
+++ b/modopt/opt/proximity.py
@@ -463,7 +463,7 @@ class OrderedWeightedL1Norm(ProximityParent):
def __init__(self, weights):
- if any([weights_i < 0 for weights_i in weights]):
+ ... | Removing the warning of the proximity operator to get the sign | py |
diff --git a/werkzeug/contrib/profiler.py b/werkzeug/contrib/profiler.py
index <HASH>..<HASH> 100644
--- a/werkzeug/contrib/profiler.py
+++ b/werkzeug/contrib/profiler.py
@@ -10,10 +10,14 @@
"""
import sys
try:
- from cProfile import Profile
+ try:
+ from cProfile import Profile
+ except ImportError:... | added trap for the profiler --HG-- branch : trunk | py |
diff --git a/baron/indentation_marker.py b/baron/indentation_marker.py
index <HASH>..<HASH> 100644
--- a/baron/indentation_marker.py
+++ b/baron/indentation_marker.py
@@ -26,7 +26,7 @@ def mark_indentation(sequence):
def mark_indentation_generator(sequence):
iterator = FlexibleIterator(sequence)
current = No... | [mod] start to move to a list storing all the indetations | py |
diff --git a/pymatgen/entries/correction_calculator.py b/pymatgen/entries/correction_calculator.py
index <HASH>..<HASH> 100644
--- a/pymatgen/entries/correction_calculator.py
+++ b/pymatgen/entries/correction_calculator.py
@@ -392,12 +392,7 @@ class CorrectionCalculator:
diffs_cpy = self.diffs.copy()
... | Correcting seriously crap coding in corrections_calculator. | py |
diff --git a/tests/cpydiff/types_bytes_keywords.py b/tests/cpydiff/types_bytes_keywords.py
index <HASH>..<HASH> 100644
--- a/tests/cpydiff/types_bytes_keywords.py
+++ b/tests/cpydiff/types_bytes_keywords.py
@@ -2,6 +2,6 @@
categories: Types,bytes
description: bytes() with keywords not implemented
cause: Unknown
-wor... | tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments. | py |
diff --git a/server/data_store.py b/server/data_store.py
index <HASH>..<HASH> 100644
--- a/server/data_store.py
+++ b/server/data_store.py
@@ -76,9 +76,12 @@ class DataStore():
def sample_storage_size(self):
''' Get the storage size of the samples storage collection '''
- coll_stats = self.db.com... | adding a clear_db method; also putting try/catch around getting collection stats Former-commit-id: ee1e4fdac<I>c<I>f<I>a<I>ee<I>eee | py |
diff --git a/paypal/pro/forms.py b/paypal/pro/forms.py
index <HASH>..<HASH> 100644
--- a/paypal/pro/forms.py
+++ b/paypal/pro/forms.py
@@ -18,6 +18,7 @@ class PaymentForm(forms.Form):
acct = CreditCardField(label="Credit Card Number")
expdate = CreditCardExpiryField(label="Expiration Date")
cvv2 = Credit... | Update forms.py The default currency is USD but one can change it. | py |
diff --git a/sos/_version.py b/sos/_version.py
index <HASH>..<HASH> 100644
--- a/sos/_version.py
+++ b/sos/_version.py
@@ -33,7 +33,7 @@ if _py_ver.major == 2 or (_py_ver.major == 3 and (_py_ver.minor, _py_ver.micro)
# version of the SoS language
__sos_version__ = '1.0'
# version of the sos command
-__version__ = '... | Release version <I>, which is marked by the completion of AppVeylor CI under windows. | py |
diff --git a/irc/message.py b/irc/message.py
index <HASH>..<HASH> 100644
--- a/irc/message.py
+++ b/irc/message.py
@@ -55,6 +55,24 @@ class Arguments(list):
def from_group(group):
"""
Construct arguments from the regex group
+
+ >>> Arguments.from_group('foo')
+ ['foo']
+
+ >... | Add some tests capturing some boundary conditions of method | py |
diff --git a/indra/config.py b/indra/config.py
index <HASH>..<HASH> 100644
--- a/indra/config.py
+++ b/indra/config.py
@@ -74,8 +74,15 @@ if CONFIG_DICT is None:
else:
_check_config_dict()
-def get_config(key):
- """Returns the configuration value, first checking the environemnt
+
+class IndraConfigError(Exc... | Allow for get_config to throw exception. | py |
diff --git a/rethinkORM/rethinkModel.py b/rethinkORM/rethinkModel.py
index <HASH>..<HASH> 100644
--- a/rethinkORM/rethinkModel.py
+++ b/rethinkORM/rethinkModel.py
@@ -88,7 +88,8 @@ arguments while searching for Documents.""")
def _makeNew(self, kwargs):
# We assume this is a new object, and that we'll ins... | fix bug with updating a record when _data contains the primary key should fix failing tests also remove check from _makeNew for conn and connection thanks to pull request #2 | py |
diff --git a/linode/util/paginatedList.py b/linode/util/paginatedList.py
index <HASH>..<HASH> 100644
--- a/linode/util/paginatedList.py
+++ b/linode/util/paginatedList.py
@@ -18,6 +18,10 @@ class PaginatedList(object):
from linode import mappings
j = api_call("/{}?page={}".format(self.page_endpoint,... | Make long-lived paginated lists a little more sane | py |
diff --git a/dedupe/api.py b/dedupe/api.py
index <HASH>..<HASH> 100644
--- a/dedupe/api.py
+++ b/dedupe/api.py
@@ -957,9 +957,9 @@ class Dedupe(DedupeMatching, ActiveMatching) :
random_sample_size))
data = dict(data)
- data_sample = ((data[k1],... | deal with py<I> namespace weirdnesses | py |
diff --git a/src/python/pants/backend/project_info/dependencies.py b/src/python/pants/backend/project_info/dependencies.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/project_info/dependencies.py
+++ b/src/python/pants/backend/project_info/dependencies.py
@@ -45,6 +45,13 @@ class DependenciesSubsystem(Li... | Deprecate --type in the dependencies goal. (#<I>) It is misleading, and not very useful. [ci skip-rust] [ci skip-build-wheels] | py |
diff --git a/scripts/VirtuaBuild/smoke_test.py b/scripts/VirtuaBuild/smoke_test.py
index <HASH>..<HASH> 100755
--- a/scripts/VirtuaBuild/smoke_test.py
+++ b/scripts/VirtuaBuild/smoke_test.py
@@ -37,10 +37,11 @@ def test_against(host, port):
while not temp:
try:
temp = mc.set("test... | Fixed indentation issues and added a sleep to the part where it waits for RethinkDB to start working. | py |
diff --git a/responsys/__init__.py b/responsys/__init__.py
index <HASH>..<HASH> 100644
--- a/responsys/__init__.py
+++ b/responsys/__init__.py
@@ -1,4 +1,4 @@
"""Python client library for the Responsys Interact API"""
-__version__ = "0.2.2-alpha"
+__version__ = "0.2.2b1"
__keywords__ = "responsys interact client ap... | Update version format to match PEP <I> | py |
diff --git a/imagemounter/filesystems.py b/imagemounter/filesystems.py
index <HASH>..<HASH> 100644
--- a/imagemounter/filesystems.py
+++ b/imagemounter/filesystems.py
@@ -658,7 +658,7 @@ class LvmFileSystem(LoopbackFileSystemMixin, FileSystem):
self.volume.info['volume_group'] = self.vgname
self.volum... | Make sure that LVM uses the LVM volume_detector, even when the parent doesn't | py |
diff --git a/aiozk/session.py b/aiozk/session.py
index <HASH>..<HASH> 100644
--- a/aiozk/session.py
+++ b/aiozk/session.py
@@ -53,7 +53,10 @@ class Session:
self.repair_loop_task = None
+ # asyncio.TimerHandle object
self.heartbeat_handle = None
+ # asyncio.Task object
+ self.... | session: Create heartbeat task only if it does not exist | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -261,8 +261,8 @@ def get_version_info():
# If this is a release or another kind of source distribution of PyCBC
except:
- version = '1.6.0dev'
- release = 'False'
+ version = '1.6.0'
+ r... | Set for <I> release (#<I>) | py |
diff --git a/thumbor/filters/redeye.py b/thumbor/filters/redeye.py
index <HASH>..<HASH> 100644
--- a/thumbor/filters/redeye.py
+++ b/thumbor/filters/redeye.py
@@ -34,8 +34,7 @@ class Filter(BaseFilter):
mode = mode.lower()
size = self.engine.size
- image = np.ndarray(shape=(size[1], size[0], ... | Fix numpy not writable ndarray (#<I>) | py |
diff --git a/src/Interface.py b/src/Interface.py
index <HASH>..<HASH> 100755
--- a/src/Interface.py
+++ b/src/Interface.py
@@ -64,7 +64,7 @@ def __return_ip_addresses_from_ifconfig_output(output):
ipAddress = re.match(r'.*?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})', line).group(1)
print "i... | first commit blindly from windows and RED now back to green... hopefully | py |
diff --git a/modin/engines/ray/generic/io.py b/modin/engines/ray/generic/io.py
index <HASH>..<HASH> 100644
--- a/modin/engines/ray/generic/io.py
+++ b/modin/engines/ray/generic/io.py
@@ -455,6 +455,21 @@ class RayIO(BaseIO):
import sqlalchemy as sa
+ try:
+ import psycopg2 as pg
+
+ ... | Fix psycopg2 connection functionality (#<I>) | py |
diff --git a/pgmpy/factors/CPD.py b/pgmpy/factors/CPD.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/CPD.py
+++ b/pgmpy/factors/CPD.py
@@ -91,7 +91,7 @@ class TabularCPD(Factor):
values = np.array(values)
if values.ndim != 2:
raise TypeError("Values must be a 2d list/array")
- ... | Minor refactoring in the __init__ method of TabularCPD. | py |
diff --git a/carbonate/__init__.py b/carbonate/__init__.py
index <HASH>..<HASH> 100644
--- a/carbonate/__init__.py
+++ b/carbonate/__init__.py
@@ -2,7 +2,7 @@
Tools for managing a federated Carbon cluster.
"""
-__version_info__ = ('1', '0', '0')
+__version_info__ = ('1', '0', '1')
__version__ = '.'.join(__version_... | Version bump to <I> (to match Graphite release) | py |
diff --git a/pyprof2calltree.py b/pyprof2calltree.py
index <HASH>..<HASH> 100755
--- a/pyprof2calltree.py
+++ b/pyprof2calltree.py
@@ -113,8 +113,11 @@ def pstats2entries(data):
for entry_caller, call_info in entry_callers:
subentry = Subentry()
subentry.code = entry.code
- ... | Fix reccallcount for subentries We don't actually use it, but having the data be wrong is begging for future bugs if it ever gets used. | py |
diff --git a/limbo/limbo.py b/limbo/limbo.py
index <HASH>..<HASH> 100644
--- a/limbo/limbo.py
+++ b/limbo/limbo.py
@@ -311,13 +311,15 @@ def main(args):
config = init_config()
if args.test:
init_log(config)
- return repl(FakeServer(), args)
+ db = init_db(args.database_name)
+ re... | give FakeServer a db in repl and command mode closes #<I> | py |
diff --git a/headerid/__init__.py b/headerid/__init__.py
index <HASH>..<HASH> 100644
--- a/headerid/__init__.py
+++ b/headerid/__init__.py
@@ -1 +1 @@
-from headerid import *
\ No newline at end of file
+from .headerid import * | Allow headerid plugin to work with Python <I> Fixes getpelican/pelican-plugins#<I> | py |
diff --git a/maintenance_mode/version.py b/maintenance_mode/version.py
index <HASH>..<HASH> 100644
--- a/maintenance_mode/version.py
+++ b/maintenance_mode/version.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
-__version__ = '0.9.1'
+__version__ = '0.10.0' | Updated version [ci skip] | py |
diff --git a/discord/shard.py b/discord/shard.py
index <HASH>..<HASH> 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -236,9 +236,8 @@ class AutoShardedClient(Client):
self._closed.set()
- for shard in self.shards.values():
- yield from shard.ws.close()
-
+ to_close = [shar... | Aggregate shard closing futures instead of doing them sequentially. | py |
diff --git a/cloudmesh/common/sudo.py b/cloudmesh/common/sudo.py
index <HASH>..<HASH> 100644
--- a/cloudmesh/common/sudo.py
+++ b/cloudmesh/common/sudo.py
@@ -100,27 +100,11 @@ class Sudo:
:rtype: int
"""
- os.system("sync")
- tmp_dir = path_expand("~/.cloudmesh/tmp")
- os.syste... | reimplement write file without tmp file | py |
diff --git a/openquake/commands/run.py b/openquake/commands/run.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/run.py
+++ b/openquake/commands/run.py
@@ -82,9 +82,7 @@ def run2(job_haz, job_risk, concurrent_tasks, pdb, exports, params, monitor):
oq = readinput.get_oqparam(job_risk, hc_id=hc_id)
r... | Restored full concurrency in the two job.ini files mode [skip hazardlib] | py |
diff --git a/feets/extractors/ext_car.py b/feets/extractors/ext_car.py
index <HASH>..<HASH> 100644
--- a/feets/extractors/ext_car.py
+++ b/feets/extractors/ext_car.py
@@ -174,7 +174,7 @@ class CAR(Extractor):
"""
data = ['magnitude', 'time', 'error']
features = ["CAR_sigma", "CAR_tau", "CAR_mean"]
- p... | reverted minimize method to nelder-mead | py |
diff --git a/fedora_messaging/api.py b/fedora_messaging/api.py
index <HASH>..<HASH> 100644
--- a/fedora_messaging/api.py
+++ b/fedora_messaging/api.py
@@ -47,7 +47,8 @@ def consume(callback, bindings=None, queues=None):
Args:
callback (callable): A callable object that accepts one positional argument,
-... | Update the API documentation to mention classes can be used The consume API accepted classes (which it would instantiate), but the API documentation did not mention this. | py |
diff --git a/modules/piperegex.py b/modules/piperegex.py
index <HASH>..<HASH> 100644
--- a/modules/piperegex.py
+++ b/modules/piperegex.py
@@ -35,7 +35,7 @@ def pipe_regex(context, _INPUT, conf, **kwargs):
return item[matchobj.group(1)]
for rule in rules:
- if rule[0] ... | More robust handling for replacement with no source string | py |
diff --git a/mobanfile.py b/mobanfile.py
index <HASH>..<HASH> 100644
--- a/mobanfile.py
+++ b/mobanfile.py
@@ -12,6 +12,8 @@ from moban.utils import merge, parse_targets, git_clone
from moban.utils import expand_directories, pip_install
from moban.copier import Copier
+KNOWN_DOMAIN_FOR_GIT = ["github.com", "gitlab.... | :hammer: code refactoring | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ reqs = [str(ir.req) for ir in install_reqs]
setup(name='iopipe',
- version='0.9.0',
+ version='0.9.1',
description='IOpipe agent for serverless Application Performance Monitoring',
aut... | Upping version to <I> | py |
diff --git a/il2fb/commons/events.py b/il2fb/commons/events.py
index <HASH>..<HASH> 100644
--- a/il2fb/commons/events.py
+++ b/il2fb/commons/events.py
@@ -4,6 +4,7 @@ import abc
import six
+from il2fb.commons.exceptions import IL2FBParsingException
from il2fb.commons.structures import BaseStructure | Add missing import for IL2FBParsingException | py |
diff --git a/openquake/calculators/getters.py b/openquake/calculators/getters.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/getters.py
+++ b/openquake/calculators/getters.py
@@ -93,7 +93,6 @@ class PmapGetter(object):
self.poes = poes
self.num_rlzs = len(weights)
self.eids = None... | Removed duplicated line [ci skip] | py |
diff --git a/cytomine/models/_utilities/parallel.py b/cytomine/models/_utilities/parallel.py
index <HASH>..<HASH> 100644
--- a/cytomine/models/_utilities/parallel.py
+++ b/cytomine/models/_utilities/parallel.py
@@ -134,11 +134,12 @@ def generic_download(data, download_instance_fn, n_workers=0):
def makedirs(path, ex... | Try to make dirs only if path is set | py |
diff --git a/pyrestcli/resources.py b/pyrestcli/resources.py
index <HASH>..<HASH> 100644
--- a/pyrestcli/resources.py
+++ b/pyrestcli/resources.py
@@ -41,7 +41,7 @@ class APIConnected(object):
:param resource_id: Resource id
:return: Relative path to the resource
"""
- return urljoin(c... | add trailing slash to resource endpoints | py |
diff --git a/geomdl/helpers.py b/geomdl/helpers.py
index <HASH>..<HASH> 100644
--- a/geomdl/helpers.py
+++ b/geomdl/helpers.py
@@ -571,6 +571,7 @@ def knot_removal(degree, knotvector, ctrlpts, u, **kwargs):
j -= 1
for k in range(i+1, len(ctrlpts)):
ctrlpts_new[j] = ctrlpts[k]
+ j += 1
... | Forgot add counter increment for knot removal algorithm | py |
diff --git a/axiom/store.py b/axiom/store.py
index <HASH>..<HASH> 100644
--- a/axiom/store.py
+++ b/axiom/store.py
@@ -28,7 +28,7 @@ class XFilePath(FilePath):
def dirname(self):
return os.path.dirname(self.path)
-def _md(dirname):
+def _mkdirIfNotExists(dirname):
if os.path.isdir(dirname):
... | i don't understand what is so hard about typing. | py |
diff --git a/putiopy.py b/putiopy.py
index <HASH>..<HASH> 100644
--- a/putiopy.py
+++ b/putiopy.py
@@ -494,13 +494,14 @@ class _Transfer(_BaseResource):
@classmethod
def add_torrent(cls, path, parent_id=0, callback_url=None):
+ params = {'torrent': 'true'}
data = {'parent_id': parent_id}
... | raise ClientError for non-torrent files; fix #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -154,7 +154,7 @@ setup_args = {
},
'author': 'Quantopian Inc.',
- 'author_email': 'tshawver@quantopian.com',
+ 'author_email': 'opensource@quantopian.com',
'url': 'https://github.com/quantopian/qgrid',
... | DOC: Change contact to Quantopian's Open Source list | py |
diff --git a/django_productline/context.py b/django_productline/context.py
index <HASH>..<HASH> 100644
--- a/django_productline/context.py
+++ b/django_productline/context.py
@@ -68,6 +68,7 @@ def bind_context(context_filename):
context['PRODUCT_DIR'] = os.environ['PRODUCT_DIR']
context['CONTA... | Update context.py added APE_GLOBAL_DIR to context | 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
@@ -189,7 +189,7 @@ try:
repeat=3, timeout=400)
for suite_test in glob.glob('integration/memcached_suite/*.t'):
- do_test_cloud("i... | Fix full_test.py to run the right file for memcached tests. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -234,7 +234,11 @@ for dirname, dirnames, filenames in os.walk('av'):
pyx_path = os.path.join(dirname, filename)
base = os.path.splitext(pyx_path)[0]
- mod_name = base.replace(os.path.sep, '.').replac... | Fixed previous commit to work on non-Windows where os.altsep is None | py |
diff --git a/nrml/hazard/writers.py b/nrml/hazard/writers.py
index <HASH>..<HASH> 100644
--- a/nrml/hazard/writers.py
+++ b/nrml/hazard/writers.py
@@ -582,7 +582,9 @@ class DisaggXMLWriter(object):
# (mag, dist, lon, lat, eps, TRT)
for label in result.dim_labels:
b... | hazard/writers: Added an error message to an assertion; without this, the assertion error is pretty useless. | py |
diff --git a/pkg/buildbot_pkg.py b/pkg/buildbot_pkg.py
index <HASH>..<HASH> 100644
--- a/pkg/buildbot_pkg.py
+++ b/pkg/buildbot_pkg.py
@@ -214,8 +214,7 @@ class BuildJsCommand(distutils.cmd.Command):
# if we find yarn, then we use it as it is much faster
if yarn_version != "":
- ... | fix yarn mutex to work on multiplatform buildbot_pkg was reportedly broken on windows since the yarn mutex fix | py |
diff --git a/src/jottalib/JFS.py b/src/jottalib/JFS.py
index <HASH>..<HASH> 100644
--- a/src/jottalib/JFS.py
+++ b/src/jottalib/JFS.py
@@ -620,7 +620,7 @@ class JFS(object):
fileobject.seek(0) # rewind read index for requests.post
md5hash = hashlib.md5(content).hexdigest() # TODO: read (big) files in ... | don't hardcode upload timestamp | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(
install_requires = [
"PyStemmer==1.2.0",
"argparse==1.2.1",
- "python-irclib==0.4.6"
+ "python-irclib==0.4.8"
],
classifiers = [ | Update the irclib dependency to version <I>. Add an explicit url in dependency_links for irclib's SourceForge download page. The url currently in PyPI is stale, so the download fails. It looks like the upstream package is now called "irc", so investigate porting cobe to that in the future. Fixes #3: "Depends on outd... | py |
diff --git a/src/postmark/django_backend.py b/src/postmark/django_backend.py
index <HASH>..<HASH> 100644
--- a/src/postmark/django_backend.py
+++ b/src/postmark/django_backend.py
@@ -42,7 +42,7 @@ class EmailBackend(BaseEmailBackend):
subject=message.subject,
... | Changed from message.message() to message.body to stop header appearing in message body | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.