diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pyfixdoc.py b/pyfixdoc.py
index <HASH>..<HASH> 100755
--- a/pyfixdoc.py
+++ b/pyfixdoc.py
@@ -486,7 +486,7 @@ apidocs as markdown.
for func_name, func_obj in inspect.getmembers(self.module_obj, inspect.isfunction):
if not func_name.startswith("_"):
- _, obj_md = self.... | Replaced just `_` with an unused variable declaration. | py |
diff --git a/theanets/trainer.py b/theanets/trainer.py
index <HASH>..<HASH> 100644
--- a/theanets/trainer.py
+++ b/theanets/trainer.py
@@ -137,7 +137,7 @@ class SGD(Trainer):
logging.info('interrupted!')
break
except PatienceElapsedError:
- l... | Change "error" logging messages to info to reflect their importance. | py |
diff --git a/discord/__init__.py b/discord/__init__.py
index <HASH>..<HASH> 100644
--- a/discord/__init__.py
+++ b/discord/__init__.py
@@ -17,6 +17,8 @@ __license__ = 'MIT'
__copyright__ = 'Copyright 2015-2020 Rapptz'
__version__ = '1.4.0'
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
+
from co... | Extend __path__ with pkgutil to allow editable extensions | py |
diff --git a/benchexec/intel_cpu_energy.py b/benchexec/intel_cpu_energy.py
index <HASH>..<HASH> 100644
--- a/benchexec/intel_cpu_energy.py
+++ b/benchexec/intel_cpu_energy.py
@@ -40,7 +40,7 @@ class EnergyMeasurement(object):
measurementProcess = None
def start(self):
- """Starts the external measure... | Don't crash if energy measurement was not started. | py |
diff --git a/xmantissa/test/test_howtolistings.py b/xmantissa/test/test_howtolistings.py
index <HASH>..<HASH> 100644
--- a/xmantissa/test/test_howtolistings.py
+++ b/xmantissa/test/test_howtolistings.py
@@ -15,7 +15,7 @@ from zope.interface.verify import verifyObject
from twisted.python.filepath import FilePath
-f... | Skip listing tests if listings are not found. | py |
diff --git a/tests/test_relative_imports.py b/tests/test_relative_imports.py
index <HASH>..<HASH> 100644
--- a/tests/test_relative_imports.py
+++ b/tests/test_relative_imports.py
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
import os
+import sys
from tests.filemaker import create_files
from tests.simpledeps import simpl... | Fix: implicit relative import is allowed in py2 | py |
diff --git a/aiger_bv/aigbv.py b/aiger_bv/aigbv.py
index <HASH>..<HASH> 100644
--- a/aiger_bv/aigbv.py
+++ b/aiger_bv/aigbv.py
@@ -140,6 +140,7 @@ class AIGBV:
def cutlatches(self, latches=None, renamer=None):
if renamer is None:
+ @fn.memoize
def renamer(_):
ret... | Fix bug in cutlatche's default renamer | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ with open('requirements.txt') as f:
setup(name="luminol",
description='luminol is an anomaly detection and correlation library for timeseries data.',
- url='https://github.com/linkedin/naarad',
+ ... | Fixing URL to point to new luminol repo | py |
diff --git a/lurklib/variables.py b/lurklib/variables.py
index <HASH>..<HASH> 100755
--- a/lurklib/variables.py
+++ b/lurklib/variables.py
@@ -31,7 +31,10 @@ class _Variables(object):
_select = select
_m_tls = tls
_m_time = time
- _m_proxy = socks
+ try:
+ _m_proxy = socks
+ except NameEr... | fixed no-proxy support exception handler | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(
install_requires=["selenium>=3.141.0", "six"],
extras_require={
"zope.testbrowser": ["zope.testbrowser>=5.2.4", "lxml>=4.2.4", "cssselect"],
- "django": ["Django>=1.7.11;python_v... | Update setup.py (#<I>) Closes <I> | py |
diff --git a/twitcher/owsrequest.py b/twitcher/owsrequest.py
index <HASH>..<HASH> 100644
--- a/twitcher/owsrequest.py
+++ b/twitcher/owsrequest.py
@@ -20,8 +20,8 @@ allowed_service_types = ('wps', 'wms')
allowed_public_request_types = {'wps': ('getcapabilities', 'describeprocess'),
'wm... | updated wms versions and requests | py |
diff --git a/exporters/readers/base_stream_reader.py b/exporters/readers/base_stream_reader.py
index <HASH>..<HASH> 100644
--- a/exporters/readers/base_stream_reader.py
+++ b/exporters/readers/base_stream_reader.py
@@ -36,7 +36,7 @@ class StreamBasedReader(BaseReader):
def iteritems_retrying(self, stream_data):
... | Fix trying to unshift into a non-iterio stream Fix AttributeError: addinfourl instance has no attribute 'unshift' | py |
diff --git a/alot/db/utils.py b/alot/db/utils.py
index <HASH>..<HASH> 100644
--- a/alot/db/utils.py
+++ b/alot/db/utils.py
@@ -352,7 +352,8 @@ def extract_body(mail, types=None, field_key='copiousoutput'):
continue
enc = part.get_content_charset() or 'ascii'
- raw_payload = part.get_paylo... | fix messages with content transfer encoding in py3k the change to raw payload makes sense to me, we need to tell it to decode using the content-transfer-encoding, and then transform tat back into a str. the need to join with '' instead of ' ' doesn't. | py |
diff --git a/blockstack/lib/genesis_block.py b/blockstack/lib/genesis_block.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/genesis_block.py
+++ b/blockstack/lib/genesis_block.py
@@ -21,9 +21,21 @@
along with Blockstack. If not, see <http://www.gnu.org/licenses/>.
"""
-# this is a place-holder
-GENESIS_BLOC... | the genesis block will encode all stage it went through, the signing keys, and the final stage (as the actual "genesis block" to be loaded into the db) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ from future import standard_library
standard_library.install_aliases()
from setuptools import setup
setup(name='arguments',
- version='13',
+ version='15',
description='Argument parser based ... | pip Friday <I> March <I> (week:9 day:<I>), <I>:<I>:<I> | py |
diff --git a/phonopy/interface/vasp.py b/phonopy/interface/vasp.py
index <HASH>..<HASH> 100644
--- a/phonopy/interface/vasp.py
+++ b/phonopy/interface/vasp.py
@@ -290,7 +290,7 @@ def _get_vasp_structure(atoms, direct=True):
lines += " 1.0\n"
for a in atoms.get_cell():
lines += " %21.16f %21.16f %2... | Insert one space between numbers of numbers of respective equivalent elements in writing POSCAR | py |
diff --git a/holoviews/plotting/bokeh/renderer.py b/holoviews/plotting/bokeh/renderer.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/renderer.py
+++ b/holoviews/plotting/bokeh/renderer.py
@@ -31,12 +31,12 @@ class BokehRenderer(Renderer):
plot, fmt = self._validate(obj, fmt)
if fmt =... | Fixed direct rendering of objects on BokehRenderer | py |
diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py
index <HASH>..<HASH> 100644
--- a/custodian/vasp/handlers.py
+++ b/custodian/vasp/handlers.py
@@ -59,7 +59,8 @@ class VaspErrorHandler(ErrorHandler, MSONable):
"rot_matrix": ["Found some non-integer element in rotation matrix"],
"bri... | Added catch for case where AMIN mixing parameter is large but cell is asymmetric (One lattice parameter is large) | py |
diff --git a/bcbio/chipseq/macs2.py b/bcbio/chipseq/macs2.py
index <HASH>..<HASH> 100644
--- a/bcbio/chipseq/macs2.py
+++ b/bcbio/chipseq/macs2.py
@@ -1,6 +1,7 @@
import os
-import subprocess
import glob
+import subprocess
+import sys
from bcbio import utils
from bcbio.provenance import do
@@ -24,8 +25,14 @@ def ... | List narrow and broad antibody options in warning. | py |
diff --git a/ambient_api/ambientapi.py b/ambient_api/ambientapi.py
index <HASH>..<HASH> 100644
--- a/ambient_api/ambientapi.py
+++ b/ambient_api/ambientapi.py
@@ -32,7 +32,7 @@ class AmbientWeatherStation:
posix_timestamp = datetime_object.timestamp()
except AttributeError:
- epoch = ... | Get Epoch date by setting it verbosely Hopefully fixes OSError on Windows | py |
diff --git a/jsonrpcserver/dispatcher.py b/jsonrpcserver/dispatcher.py
index <HASH>..<HASH> 100644
--- a/jsonrpcserver/dispatcher.py
+++ b/jsonrpcserver/dispatcher.py
@@ -4,9 +4,9 @@ Dispatcher.
The dispatch() function takes a JSON-RPC request, logs it, calls the appropriate method,
then logs and returns the response... | Use relative import from collections Fixes warning "Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in <I> it will stop working" | py |
diff --git a/tests/labsuite/engine/test_protocol.py b/tests/labsuite/engine/test_protocol.py
index <HASH>..<HASH> 100644
--- a/tests/labsuite/engine/test_protocol.py
+++ b/tests/labsuite/engine/test_protocol.py
@@ -169,6 +169,12 @@ class ProtocolTest(unittest.TestCase):
self.protocol.add_container('A1', 'micro... | Protocol: Test multiple transfer commands in sequence. | py |
diff --git a/recipe/schemas.py b/recipe/schemas.py
index <HASH>..<HASH> 100644
--- a/recipe/schemas.py
+++ b/recipe/schemas.py
@@ -512,25 +512,15 @@ def _full_condition_schema(use_registry=False):
_condition_schema(
'notin', 'notin', scalar=False, use_registry=use_registry
),
... | simplify _full_condition_schema not only does this end up being less code, more importantly it avoids use of `anyof` which means better error messages. | py |
diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_file.py
+++ b/salt/modules/win_file.py
@@ -33,7 +33,7 @@ from salt.modules.file import (check_hash, check_managed, check_perms, # pylint:
contains_regex, contains_regex_multiline, contains_glob, ... | import _binary_replace for win_file.py Windows file management re-uses a lot of functions from salt.modules.file, and a new function added in b<I>c<I>, which is needed in check_file_meta(), was not added to the functions that are imported into win_file.py. Fixes #<I>. | py |
diff --git a/salt/client/ssh/state.py b/salt/client/ssh/state.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/state.py
+++ b/salt/client/ssh/state.py
@@ -34,8 +34,8 @@ class SSHState(salt.state.State):
Load up the modules for remote compilation via ssh
'''
self.functions = self.wrapper
-... | client.ssh.state.SSHState.load_modules: avoid shadowing locals() built-in | py |
diff --git a/ginga/util/catalog.py b/ginga/util/catalog.py
index <HASH>..<HASH> 100644
--- a/ginga/util/catalog.py
+++ b/ginga/util/catalog.py
@@ -10,7 +10,7 @@ import re
import urllib
import time
import warnings
-from urllib.request import Request, urlopen
+from urllib.request import Request, urlopen, urlretrieve
... | Fixed error with python 3 version of catalog module - removed exception handler for exception that got moved or renamed - now downloads URLs correctly | py |
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/__init__.py
+++ b/salt/pillar/__init__.py
@@ -366,5 +366,5 @@ class Pillar(object):
if errors:
for error in errors:
log.critical('Pillar render error: {0}'.format(error))
-... | Start work on #<I> This commit adds the errors to the pillar. The next step is to have state runs fail if errors are found in the pillar. | py |
diff --git a/kqml/kqml_performative.py b/kqml/kqml_performative.py
index <HASH>..<HASH> 100644
--- a/kqml/kqml_performative.py
+++ b/kqml/kqml_performative.py
@@ -27,12 +27,12 @@ class KQMLPerformative(KQMLObject):
while i < len(objects):
if not isinstance(objects[i], KQMLToken) or objects[i][0] !... | Fix silent error when objects[i] is not a string This helps to have a more clear exception that does not itself fail when the object in question is not a string. | py |
diff --git a/bokeh/compat/bokeh_renderer.py b/bokeh/compat/bokeh_renderer.py
index <HASH>..<HASH> 100644
--- a/bokeh/compat/bokeh_renderer.py
+++ b/bokeh/compat/bokeh_renderer.py
@@ -117,7 +117,7 @@ class BokehRenderer(Renderer):
self.plot.title = ax.get_title()
# to avoid title conversion by draw_tex... | Added information about the axis scales to the props dictionary | py |
diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/ext/base_client.py
+++ b/pyrogram/client/ext/base_client.py
@@ -60,7 +60,7 @@ class BaseClient:
5: "document",
8: "sticker",
9: "audio",
- 10: "gif",
+... | Rename media type id to animation | py |
diff --git a/tracer/tracer.py b/tracer/tracer.py
index <HASH>..<HASH> 100644
--- a/tracer/tracer.py
+++ b/tracer/tracer.py
@@ -258,6 +258,7 @@ class Tracer(object):
# if so we need to take special care
r_plt = self._p.loader.main_bin.reverse_plt
if current.... | Changing tracer to use full_init instead of entry | py |
diff --git a/gns3server/modules/docker/docker_vm.py b/gns3server/modules/docker/docker_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/docker/docker_vm.py
+++ b/gns3server/modules/docker/docker_vm.py
@@ -129,8 +129,9 @@ class DockerVM(BaseVM):
@start_command.setter
def start_command(self, command... | Fix a crash when docker start command is None Ref #<I> | py |
diff --git a/autofit/optimize/non_linear/output.py b/autofit/optimize/non_linear/output.py
index <HASH>..<HASH> 100644
--- a/autofit/optimize/non_linear/output.py
+++ b/autofit/optimize/non_linear/output.py
@@ -1,8 +1,11 @@
+import logging
import os
+from configparser import NoOptionError
from autofit import conf
... | default to using prior_name as a label | py |
diff --git a/geomdl/elements.py b/geomdl/elements.py
index <HASH>..<HASH> 100644
--- a/geomdl/elements.py
+++ b/geomdl/elements.py
@@ -210,8 +210,7 @@ class Vertex(AbstractElement):
@uv.setter
def uv(self, value):
if not isinstance(value, (list, tuple)) or len(value) != 2:
- print("UV must... | Vertex.uv setter should raise an exception instead of error printing | py |
diff --git a/djangosaml2/cache.py b/djangosaml2/cache.py
index <HASH>..<HASH> 100644
--- a/djangosaml2/cache.py
+++ b/djangosaml2/cache.py
@@ -37,6 +37,10 @@ class DjangoSessionCacheAdapter(dict):
def sync(self):
# Changes in inner objects do not cause session invalidation
# https://docs.djangopr... | Added objects to the session in DjangoSessionCacheAdapter.sync() | py |
diff --git a/rfhub/kwdb.py b/rfhub/kwdb.py
index <HASH>..<HASH> 100644
--- a/rfhub/kwdb.py
+++ b/rfhub/kwdb.py
@@ -183,12 +183,19 @@ class KeywordTable(object):
# the user accidentally starts up the hub giving the same
# folder, or a folder and it's children, on the command line...
if watch:... | use normalized path in kwdb This fixes a bug where were weren't reloading a resource file if it was specified using a relative path on the command line. | py |
diff --git a/astroplan/scheduling.py b/astroplan/scheduling.py
index <HASH>..<HASH> 100644
--- a/astroplan/scheduling.py
+++ b/astroplan/scheduling.py
@@ -807,7 +807,7 @@ class PriorityScheduler(Scheduler):
def attempt_insert_block(self, b, new_start_time, start_time_idx):
# set duration to be exact mul... | Tweaking end of observing block from ceil->floor | py |
diff --git a/ndb/tasklets.py b/ndb/tasklets.py
index <HASH>..<HASH> 100644
--- a/ndb/tasklets.py
+++ b/ndb/tasklets.py
@@ -566,7 +566,7 @@ class MultiFuture(Future):
mfut.complete()
fut = mfut
elif not isinstance(fut, Future):
- raise TypeError('Expected Future received %r' % fut)
+ raise T... | Improve error message when non-Future received. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -156,8 +156,8 @@ html_theme_options = {
"github_banner": True,
"badges": [
{
- "image": "https://dev.azure.com/aio-libs/aiohttp/_apis/build/status/CI?branchName=master",
- ... | Fix CI badge in docs (#<I>) | py |
diff --git a/photutils/psf/photometry.py b/photutils/psf/photometry.py
index <HASH>..<HASH> 100644
--- a/photutils/psf/photometry.py
+++ b/photutils/psf/photometry.py
@@ -411,9 +411,7 @@ class IterativelySubtractedPSFPhotometry(BasicPSFPhotometry):
``id`` is an integer-valued column starting from ``1``,
... | fix wrong docstring explanation [skip ci] | py |
diff --git a/rflint/rflint.py b/rflint/rflint.py
index <HASH>..<HASH> 100644
--- a/rflint/rflint.py
+++ b/rflint/rflint.py
@@ -132,14 +132,17 @@ class RfLint(object):
print(" " + line)
def _process_folder(self, path):
- for root, dirs, files in os.walk(path):
- for filen... | Fix the recursive option With args.recursive set, the same file would be visited many times | py |
diff --git a/pelix/shell/core.py b/pelix/shell/core.py
index <HASH>..<HASH> 100644
--- a/pelix/shell/core.py
+++ b/pelix/shell/core.py
@@ -801,7 +801,7 @@ class Shell(object):
"""
Prints the available methods and their documentation
"""
- namespaces = [namespace for namespace in self._... | Bug Fixed: Shell command "threads" wasn't working in Python 3 keys() returns a dist_keys in Python3, which doesn't support the sort() method. | py |
diff --git a/colorlog/escape_codes.py b/colorlog/escape_codes.py
index <HASH>..<HASH> 100644
--- a/colorlog/escape_codes.py
+++ b/colorlog/escape_codes.py
@@ -11,7 +11,7 @@ try:
except ImportError:
pass
else:
- colorama.init()
+ colorama.init(strip=False)
__all__ = ('escape_codes', 'parse_colors') | default colorama strip=False init colorama with strip=False to avoid unanticipated behavior differences dependent on whether or not colorama is installed. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -123,7 +123,8 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
],
- packages=find_packages('.', exclude=[u'tests', u'tests.*', u'tools']),
+ packages=find_packages(... | Excluded utils from packaging #<I> | py |
diff --git a/revisions/core.py b/revisions/core.py
index <HASH>..<HASH> 100644
--- a/revisions/core.py
+++ b/revisions/core.py
@@ -11,7 +11,7 @@ except ImportError:
class Revisions(object):
def __init__(self):
- self._req_get = requests.get
+ self.__request_org = requests.request
def __enter__(self):
... | Patches by default, hence applies to all methods | py |
diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -539,7 +539,7 @@ class PhoneNumberOrdering(TestCase):
def test_ordering_contains_None(self):
phone1 = PhoneNumber.from_string("+33600000000")
- msg = "'<' not supported between in... | Merge two concatenated strings in tests Reviewed-by: stefanfoulis | py |
diff --git a/lollygag/core/single_site/link_crawler.py b/lollygag/core/single_site/link_crawler.py
index <HASH>..<HASH> 100644
--- a/lollygag/core/single_site/link_crawler.py
+++ b/lollygag/core/single_site/link_crawler.py
@@ -31,7 +31,8 @@ class LinkCrawler(HTMLParser, Crawler):
return HTMLParser.feed(self, d... | Linkcrawler will only search for links in <a> tags | py |
diff --git a/asammdf/gui/widgets/plot.py b/asammdf/gui/widgets/plot.py
index <HASH>..<HASH> 100644
--- a/asammdf/gui/widgets/plot.py
+++ b/asammdf/gui/widgets/plot.py
@@ -2031,11 +2031,7 @@ class Plot(QtWidgets.QWidget):
for signal in self.plot.signals:
signal.enable = False
f... | display channels in focused mode even if they are disabled | py |
diff --git a/satpy/readers/yaml_reader.py b/satpy/readers/yaml_reader.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/yaml_reader.py
+++ b/satpy/readers/yaml_reader.py
@@ -396,7 +396,7 @@ class FileYAMLReader(AbstractYAMLReader):
warnings.warn(msg)
continue
except Runti... | Use string representation of exceptions BaseException.message was removed in python3 | py |
diff --git a/tests/pytests/functional/modules/state/test_state.py b/tests/pytests/functional/modules/state/test_state.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/functional/modules/state/test_state.py
+++ b/tests/pytests/functional/modules/state/test_state.py
@@ -727,6 +727,9 @@ def test_retry_option_success_par... | macos is consistently over duration right now. giving it more time | py |
diff --git a/grip/app.py b/grip/app.py
index <HASH>..<HASH> 100644
--- a/grip/app.py
+++ b/grip/app.py
@@ -85,19 +85,20 @@ class Grip(Flask):
self.title = title
self.quiet = self.config['QUIET']
- # Contextual attributes
+ # Overridable attributes
if self.renderer is None:
- ... | Fix and rename overridable attributes. | py |
diff --git a/xbpch/core.py b/xbpch/core.py
index <HASH>..<HASH> 100644
--- a/xbpch/core.py
+++ b/xbpch/core.py
@@ -629,6 +629,9 @@ class BPCHFile(object):
# "all of variables/arrays referencing its data are "
# "copied and/or cleaned", category=RuntimeWarning)
... | Fixing missing skipline while trying to read var_data | py |
diff --git a/mordred/task_enrich.py b/mordred/task_enrich.py
index <HASH>..<HASH> 100644
--- a/mordred/task_enrich.py
+++ b/mordred/task_enrich.py
@@ -120,7 +120,7 @@ class TaskEnrich(Task):
logger.error("Something went wrong producing enriched data for %s . "
"Using the b... | [task_enrich] Minor fix in logs | py |
diff --git a/tests/job_unittest.py b/tests/job_unittest.py
index <HASH>..<HASH> 100644
--- a/tests/job_unittest.py
+++ b/tests/job_unittest.py
@@ -771,7 +771,6 @@ class RunJobTestCase(unittest.TestCase):
with patch('openquake.job.Job.from_file') as from_file:
from_file.side_effect = patc... | Added engine module. Moved Job.launch() to the engine. Refactored tests accordingly Former-commit-id: f2a<I>bb<I>bec5b<I>ba1d<I>dd<I>e2bca1 | py |
diff --git a/metnet/lpsolver/generic.py b/metnet/lpsolver/generic.py
index <HASH>..<HASH> 100644
--- a/metnet/lpsolver/generic.py
+++ b/metnet/lpsolver/generic.py
@@ -65,8 +65,9 @@ class Solver(BaseSolver):
solvers = [s for s in solvers if req in s and s[req] == value]
if len(solvers) == 0:
- ... | lp.generic: Let RequirementsError report failed requirements | py |
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index <HASH>..<HASH> 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -107,7 +107,7 @@ class ReplyCommand(Command):
if qf:
quotestring = qf(name, address, timestamp, ui=ui, dbm=ui.dbman)
else:
- ... | use address as fallback in reply/forward_prefix | py |
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py
index <HASH>..<HASH> 100644
--- a/jsonschema/exceptions.py
+++ b/jsonschema/exceptions.py
@@ -105,10 +105,10 @@ class UnknownType(Exception):
pschema = pprint.pformat(self.schema, width=72)
pinstance = pprint.pformat(self.instance, width... | Try to be as unconfusing as possible since is_type can be called outside validation. | py |
diff --git a/host/pybar/scans/eudaq_ext_trigger.py b/host/pybar/scans/eudaq_ext_trigger.py
index <HASH>..<HASH> 100644
--- a/host/pybar/scans/eudaq_ext_trigger.py
+++ b/host/pybar/scans/eudaq_ext_trigger.py
@@ -62,7 +62,7 @@ class EudaqExtTriggerScan(ExtTriggerScan):
else:
trigger... | BUG: return string, in case data words per second returns None object | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,6 +16,7 @@ setuptools.setup(
description="Library and UI kit for STEM instrumentation (Camera, Scan, Microscope) with Nion Swift.",
url="https://github.com/nion-software/nionswift-instrumentation-kit",
packa... | Update setup and packaging in preparation for standalone pip install. | py |
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/client.py
+++ b/pyrogram/client/client.py
@@ -181,6 +181,8 @@ class Client(Methods, BaseClient):
Defaults to False (normal session).
"""
+ terms_of_service_displayed = False
+
... | Show TOS on signup just once while program is running (#<I>) | py |
diff --git a/llvmlite/binding/linker.py b/llvmlite/binding/linker.py
index <HASH>..<HASH> 100644
--- a/llvmlite/binding/linker.py
+++ b/llvmlite/binding/linker.py
@@ -4,8 +4,6 @@ from . import ffi
def link_modules(dst, src):
- dst.verify()
- src.verify()
with ffi.OutputString() as outerr:
err =... | Remove unnecessary verify. We should let user run the verification instead of doing it in linkage. | py |
diff --git a/tests/test_cmd.py b/tests/test_cmd.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd.py
+++ b/tests/test_cmd.py
@@ -100,8 +100,9 @@ def test_convert_single_line():
def test_convert_stdin_stdout():
""" Test use of pipe input to command-line call
"""
- pipe = subprocess.Popen('echo 60 15 | ap... | TST: improve cmd test robustness Improve robustness of unit tests for command line calls by ensuring access to apexpy on systems without the executable in the path. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -122,8 +122,8 @@ def get_version_info():
vinfo = _version_helper.generate_git_version_info()
except:
vinfo = vdummy()
- vinfo.version = '1.13.dev5'
- vinfo.release = 'False'
+ vinfo.... | Prepping for release (#<I>) | py |
diff --git a/test/test_consumer.py b/test/test_consumer.py
index <HASH>..<HASH> 100644
--- a/test/test_consumer.py
+++ b/test/test_consumer.py
@@ -15,10 +15,6 @@ class TestKafkaConsumer(unittest.TestCase):
with self.assertRaises(AssertionError):
SimpleConsumer(MagicMock(), 'group', 'topic', partit... | bootstrap_servers no longer required in KafkaConsumer (localhost default) | py |
diff --git a/winrandom/ctyped_funcs.py b/winrandom/ctyped_funcs.py
index <HASH>..<HASH> 100644
--- a/winrandom/ctyped_funcs.py
+++ b/winrandom/ctyped_funcs.py
@@ -24,7 +24,7 @@ def get_bytes(num_bytes):
ok = windll.Advapi32.CryptAcquireContextA(byref(hProv), None, None, PROV_RSA_FULL, 0)
ok = windll.Advapi32.... | Fixed: get_bytes() returned wrong value get_bytes() returned NUL-terminated str instead of bytes. | py |
diff --git a/irc3/__init__.py b/irc3/__init__.py
index <HASH>..<HASH> 100644
--- a/irc3/__init__.py
+++ b/irc3/__init__.py
@@ -303,7 +303,7 @@ class IrcBot(base.IrcObject):
"""DCC GET a file from mask. filepath must be an absolute path with an
existing directory. filesize is the expected file size."""... | need to pass host and ip to dcc | py |
diff --git a/pynetgear/__init__.py b/pynetgear/__init__.py
index <HASH>..<HASH> 100644
--- a/pynetgear/__init__.py
+++ b/pynetgear/__init__.py
@@ -86,12 +86,16 @@ class Netgear(object):
if not success:
return None
+ devices = []
+
# Netgear inserts a double-encoded value for "unk... | Handle gracefully 0 and empty string | py |
diff --git a/dynesty/bounding.py b/dynesty/bounding.py
index <HASH>..<HASH> 100644
--- a/dynesty/bounding.py
+++ b/dynesty/bounding.py
@@ -1344,7 +1344,7 @@ def bounding_ellipsoid(points, pointvol=0.):
except lalg.LinAlgError:
# If the matrix remains singular/unstable,
# suppress the ... | fix the variable naming issue in one of previous commits | py |
diff --git a/stripe/resource.py b/stripe/resource.py
index <HASH>..<HASH> 100644
--- a/stripe/resource.py
+++ b/stripe/resource.py
@@ -111,12 +111,11 @@ class StripeObject(dict):
object.__setattr__(self, 'api_key', api_key)
object.__setattr__(self, 'stripe_account', stripe_account)
+ object._... | don't treated requestor as an API resource key | py |
diff --git a/ipa/ipa_utils.py b/ipa/ipa_utils.py
index <HASH>..<HASH> 100644
--- a/ipa/ipa_utils.py
+++ b/ipa/ipa_utils.py
@@ -322,9 +322,7 @@ def get_test_files(test_dirs):
descriptions = {}
for test_dir in test_dirs:
if not os.path.exists(test_dir):
- raise IpaUtilsException(
- ... | If a test dir does not exist just continue. Instead of raising exception continue with next dir. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import re
-from codecs import open
+import codecs
from os import path
# Always prefer setuptools over distutils
@@ -8,7 +8,7 @@ from setuptools import setup, find_packages
def read... | Do not override builtin open() | py |
diff --git a/playhouse/sqlite_ext.py b/playhouse/sqlite_ext.py
index <HASH>..<HASH> 100644
--- a/playhouse/sqlite_ext.py
+++ b/playhouse/sqlite_ext.py
@@ -805,6 +805,9 @@ class SqliteQueryCompiler(QueryCompiler):
option.glue = '='
columns_constraints.nodes.append(option)
+ if ... | Support the WITHOUT ROWID optimization. | py |
diff --git a/parsl/monitoring/monitoring.py b/parsl/monitoring/monitoring.py
index <HASH>..<HASH> 100644
--- a/parsl/monitoring/monitoring.py
+++ b/parsl/monitoring/monitoring.py
@@ -415,7 +415,7 @@ class MonitoringHub(RepresentationMixin):
# TODO: tighten the Any message format
def send(self, mtype: Messag... | Do not log full monitoring message (#<I>) In the presence of large numbers of blocks, these messages could be extremely large | py |
diff --git a/lib/TodoBase.py b/lib/TodoBase.py
index <HASH>..<HASH> 100644
--- a/lib/TodoBase.py
+++ b/lib/TodoBase.py
@@ -75,7 +75,7 @@ class TodoBase(object):
""" Adds a tag to the todo. """
self.set_tag(p_key, p_value, True)
- def set_tag(self, p_key, p_value="", p_force_add=False, p_old_value... | Call remove_tag with the current value, if available. | py |
diff --git a/mongoctl/commands/server/start.py b/mongoctl/commands/server/start.py
index <HASH>..<HASH> 100644
--- a/mongoctl/commands/server/start.py
+++ b/mongoctl/commands/server/start.py
@@ -54,6 +54,9 @@ PROCESS_LIMITS = [
# mongo connection timeout for the start operation.
START_CONN_TIMEOUT = 10 * 60 * 1000
... | bump up server online timeout to <I> minutes | py |
diff --git a/omgeo/processors/postprocessors.py b/omgeo/processors/postprocessors.py
index <HASH>..<HASH> 100644
--- a/omgeo/processors/postprocessors.py
+++ b/omgeo/processors/postprocessors.py
@@ -132,6 +132,7 @@ class AttrSorter(PostProcessor):
Arguments:
==========
ordered_values -- A list of valu... | add missing arg to docstring on AttrSorter | py |
diff --git a/faradayio_cli/faradayio_cli.py b/faradayio_cli/faradayio_cli.py
index <HASH>..<HASH> 100644
--- a/faradayio_cli/faradayio_cli.py
+++ b/faradayio_cli/faradayio_cli.py
@@ -31,7 +31,7 @@ def setupSerialPort(loopback, port):
serialPort = SerialTestClass()
else:
# TODO enable serial port ... | Properly working TUN adapter * Removed extra prints * Starts up the TUN adapter properly and uses modified version of `faradayio` | py |
diff --git a/tests/laser/state/storage_test.py b/tests/laser/state/storage_test.py
index <HASH>..<HASH> 100644
--- a/tests/laser/state/storage_test.py
+++ b/tests/laser/state/storage_test.py
@@ -1,7 +1,6 @@
import pytest
from mythril.laser.ethereum.state.account import Storage
-from z3 import ExprRef
-
+from mythril.... | adapt storage test to use smt abstraction | py |
diff --git a/salt/modules/dockerio.py b/salt/modules/dockerio.py
index <HASH>..<HASH> 100644
--- a/salt/modules/dockerio.py
+++ b/salt/modules/dockerio.py
@@ -252,7 +252,7 @@ def _valid(m, id_=NOTSET, comment=VALID_RESPONSE, out=None):
return _set_status(m, status=True, id_=id_, comment=comment, out=out)
-def ... | Let docker-py auto detect version if not defined by user Docker-py will auto detect docker version incase version 'auto' is used. Reference: docker/docker-py#<I> | py |
diff --git a/metal/multitask/mt_label_model.py b/metal/multitask/mt_label_model.py
index <HASH>..<HASH> 100644
--- a/metal/multitask/mt_label_model.py
+++ b/metal/multitask/mt_label_model.py
@@ -24,8 +24,7 @@ class MTLabelModel(MTClassifier, LabelModel):
# Note: While K is a list of the cardinalities of the ... | Make suggested updates to MTLabelModel | py |
diff --git a/galpy/orbit_src/Orbit.py b/galpy/orbit_src/Orbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/Orbit.py
+++ b/galpy/orbit_src/Orbit.py
@@ -407,6 +407,9 @@ class Orbit(object):
self._orb._integrate_t_asQuantity= True
t= t.to(units.Gyr).value\
/bovy_conversio... | Allow dt in integrate to be Quantity | py |
diff --git a/src/python/dxpy/app_builder.py b/src/python/dxpy/app_builder.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/app_builder.py
+++ b/src/python/dxpy/app_builder.py
@@ -226,7 +226,6 @@ def _create_or_update_version(app_name, version, app_spec, try_update=True):
# published since we last looked.
... | Make app_builder output slightly less chatty. | py |
diff --git a/icrawler/version.py b/icrawler/version.py
index <HASH>..<HASH> 100644
--- a/icrawler/version.py
+++ b/icrawler/version.py
@@ -1 +1 @@
-__version__ = '0.6.5'
+__version__ = '0.6.6' | bump to <I>, add support of python <I>, remove python 2 support | py |
diff --git a/master/buildbot/changes/gerritchangesource.py b/master/buildbot/changes/gerritchangesource.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/changes/gerritchangesource.py
+++ b/master/buildbot/changes/gerritchangesource.py
@@ -44,24 +44,24 @@ class GerritChangeSource(base.ChangeSource):
self.ge... | Parse incoming event-stream correctly, fixes #<I>. While there, add some style to the code. | py |
diff --git a/tests/ro_functional.py b/tests/ro_functional.py
index <HASH>..<HASH> 100644
--- a/tests/ro_functional.py
+++ b/tests/ro_functional.py
@@ -116,7 +116,7 @@ class BaseTest(unittest.TestCase):
class BZGnome(BaseTest):
url = "https://bugzilla.gnome.org/xmlrpc.cgi"
- bzclass = bugzilla.Bugzilla34
+ ... | tests: GNOME bugzilla is not <I> | py |
diff --git a/src/streamlink/plugins/adultswim.py b/src/streamlink/plugins/adultswim.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/adultswim.py
+++ b/src/streamlink/plugins/adultswim.py
@@ -14,7 +14,7 @@ class AdultSwim(Plugin):
"Chrome/43.0.2357.65 Safari/537.36")
API_URL = "http://www.adult... | plugins.adultswim: support https urls | py |
diff --git a/p_autopep8.py b/p_autopep8.py
index <HASH>..<HASH> 100644
--- a/p_autopep8.py
+++ b/p_autopep8.py
@@ -90,7 +90,10 @@ class AutoPEP8(QWidget, SpyderPluginMixin): # pylint: disable=R0904
cursor = editor.textCursor()
cursor.beginEditBlock() # Start cancel block
if not cursor.hasSe... | Select replaced text after autopep8 completion | py |
diff --git a/locksmith/hub/views.py b/locksmith/hub/views.py
index <HASH>..<HASH> 100644
--- a/locksmith/hub/views.py
+++ b/locksmith/hub/views.py
@@ -5,7 +5,7 @@ from collections import defaultdict
from django.conf import settings
from django.core.mail import send_mail
from django.db.models import Sum, Max
-from dj... | decided to raise <I> for user trying to view another users key | py |
diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100755
--- a/example/settings.py
+++ b/example/settings.py
@@ -91,3 +91,5 @@ INSTALLED_APPS = (
'formfield',
'sample_app',
)
+
+TEST_RUNNER = 'django.test.runner.DiscoverRunner' | [<I>] Added <I> test runner | py |
diff --git a/pcef/core/editor.py b/pcef/core/editor.py
index <HASH>..<HASH> 100644
--- a/pcef/core/editor.py
+++ b/pcef/core/editor.py
@@ -463,10 +463,10 @@ class QCodeEdit(QtGui.QPlainTextEdit):
:rtype int or None
"""
- height = self.fontMetrics().height()
- for top, l in self.__block... | Improve linePos to use self.document instead of visibleBlocks | py |
diff --git a/bettercache/templatetags/bettercache.py b/bettercache/templatetags/bettercache.py
index <HASH>..<HASH> 100644
--- a/bettercache/templatetags/bettercache.py
+++ b/bettercache/templatetags/bettercache.py
@@ -22,6 +22,7 @@ def do_cache(parser, token):
class CacheNode(template.Node):
key_stack = []... | fragment names now represent a path through all the nested cache fragments | py |
diff --git a/mordred/mordred.py b/mordred/mordred.py
index <HASH>..<HASH> 100755
--- a/mordred/mordred.py
+++ b/mordred/mordred.py
@@ -254,7 +254,7 @@ class Mordred:
# do we need ad-hoc scripts?
- # Initial round: projects -> collect -> identities -> enrich
+ # Initial round: panels loading
... | [mordred] Fix comment about the things are done in the initial load | py |
diff --git a/tests/conf.py b/tests/conf.py
index <HASH>..<HASH> 100644
--- a/tests/conf.py
+++ b/tests/conf.py
@@ -17,7 +17,7 @@ __all__ = (
SCM_TESTS = ['hg', 'git']
uniq_suffix = str(int(time.mktime(datetime.datetime.now().timetuple())))
TEST_GIT_REPO = os.environ.get('VCS_TEST_GIT_REPO', '/tmp/vcs-git')
-GIT_REMO... | fixed git clone path for tests | py |
diff --git a/script/lib/config.py b/script/lib/config.py
index <HASH>..<HASH> 100644
--- a/script/lib/config.py
+++ b/script/lib/config.py
@@ -8,7 +8,7 @@ import sys
BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'
-LIBCHROMIUMCONTENT_CO... | Update libchromiumcontent for offscreen patches | py |
diff --git a/datafs/datafs.py b/datafs/datafs.py
index <HASH>..<HASH> 100644
--- a/datafs/datafs.py
+++ b/datafs/datafs.py
@@ -185,7 +185,7 @@ class DataFSInterface(object):
def cli(ctx, config_file=None, profile=None):
ctx.obj = DataFSInterface()
-
+
ctx.obj.config_file = config_file
if con... | use profile arg in api calls | py |
diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -145,18 +145,23 @@ class SortImports(object):
else:
print("ERROR: {0} Imports are incorrectly sorted.".format(self.file_path))
self.incorrectly_sorted = Tr... | Added possibility to run with options 'show diff' and 'check' together | py |
diff --git a/looper/looper.py b/looper/looper.py
index <HASH>..<HASH> 100755
--- a/looper/looper.py
+++ b/looper/looper.py
@@ -150,6 +150,10 @@ def parse_arguments():
action="store_true",
help="Don't actually submit the project/subproject.")
subparser.add_argument(
+ ... | option for specific sample protocols applies to all subcommands/programs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -48,5 +48,5 @@ setup(
import headers_workaround
-headers_workaround.fix_venv_pypy()
+headers_workaround.fix_venv_pypy_include()
headers_workaround.install_headers('murmurhash') | * Fix call to headers_workaround for pypy | py |
diff --git a/webexteamssdk/cards/components.py b/webexteamssdk/cards/components.py
index <HASH>..<HASH> 100644
--- a/webexteamssdk/cards/components.py
+++ b/webexteamssdk/cards/components.py
@@ -23,11 +23,23 @@ SOFTWARE.
"""
from .abstract_components import Serializable
+from .utils import check_type
class Media... | added docs and type check to MediaSource component | py |
diff --git a/octodns/provider/fastdns.py b/octodns/provider/fastdns.py
index <HASH>..<HASH> 100644
--- a/octodns/provider/fastdns.py
+++ b/octodns/provider/fastdns.py
@@ -124,14 +124,6 @@ class AkamaiClient(object):
return result
- def recordsets_get(self, zone_name):
-
- resp = self.zone_records... | removed redundant recordsets_get fxn from AkamaiClient | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.