diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/marshmallow/fields.py b/marshmallow/fields.py
index <HASH>..<HASH> 100644
--- a/marshmallow/fields.py
+++ b/marshmallow/fields.py
@@ -50,6 +50,8 @@ __all__ = [
'Method',
'Function',
'Select',
+ 'QuerySelect',
+ 'QuerySelectList',
'Enum',
'Str',
'Bool', | Add QuerySelect and QuerySelectList to __all__ | py |
diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py
index <HASH>..<HASH> 100644
--- a/pandas/core/reshape/reshape.py
+++ b/pandas/core/reshape/reshape.py
@@ -985,12 +985,7 @@ def _get_dummies_1d(
if prefix is None:
dummy_cols = levels
else:
-
- # PY2 embedded unicode, ... | CLN: Remove PY2 compat code (#<I>) Co-authored-by: MomIsBestFriend <> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ with open('README.rst') as file:
long_description = file.read()
setup(
- name='zxcvbn'
+ name='zxcvbn',
version='4.4.24',
packages=['zxcvbn'],
url='https://github.com/dwolfhub/zxcvbn-p... | fixing syntax error in setup.py | py |
diff --git a/metaseq/integration/chipseq.py b/metaseq/integration/chipseq.py
index <HASH>..<HASH> 100644
--- a/metaseq/integration/chipseq.py
+++ b/metaseq/integration/chipseq.py
@@ -159,8 +159,10 @@ class Chipseq(object):
self.control_array /= self.control.million_mapped_reads()
if func is None... | do not use log scale by default for chipseq class | py |
diff --git a/cosmic_ray/version.py b/cosmic_ray/version.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/version.py
+++ b/cosmic_ray/version.py
@@ -1,3 +1,3 @@
"""Cosmic Ray version info."""
-__version__ = '2.0.0a0'
+__version__ = '2.0.1' | bumped version to <I> | py |
diff --git a/numexpr/expressions.py b/numexpr/expressions.py
index <HASH>..<HASH> 100644
--- a/numexpr/expressions.py
+++ b/numexpr/expressions.py
@@ -32,7 +32,7 @@ type_to_kind = {bool: 'bool', int_: 'int', long_: 'long', float: 'float',
double: 'double', complex: 'complex', bytes: 'bytes'}
kind_to_t... | type(kind_rank): list --> tuple It is logical for kind_rank to be a tuple since it's not intended to be modifiable. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup
setup(name='jump_consistent_hash',
version='1.0.0',
description='Implementation of the Jump Consistent Hash algorithm',
- author='Peter Renstroem',
+ author='P... | oe → ö This is Python 3 after all. | py |
diff --git a/lib/py/src/server/TServer.py b/lib/py/src/server/TServer.py
index <HASH>..<HASH> 100644
--- a/lib/py/src/server/TServer.py
+++ b/lib/py/src/server/TServer.py
@@ -129,7 +129,7 @@ class TThreadPoolServer(TServer):
itrans = self.inputTransportFactory.getTransport(client)
otrans = self.outputTranspor... | another typo i missed Summary: outut Reviewed By: aditya Test Plan: blog git-svn-id: <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ os.chdir('src')
for directory in dir_list:
for (dir, _, files) in os.walk(directory):
for f in files:
- if not f.startswith('.'):
+ if not f.startswith('.') and not f.endswith(... | install: exclude pyc files | py |
diff --git a/neutronclient/shell.py b/neutronclient/shell.py
index <HASH>..<HASH> 100644
--- a/neutronclient/shell.py
+++ b/neutronclient/shell.py
@@ -21,6 +21,7 @@ Command-line interface to the Neutron APIs
from __future__ import print_function
import argparse
+import getpass
import logging
import os
import sys... | Adds tty password entry for neutronclient Added functionality from keystoneclient to fallback to the tty for password entry if no password is given via the environment or the --os-password option. Closes-Bug: <I> Change-Id: I7d<I>a<I>cae<I>ef<I>aa<I>e<I>a3a<I> | py |
diff --git a/src/base_api.py b/src/base_api.py
index <HASH>..<HASH> 100644
--- a/src/base_api.py
+++ b/src/base_api.py
@@ -60,4 +60,24 @@ class BaseApi(object):
except requests.HTTPError as HE:
- print(HE)
\ No newline at end of file
+ print(HE)
+
+ except requests.RequestExcep... | Adds printing of requests for verbose debugging | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ Links
`````
* `documentation <http://packages.python.org/Flask-Uploads>`_
* `development version
- <http://bitbucket.org/leafstorm/flask-uploads/get/tip.gz#egg=Flask-Uploads-dev`_
+ <http://bitbucket.org/leaf... | fixed rst error in setup.py | py |
diff --git a/solve/core/dataset/dataset.py b/solve/core/dataset/dataset.py
index <HASH>..<HASH> 100644
--- a/solve/core/dataset/dataset.py
+++ b/solve/core/dataset/dataset.py
@@ -93,13 +93,14 @@ class Namespace(object):
self._datasets = sorted(client.get_namespace(self._name)['datasets'],
... | API does not send full path with dataset objects, construct it manually | py |
diff --git a/walrus/database.py b/walrus/database.py
index <HASH>..<HASH> 100644
--- a/walrus/database.py
+++ b/walrus/database.py
@@ -72,7 +72,7 @@ class Database(Redis):
"""
Redis-py client with some extras.
"""
- RESPONSE_CALLBACKS = Redis.RESPONSE_CALLBACKS
+ RESPONSE_CALLBACKS = getattr(Redis,... | Fix setup script so install works when Redis isn't installed. | py |
diff --git a/chess/svg.py b/chess/svg.py
index <HASH>..<HASH> 100644
--- a/chess/svg.py
+++ b/chess/svg.py
@@ -181,10 +181,10 @@ def board(board=None, squares=None, flipped=False, coordinates=True, lastmove=No
arrow_width = 0.25 * square_size
for arrow in arrows:
- head_file = chess.file_index(arrow[... | Fix SVG arrows after {file|rank}_index rename | py |
diff --git a/centinel/config.py b/centinel/config.py
index <HASH>..<HASH> 100644
--- a/centinel/config.py
+++ b/centinel/config.py
@@ -15,6 +15,7 @@ class Configuration():
user_info['current_user'] = getpass.getuser()
user_home = os.path.expanduser('~' + user_info['current_user'])
u... | updated so that clients are not vpns by default | py |
diff --git a/webapi_tests/runner.py b/webapi_tests/runner.py
index <HASH>..<HASH> 100644
--- a/webapi_tests/runner.py
+++ b/webapi_tests/runner.py
@@ -11,11 +11,16 @@ import os
import sys
from fnmatch import fnmatch
+
+from mozdevice import DeviceManagerADB
from mozlog.structured import commandline
from webapi_... | fixup! Bug <I> - Merge webapi_tests package into the fxos-certsuite package | py |
diff --git a/pmxbot/core.py b/pmxbot/core.py
index <HASH>..<HASH> 100644
--- a/pmxbot/core.py
+++ b/pmxbot/core.py
@@ -45,6 +45,10 @@ class WarnHistory(dict):
return now - last > self.warn_every
class NoLog(object):
+ """
+ A sentinel indicating that subsequent items should not be logged.
+ """
+
@classmethod
... | Added docstring to NoLog | py |
diff --git a/ariadne/wsgi_middleware.py b/ariadne/wsgi_middleware.py
index <HASH>..<HASH> 100644
--- a/ariadne/wsgi_middleware.py
+++ b/ariadne/wsgi_middleware.py
@@ -171,11 +171,6 @@ class GraphQLMiddleware:
"""Override this method in inheriting class to create query context."""
return {"environ": en... | Remove dead code from WSGI middleware | py |
diff --git a/sundial/__init__.py b/sundial/__init__.py
index <HASH>..<HASH> 100644
--- a/sundial/__init__.py
+++ b/sundial/__init__.py
@@ -5,6 +5,6 @@ from django.utils import version
__all__ = ['VERSION', '__version__']
-VERSION = (1, 0, 5, 'alpha', 0)
+VERSION = (1, 0, 5, 'final', 0)
__version__ = version.get... | Bumped version number 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 @@ setup(name='protofuzz',
author_email='yan@trailofbits.com',
license='MIT',
packages=['protofuzz'],
- install_requires=['py3-protobuffers'],
+ install_requires=['protobuf>=2.6.0'],
... | Move from py3-protobufers to official version The offical version of protobuf supports python 3 as of version <I>, whats more it supports version <I> which the py3-protobuffers version doesn't seem to (see Issue #4). The py3-protobuffers module is also no longer maintained so switching away is sensible. | py |
diff --git a/tests/test_middleware.py b/tests/test_middleware.py
index <HASH>..<HASH> 100644
--- a/tests/test_middleware.py
+++ b/tests/test_middleware.py
@@ -9,7 +9,7 @@ def test_middleware():
os.system('nohup python -u ../jsonrpc_http/middleware_server_jsonrpc.py >middleware_server_jsonrpc.out 2>middleware_serve... | Shut down servers after running middleware test. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -34,7 +34,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
- 'sphinx.ext.imgmath',
+# 'sphinx.ext.imgmath', removed 4/18 by todd based on build fails.
... | to address #<I>: comment out imgmath extension from sphynx (build errors on readthedocs) | py |
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/aiohttp/__init__.py
+++ b/aiohttp/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '3.0.0b0'
+__version__ = '3.0.0b1'
# This relies on each of the submodules having an __all__ variable. | Bump to <I>b1 | py |
diff --git a/tests/test_policy.py b/tests/test_policy.py
index <HASH>..<HASH> 100644
--- a/tests/test_policy.py
+++ b/tests/test_policy.py
@@ -1205,7 +1205,7 @@ class PullModeTest(BaseTest):
session_factory=None)
self.assertEqual(p.is_runnable(), True)
- tomorrow_date = str(datetime.date(... | releng - test_policy conditions - fix the test date to avoid issues in some timezones (#<I>) | py |
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/sourcecode/codeeditor.py
+++ b/spyderlib/widgets/sourcecode/codeeditor.py
@@ -927,8 +927,7 @@ class CodeEditor(TextEditBaseWidget):
... | Reverts partly revision <I>e2a<I> until we understand the source of the problem | py |
diff --git a/mutmut/__main__.py b/mutmut/__main__.py
index <HASH>..<HASH> 100644
--- a/mutmut/__main__.py
+++ b/mutmut/__main__.py
@@ -229,7 +229,7 @@ class Config(object):
print_status('%s out of %s (%s%s)' % (self.progress, self.total, file_to_mutate, ' ' + get_mutation_id_str(mutation) if mutation else '')... | -h synonym for --help (feedback from David M. Howcraft) | py |
diff --git a/anyconfig/api.py b/anyconfig/api.py
index <HASH>..<HASH> 100644
--- a/anyconfig/api.py
+++ b/anyconfig/api.py
@@ -25,7 +25,7 @@ getLogger = G.get_logger # flake8: noqa
# aliases:
container = M.MergeableDict
logging = G.LOGGER
-# pylint: enable=W0611
+# pylint: enable=C0103
def set_loglevel(level): | fix the wrong pylint code | py |
diff --git a/spyder/utils/site/sitecustomize.py b/spyder/utils/site/sitecustomize.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/site/sitecustomize.py
+++ b/spyder/utils/site/sitecustomize.py
@@ -239,7 +239,7 @@ if os.environ["QT_API"] == 'pyqt':
#====================================================================... | Adds catch to UnicodeDecodeError when trying to import matplotlib. | py |
diff --git a/torf/_generate.py b/torf/_generate.py
index <HASH>..<HASH> 100644
--- a/torf/_generate.py
+++ b/torf/_generate.py
@@ -82,9 +82,9 @@ class ExhaustableQueue(queue.Queue):
def __repr__(self):
if self.__name:
- return f'<{type(self).__name__} {self.__name!r} [{self.qsize()}]>'
+ ... | ExhaustableQueue: Don't block in __repr__() | py |
diff --git a/nrml/models.py b/nrml/models.py
index <HASH>..<HASH> 100644
--- a/nrml/models.py
+++ b/nrml/models.py
@@ -268,3 +268,24 @@ class TGRMFD(object):
self.b_val = b_val
self.min_mag = min_mag
self.max_mag = max_mag
+
+
+class NodalPlane(object):
+ """Basic object representation of ... | Added the missing NodalPlane object. | py |
diff --git a/seleniumbase/console_scripts/sb_install.py b/seleniumbase/console_scripts/sb_install.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/console_scripts/sb_install.py
+++ b/seleniumbase/console_scripts/sb_install.py
@@ -71,11 +71,11 @@ def main():
inner_folder = None
if name == "chromedriver":
- ... | Use ChromeDriver <I> as the most compatible version. | py |
diff --git a/dev_setup.py b/dev_setup.py
index <HASH>..<HASH> 100644
--- a/dev_setup.py
+++ b/dev_setup.py
@@ -159,8 +159,10 @@ def windows_uninstall():
new_paths = [p for p in paths if 'pmagpy' not in p.lower()]
new_pypaths = [p for p in pypaths if 'pmagpy' not in p.lower()]
- new_path = reduce(lambda x... | Windows uninstall has emtpy list case for reduce function now so it doesn't error. #<I> | py |
diff --git a/microraiden/microraiden/examples/echo_server.py b/microraiden/microraiden/examples/echo_server.py
index <HASH>..<HASH> 100644
--- a/microraiden/microraiden/examples/echo_server.py
+++ b/microraiden/microraiden/examples/echo_server.py
@@ -6,7 +6,7 @@ import logging
import os
import click
from flask impor... | Use HTTPProvider instead of the deprecated RPCProvider | py |
diff --git a/fbchat/utils.py b/fbchat/utils.py
index <HASH>..<HASH> 100644
--- a/fbchat/utils.py
+++ b/fbchat/utils.py
@@ -122,8 +122,7 @@ class ReqUrl(object):
ATTACHMENT_PHOTO = "https://www.facebook.com/mercury/attachments/photo/"
EVENT_REMINDER = "https://www.facebook.com/ajax/eventreminder/create"
M... | Added Remove Friend URl | py |
diff --git a/great_expectations/render/renderer/column_section_renderer.py b/great_expectations/render/renderer/column_section_renderer.py
index <HASH>..<HASH> 100644
--- a/great_expectations/render/renderer/column_section_renderer.py
+++ b/great_expectations/render/renderer/column_section_renderer.py
@@ -365,9 +365,9 ... | Only make histrogram larger if more than <I> members | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -183,11 +183,6 @@ if '--deploy' in sys.argv:
sys.argv.remove("--deploy")
sys.argv.append("--build_js")
-if 'develop' in sys.argv:
- APP = [join(BOKEHJSBUILD, 'js', 'bokeh.js'),
- join(BOKEHJSBUILD, 'js... | always install built js with --build_js | py |
diff --git a/pysc2/env/sc2_env.py b/pysc2/env/sc2_env.py
index <HASH>..<HASH> 100644
--- a/pysc2/env/sc2_env.py
+++ b/pysc2/env/sc2_env.py
@@ -415,7 +415,7 @@ class SC2Env(environment.Base):
self._state = environment.StepType.FIRST
return self._step()
- @sw.decorate
+ @sw.decorate("step_env")
def step(... | Name the environment step explicitly in stopwatch so that there is no confusion between this and the controller step. PiperOrigin-RevId: <I> | py |
diff --git a/tweepy/streaming.py b/tweepy/streaming.py
index <HASH>..<HASH> 100644
--- a/tweepy/streaming.py
+++ b/tweepy/streaming.py
@@ -78,6 +78,15 @@ class StreamListener(object):
elif 'warning' in data:
if self.on_warning(data['warning']) is False:
return False
+ elif ... | handle scrub_geo, status_withheld and user_withheld streaming events | py |
diff --git a/tests/check_merge_conflict_test.py b/tests/check_merge_conflict_test.py
index <HASH>..<HASH> 100644
--- a/tests/check_merge_conflict_test.py
+++ b/tests/check_merge_conflict_test.py
@@ -37,12 +37,21 @@ def f1_is_a_conflict_file(in_tmpdir):
cmd_output('git', 'commit', '-am', 'clone commit2')
... | Add diff3 conflictstyle support for git merge conflicts. | py |
diff --git a/partpy/sourcestring.py b/partpy/sourcestring.py
index <HASH>..<HASH> 100644
--- a/partpy/sourcestring.py
+++ b/partpy/sourcestring.py
@@ -131,7 +131,7 @@ class SourceString(object):
if pos == end:
break
- return ''.join(output)
+ return SourceLine(''.join(outpu... | Added SourceString.{__richcmp__} | py |
diff --git a/git/remote.py b/git/remote.py
index <HASH>..<HASH> 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -612,7 +612,7 @@ class Remote(LazyMixin, Iterable):
# * [would prune] origin/new_branch
token = " * [would prune] "
if not line.startswith(token):
- rai... | Don't raise on unknown line when parsing stale refs (#<I>) | py |
diff --git a/tests/__main__.py b/tests/__main__.py
index <HASH>..<HASH> 100644
--- a/tests/__main__.py
+++ b/tests/__main__.py
@@ -1,11 +1,32 @@
+import logging
import unittest
import sys
+import termcolor
from . import *
import lib50._api as api
+class ColoredFormatter(logging.Formatter):
+ COLORS = {
+ ... | redirect logger to stderr, incl formatting | py |
diff --git a/hepdata_validator/version.py b/hepdata_validator/version.py
index <HASH>..<HASH> 100644
--- a/hepdata_validator/version.py
+++ b/hepdata_validator/version.py
@@ -27,4 +27,4 @@
from __future__ import absolute_import, print_function
-__version__ = "0.2.2"
+__version__ = "0.2.3" | Bump up version to <I> | py |
diff --git a/yfinance/__init__.py b/yfinance/__init__.py
index <HASH>..<HASH> 100644
--- a/yfinance/__init__.py
+++ b/yfinance/__init__.py
@@ -455,12 +455,10 @@ def download(tickers, start=None, end=None, actions=False, threads=True,
# reset _DFS
_DFS = {}
- # set thread count if True
- if threads is ... | Fixed issue related to threads when downloading many symbols | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,5 +11,5 @@ except ImportError:
setuptools.setup(
- setup_requires=['pbr>=3.0.0', 'setuptools>=17.1', 'pytest-runner', 'sphinx>=1.6.5'],
+ setup_requires=['pbr>=3.0.0', 'setuptools>=17.1'],
pbr=True) | Remove wrong requirements from setup.py (#<I>) | py |
diff --git a/bin/publish.py b/bin/publish.py
index <HASH>..<HASH> 100755
--- a/bin/publish.py
+++ b/bin/publish.py
@@ -102,7 +102,7 @@ LIBRARY_MODULES = [
'dagster-spark',
]
-EXPECTED_PYTHON_MODULES = ['automation', 'libraries'] + MODULE_NAMES
+EXPECTED_PYTHON_MODULES = ['automation', 'lakehouse', 'libraries'] ... | Expect lakehouse Summary: Add lakehouse to the ignored list Test Plan: Release Reviewers: alangenfeld Reviewed By: alangenfeld Differential Revision: <URL> | py |
diff --git a/src/bandersnatch_filter_plugins/prerelease_name.py b/src/bandersnatch_filter_plugins/prerelease_name.py
index <HASH>..<HASH> 100644
--- a/src/bandersnatch_filter_plugins/prerelease_name.py
+++ b/src/bandersnatch_filter_plugins/prerelease_name.py
@@ -12,7 +12,12 @@ class PreReleaseFilter(FilterReleasePlugin... | Match prerelease versions with multiple digit suffixes (#<I>) * Match prerelease versions with multiple digit suffixes Extend PRERELEASE_PATTERNS to match multiple digits after the prerelease tag. - Some packages have versions beyond 9 e.g. <URL> | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -61,7 +61,7 @@ def _get_unused_port():
@pytest.fixture(scope="session")
-def server(request, loop, port_manager):
+def server(request, loop, port_manager, monkeypatch):
"""A GNS3 s... | I hope it's fix tests on Travis Python <I> | py |
diff --git a/mapbox_vector_tile/encoder.py b/mapbox_vector_tile/encoder.py
index <HASH>..<HASH> 100644
--- a/mapbox_vector_tile/encoder.py
+++ b/mapbox_vector_tile/encoder.py
@@ -55,6 +55,7 @@ class VectorTile:
for load in [load_wkb, load_wkt]:
try:
shape = load(featur... | adding a break once a geometry is successfully loaded. | py |
diff --git a/gui/controls/textbox.py b/gui/controls/textbox.py
index <HASH>..<HASH> 100644
--- a/gui/controls/textbox.py
+++ b/gui/controls/textbox.py
@@ -276,8 +276,9 @@ class wx_masked_NumCtrl(masked.NumCtrl):
kwargs['groupChar'] = lc['mon_thousands_sep'] or ','
kwargs['decimalChar'] = lc['decimal_... | a more general fix for groupChar and decimalChar | py |
diff --git a/bin/generate-exports.py b/bin/generate-exports.py
index <HASH>..<HASH> 100755
--- a/bin/generate-exports.py
+++ b/bin/generate-exports.py
@@ -203,7 +203,11 @@ def main(argv):
symbol = Symbol(name, True, export_as)
objects[name] = symbol
if not export_as:
-... | Only require things that start with a capital letter | py |
diff --git a/bcbio/variation/bedutils.py b/bcbio/variation/bedutils.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/bedutils.py
+++ b/bcbio/variation/bedutils.py
@@ -24,6 +24,7 @@ def clean_file(in_file, data, prefix="", bedprep_dir=None):
py_cl = os.path.join(os.path.dirname(sys.executable), "py"... | Strip out comment lines from BED files when preparing. Thanks to Severine Catreux. | py |
diff --git a/pyblish_nuke/lib.py b/pyblish_nuke/lib.py
index <HASH>..<HASH> 100644
--- a/pyblish_nuke/lib.py
+++ b/pyblish_nuke/lib.py
@@ -103,8 +103,8 @@ def teardown():
def remove_from_filemenu():
- menubar = nuke.menu('Nuke')
- menu = menubar.menu('File')
+ menubar = nuke.menu("Nuke")
+ menu = menub... | Weed out single quotation marks. | py |
diff --git a/counter.py b/counter.py
index <HASH>..<HASH> 100644
--- a/counter.py
+++ b/counter.py
@@ -218,7 +218,7 @@ class CandidateAggregates:
class SenateCounter:
def __init__(self, fname, vacancies, papers_for_count, parties, candidate_ids, candidate_order, candidate_title, candidate_party, automated_respo... | more work on the client side templating | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -49,8 +49,8 @@ setup(name='palladium',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
- 'Progra... | Updated metadata in setup.py | py |
diff --git a/pysnmp/proto/secmod/rfc3414/service.py b/pysnmp/proto/secmod/rfc3414/service.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/secmod/rfc3414/service.py
+++ b/pysnmp/proto/secmod/rfc3414/service.py
@@ -518,6 +518,12 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
debug.logger & d... | when building ReportPDU, make sure scopedPduData is of plaintext type | py |
diff --git a/eventsourcing/infrastructure/event_player.py b/eventsourcing/infrastructure/event_player.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/infrastructure/event_player.py
+++ b/eventsourcing/infrastructure/event_player.py
@@ -47,17 +47,19 @@ class EventPlayer(object):
return make_stored_entity_id(... | Added some comments. Changed take_snapshot() to return a snapshot when it was returning None, in the case where there are events but the snapshot is up to date. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,10 +2,10 @@ from distutils.core import setup
setup(
name='zxcvbn-python',
- version='4.4.15',
+ version='4.4.16',
packages=['zxcvbn'],
url='https://github.com/dwolfhub/zxcvbn-python',
- download_u... | bumping version to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,7 @@ setup(
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python :: 2.7',
... | Fix programming language classifier (we do support python <I>) | py |
diff --git a/multiprocessing_logging.py b/multiprocessing_logging.py
index <HASH>..<HASH> 100644
--- a/multiprocessing_logging.py
+++ b/multiprocessing_logging.py
@@ -9,6 +9,13 @@ import threading
import traceback
+try:
+ import queue
+except ImportError:
+ # Python 2.0.
+ import Queue as queue
+
+
__ver... | Avoids the MultiProcessingHandler from hanging 5s on close This was caused by the eternally blocking get on the Queue. Now it times out every <I>ms and checks if the Handler has been closed. | py |
diff --git a/digitalocean/Image.py b/digitalocean/Image.py
index <HASH>..<HASH> 100644
--- a/digitalocean/Image.py
+++ b/digitalocean/Image.py
@@ -28,7 +28,7 @@ class Image(BaseAPI):
Destroy the image
"""
return self.get_data(
- "images/%s/destroy/" % self.id,
+ "ima... | Fixed problem reported in the issue #<I> | py |
diff --git a/AlphaTwirl/Concurrently/CommunicationChannel.py b/AlphaTwirl/Concurrently/CommunicationChannel.py
index <HASH>..<HASH> 100644
--- a/AlphaTwirl/Concurrently/CommunicationChannel.py
+++ b/AlphaTwirl/Concurrently/CommunicationChannel.py
@@ -26,6 +26,10 @@ class CommunicationChannel(object):
def __init__(... | move lines from start_workers() to __init__() in CommunicationChannel | py |
diff --git a/alerta/database/backends/postgres/base.py b/alerta/database/backends/postgres/base.py
index <HASH>..<HASH> 100644
--- a/alerta/database/backends/postgres/base.py
+++ b/alerta/database/backends/postgres/base.py
@@ -410,12 +410,13 @@ class Backend(Database):
def get_topn_flapping(self, query=None, group... | Fix topN flapping for postgres (#<I>) | py |
diff --git a/anytree/__init__.py b/anytree/__init__.py
index <HASH>..<HASH> 100644
--- a/anytree/__init__.py
+++ b/anytree/__init__.py
@@ -406,14 +406,11 @@ class PreOrderIter(object):
self.node = node
def __iter__(self):
- return self.__next([self.node])
-
- @classmethod
- def __next(cls, ... | Implement PreOrderIter without recursion. | py |
diff --git a/crispy_forms/templatetags/crispy_forms_field.py b/crispy_forms/templatetags/crispy_forms_field.py
index <HASH>..<HASH> 100644
--- a/crispy_forms/templatetags/crispy_forms_field.py
+++ b/crispy_forms/templatetags/crispy_forms_field.py
@@ -163,7 +163,7 @@ def crispy_addon(field, append="", prepend="", form_s... | Simplifying logic of #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -325,13 +325,14 @@ setuptools.setup(
ext_modules=ext_modules,
cmdclass=cmdclass,
packages=packages,
+ license='MIT',
include_package_data=True,
install_requires=install_requires,
setup_requires... | Update setup info. (#<I>) | py |
diff --git a/openquake/engine/calculators/hazard/disaggregation/core.py b/openquake/engine/calculators/hazard/disaggregation/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/hazard/disaggregation/core.py
+++ b/openquake/engine/calculators/hazard/disaggregation/core.py
@@ -136,6 +136,8 @@ def compu... | calcs/hazard/disagg/core: Fixed an error in IML interpolation, which was affecting the entire calculation. =O | py |
diff --git a/sphinx/fabfile.py b/sphinx/fabfile.py
index <HASH>..<HASH> 100644
--- a/sphinx/fabfile.py
+++ b/sphinx/fabfile.py
@@ -25,7 +25,7 @@ def deploy(v=None):
run("cp -ar /www/bokeh/en/%s /www/bokeh/en/%s.bak" % (v, v))
rsync_project(
- local_dir="_build/html/",
+ local_dir="build/html/"... | fix fabfile path for docs upload, follow on #<I> | py |
diff --git a/jenks/__init__.py b/jenks/__init__.py
index <HASH>..<HASH> 100644
--- a/jenks/__init__.py
+++ b/jenks/__init__.py
@@ -1,6 +1,6 @@
"""Jenks, a Jenkins command line tool.
Usage:
- jenks [<keys>] [-cl]
+ jenks [<keys>] [-c | -l]
Options:
-c, --console print console information | Fixing -c and -l to be mutually exclusive | py |
diff --git a/irc/client.py b/irc/client.py
index <HASH>..<HASH> 100644
--- a/irc/client.py
+++ b/irc/client.py
@@ -812,8 +812,9 @@ class ServerConnection(Connection):
def list(self, channels=None, server=""):
"""Send a LIST command."""
command = "LIST"
+ channels = ",".join(always_iterable... | Use always_iterable in other places where channels are passed. | py |
diff --git a/creamas/core/environment.py b/creamas/core/environment.py
index <HASH>..<HASH> 100644
--- a/creamas/core/environment.py
+++ b/creamas/core/environment.py
@@ -33,13 +33,12 @@ class Environment(Container):
def create(cls, *args, **kwargs):
"""Create a new environment, see :py:func:`~aiomas.Cont... | Fixed a bug in default adding extra_serializers to the environment. | py |
diff --git a/contrib/vcloud/vcloud_util.py b/contrib/vcloud/vcloud_util.py
index <HASH>..<HASH> 100644
--- a/contrib/vcloud/vcloud_util.py
+++ b/contrib/vcloud/vcloud_util.py
@@ -68,7 +68,7 @@ def parse_frequency_value(s):
unit = s[pos:].strip()
if not unit or unit == "Hz":
return int(number)
- el... | Fix parsing of kHz frequency values in VerifierCloud results The VerifierCloud uses kHz instead of KHZ since <I>: <URL> | py |
diff --git a/reana_db/version.py b/reana_db/version.py
index <HASH>..<HASH> 100755
--- a/reana_db/version.py
+++ b/reana_db/version.py
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from __future__ import absolute_import, print_function
-__version__ = "0.5.0.dev20190225"
+__version__ = "0.5.0.dev20190306" | release: <I>.de<I> | py |
diff --git a/cwltool/main.py b/cwltool/main.py
index <HASH>..<HASH> 100755
--- a/cwltool/main.py
+++ b/cwltool/main.py
@@ -432,7 +432,7 @@ def load_job_order(args, t, stdin, print_input_deps=False, relative_deps=False,
if toolparser:
if args.tool_help:
toolparser.print_help()
- ... | removed a print statement put by mistake | py |
diff --git a/sqlserver/setup.py b/sqlserver/setup.py
index <HASH>..<HASH> 100644
--- a/sqlserver/setup.py
+++ b/sqlserver/setup.py
@@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()
-CHECKS_BASE_REQ = 'datadog-checks-base>=23.7.3'
+CHECKS_BASE_REQ = 'datadog-checks-base>=23.7.6'
setup(
... | Update base version (#<I>) | py |
diff --git a/microsoftbotframework/conversationoperations.py b/microsoftbotframework/conversationoperations.py
index <HASH>..<HASH> 100644
--- a/microsoftbotframework/conversationoperations.py
+++ b/microsoftbotframework/conversationoperations.py
@@ -94,12 +94,13 @@ class CreateConversation(Activity):
respon... | Update made to the underlying response content so json works too | py |
diff --git a/astropy_helpers/tests/__init__.py b/astropy_helpers/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/tests/__init__.py
+++ b/astropy_helpers/tests/__init__.py
@@ -27,7 +27,7 @@ def run_cmd(cmd, args, path=None):
@pytest.fixture
-def testpackage(tmpdir):
+def testpackage(tmpdir, requ... | Ensure that the main copy of ah_bootstrap.py is always used, and that we are returned to the cwd at the end of a test that uses the testpackage fixture | py |
diff --git a/test/input/func_noerror_urls.py b/test/input/func_noerror_urls.py
index <HASH>..<HASH> 100644
--- a/test/input/func_noerror_urls.py
+++ b/test/input/func_noerror_urls.py
@@ -3,6 +3,9 @@ Checks that Pylint does not complain about attributes and methods
when creating a typical urls.py
"""
# pylint: disab... | Ignoring the constant name warning for "urlpatterns" in the test | py |
diff --git a/tests/test_thing.py b/tests/test_thing.py
index <HASH>..<HASH> 100644
--- a/tests/test_thing.py
+++ b/tests/test_thing.py
@@ -1,5 +1,7 @@
import pytest
+import re
+
from builtins import str # Python 2 compatibility
@@ -22,6 +24,11 @@ def test_no_name(thing):
def test_info(thing):
- assert thi... | Removing date and time from Thing's info string in tests | py |
diff --git a/tests/unit/latex/test_tokens.py b/tests/unit/latex/test_tokens.py
index <HASH>..<HASH> 100644
--- a/tests/unit/latex/test_tokens.py
+++ b/tests/unit/latex/test_tokens.py
@@ -40,7 +40,7 @@ class TokenTests(TestCase):
self.assertNotEquals("foo", self._token)
def test_print_properly(self):
- ... | Replacing 'str' by 'repr' to fix broken build | py |
diff --git a/spinoff/actor/actor.py b/spinoff/actor/actor.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/actor.py
+++ b/spinoff/actor/actor.py
@@ -9,7 +9,7 @@ from spinoff.util.meta import selfdocumenting
from zope.interface import Interface, implements
-__all__ = ['IActor', 'IProducer', 'IConsumer', 'Actor', ... | Added ActorsAsService to actor.actor.__all__ | py |
diff --git a/fuel/transformers/__init__.py b/fuel/transformers/__init__.py
index <HASH>..<HASH> 100644
--- a/fuel/transformers/__init__.py
+++ b/fuel/transformers/__init__.py
@@ -2,7 +2,7 @@ from abc import ABCMeta
from multiprocessing import Process, Queue
import numpy
-from picklable_itertools import chain, ifilt... | Removed make_dict function, used itertools stuff instead | py |
diff --git a/sovrin_node/test/conftest.py b/sovrin_node/test/conftest.py
index <HASH>..<HASH> 100644
--- a/sovrin_node/test/conftest.py
+++ b/sovrin_node/test/conftest.py
@@ -1,5 +1,5 @@
+from plenum.common.keygen_utils import initLocalKeys
from stp_core.loop.eventually import eventually
-from stp_raet.util import ini... | Moved util methods to NetwrorkInterfaces; fixes in raet stack | py |
diff --git a/demosys/scene/scene.py b/demosys/scene/scene.py
index <HASH>..<HASH> 100644
--- a/demosys/scene/scene.py
+++ b/demosys/scene/scene.py
@@ -92,8 +92,11 @@ class Scene:
for node in self.root_nodes:
node.draw_bbox(projection_matrix, camera_matrix, self.bbox_program, self.bbox_vao)
- ... | Allow setting mesh shaders after scene is loaded | py |
diff --git a/src/collectors/postgres/postgres.py b/src/collectors/postgres/postgres.py
index <HASH>..<HASH> 100644
--- a/src/collectors/postgres/postgres.py
+++ b/src/collectors/postgres/postgres.py
@@ -541,7 +541,6 @@ registry = {
'basic': [
'DatabaseStats',
'DatabaseConnectionCount',
- '... | DatabaseReplicationStats should only be for extended Not everyone uses replication | py |
diff --git a/tests/integration/test_basic.py b/tests/integration/test_basic.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_basic.py
+++ b/tests/integration/test_basic.py
@@ -76,7 +76,7 @@ def test_store(mini_sentry, relay_chain_strategy):
hub.capture_message("hü")
client.drain_events()
... | test: Raise exception if event is gone | py |
diff --git a/dataviews/operation.py b/dataviews/operation.py
index <HASH>..<HASH> 100644
--- a/dataviews/operation.py
+++ b/dataviews/operation.py
@@ -138,7 +138,15 @@ class RGBA(ViewOperation):
raise Exception("All SheetViews must have a depth of one for"
" conversion to RGB(A... | RGBA ViewOperation now clips data into unit range with warning | py |
diff --git a/salt/states/dockerng.py b/salt/states/dockerng.py
index <HASH>..<HASH> 100644
--- a/salt/states/dockerng.py
+++ b/salt/states/dockerng.py
@@ -217,6 +217,8 @@ def _compare(actual, create_kwargs, defaults_from_image):
actual_ports = sorted(actual_data)
desired_ports = []
... | Follow up for #<I> ports will most likely be defined as integer | py |
diff --git a/dipper/models/Genotype.py b/dipper/models/Genotype.py
index <HASH>..<HASH> 100644
--- a/dipper/models/Genotype.py
+++ b/dipper/models/Genotype.py
@@ -544,7 +544,8 @@ class Genotype():
def make_experimental_model_with_genotype(self, g, genotype_id, genotype_label, taxon_id, taxon_label):
- a... | return the animal model id when creating it, and use tax_id instead of label in bnode | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -78,7 +78,6 @@ require_groups = {
'setup': ['setuptools>=24.3', 'pip>=9.0.1', 'cython', 'numpy'],
'analysis': ['matplotlib>=2.0.0', 'sklearn', 'statsmodels>=0.8',
'scipy>=0.19', 'seaborn', 'ipython'... | Remove controlhost dependency and daq option, since controlhost is already integrated | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ VERSION = '1.46'
install_requires = ['psutil', 'colorama', 'six']
if sys.version_info < (3,4):
- deps.append('pathlib')
+ install_requires.append('pathlib')
setup(name='thefuck',
version=VERSIO... | change deps to install_requires #2 | py |
diff --git a/ayrton/tests/test_remote.py b/ayrton/tests/test_remote.py
index <HASH>..<HASH> 100644
--- a/ayrton/tests/test_remote.py
+++ b/ayrton/tests/test_remote.py
@@ -82,6 +82,8 @@ class DebugRemoteTests (RemoteTests):
# give nc time to come up
time.sleep (0.2)
else:
+ ... | [*] raising _StopIteration is neither enough, so we just commit_suicide() by killing ourselves. | py |
diff --git a/python/thunder/utils/ec2.py b/python/thunder/utils/ec2.py
index <HASH>..<HASH> 100644
--- a/python/thunder/utils/ec2.py
+++ b/python/thunder/utils/ec2.py
@@ -56,6 +56,7 @@ def install_thunder(master, opts):
ssh(master, opts, "echo 'export PATH=/root/thunder/python/bin:$PATH' >> /root/.bash_profile")
... | set max kryo buf size in ec2 launch script | py |
diff --git a/SoftLayer/tests/managers/hardware_tests.py b/SoftLayer/tests/managers/hardware_tests.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/tests/managers/hardware_tests.py
+++ b/SoftLayer/tests/managers/hardware_tests.py
@@ -281,7 +281,6 @@ class HardwareTests(testing.TestCase):
i... | Fixes trivial linting issues | py |
diff --git a/htmresearch/support/nlp_model_test_helpers.py b/htmresearch/support/nlp_model_test_helpers.py
index <HASH>..<HASH> 100644
--- a/htmresearch/support/nlp_model_test_helpers.py
+++ b/htmresearch/support/nlp_model_test_helpers.py
@@ -67,7 +67,7 @@ htmConfigs = [
]
# Some values of k we know work well.
-kVa... | docfp improves with k=1 | py |
diff --git a/baron/path.py b/baron/path.py
index <HASH>..<HASH> 100644
--- a/baron/path.py
+++ b/baron/path.py
@@ -16,9 +16,12 @@ def path_to_node(tree, path):
"""FST node located at the given path"""
if path is None:
return None
+
node = tree
+
for key in path:
node = child_by_key... | [mod] space code for more lisibility | py |
diff --git a/tasks.py b/tasks.py
index <HASH>..<HASH> 100644
--- a/tasks.py
+++ b/tasks.py
@@ -39,7 +39,7 @@ def next_release(major=False, minor=False, patch=True):
import semantic_version
- prev = run('git describe --abbrev=0 --tags', hide=True).stdout
+ prev = run('git describe --abbrev=0 --tags', warn... | enable working with new project, no tags | py |
diff --git a/py/nupic/swarming/permutations_runner.py b/py/nupic/swarming/permutations_runner.py
index <HASH>..<HASH> 100644
--- a/py/nupic/swarming/permutations_runner.py
+++ b/py/nupic/swarming/permutations_runner.py
@@ -246,7 +246,7 @@ def runWithConfig(swarmConfig, options,
current working... | Defaulting permWorkDir to cwd as well as outDir. | py |
diff --git a/scripts/pricefeeds/feedsources.py b/scripts/pricefeeds/feedsources.py
index <HASH>..<HASH> 100644
--- a/scripts/pricefeeds/feedsources.py
+++ b/scripts/pricefeeds/feedsources.py
@@ -133,9 +133,8 @@ class Btc38(FeedSource) :
params = { 'c': coin.lower(), 'mk_type': market.lower() }
... | [Price Feed] Fix BTC<I> - bad if-condition | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.