diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/src/sklearn_evaluation/__init__.py b/src/sklearn_evaluation/__init__.py
index <HASH>..<HASH> 100644
--- a/src/sklearn_evaluation/__init__.py
+++ b/src/sklearn_evaluation/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.5.4'
+__version__ = '0.5.5dev'
from .evaluator import ClassifierEvaluator
from .nb.Note... | Bumps up project to version <I>dev | py |
diff --git a/thefuck/main.py b/thefuck/main.py
index <HASH>..<HASH> 100644
--- a/thefuck/main.py
+++ b/thefuck/main.py
@@ -52,6 +52,9 @@ def main():
elif known_args.command:
fix_command(known_args)
elif known_args.alias:
+ warn("The Fuck will drop Python 2 support soon, more details "
+ ... | #<I>: Warn about Python 2 support | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -182,6 +182,14 @@ setup(
For more information see:
https://svn.geophysik.uni-muenchen.de/trac/mtspecpy/wiki
+
+ Main Changes in 2.6.0
+ ---------------------
+
+ * Bugfix #6, access violation on windows
+ ... | modified setup.py for PYPI upload | py |
diff --git a/blueqat/_version.py b/blueqat/_version.py
index <HASH>..<HASH> 100644
--- a/blueqat/_version.py
+++ b/blueqat/_version.py
@@ -14,4 +14,4 @@
"""The version of blueqat."""
-__version__ = "0.3.12-dev"
+__version__ = "0.3.12" | REL: Ver. changed for release | py |
diff --git a/salt/modules/win_lgpo.py b/salt/modules/win_lgpo.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_lgpo.py
+++ b/salt/modules/win_lgpo.py
@@ -2407,15 +2407,18 @@ class _policy_info(object):
'''
converts a binary 0/1 to Disabled/Enabled
'''
- if val is not None:
- ... | Check for values other than 0 or 1 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
required_modules = []
setup(name='bouncer',
- version='0.1.10',
+ version='0.1.11',
description='Simple Declarative Authentication based on Ryan Bates excellent ca... | Actually hooking up tests to setup.py, bump | py |
diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py
index <HASH>..<HASH> 100644
--- a/telethon/network/mtproto_sender.py
+++ b/telethon/network/mtproto_sender.py
@@ -39,7 +39,7 @@ class MtProtoSender:
self._logger = logging.getLogger(__name__)
# Message IDs that need... | Make MtProtoSender._need_confirmation a set This will avoid adding duplicated items to it | py |
diff --git a/openaps/vendors/dexcom.py b/openaps/vendors/dexcom.py
index <HASH>..<HASH> 100644
--- a/openaps/vendors/dexcom.py
+++ b/openaps/vendors/dexcom.py
@@ -288,14 +288,15 @@ class iter_calibrations_hours (calibrations):
def main (self, args, app):
params = self.get_params(args)
+ delta = relativedel... | make iter_calibrations_hours more sensitive to hours Might as well do all three. | py |
diff --git a/dipper/sources/WormBase.py b/dipper/sources/WormBase.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/WormBase.py
+++ b/dipper/sources/WormBase.py
@@ -71,8 +71,7 @@ class WormBase(Source):
'/c_elegans.PRJNA13758.WSNUMBER.annotations.gff3.gz'},
'disease_assoc': {
'file'... | fix ftp base for disease assocs | py |
diff --git a/salt/modules/pip.py b/salt/modules/pip.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pip.py
+++ b/salt/modules/pip.py
@@ -149,7 +149,7 @@ def _check_bundled():
Gather run-time information to indicate if we are running from source or bundled.
"""
frozen = False
- if getattr(sys, "froze... | Add False as return to not throw attr error | py |
diff --git a/DemoPrograms/Demo_Matplotlib.py b/DemoPrograms/Demo_Matplotlib.py
index <HASH>..<HASH> 100644
--- a/DemoPrograms/Demo_Matplotlib.py
+++ b/DemoPrograms/Demo_Matplotlib.py
@@ -17,7 +17,7 @@ Basic steps are:
* Display form (BLOCKING)
Based on information from: https://matplotlib.org/3.1.0/gallery/user_... | Updated, removed the force_toplevel in Window as it doesn't seem to be needed anymore. | py |
diff --git a/pyes/facets.py b/pyes/facets.py
index <HASH>..<HASH> 100644
--- a/pyes/facets.py
+++ b/pyes/facets.py
@@ -267,7 +267,7 @@ class TermFacet(Facet):
def __init__(self, field=None, fields=None, name=None, size=10,
order=None, exclude=None,
regex=None, regex_flags="DOTAL... | Add support of all_terms to TermFacet. | py |
diff --git a/lptest.py b/lptest.py
index <HASH>..<HASH> 100644
--- a/lptest.py
+++ b/lptest.py
@@ -278,7 +278,7 @@ for filename in filenames:
assertions = []
with open(os.path.join('tests', filename), 'rb') as f:
blob = f.read()
- for line in blob.splitlines():
+ for line in blob.splitlines(): ... | Disable branch coverage reporting for a `for` loop that will always run | py |
diff --git a/did/plugins/rt.py b/did/plugins/rt.py
index <HASH>..<HASH> 100644
--- a/did/plugins/rt.py
+++ b/did/plugins/rt.py
@@ -56,9 +56,7 @@ class RequestTracker(object):
if response.status != 200:
raise ReportError(
"Failed to fetch tickets: {0}".format(response.status))
- ... | Fix unicode handling in the rt plugin Because unicode_literals are now imported from the future we need to make sure the decode part is done before splitting the string. | py |
diff --git a/autorelease/check_runners.py b/autorelease/check_runners.py
index <HASH>..<HASH> 100644
--- a/autorelease/check_runners.py
+++ b/autorelease/check_runners.py
@@ -133,6 +133,7 @@ class DefaultCheckRunner(CheckRunner):
branch = ref
else:
raise RuntimeError("PR without branc... | Fix problem with getting branch name for tags | py |
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -147,7 +147,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | py |
diff --git a/minimongo/options.py b/minimongo/options.py
index <HASH>..<HASH> 100644
--- a/minimongo/options.py
+++ b/minimongo/options.py
@@ -23,7 +23,7 @@ def configure(module=None, prefix='MONGODB_', **kwargs):
# to _Options' values, ex: MONGODB_PORT ==> port.
attrs = module.__dict__.iteritems()
... | Misspelling of str method The 'startwith' method does not exist in Python. It should be 'startswith' | py |
diff --git a/nni/algorithms/nas/pytorch/cdarts/utils.py b/nni/algorithms/nas/pytorch/cdarts/utils.py
index <HASH>..<HASH> 100644
--- a/nni/algorithms/nas/pytorch/cdarts/utils.py
+++ b/nni/algorithms/nas/pytorch/cdarts/utils.py
@@ -58,7 +58,7 @@ def accuracy(output, target, topk=(1,)):
res = []
for k in topk... | Add a bugfix for conv1d in the cdarts utils. In utils.py, change accuracy's view to a reshape. (#<I>) | py |
diff --git a/tests/test_command_line.py b/tests/test_command_line.py
index <HASH>..<HASH> 100644
--- a/tests/test_command_line.py
+++ b/tests/test_command_line.py
@@ -7,6 +7,7 @@ import pytest
import re
import subprocess
import sys
+import tempfile
from time import sleep
from uuid import UUID
from click.testing i... | Remove assumptions about tempdir location in tests | py |
diff --git a/yaka/services/conversion.py b/yaka/services/conversion.py
index <HASH>..<HASH> 100644
--- a/yaka/services/conversion.py
+++ b/yaka/services/conversion.py
@@ -261,7 +261,7 @@ class PdfToTextHandler(Handler):
class WordToTextWvwareHandler(Handler):
- accepts_mime_types = ['application/word']
+ accepts... | Fix typo on mime-type. | py |
diff --git a/version.py b/version.py
index <HASH>..<HASH> 100644
--- a/version.py
+++ b/version.py
@@ -4,7 +4,7 @@
_version_major = 0
_version_minor = 1
_version_micro = '' # use '' for first of series, number for 1 and above
-_version_extra = 'rc5'
+_version_extra = 'rc6'
#_version_extra = '' # Uncomment this fo... | RC6. Will this work? | py |
diff --git a/tvdbapi_client/api.py b/tvdbapi_client/api.py
index <HASH>..<HASH> 100644
--- a/tvdbapi_client/api.py
+++ b/tvdbapi_client/api.py
@@ -1,3 +1,4 @@
+"""Provide API client for TVDB API v2.0 services."""
import json
import logging
@@ -52,10 +53,12 @@ def requires_auth(func):
class TVDBClient(object):
... | [TASK] General cleanup Updates based on feedback from Landscape. | py |
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py
index <HASH>..<HASH> 100644
--- a/salt/utils/cloud.py
+++ b/salt/utils/cloud.py
@@ -631,7 +631,7 @@ def deploy_script(host, port=22, timeout=900, username='root',
key_filename
)
)
- gateway=None
+ gateway = None
if ... | Fix spacing lint issue. | py |
diff --git a/pylint/test/unittest_reporting.py b/pylint/test/unittest_reporting.py
index <HASH>..<HASH> 100644
--- a/pylint/test/unittest_reporting.py
+++ b/pylint/test/unittest_reporting.py
@@ -40,7 +40,7 @@ class PyLinterTC(unittest.TestCase):
os.environ.pop('PYLINTRC', None)
def test_add_message_is_d... | BaseReporter.add_message is scheduled for removal for Pylint <I>, not <I>. | py |
diff --git a/tests/test_decoding.py b/tests/test_decoding.py
index <HASH>..<HASH> 100755
--- a/tests/test_decoding.py
+++ b/tests/test_decoding.py
@@ -126,7 +126,7 @@ class TestDecoding(unittest.TestCase):
self.assertEqual(decoder.mime_type(), self.expected_mime_type)
try:
- self.assertEq... | Support variability of frames number in Gstreamer ogg in test_decoding - 2nd try | py |
diff --git a/abydos/tokenizer/_tokenizer.py b/abydos/tokenizer/_tokenizer.py
index <HASH>..<HASH> 100644
--- a/abydos/tokenizer/_tokenizer.py
+++ b/abydos/tokenizer/_tokenizer.py
@@ -94,7 +94,7 @@ class _Tokenizer(Counter):
.. versionadded:: 0.4.0
"""
- return sum(self.values())
+ retu... | fixed _set method & made _count respect bag_mode | py |
diff --git a/pyani/pyani_graphics.py b/pyani/pyani_graphics.py
index <HASH>..<HASH> 100644
--- a/pyani/pyani_graphics.py
+++ b/pyani/pyani_graphics.py
@@ -89,7 +89,7 @@ def heatmap_mpl(df, outfilename=None, title=None, cmap=None,
vdiff = vmax - vmin
cbticks = [vmin + e * vdiff for e in (0, 0.25, 0.5, 0.75, 1)... | pyani_graphics.py: Fixed exponent calculation bug | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ deps = [
]
if sys.version[0] == '3':
- deps.append('wxpython==4.1.0')
+ deps.append('wxpython>=4.1.0')
setup( | Loosen wxPython dependency in setup.py to >= <I> | py |
diff --git a/python/ccxt/bittrex.py b/python/ccxt/bittrex.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/bittrex.py
+++ b/python/ccxt/bittrex.py
@@ -275,8 +275,8 @@ class bittrex (Exchange):
currency = self.common_currency_code(id)
account = self.account()
balance = indexed[id]
... | Update bittrex.py Bittrex started returning None for some currencies. | py |
diff --git a/cme/protocols/smb.py b/cme/protocols/smb.py
index <HASH>..<HASH> 100755
--- a/cme/protocols/smb.py
+++ b/cme/protocols/smb.py
@@ -975,7 +975,6 @@ class smb(connection):
LSA.finish()
- @requires_admin
def ntds(self):
self.enable_remoteops()
use_vss_method = False | option --ntds doesn't require to be admin anymore check #<I> | py |
diff --git a/raiden/raiden_service.py b/raiden/raiden_service.py
index <HASH>..<HASH> 100644
--- a/raiden/raiden_service.py
+++ b/raiden/raiden_service.py
@@ -361,8 +361,14 @@ class RaidenService(Runnable):
self.alarm.register_callback(self._callback_new_block)
self.alarm.first_run(last_log_block_numb... | Poll block events once more after first alarm task run Fixes #<I> In some cases there can be a pending transaction left in the transaction queues after the first run of the alarm task that would have been invalidated if we get the events generated by all the transactions sent during the first run of the alarm task. ... | py |
diff --git a/pyamg/tests/test_strength.py b/pyamg/tests/test_strength.py
index <HASH>..<HASH> 100644
--- a/pyamg/tests/test_strength.py
+++ b/pyamg/tests/test_strength.py
@@ -370,7 +370,7 @@ class TestComplexStrengthOfConnection(TestCase):
B[11] = -14.2
result = ode_strength_of_connection(A, B, epsilo... | make ODE strength test more stringent | py |
diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -37,7 +37,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return Mock()
-MOCK_MODULES = ['ctypes', 'PIL', 'PIL.Image', 'PIL.ImageGrab', 'numpy', 'cv2']
+M... | Added 'keyboard' to mock list in docs | py |
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/frame/indexing/test_setitem.py
+++ b/pandas/tests/frame/indexing/test_setitem.py
@@ -179,6 +179,16 @@ class TestDataFrameSetItem:
expected = Series(SparseArray([... | TST: Add test for setitem preserving period dtype (#<I>) | py |
diff --git a/bbc_tracklist.py b/bbc_tracklist.py
index <HASH>..<HASH> 100755
--- a/bbc_tracklist.py
+++ b/bbc_tracklist.py
@@ -184,6 +184,7 @@ def tag_audio_file(audio_file, tracklisting):
"""
try:
f = mediafile.MediaFile(audio_file)
+ print("Trying to tag {}".format(audio_file))
# ch... | Add extra print to show what is going on during tagging. | py |
diff --git a/cosmic_ray/app.py b/cosmic_ray/app.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/app.py
+++ b/cosmic_ray/app.py
@@ -73,22 +73,12 @@ def main(top_module, test_dir):
mp_mgr = multiprocessing.Manager()
response_queue = mp_mgr.Queue()
- with multiprocessing.Pool(4) as p:
- # results = p... | Using Pool.starmap() run tests. | py |
diff --git a/django_auth_ldap/backend.py b/django_auth_ldap/backend.py
index <HASH>..<HASH> 100644
--- a/django_auth_ldap/backend.py
+++ b/django_auth_ldap/backend.py
@@ -825,7 +825,7 @@ class _LDAPUser:
the life of this object. If False, then the caller only wishes to test
the credentials, after whic... | Use arg for dynamic part of log message RE binding | py |
diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/remote_connection.py
+++ b/py/selenium/webdriver/remote/remote_connection.py
@@ -166,14 +166,14 @@ class RemoteConnection(object):
# ... | Update remote_connection.py If the connection is going to use https then don't modify the URL to use an IP address. Keep that sucker a hostname. | py |
diff --git a/sendwithus/__init__.py b/sendwithus/__init__.py
index <HASH>..<HASH> 100644
--- a/sendwithus/__init__.py
+++ b/sendwithus/__init__.py
@@ -437,3 +437,6 @@ class batchapi(api):
logger.debug('\tresponse: %s' % r.content)
return r.json()
+
+ def command_length(self):
+ ... | add helper method for seeing command queue length | py |
diff --git a/djangocms_page_meta/models.py b/djangocms_page_meta/models.py
index <HASH>..<HASH> 100644
--- a/djangocms_page_meta/models.py
+++ b/djangocms_page_meta/models.py
@@ -71,7 +71,7 @@ class PageMeta(PageExtension):
help_text=_(u'Use Article for generic pages.'))
class ... | change verbose name to avoid issue with permission name length | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,14 +8,14 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="django-package-monitor",
- version="0.1.3",
+ version="0.2.0",
packages=[
'package_monitor'... | Update setup.py dependencies and bump to <I> Removed django and added semantic_version and requirements_parser | py |
diff --git a/src/openbandparams/algorithms.py b/src/openbandparams/algorithms.py
index <HASH>..<HASH> 100644
--- a/src/openbandparams/algorithms.py
+++ b/src/openbandparams/algorithms.py
@@ -19,9 +19,35 @@
##############################################################################
def sign(x):
+ """
+ Retu... | added docstrings to algorithms module | py |
diff --git a/satpy/resample.py b/satpy/resample.py
index <HASH>..<HASH> 100644
--- a/satpy/resample.py
+++ b/satpy/resample.py
@@ -876,11 +876,18 @@ class BucketResamplerBase(BaseResampler):
result = da.stack(new_result)
if result.ndim > len(dims):
result = da.squeeze(result)
- ... | Use proper attribute values depending on which bucket resampling is done | py |
diff --git a/adafruit_bus_device/i2c_device.py b/adafruit_bus_device/i2c_device.py
index <HASH>..<HASH> 100644
--- a/adafruit_bus_device/i2c_device.py
+++ b/adafruit_bus_device/i2c_device.py
@@ -154,8 +154,8 @@ class I2CDevice:
def __probe_for_device(self):
"""
Try to read a byte from an address,... | Whitespace change to make pylint happy | py |
diff --git a/hpcbench/cli/bensh.py b/hpcbench/cli/bensh.py
index <HASH>..<HASH> 100644
--- a/hpcbench/cli/bensh.py
+++ b/hpcbench/cli/bensh.py
@@ -19,7 +19,7 @@ Options:
--version Show version
-v -vv Increase program verbosity
"""
-
+from __future__ import print_function
import os... | ben-sh prints campaign output path to standard output | py |
diff --git a/setup_wonambi.py b/setup_wonambi.py
index <HASH>..<HASH> 100755
--- a/setup_wonambi.py
+++ b/setup_wonambi.py
@@ -79,11 +79,11 @@ REMOTE_FILES = [
'cached': 'File_micromed_1.TRC',
'zipped': None,
},
- {'filename': 'blackrock.ns4',
- 'url': 'http://blackrockmicro.com/wp-content/uplo... | removed blackrock from test files for now the sampledata on the company website no longer contains ns4; it contains an encrypted CCF file instead | py |
diff --git a/src/ossos-pipeline/pipeline/step2.py b/src/ossos-pipeline/pipeline/step2.py
index <HASH>..<HASH> 100755
--- a/src/ossos-pipeline/pipeline/step2.py
+++ b/src/ossos-pipeline/pipeline/step2.py
@@ -66,6 +66,7 @@ def step2(expnums, ccd, version, prefix=None, dry_run=False):
os.unlink('proc-these-files'... | check_trans expects an extra comment line..so added one | py |
diff --git a/greenwich/raster.py b/greenwich/raster.py
index <HASH>..<HASH> 100644
--- a/greenwich/raster.py
+++ b/greenwich/raster.py
@@ -506,9 +506,8 @@ class Raster(Comparable):
"""
size = size or self.size + (len(self),)
band = self.ds.GetRasterBand(1)
- imgio = MemFileIO(suffix='.... | Use mem driver in new(), fixes multiband masking | py |
diff --git a/nefertari/utils/utils.py b/nefertari/utils/utils.py
index <HASH>..<HASH> 100644
--- a/nefertari/utils/utils.py
+++ b/nefertari/utils/utils.py
@@ -172,5 +172,8 @@ def str2dict(dotted_str, value=None, separator='.'):
def drop_reserved_params(params):
""" Drops reserved params """
from nefertari im... | Refactor drop_reserved_params to not change type of params | py |
diff --git a/allauth/compat.py b/allauth/compat.py
index <HASH>..<HASH> 100644
--- a/allauth/compat.py
+++ b/allauth/compat.py
@@ -14,8 +14,8 @@ else:
# Wire the Django >= 1.8 API to the Django < 1.7 implementation.
def render_to_string(
template_name, context=None, request=None, using=None):
- ... | flake8 caught bad assert, fixed | py |
diff --git a/jujupy/client.py b/jujupy/client.py
index <HASH>..<HASH> 100644
--- a/jujupy/client.py
+++ b/jujupy/client.py
@@ -1168,6 +1168,7 @@ class Juju2Backend:
# Mutate os.environ instead of supplying env parameter so Windows can
# search env['PATH']
with scoped_environ(env):
+ ... | Extra logging when --verbose. Show env being set for juju command. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -97,7 +97,7 @@ setup_kwargs = dict(
packages=[pkg_name] + submodules + tests,
include_package_data=True,
install_requires=['numpy>=1.16.4', 'scipy>=1.2.3', 'sym>=0.3.4',
- 'sympy>=1.5.1', 'm... | relaxing "notebook" package version requirement in setup.py keeping the spec for unchanges for CI runs. closes #<I> | py |
diff --git a/tests/test_decorators.py b/tests/test_decorators.py
index <HASH>..<HASH> 100644
--- a/tests/test_decorators.py
+++ b/tests/test_decorators.py
@@ -21,13 +21,9 @@ class TestHR(unittest.TestCase):
class TestBR(unittest.TestCase):
def test_render(self):
- self.assertEqual(DOM.render(DOM.create_e... | Fix failing tests Children should be passed as positional arguments, not part of the props. | py |
diff --git a/linguist/settings.py b/linguist/settings.py
index <HASH>..<HASH> 100644
--- a/linguist/settings.py
+++ b/linguist/settings.py
@@ -10,12 +10,12 @@ TRANSLATION_MODEL = getattr(
'%s_TRANSLATION_MODEL' % APP_NAMESPACE,
'linguist.models.translation.Translation')
-SUPPORTED_LOCALES = getattr(
+SUPPOR... | Settings: LOCALE to LANGUAGE. | py |
diff --git a/leaflet_storage/views.py b/leaflet_storage/views.py
index <HASH>..<HASH> 100644
--- a/leaflet_storage/views.py
+++ b/leaflet_storage/views.py
@@ -323,9 +323,9 @@ class UploadData(FormView):
# Use a tuple to add more sources possible
# first item is field name
FIELDS = [
- ... | Match also hexcolor at import | py |
diff --git a/nptdms/types.py b/nptdms/types.py
index <HASH>..<HASH> 100644
--- a/nptdms/types.py
+++ b/nptdms/types.py
@@ -225,5 +225,6 @@ class TimeStamp(TdmsType):
@tds_data_type(0xFFFFFFFF, None)
-class DaqMxRawData(TdmsType):
+class DaqMxRawData(StructType):
size = 2
+ struct_declaration = 'h' | making DaqMxRawData a structtype for read support | py |
diff --git a/panya/generic/views.py b/panya/generic/views.py
index <HASH>..<HASH> 100755
--- a/panya/generic/views.py
+++ b/panya/generic/views.py
@@ -170,6 +170,8 @@ class GenericObjectDetail(object):
mimetype=kwargs.get('mimetype', getattr(self, 'mimetype', self.get_mimetype())),
)
+generic_ob... | Made generic views availble for direct use. | py |
diff --git a/cs/client.py b/cs/client.py
index <HASH>..<HASH> 100644
--- a/cs/client.py
+++ b/cs/client.py
@@ -37,6 +37,8 @@ if sys.version_info >= (3, 5):
except ImportError:
pass
+PAGE_SIZE = 500
+
def cs_encode(value):
"""
@@ -119,7 +121,7 @@ class CloudStack(object):
if json:
... | client: avoid infinite loop on broken pagination | py |
diff --git a/coursera/test/test_credentials.py b/coursera/test/test_credentials.py
index <HASH>..<HASH> 100644
--- a/coursera/test/test_credentials.py
+++ b/coursera/test/test_credentials.py
@@ -8,7 +8,7 @@ import os.path
import pytest
from coursera import credentials
-from .test_utils import assertEquals, assertTr... | test: test_credentials: Remove unused imports. | py |
diff --git a/dbusmock/templates/bluez5.py b/dbusmock/templates/bluez5.py
index <HASH>..<HASH> 100644
--- a/dbusmock/templates/bluez5.py
+++ b/dbusmock/templates/bluez5.py
@@ -256,6 +256,37 @@ def RemoveAdapter(self, device_name):
])
+@dbus.service.method(BLUEZ_MOCK_IFACE,
+ ... | bluez5: Add RemoveAdapterWithDevices() mock function This is used to mock a "normal" adapter removal in bluetoothd, such as a USB adapter being unplugged or a killswitch being activated. | py |
diff --git a/recordlinkage/network.py b/recordlinkage/network.py
index <HASH>..<HASH> 100644
--- a/recordlinkage/network.py
+++ b/recordlinkage/network.py
@@ -186,11 +186,13 @@ class ConnectedComponents(object):
except ImportError():
raise Exception("'networkx' module is needed for this operation"... | Remove deprecated connected_component_subgraphs from networkx | py |
diff --git a/wafer/talks/models.py b/wafer/talks/models.py
index <HASH>..<HASH> 100644
--- a/wafer/talks/models.py
+++ b/wafer/talks/models.py
@@ -23,6 +23,11 @@ class TalkType(models.Model):
class Talk(models.Model):
+ class Meta:
+ permissions = (
+ ("view_all", "Can see all talks"),
+ ... | Add view_all permissions for talks. | py |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -658,11 +658,10 @@ class Starmap(object):
task_no += 1
if task_no == 1: # first time
self.progress... | Make sure that task_info is stored always | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,4 +34,5 @@ setup(
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
+ python_requires='>=3.2',
) | set python_requires to >=<I> | py |
diff --git a/salt/utils/verify.py b/salt/utils/verify.py
index <HASH>..<HASH> 100644
--- a/salt/utils/verify.py
+++ b/salt/utils/verify.py
@@ -228,6 +228,8 @@ def verify_env(dirs, user, permissive=False, pki_dir=''):
os.chown(dir_, uid, gid)
for subdir in [a for a in os.listdir(dir_) i... | Fix performance for env scanning Also scan for jobs in the absolute path | py |
diff --git a/EventRegistry.py b/EventRegistry.py
index <HASH>..<HASH> 100644
--- a/EventRegistry.py
+++ b/EventRegistry.py
@@ -636,11 +636,16 @@ class RequestArticlesInfo(RequestArticles):
self.resultType = "articles"
-# return a list of event uris
+# return a list of article uris
... | - bug fixes - uses non-beta as the default host | py |
diff --git a/xtuml/model.py b/xtuml/model.py
index <HASH>..<HASH> 100644
--- a/xtuml/model.py
+++ b/xtuml/model.py
@@ -346,13 +346,13 @@ class MetaModel(object):
self.associations = list()
self.id_generator = id_generator
- def define_class(self, kind, attributes):
+ def define_class(s... | model: allow doc-strings to be set on class definitions | py |
diff --git a/rtcclient/client.py b/rtcclient/client.py
index <HASH>..<HASH> 100644
--- a/rtcclient/client.py
+++ b/rtcclient/client.py
@@ -20,7 +20,7 @@ class RTCClient(RTCBase):
Tips: You can also customize your preferred properties to be returned
by specified `returned_properties` when the called methods co... | fix bug: getting none workitems | py |
diff --git a/src/livestreamer_cli/utils/http_server.py b/src/livestreamer_cli/utils/http_server.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer_cli/utils/http_server.py
+++ b/src/livestreamer_cli/utils/http_server.py
@@ -32,9 +32,12 @@ class HTTPServer(object):
return [self.host]
addrs = s... | cli: Don't crash when failing to list listening ports. Resolves #<I>. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,7 +32,8 @@ extensions = ['sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.autosumma
'sphinx.ext.viewcode', 'sphinx.ext.autodoc', 'numpy_ext.numpydoc',
'sphinx.ext.inter... | Removed ipython from conf.py for readthedocs. | py |
diff --git a/sphinxcontrib/paverutils.py b/sphinxcontrib/paverutils.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/paverutils.py
+++ b/sphinxcontrib/paverutils.py
@@ -108,6 +108,13 @@ def pdf(options):
return
+def _wrap_sphinx(sphinxopts):
+ try:
+ return sphinx.main(sphinxopts)
+ except Syste... | Trap sphinx exits Newer versions of sphinx try to exit when main() is done, so trap that exit code and return it. | py |
diff --git a/test/on_yubikey/test_cli_config.py b/test/on_yubikey/test_cli_config.py
index <HASH>..<HASH> 100644
--- a/test/on_yubikey/test_cli_config.py
+++ b/test/on_yubikey/test_cli_config.py
@@ -30,6 +30,11 @@ class TestConfigUSB(DestructiveYubikeyTestCase):
output = ykman_cli('config', 'usb', '--list')
... | add test case for config with openpgp | py |
diff --git a/huawei_lte_api/Client.py b/huawei_lte_api/Client.py
index <HASH>..<HASH> 100644
--- a/huawei_lte_api/Client.py
+++ b/huawei_lte_api/Client.py
@@ -32,6 +32,7 @@ from huawei_lte_api.api.UsbPrinter import UsbPrinter
from huawei_lte_api.api.Vpn import Vpn
from huawei_lte_api.api.Ntwk import Ntwk
from huawei... | Expose pb in client | py |
diff --git a/googletrans/client.py b/googletrans/client.py
index <HASH>..<HASH> 100644
--- a/googletrans/client.py
+++ b/googletrans/client.py
@@ -187,7 +187,7 @@ class Translator:
data, response = self._translate(text, dest, src, kwargs)
# this code will be updated when the format is changed.
- ... | fix(client): add an empty array to allow iterating over an array containing newline (#<I>) An array containing simply a newline ['\n','other text'] will error on this line. Adding an empty array to allow it to iterate solves it. | py |
diff --git a/pulsar/apps/wsgi/handlers.py b/pulsar/apps/wsgi/handlers.py
index <HASH>..<HASH> 100644
--- a/pulsar/apps/wsgi/handlers.py
+++ b/pulsar/apps/wsgi/handlers.py
@@ -85,7 +85,7 @@ Lazy Wsgi Handler
Pulsar Variables
======================
-Pulsar inject two server-defined variables into the WSGI environ:
+P... | Cannot merge the pull request because it is against the master branch. It should be the dev branch instead. Thanks for contribution anyway. fixes #<I> | py |
diff --git a/tests/test_views.py b/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/tests/test_views.py
+++ b/tests/test_views.py
@@ -74,7 +74,10 @@ class TestWatchman(unittest.TestCase):
self.assertEqual(response['foo']['error'], "The connection foo doesn't exist")
def test_check_cache_handles_exc... | Test different error message before Django <I> In the change to the cache interface in Django <I>, the error message was also changed. Test has been changed to check the correct error message depending on the version of Django under test. | py |
diff --git a/raiden/transfer/mediated_transfer/target.py b/raiden/transfer/mediated_transfer/target.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/mediated_transfer/target.py
+++ b/raiden/transfer/mediated_transfer/target.py
@@ -241,7 +241,7 @@ def handle_block(
channel_state.partner_state,
lock... | Fixed log message When the lock has expired the message is None, appending it to the event will result in the string `lock expired None`. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ def long_description():
return(readme_text)
setup(name='PyUserInput',
- version='0.1.4',
+ version='0.1.5',
description='A simple, cross-platform module for mouse and keyboard control',
... | version bump for the x<I> fix | py |
diff --git a/holoviews/operation/__init__.py b/holoviews/operation/__init__.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/__init__.py
+++ b/holoviews/operation/__init__.py
@@ -1,10 +1,10 @@
from ..core.operation import ElementOperation, MapOperation
from ..core.options import Channel
-from .rgb import * ... | Relaxed restriction on what operations are registered with Channel | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -123,7 +123,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file nam... | There is, as yet, no static content to include. | py |
diff --git a/visidata/loaders/html.py b/visidata/loaders/html.py
index <HASH>..<HASH> 100644
--- a/visidata/loaders/html.py
+++ b/visidata/loaders/html.py
@@ -6,22 +6,17 @@ def open_html(p):
return HtmlTablesSheet(p.name, source=p)
open_htm = open_html
-@Sheet.api
-def getSheet(sheet, k):
- for vs in sheet.r... | [html] set name to be keycol | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -162,8 +162,8 @@ for ext in extensions:
if gsl_version is not None:
if 'gsl' not in ext.libraries:
ext.libraries.append('gsl')
- if 'gslcblas' not in ext.libraries:
- ... | don't ned gslcblas | py |
diff --git a/htmlutils.py b/htmlutils.py
index <HASH>..<HASH> 100644
--- a/htmlutils.py
+++ b/htmlutils.py
@@ -290,6 +290,7 @@ file_upload_url - *str* the URL used to upload new files via the
if enabled and fckeditor_available:
oFCKeditor = fckeditor.FCKeditor(name)
oFCKeditor.BasePath = '/fckedi... | Added inlined TODO. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,8 @@
from distutils.core import setup
setup(name='dshelpers',
version='1.3.0',
- description="Provides some helpers functions used by the ScraperWiki Data Services team.",
- long_description="Provide... | "helpers" > "helper" typo fix In setup.py descriptions. | py |
diff --git a/theanets/graph.py b/theanets/graph.py
index <HASH>..<HASH> 100644
--- a/theanets/graph.py
+++ b/theanets/graph.py
@@ -59,6 +59,7 @@ import numpy as np
import pickle
import theano
import theano.tensor as TT
+import time
import warnings
from . import layers
@@ -262,8 +263,8 @@ class Network(object):
... | Fix save_every timestamping to work in py2+py3. | py |
diff --git a/pymemcache/test/test_client.py b/pymemcache/test/test_client.py
index <HASH>..<HASH> 100644
--- a/pymemcache/test/test_client.py
+++ b/pymemcache/test/test_client.py
@@ -227,7 +227,7 @@ class ClientTestMixin(object):
def test_get_not_found_default(self):
client = self.make_client([b'END\r\n']... | Use '==' to compare strings | py |
diff --git a/tests/test_e2e.py b/tests/test_e2e.py
index <HASH>..<HASH> 100644
--- a/tests/test_e2e.py
+++ b/tests/test_e2e.py
@@ -277,3 +277,40 @@ class TestSSLConnection(unittest.TestCase):
peer_addr = sock.getpeername()
self.assertEqual(peer_addr, ("127.0.0.1", used_port))
+
+ @blocking
+ @... | Add test which checks for starttls | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ setup(
packages=find_packages(),
install_requires=[
"Flask==0.10.1",
- "apache-libcloud==0.18.0",
+ "apache-libcloud==0.19.0",
"lockfile==0.10.2",
"shortuuid==0... | upgrade libcloud to <I> | py |
diff --git a/numpy_groupies/__init__.py b/numpy_groupies/__init__.py
index <HASH>..<HASH> 100644
--- a/numpy_groupies/__init__.py
+++ b/numpy_groupies/__init__.py
@@ -24,15 +24,6 @@ else:
try:
- import numba
-except ImportError:
- aggregate_nb = None
-else:
- from .aggregate_numba import aggregate as aggr... | Make numba the default implementation, as it beats weave in major parts of the benchmarks now | py |
diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/settings.py
+++ b/openstack_dashboard/settings.py
@@ -203,6 +203,7 @@ LANGUAGES = (
('nl', 'Dutch (Netherlands)'),
('pl', 'Polish'),
('pt-br', 'Portuguese (Brazil)'),
+ ... | Add Russian to settings.py The Russian translation is <I>% in transifex. We should include it in settings.py. Change-Id: I8a<I>ba9a<I>d7a2e<I>d9ce2c4fc<I> Closes-Bug: <I> | py |
diff --git a/lib/process.py b/lib/process.py
index <HASH>..<HASH> 100644
--- a/lib/process.py
+++ b/lib/process.py
@@ -217,16 +217,15 @@ def cleanup_mprocess(config_path, cfg):
def remove_path(path):
"""remove path from file system
If path is None - do nothing"""
- errFunction = lambda func, filepath, exc... | remove calls to chmod. log errors. | py |
diff --git a/tests/test_graphers_render_analyzers.py b/tests/test_graphers_render_analyzers.py
index <HASH>..<HASH> 100644
--- a/tests/test_graphers_render_analyzers.py
+++ b/tests/test_graphers_render_analyzers.py
@@ -8,7 +8,7 @@ import numpy as np
from tempfile import NamedTemporaryFile
import os
-PLOT = True
+PL... | fix(test_graphers_render_analyzers): Switch interactive plot option to false | py |
diff --git a/ELiDE/app.py b/ELiDE/app.py
index <HASH>..<HASH> 100644
--- a/ELiDE/app.py
+++ b/ELiDE/app.py
@@ -179,13 +179,7 @@ class ELiDELayout(FloatLayout):
try:
r.append(next(self.engine._rules_iter))
except StopIteration:
- if not self.engine._have_rules():
- ... | fix some stuff that was stopping time from advancing properly | py |
diff --git a/search/indico_search/plugin.py b/search/indico_search/plugin.py
index <HASH>..<HASH> 100644
--- a/search/indico_search/plugin.py
+++ b/search/indico_search/plugin.py
@@ -16,7 +16,7 @@
from __future__ import unicode_literals
-from flask import request
+from flask import g, request
from flask_plugineng... | Search: Hide search box in static sites | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ from setuptools import setup, find_packages
setup(
name='pyjks',
- version='0.4.0',
+ version='0.4.1dev',
author="Kurt Rose",
author_email="kurt@kurtrose.com",
description='Pure-Pyth... | bumping version for <I>dev | py |
diff --git a/blockstack/blockstackd.py b/blockstack/blockstackd.py
index <HASH>..<HASH> 100644
--- a/blockstack/blockstackd.py
+++ b/blockstack/blockstackd.py
@@ -1019,7 +1019,7 @@ class BlockstackdRPCHandler(SimpleXMLRPCRequestHandler):
return json.dumps(res)
except Exception, e:
pri... | include history when finding the name operations at a block; return a JSON-ized RPC exception (not its string representation) on error | py |
diff --git a/buildbot/scripts/runner.py b/buildbot/scripts/runner.py
index <HASH>..<HASH> 100644
--- a/buildbot/scripts/runner.py
+++ b/buildbot/scripts/runner.py
@@ -735,6 +735,8 @@ class StatusClientOptions(OptionsWithOptionsFile):
optParameters = [
["master", "m", None,
"Location of the build... | Accept username/passwd as command line arguments in 'buildbot statuslog' | py |
diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_socketio/__init__.py
+++ b/flask_socketio/__init__.py
@@ -1,5 +1,18 @@
import sys
+# make sure gevent-socketio is not installed, as it conflicts with
+# python-socketio
+gevent_socketio_found = True
+try:
+ ... | exit with error if gevent-socketio is installed | py |
diff --git a/ucoinpy/documents/peer.py b/ucoinpy/documents/peer.py
index <HASH>..<HASH> 100644
--- a/ucoinpy/documents/peer.py
+++ b/ucoinpy/documents/peer.py
@@ -6,6 +6,7 @@ Created on 2 déc. 2014
import re
+from ..api.bma import ConnectionHandler
from . import Document
from .. import PROTOCOL_VERSION, MANAGED_... | Connection handler from bma | py |
diff --git a/xarray/backends/rasterio_.py b/xarray/backends/rasterio_.py
index <HASH>..<HASH> 100644
--- a/xarray/backends/rasterio_.py
+++ b/xarray/backends/rasterio_.py
@@ -169,7 +169,7 @@ def open_rasterio(filename, parse_coordinates=None, chunks=None, cache=None,
from affine import Affine
da = x... | Small fix in rasterio docs (#<I>) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.