diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,8 +20,6 @@ setup(
license="MIT",
include_package_data=True,
packages=['config_resolver'],
- install_requires=DEPENDENCIES,
- requires=DEPENDENCIES,
package_data={
'config_resolver': ['py.... | Remove obsolete dependencies from setup.py | py |
diff --git a/dusty/commands/run.py b/dusty/commands/run.py
index <HASH>..<HASH> 100644
--- a/dusty/commands/run.py
+++ b/dusty/commands/run.py
@@ -54,7 +54,10 @@ def restart_apps_or_services(*app_or_service_names):
yield "Restarting the following apps or services: {}".format(', '.join(app_or_service_names))
... | if no repos are passed then resync all repos | py |
diff --git a/Malmo/samples/Python_examples/depth_map_runner.py b/Malmo/samples/Python_examples/depth_map_runner.py
index <HASH>..<HASH> 100755
--- a/Malmo/samples/Python_examples/depth_map_runner.py
+++ b/Malmo/samples/Python_examples/depth_map_runner.py
@@ -194,7 +194,7 @@ if agent_host.receivedArgument("test"):
else... | Cut/paste error in depthmap sample | py |
diff --git a/tests/vulnerabilities_across_files_test.py b/tests/vulnerabilities_across_files_test.py
index <HASH>..<HASH> 100644
--- a/tests/vulnerabilities_across_files_test.py
+++ b/tests/vulnerabilities_across_files_test.py
@@ -15,7 +15,7 @@ from pyt.project_handler import get_directory_modules, get_modules
from py... | added empty nosec_lines for tests | py |
diff --git a/salt/modules/kvm_hyper.py b/salt/modules/kvm_hyper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/kvm_hyper.py
+++ b/salt/modules/kvm_hyper.py
@@ -42,6 +42,8 @@ def __virtual__():
'''
Apply this module as the hyper module if the minion is a kvm hypervisor
'''
+ if 'virtual' not in __gr... | Check for existence of 'virtual' in __grains__ first. This was breaking the minion on Windows. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,6 +20,7 @@ else:
platforms='any',
install_requires=[
'Flask',
+ 'typing',
'paho-mqtt'
],
classifiers=[ | Update setup.py add typing package for type annotation support on python < <I> | py |
diff --git a/wafer/settings.py b/wafer/settings.py
index <HASH>..<HASH> 100644
--- a/wafer/settings.py
+++ b/wafer/settings.py
@@ -147,9 +147,9 @@ INSTALLED_APPS = (
'wafer.sponsors',
'wafer.pages',
'wafer.tickets',
+ 'wafer.compare',
# Django isn't finding the overridden templates
'registra... | Keep all the wafer apps together in the settings file | py |
diff --git a/sen/tui/init.py b/sen/tui/init.py
index <HASH>..<HASH> 100644
--- a/sen/tui/init.py
+++ b/sen/tui/init.py
@@ -192,8 +192,10 @@ class UI(urwid.MainLoop):
add_subwidget(str(containers_count), "status_text_red")
add_subwidget(", Running: ")
- add_subwidget(str(len(self.d.sorted_... | status: print 0 running containers in gray | py |
diff --git a/tests/test_composition.py b/tests/test_composition.py
index <HASH>..<HASH> 100644
--- a/tests/test_composition.py
+++ b/tests/test_composition.py
@@ -396,6 +396,7 @@ def test_groups_can_have_completion_callbacks(stub_broker, stub_worker, rate_lim
@dramatiq.actor
def finalize(n):
+ assert... | test(composition): assert on value of param to cb | py |
diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -807,6 +807,10 @@ class TestZappa(unittest.TestCase):
zappa_cli.print_logs(logs, colorize=True, non_http=False)
zappa_cli.print_logs(logs, colorize=True, non_http=True, http=True)
... | Expand test to include new force_colorize parameter. | py |
diff --git a/src/livestreamer_cli/main.py b/src/livestreamer_cli/main.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer_cli/main.py
+++ b/src/livestreamer_cli/main.py
@@ -174,6 +174,7 @@ def output_stream_http(plugin, streams):
server.close(True)
player.close()
+ server.close()
def output_st... | cli: Explicitly close the server listening socket. Avoids a ResourceWarning for “--player-continuous-http” mode. | py |
diff --git a/astrocats/supernovae/tasks/cfa.py b/astrocats/supernovae/tasks/cfa.py
index <HASH>..<HASH> 100644
--- a/astrocats/supernovae/tasks/cfa.py
+++ b/astrocats/supernovae/tasks/cfa.py
@@ -260,7 +260,7 @@ def do_cfa_spectra(catalog):
fluxes=fluxes, u_time='MJD' if time else '', time=time,
... | BUG: changed travis ref | py |
diff --git a/scripts/issues.py b/scripts/issues.py
index <HASH>..<HASH> 100755
--- a/scripts/issues.py
+++ b/scripts/issues.py
@@ -299,15 +299,6 @@ def generate_changelog(issues, after, heading, rtag=False):
content = f.read()
f.seek(0)
write(f.write, '\n', content)
- # Ins... | don't copy the release notes into the changelog | py |
diff --git a/test/testing/test_waiting.py b/test/testing/test_waiting.py
index <HASH>..<HASH> 100644
--- a/test/testing/test_waiting.py
+++ b/test/testing/test_waiting.py
@@ -168,6 +168,20 @@ class TestPatchWait(object):
with wait_for_call(echo, 'upper'):
assert echo.proxy(arg) == "HELLO"
+ d... | add missing testcase for patching methods on the class, not instance | py |
diff --git a/pipes/securitygroup/create_securitygroup.py b/pipes/securitygroup/create_securitygroup.py
index <HASH>..<HASH> 100644
--- a/pipes/securitygroup/create_securitygroup.py
+++ b/pipes/securitygroup/create_securitygroup.py
@@ -25,10 +25,10 @@ class SpinnakerSecurityGroup:
app_name: Str of application n... | Pass a dict of appinfo details instead of multiple parameters Eventually we will need all the application details, so its simpler to pass a dict with all the values rather than specifying each specific parameter needed in the class. Related: PSOBAT-<I> | py |
diff --git a/lewis/core/simulation.py b/lewis/core/simulation.py
index <HASH>..<HASH> 100644
--- a/lewis/core/simulation.py
+++ b/lewis/core/simulation.py
@@ -223,8 +223,8 @@ class Simulation(object):
with self._adapters.device_lock:
self._device.process(delta_simulation)
- ... | Fix problems with ControlServer deadlock | py |
diff --git a/tests/proton_tests/engine.py b/tests/proton_tests/engine.py
index <HASH>..<HASH> 100644
--- a/tests/proton_tests/engine.py
+++ b/tests/proton_tests/engine.py
@@ -528,7 +528,7 @@ class CreditTest(Test):
self.pump()
idx += 1
- assert idx == 1034, idx
+ assert idx == PN_SESSION_WINDOW + ... | fixed hardcoded assertion; added additional assertion git-svn-id: <URL> | py |
diff --git a/src/nlpia/constants.py b/src/nlpia/constants.py
index <HASH>..<HASH> 100644
--- a/src/nlpia/constants.py
+++ b/src/nlpia/constants.py
@@ -18,7 +18,7 @@ import platform
LOG_LEVEL = 'WARN' if not os.environ.get('DEBUG') else 'DEBUG'
-BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))... | fix constants.BASE_DIR = PROJECT_PATH = PROJECT_DIR | py |
diff --git a/django_select2/widgets.py b/django_select2/widgets.py
index <HASH>..<HASH> 100644
--- a/django_select2/widgets.py
+++ b/django_select2/widgets.py
@@ -184,8 +184,9 @@ class Select2Mixin(object):
"""
options = json.dumps(self.get_options())
options = options.replace('"*START*', '')... | define hashedSelector in Select2Mixin | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,6 +34,7 @@ setup(
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
... | Mark bootstrapper as ready for Python <I>. | py |
diff --git a/otherfile/font_wizard.py b/otherfile/font_wizard.py
index <HASH>..<HASH> 100644
--- a/otherfile/font_wizard.py
+++ b/otherfile/font_wizard.py
@@ -9,14 +9,24 @@ Letters = string.ascii_letters + string.punctuation + string.digits
Font_List = list(art.art_param.FONT_MAP.keys())
INVALID_FONT_NAME = [
+ ... | edit : INVALID_FONT_NAME completed. | py |
diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_pkg.py
+++ b/salt/modules/win_pkg.py
@@ -1882,7 +1882,7 @@ def get_repo_data(saltenv='base'):
serial = salt.payload.Serial(__opts__)
with salt.utils.files.fopen(repo_details.winrepo_file, ... | Remove hacky workaround to get Windows to decode deserialized data properly | py |
diff --git a/tests/linalg_test.py b/tests/linalg_test.py
index <HASH>..<HASH> 100644
--- a/tests/linalg_test.py
+++ b/tests/linalg_test.py
@@ -185,7 +185,6 @@ class NumpyLinalgTest(jtu.JaxTestCase):
(2, 2, 2), (2, 3, 3), (3, 2, 2)]
for dtype in float_types + complex_types
for rng_fact... | Enable TPU linalg tests that now pass. | py |
diff --git a/tests/test_web.py b/tests/test_web.py
index <HASH>..<HASH> 100644
--- a/tests/test_web.py
+++ b/tests/test_web.py
@@ -119,12 +119,11 @@ class TestUrlPrefix(unittest2.TestCase):
class TestHttps(unittest2.TestCase):
def _run(self, https=False):
- options = {}
+ options = {'PSDASH_PORT':... | Trying to fix failing tests in Travis CI. | py |
diff --git a/best/plot.py b/best/plot.py
index <HASH>..<HASH> 100644
--- a/best/plot.py
+++ b/best/plot.py
@@ -19,7 +19,7 @@ from pymc.distributions import noncentral_t_like
pretty_blue = '#89d1ea'
def plot_posterior( sample_vec, bins=None, ax=None, title=None, stat='mode',
- label='', draw_z... | bugfix: set bins only if not None | py |
diff --git a/lark/tree.py b/lark/tree.py
index <HASH>..<HASH> 100644
--- a/lark/tree.py
+++ b/lark/tree.py
@@ -160,6 +160,15 @@ class SlottedTree(Tree):
def pydot__tree_to_png(tree, filename, rankdir="LR", **kwargs):
+ graph = pydot__tree_to_graph(tree, rankdir, **kwargs)
+ graph.write_png(filename)
+
+
+def... | Added pydot__tree_to_dot and pydot__tree_to_graph, changed pydot__tree_to_png | py |
diff --git a/vanilla/signal.py b/vanilla/signal.py
index <HASH>..<HASH> 100644
--- a/vanilla/signal.py
+++ b/vanilla/signal.py
@@ -27,7 +27,8 @@ class __plugin__(object):
self.start()
def handler(sig, frame):
- self.p.send(chr(sig))
+ if self.p:
+ self.p.send... | attempt at fix to gracefully handle shutdown; sometimes p can be None during shutdown, but there are still incoming signals | py |
diff --git a/tangelo/tangelo/__init__.py b/tangelo/tangelo/__init__.py
index <HASH>..<HASH> 100644
--- a/tangelo/tangelo/__init__.py
+++ b/tangelo/tangelo/__init__.py
@@ -16,7 +16,7 @@ def content_type(t=None):
def header(h, t=None):
- r = cherrypy.response.headers[h]
+ r = cherrypy.response.headers.get(h, N... | changed header function to allow addition of custom headers | py |
diff --git a/muda/deformers/background.py b/muda/deformers/background.py
index <HASH>..<HASH> 100644
--- a/muda/deformers/background.py
+++ b/muda/deformers/background.py
@@ -39,7 +39,7 @@ def sample_clip_indices(filename, n_samples, sr):
with psf.SoundFile(str(filename), mode='r') as soundf:
- n_target... | Cast `sr` to float for legacy python | py |
diff --git a/netmiko/ssh_dispatcher.py b/netmiko/ssh_dispatcher.py
index <HASH>..<HASH> 100644
--- a/netmiko/ssh_dispatcher.py
+++ b/netmiko/ssh_dispatcher.py
@@ -19,6 +19,7 @@ CLASS_MAPPER = {
'cisco_nxos' : CiscoNxosSSH,
'cisco_xr' : CiscoXrSSH,
'cisco_wlc_ssh' : CiscoWlcSSH,
+ 'cisco_wlc' ... | Fix discrepency in class mapper naming for cisco_wlc | py |
diff --git a/py2/h2o.py b/py2/h2o.py
index <HASH>..<HASH> 100644
--- a/py2/h2o.py
+++ b/py2/h2o.py
@@ -15,6 +15,7 @@ def cloud_name():
def init(*args, **kwargs):
global nodes, n0
+ unit_main()
nodes = h2o_bc.init(*args, **kwargs)
# use to save typing?
n0 = nodes[0] | After discussing with Kevin, moved h2o.unit_main() into h2o.init(). | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,9 +22,9 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return Mock()
-MOCK_MODULES = ['gi.repository', 'Gtk', 'GObject', 'sorting', 'choice',
+MOCK_MODULES = ['gi.repository', 'G... | Fixed error on read the docs | py |
diff --git a/phy/cluster/manual/views.py b/phy/cluster/manual/views.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/views.py
+++ b/phy/cluster/manual/views.py
@@ -1396,6 +1396,12 @@ class CorrelogramView(ManualClusteringView):
color=color,
... | Add cluster labels in correlogram view | py |
diff --git a/appstream/component.py b/appstream/component.py
index <HASH>..<HASH> 100644
--- a/appstream/component.py
+++ b/appstream/component.py
@@ -177,6 +177,8 @@ class Component(object):
xml += ' <summary>%s</summary>\n' % self.summary
if self.developer_name:
xml += ' <deve... | Write the component project_license when exporting to XML | py |
diff --git a/django_google_maps/fields.py b/django_google_maps/fields.py
index <HASH>..<HASH> 100644
--- a/django_google_maps/fields.py
+++ b/django_google_maps/fields.py
@@ -92,4 +92,11 @@ class GeoLocationField(models.CharField):
def value_to_string(self, obj):
value = self._get_val_from_obj(obj)
- ... | added introspection rules for south migrations | py |
diff --git a/normalize/diff.py b/normalize/diff.py
index <HASH>..<HASH> 100644
--- a/normalize/diff.py
+++ b/normalize/diff.py
@@ -178,8 +178,8 @@ def compare_record_iter(a, b, fs_a=None, fs_b=None, options=None):
)
elif (options.duck_type or type(propval_a) == type(propval_b)) \
... | Fix a pyflakes error in diff Pyflakes protests: normalize/diff.py:<I>: import 'types' from line 7 shadowed by loop variable normalize/diff.py:<I>: import 'types' from line 7 shadowed by loop variable Fix it. | py |
diff --git a/wandb/wandb_torch.py b/wandb/wandb_torch.py
index <HASH>..<HASH> 100644
--- a/wandb/wandb_torch.py
+++ b/wandb/wandb_torch.py
@@ -253,8 +253,10 @@ class TorchGraph(wandb.data_types.Graph):
graph.nodes_by_id[id(param)] = node
graph.add_node(node)
if not graph.crite... | fix(wandb_torch): extract graph.criterion for RNN models | py |
diff --git a/salt/modules/boto_vpc.py b/salt/modules/boto_vpc.py
index <HASH>..<HASH> 100644
--- a/salt/modules/boto_vpc.py
+++ b/salt/modules/boto_vpc.py
@@ -281,7 +281,8 @@ def delete(vpc_id=None, name=None, tags=None, region=None, key=None, keyid=None,
try:
if not vpc_id:
- vpc_id = get_id... | Fixes boto VPC delete by passing connection details | py |
diff --git a/mautrix/api/http.py b/mautrix/api/http.py
index <HASH>..<HASH> 100644
--- a/mautrix/api/http.py
+++ b/mautrix/api/http.py
@@ -76,6 +76,8 @@ class PathBuilder:
Args:
append: The string to append.
"""
+ if append is None:
+ return self
return PathBuil... | Fix PathBuilder.__getitem__ with None append | py |
diff --git a/dukpy/install.py b/dukpy/install.py
index <HASH>..<HASH> 100644
--- a/dukpy/install.py
+++ b/dukpy/install.py
@@ -78,8 +78,9 @@ def install_jspackage(package_name, version, modulesdir):
tmpdir = tempfile.mkdtemp()
try:
tb.extractall(tmpdir)
+ dirnam... | Support packages that don't contain package directory | py |
diff --git a/odinweb/decorators.py b/odinweb/decorators.py
index <HASH>..<HASH> 100644
--- a/odinweb/decorators.py
+++ b/odinweb/decorators.py
@@ -175,7 +175,7 @@ class Operation(object):
raise HttpError(HTTPStatus.BAD_REQUEST, 40099, "Unable to decode request body.", str(ude))
try:
- ... | Ensure a full clean is performed | py |
diff --git a/pybotvac/robot.py b/pybotvac/robot.py
index <HASH>..<HASH> 100644
--- a/pybotvac/robot.py
+++ b/pybotvac/robot.py
@@ -66,9 +66,9 @@ class Robot:
# navigation_mode: 1 normal, 2 extra care, 3 deep
# category: 2 non-persistent map, 4 persistent map
- #Default to using the persistent... | Default to category 4 (persistant map) for basic-3 and basic-4 | py |
diff --git a/lib/pysynphot/observation.py b/lib/pysynphot/observation.py
index <HASH>..<HASH> 100644
--- a/lib/pysynphot/observation.py
+++ b/lib/pysynphot/observation.py
@@ -84,13 +84,13 @@ class Observation(spectrum.CompositeSourceSpectrum):
self.spectrum=self.spectrum.taper()
except Att... | Change contents of PartialOverlap warning in Observation.warnings to preserve the value of the force keyword that was used, so that it can be used if the Observation needs to be remade (as in Observation.__mul__ for scalar multiplication. Needed for pyetc. git-svn-id: <URL> | 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
@@ -1,6 +1,6 @@
from django import forms, template
from django.conf imp... | Import `Variable` directly as it is more efficient in a loop. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,10 +21,13 @@ from setuptools import setup, Extension
from setuptools import find_packages
from setuptools.command.test import test as TestCommand
-
-# Utility function to read the README file.
-def read(fname):
- re... | Adding the long_description for PyPI | py |
diff --git a/ape/container_mode/tasks.py b/ape/container_mode/tasks.py
index <HASH>..<HASH> 100644
--- a/ape/container_mode/tasks.py
+++ b/ape/container_mode/tasks.py
@@ -156,6 +156,20 @@ def install_container(container_name):
else:
print 'ERROR: this container does not provide an install.py!'
re... | added post_install_container hook | py |
diff --git a/optlang/gurobi_interface.py b/optlang/gurobi_interface.py
index <HASH>..<HASH> 100644
--- a/optlang/gurobi_interface.py
+++ b/optlang/gurobi_interface.py
@@ -126,7 +126,8 @@ class Variable(interface.Variable):
if value is None:
value = -gurobipy.GRB.INFINITY
if self.problem:
... | fix: update gurobi after changing bounds | py |
diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.9.3"
+__version__ = "0.9.4" | Update version number to <I> | py |
diff --git a/owncloud/owncloud.py b/owncloud/owncloud.py
index <HASH>..<HASH> 100644
--- a/owncloud/owncloud.py
+++ b/owncloud/owncloud.py
@@ -748,6 +748,29 @@ class Client():
raise ResponseError(res)
+ def search_users(self, user_name):
+ """Searches for users via provisioning API.
+ If y... | added search_users function Can be used for searching users or listing all users | py |
diff --git a/test/python/providers/test_backendconfiguration.py b/test/python/providers/test_backendconfiguration.py
index <HASH>..<HASH> 100644
--- a/test/python/providers/test_backendconfiguration.py
+++ b/test/python/providers/test_backendconfiguration.py
@@ -156,7 +156,4 @@ class TestBackendConfiguration(QiskitTest... | Remove stray print from test_backendconfiguration (#<I>) In #<I> a regression test was added to validate the bugfix being added in that PR. However, a stray debug print from development slipped in and has stuck around since that merged. This commit removes the stray print to remove it from our test output since it ser... | py |
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py
index <HASH>..<HASH> 100644
--- a/paramiko/sftp_client.py
+++ b/paramiko/sftp_client.py
@@ -72,9 +72,6 @@ class SFTPClient (BaseSFTP):
self.ultra_debug = transport.get_hexdump()
server_version = self._send_version()
self._log(... | [project @ <EMAIL><I>-e7a1fccdcc4e<I>c] this del is also useless | py |
diff --git a/monero_serialize/xmrrpc.py b/monero_serialize/xmrrpc.py
index <HASH>..<HASH> 100644
--- a/monero_serialize/xmrrpc.py
+++ b/monero_serialize/xmrrpc.py
@@ -1319,6 +1319,7 @@ class Modeler(object):
if x.is_type(elem_type, BlobFieldWrapper):
blobber = Blobber(self.writing, data=x.get_elem... | xmrrpc: no set sentinel for blob | py |
diff --git a/test/test_validate.py b/test/test_validate.py
index <HASH>..<HASH> 100644
--- a/test/test_validate.py
+++ b/test/test_validate.py
@@ -35,6 +35,7 @@ def test_validate_tpm_conditional_independence():
validate.conditionally_independent(tpm)
with pytest.raises(ValueError):
validate.tpm(t... | Udpate `validate.tpm` test | py |
diff --git a/mysql/toolkit/script/prepare.py b/mysql/toolkit/script/prepare.py
index <HASH>..<HASH> 100644
--- a/mysql/toolkit/script/prepare.py
+++ b/mysql/toolkit/script/prepare.py
@@ -33,6 +33,9 @@ class PrepareSQL:
self._add_semicolon = add_semicolon
self._invalid_starts = invalid_starts
+ de... | Added __str__ magic method | py |
diff --git a/phypno/detect/spindle.py b/phypno/detect/spindle.py
index <HASH>..<HASH> 100644
--- a/phypno/detect/spindle.py
+++ b/phypno/detect/spindle.py
@@ -289,10 +289,11 @@ def _find_peak_in_fft(data, peak_in_s, chan, fft_window_length):
beg_fft = peak_in_smp - data.s_freq * fft_window_length / 2
end_fft ... | only check fft if the window is between boundaries | 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
@@ -643,7 +643,7 @@ class SC2Env(environment.Base):
if (game_loop < target_game_loop and
not any(o.player_result for o in self._obs)):
raise ValueError("The gam... | Skip the warning that happens at the beginning of every game. PiperOrigin-RevId: <I> | py |
diff --git a/derpconf/version.py b/derpconf/version.py
index <HASH>..<HASH> 100644
--- a/derpconf/version.py
+++ b/derpconf/version.py
@@ -8,4 +8,4 @@
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2012 globo.com timehome@corp.globo.com
-__version__ = "0.7.1"
+__version__ = "0.7.2" | Release <I> - considering class defaults as well | 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
setup(
name = 'gophish',
packages = ['gophish', 'gophish.api'],
- version = '0.1.3',
+ version = '0.1.4',
description = 'Python API Client for Gophish',
author = 'Jordan... | Bumping release to <I> | py |
diff --git a/bambou/nurest_object.py b/bambou/nurest_object.py
index <HASH>..<HASH> 100644
--- a/bambou/nurest_object.py
+++ b/bambou/nurest_object.py
@@ -660,7 +660,7 @@ class NURESTObject(object):
# HTTP Calls
- def delete(self, async=False, callback=None, response_choice=None):
+ def delete(self, resp... | Replaced response_choice in delete method | py |
diff --git a/spacy/util.py b/spacy/util.py
index <HASH>..<HASH> 100644
--- a/spacy/util.py
+++ b/spacy/util.py
@@ -417,6 +417,7 @@ def read_json(location):
location (Path): Path to JSON file.
RETURNS (dict): Loaded JSON content.
"""
+ location = ensure_path(location)
with location.open('r', encod... | Ensure path on read_json | py |
diff --git a/ethereum/tests/hybrid_casper/test_casper.py b/ethereum/tests/hybrid_casper/test_casper.py
index <HASH>..<HASH> 100644
--- a/ethereum/tests/hybrid_casper/test_casper.py
+++ b/ethereum/tests/hybrid_casper/test_casper.py
@@ -13,7 +13,7 @@ for i in range(9):
alloc[utils.int_to_addr(i)] = {'balance': 1}
a... | Fix small bug which broke casper tests | py |
diff --git a/tests/test_test.py b/tests/test_test.py
index <HASH>..<HASH> 100644
--- a/tests/test_test.py
+++ b/tests/test_test.py
@@ -308,6 +308,22 @@ def test_follow_redirect():
strict_eq(resp.status_code, 200)
strict_eq(resp.data, b'current url: http://localhost/some/redirect/')
+def test_follow_redirect... | Added unit tests for the <I> redirect | py |
diff --git a/example/setup.py b/example/setup.py
index <HASH>..<HASH> 100755
--- a/example/setup.py
+++ b/example/setup.py
@@ -1,12 +1,11 @@
#!/usr/bin/env python
from distutils.core import setup
-from distutils.extension import Extension
from Cython.Build import cythonize
-
+import sys
# Run Cython
-extensions... | make example work without cython/cython#<I> | py |
diff --git a/spinoff/actor/comm.py b/spinoff/actor/comm.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/comm.py
+++ b/spinoff/actor/comm.py
@@ -163,7 +163,7 @@ class Comm(BaseActor):
lambda _: self._outgoing_sock.send((node_addr, pickle.dumps((actor_id, msg)))))
def ensure_connected(self, to)... | A subtle semantic clean-up/fix in Comm.ensure_connected--comparing against an actor class does not allow use of refs | py |
diff --git a/stravalib/protocol.py b/stravalib/protocol.py
index <HASH>..<HASH> 100644
--- a/stravalib/protocol.py
+++ b/stravalib/protocol.py
@@ -166,6 +166,10 @@ class ApiV3(object):
raise ValueError("Invalid/unsupported request method specified: {0}".format(method))
raw = requester(url, param... | Invoking rate limiter before checking for errors There doesn't seem to be a reason for only invoking the rate limiter in case of a <I> OK response. API usage is also counted by Strava for various error responses, so let's register these as well. | py |
diff --git a/gitlab/v4/objects/branches.py b/gitlab/v4/objects/branches.py
index <HASH>..<HASH> 100644
--- a/gitlab/v4/objects/branches.py
+++ b/gitlab/v4/objects/branches.py
@@ -84,5 +84,6 @@ class ProjectProtectedBranchManager(NoUpdateMixin, RESTManager):
"allowed_to_push",
"allowed_to_merge... | feat: add code owner approval as attribute The python API was missing the field code_owner_approval_required as implemented in the GitLab REST API. | py |
diff --git a/checkers/exceptions.py b/checkers/exceptions.py
index <HASH>..<HASH> 100644
--- a/checkers/exceptions.py
+++ b/checkers/exceptions.py
@@ -68,7 +68,7 @@ MSGS = {
'Used when except clauses are not in the correct order (from the '
'more specific to the more generic). If you don\'... | Amend the message for raising-bad-type, by not specifying strings. | py |
diff --git a/examples/pxe_with_nfs/pxe_with_nfs_infra.py b/examples/pxe_with_nfs/pxe_with_nfs_infra.py
index <HASH>..<HASH> 100644
--- a/examples/pxe_with_nfs/pxe_with_nfs_infra.py
+++ b/examples/pxe_with_nfs/pxe_with_nfs_infra.py
@@ -5,7 +5,7 @@ SUDO = True
# If you change pxe_server value below then check/change V... | revert a testing value change | py |
diff --git a/alignak/daemons/arbiterdaemon.py b/alignak/daemons/arbiterdaemon.py
index <HASH>..<HASH> 100644
--- a/alignak/daemons/arbiterdaemon.py
+++ b/alignak/daemons/arbiterdaemon.py
@@ -298,8 +298,10 @@ class Arbiter(Daemon): # pylint: disable=R0902
# Maybe conf is already invalid
if not self.... | Fix-#<I> - dump file parsing errors | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ from setuptools import setup, find_packages
if __name__ == '__main__':
setup(
name='glad',
- version='0.1.7a1',
+ version='0.1.8a0',
description='Multi-Language GL/GLES/EGL/... | setup: Bumped version: <I>a0. | py |
diff --git a/programs/pmag_gui3.0.py b/programs/pmag_gui3.0.py
index <HASH>..<HASH> 100755
--- a/programs/pmag_gui3.0.py
+++ b/programs/pmag_gui3.0.py
@@ -364,10 +364,22 @@ class MagMainFrame(wx.Frame):
self.Hide()
def on_convert_3(self, event):
- pmag.convert_directory_2_to_3('magic_measurements... | Pmag GUI 3 step 1a: give success/fail info | py |
diff --git a/pullv/repo/git.py b/pullv/repo/git.py
index <HASH>..<HASH> 100644
--- a/pullv/repo/git.py
+++ b/pullv/repo/git.py
@@ -32,12 +32,26 @@ class GitRepo(BaseRepo):
def obtain(self):
self.check_destination()
+ import subprocess
+ import sys
url, rev = self.get_url_rev()
-... | get progress on git clone | py |
diff --git a/tensorboard/plugins/interactive_inference/utils/inference_utils.py b/tensorboard/plugins/interactive_inference/utils/inference_utils.py
index <HASH>..<HASH> 100644
--- a/tensorboard/plugins/interactive_inference/utils/inference_utils.py
+++ b/tensorboard/plugins/interactive_inference/utils/inference_utils.... | Fixed typos in docstrings. (#<I>) * Fixed typos in docstrings. * Clarified wording. | py |
diff --git a/flask_login.py b/flask_login.py
index <HASH>..<HASH> 100644
--- a/flask_login.py
+++ b/flask_login.py
@@ -77,6 +77,10 @@ ID_ATTRIBUTE = 'get_id'
#: Default name of the auth header (``Authorization``)
AUTH_HEADER_NAME = 'Authorization'
+# A set of session keys that are populated by Flask-Login. Use this... | use a set to contain flask-login populated keys | py |
diff --git a/telethon/update_state.py b/telethon/update_state.py
index <HASH>..<HASH> 100644
--- a/telethon/update_state.py
+++ b/telethon/update_state.py
@@ -80,6 +80,7 @@ class UpdateState:
t.join()
self._worker_threads.clear()
+ self._workers = n
def setup_workers(self):
... | Stopping workers should not clear their count (may fix #<I>) | py |
diff --git a/fc/excel_ui.py b/fc/excel_ui.py
index <HASH>..<HASH> 100644
--- a/fc/excel_ui.py
+++ b/fc/excel_ui.py
@@ -648,9 +648,13 @@ def generate_histograms_table(samples_table, samples):
for sample_id, sample in zip(samples_table.index, samples):
for header, channel in zip(hist_headers, hist_channels)... | Histograms produced by excel_ui now show units for each bin. | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -1585,6 +1585,16 @@ Please provide any additional information below.
_("Unable to connect to IPython kernel "
"... | IPython plugin: when a new kernel is started in Console, tabifying the frontend to the Console (for the first created frontend) and the next frontends to the previously created frontend. | py |
diff --git a/lp_copy_packages.py b/lp_copy_packages.py
index <HASH>..<HASH> 100755
--- a/lp_copy_packages.py
+++ b/lp_copy_packages.py
@@ -63,11 +63,19 @@ def get_archives(lp, to_archive_name):
def copy_packages(lp, version, to_archive_name, dry_run=False):
"""Copy the juju-core source and binary packages to and ... | Copy juju-core2 packages to public archives. | py |
diff --git a/lenstronomy/Util/class_creator.py b/lenstronomy/Util/class_creator.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Util/class_creator.py
+++ b/lenstronomy/Util/class_creator.py
@@ -144,11 +144,10 @@ def create_class_instances(lens_model_list=[], z_lens=None, z_source=None, lens_
def create_image_model(kw... | added option to define R_sersic convention in elliptical case through the model settings | py |
diff --git a/tldap/query.py b/tldap/query.py
index <HASH>..<HASH> 100644
--- a/tldap/query.py
+++ b/tldap/query.py
@@ -254,6 +254,7 @@ class QuerySet(object):
def _expand_query(self, q):
dst = tldap.Q()
dst.connector = q.connector
+ dst.negated = q.negated
"""
Expands e... | More problems fixed with negated searches. | py |
diff --git a/functionfs/tests/device.py b/functionfs/tests/device.py
index <HASH>..<HASH> 100644
--- a/functionfs/tests/device.py
+++ b/functionfs/tests/device.py
@@ -154,7 +154,10 @@ class FunctionFSTestDevice(functionfs.Function):
def onEnable(self):
print('functionfs: ENABLE')
- print('Real in... | tests: Tolerate getRealInterfaceNumber raising. | py |
diff --git a/tests/base_class.py b/tests/base_class.py
index <HASH>..<HASH> 100644
--- a/tests/base_class.py
+++ b/tests/base_class.py
@@ -56,7 +56,7 @@ class BaseTestAreas(object):
# try to get a single area by id not available in the result
with pytest.raises(overpy.exception.DataIncomplete):
- ... | test - Fix small issue in area test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,13 @@
-from setuptools import setup
+from setuptools import setup, find_packages
setup(name='dispatch',
- version='0.1',
+ version='0.2.7',
description='A publishing platform for modern newspapers'... | Find all packages with find_packages() | py |
diff --git a/py/cmdline/pycleanup.py b/py/cmdline/pycleanup.py
index <HASH>..<HASH> 100755
--- a/py/cmdline/pycleanup.py
+++ b/py/cmdline/pycleanup.py
@@ -11,11 +11,26 @@ import py
def main():
parser = py.compat.optparse.OptionParser(usage=__doc__)
+ parser.add_option("-e", "--remove", dest="ext", default=".... | extend py.cleanup to supply a list of extensions to clean --HG-- branch : trunk | py |
diff --git a/salt/client/mixins.py b/salt/client/mixins.py
index <HASH>..<HASH> 100644
--- a/salt/client/mixins.py
+++ b/salt/client/mixins.py
@@ -394,7 +394,8 @@ class SyncClientMixin(object):
with tornado.stack_context.StackContext(self.functions.context_dict.clone):
data['return'] = sel... | Check if data['return'] is dict type | py |
diff --git a/chatterbot/storage/sql_storage.py b/chatterbot/storage/sql_storage.py
index <HASH>..<HASH> 100644
--- a/chatterbot/storage/sql_storage.py
+++ b/chatterbot/storage/sql_storage.py
@@ -19,7 +19,6 @@ class SQLStorageAdapter(StorageAdapter):
def __init__(self, **kwargs):
super(SQLStorageAdapter, s... | Regex is overkill for this check | py |
diff --git a/preventconcurrentlogins/models.py b/preventconcurrentlogins/models.py
index <HASH>..<HASH> 100644
--- a/preventconcurrentlogins/models.py
+++ b/preventconcurrentlogins/models.py
@@ -1,12 +1,9 @@
+from django.conf import settings
+from django.contrib.auth.models import User
from django.db import models
-tr... | Django <I>: Fix django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet. | py |
diff --git a/standalone_tests/test_git_workflows.py b/standalone_tests/test_git_workflows.py
index <HASH>..<HASH> 100755
--- a/standalone_tests/test_git_workflows.py
+++ b/standalone_tests/test_git_workflows.py
@@ -20,6 +20,8 @@ COMMITS_SHOULD_FAIL_ARG = 'tiny_max_file_size'
COMMITS_SHOULD_FAIL = COMMITS_SHOULD_FAIL_A... | edited test to pass in absence of config file | py |
diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100755
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -5208,11 +5208,15 @@ def test_fist_of_jaraxxus():
def test_far_sight():
game = prepare_game()
game.player1.discard_hand()
- farsight = game.current_player.give("CS2_053")
+ farsight... | Change test for Far Sight to check for buff value | py |
diff --git a/tests/test_hdf5.py b/tests/test_hdf5.py
index <HASH>..<HASH> 100644
--- a/tests/test_hdf5.py
+++ b/tests/test_hdf5.py
@@ -44,7 +44,7 @@ class TestH5PYDataset(object):
def setUp(self):
self.h5file = h5py.File(
- 'file.hdf5', mode="w", device='core', backing_store=False)
+ ... | Fix typo: h5py driver kwarg | py |
diff --git a/openquake/calculators/scenario_damage.py b/openquake/calculators/scenario_damage.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/scenario_damage.py
+++ b/openquake/calculators/scenario_damage.py
@@ -88,7 +88,6 @@ def scenario_damage(riskinputs, param, monitor):
for ri in riskinputs:
... | Removed unused line [skip CI] | py |
diff --git a/matrix_client/api.py b/matrix_client/api.py
index <HASH>..<HASH> 100644
--- a/matrix_client/api.py
+++ b/matrix_client/api.py
@@ -265,6 +265,17 @@ class MatrixHttpApi(object):
"""
return self._send("GET", "/rooms/" + room_id + "/state/m.room.name")
+ def set_room_name(self, room_id, ... | Add API for setting the room name create set_room_name for performing PUT /rooms/$room_id/state/m.room.name | py |
diff --git a/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py b/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py
+++ b/angr/analyses/cfg/indirect_jump_resolvers/jumptable.py
@@ -296,6 +296,10 @@ class JumpTableResolver(... | Add check to the constant indirect jump resolver bits so that we make sure we can actually find the target (e.g., don't resolve a jumpout to nowhere) | py |
diff --git a/rest_framework_gis/serializers.py b/rest_framework_gis/serializers.py
index <HASH>..<HASH> 100755
--- a/rest_framework_gis/serializers.py
+++ b/rest_framework_gis/serializers.py
@@ -13,7 +13,10 @@ except ImportError:
from .fields import GeometryField
# map drf-gis GeometryField to GeoDjango Geometry Fi... | Stops breakage with drf <I> | py |
diff --git a/MAVProxy/tools/MAVExplorer.py b/MAVProxy/tools/MAVExplorer.py
index <HASH>..<HASH> 100755
--- a/MAVProxy/tools/MAVExplorer.py
+++ b/MAVProxy/tools/MAVExplorer.py
@@ -825,6 +825,10 @@ def cmd_param(args):
set_vehicle_name()
mestate.param_help.param_check(mestate.mlog.params, args[1... | cope with habits of param show from mavproxy | py |
diff --git a/test_flask_alchy.py b/test_flask_alchy.py
index <HASH>..<HASH> 100644
--- a/test_flask_alchy.py
+++ b/test_flask_alchy.py
@@ -1,7 +1,4 @@
-# remove once alchy released to pypi
-import sys; sys.path.append('../alchy')
-
from unittest import TestCase
from flask import Flask | Remove temp code needed to test prior to alchy release. | py |
diff --git a/insights/parsers/uname.py b/insights/parsers/uname.py
index <HASH>..<HASH> 100644
--- a/insights/parsers/uname.py
+++ b/insights/parsers/uname.py
@@ -113,6 +113,7 @@ rhel_release_map = {
"4.18.0-240": "8.3",
"4.18.0-305": "8.4",
"4.18.0-348": "8.5",
+ "4.18.0-372": "8.6",
}
release_to... | feat: RHEL <I> is GA (#<I>) | py |
diff --git a/horizon/loaders.py b/horizon/loaders.py
index <HASH>..<HASH> 100644
--- a/horizon/loaders.py
+++ b/horizon/loaders.py
@@ -19,7 +19,10 @@ import os
import django
from django.conf import settings
-from django.template.base import TemplateDoesNotExist # noqa
+if django.VERSION >= (1, 9):
+ from django... | [Django <I>] Do not use TemplateDoesNotExist from Django TemplateDoesNotExist was removed from Django <I>. This is a trivial class which exists only to raise exception, and which can easily be redefined in our code. Change-Id: I<I>d7e6e<I>f<I>fd2b<I>b<I> Closes-Bug: #<I> | py |
diff --git a/zinnia/__init__.py b/zinnia/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia/__init__.py
+++ b/zinnia/__init__.py
@@ -1,5 +1,5 @@
"""Zinnia"""
-__version__ = '0.6'
+__version__ = '0.7'
__license__ = 'BSD License'
__author__ = 'Fantomas42' | releasing zinnia <I> | py |
diff --git a/b2handle/handleexceptions.py b/b2handle/handleexceptions.py
index <HASH>..<HASH> 100644
--- a/b2handle/handleexceptions.py
+++ b/b2handle/handleexceptions.py
@@ -30,7 +30,7 @@ class IllegalOperationException(Exception):
when he wants to create or remove 10320/loc entries using the
wrong method, .... | Adapted docstring/comments of some exceptions. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.