diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/semver.py b/semver.py
index <HASH>..<HASH> 100644
--- a/semver.py
+++ b/semver.py
@@ -10,12 +10,44 @@ import sys
import warnings
-__version__ = "2.10.0"
+__version__ = "2.10.1"
__author__ = "Kostiantyn Rybnikov"
__author_email__ = "k-bx@k-bx.com"
__maintainer__ = ["Sebastien Celles", "Tom Schraitle... | Add __all__ to provide explict index of semver Defines default behaviour when executing `from semver import *` (although it's considered bad coding practice). Raise version to <I>. See also: <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def main():
packages=find_packages(),
zip_safe=False,
url='https://github.com/openvenues/pypostal',
- download_url='https://github.com/openvenues/pypostal/tarball/0.3',
+ ... | [build][ci skip] adding tarball for new release | py |
diff --git a/lahja/asyncio/endpoint.py b/lahja/asyncio/endpoint.py
index <HASH>..<HASH> 100644
--- a/lahja/asyncio/endpoint.py
+++ b/lahja/asyncio/endpoint.py
@@ -111,8 +111,7 @@ class Connection:
size = len(pickled)
try:
- self.writer.write(size.to_bytes(SIZE_MARKER_LENGTH, "little"))
- ... | Reduce number of socket sends by precombinging length prefix | py |
diff --git a/cnxpublishing/tests/views/test_publishing.py b/cnxpublishing/tests/views/test_publishing.py
index <HASH>..<HASH> 100644
--- a/cnxpublishing/tests/views/test_publishing.py
+++ b/cnxpublishing/tests/views/test_publishing.py
@@ -1411,7 +1411,8 @@ class BakeContentTestCase(BaseFunctionalViewTestCase):
... | Comment out notifications count assertion (#<I>) These assertions are error prone. It's hard to reliably get these results. Addresses #<I> | py |
diff --git a/figgypy/config.py b/figgypy/config.py
index <HASH>..<HASH> 100644
--- a/figgypy/config.py
+++ b/figgypy/config.py
@@ -101,7 +101,7 @@ class Config(object):
_y = _seria_in.dump('yaml')
except IOError:
raise FiggypyError("could not open configuration file")
- sel... | Updating yaml loader to yaml_full. | py |
diff --git a/cobald/utility/concurrent/asyncio_runner.py b/cobald/utility/concurrent/asyncio_runner.py
index <HASH>..<HASH> 100644
--- a/cobald/utility/concurrent/asyncio_runner.py
+++ b/cobald/utility/concurrent/asyncio_runner.py
@@ -3,7 +3,7 @@ import time
from functools import partial
from .base_runner import Ba... | asyncio runner support run payload | py |
diff --git a/tests/unit/store/test_pickle_store.py b/tests/unit/store/test_pickle_store.py
index <HASH>..<HASH> 100644
--- a/tests/unit/store/test_pickle_store.py
+++ b/tests/unit/store/test_pickle_store.py
@@ -15,10 +15,8 @@ from mock import create_autospec, sentinel, Mock, call
from arctic.store._pickle_store import... | Update test_pickle based on code review comment | py |
diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3863,7 +3863,7 @@ class Kconfig(object):
.format(sym.name_and_loc))
def _parse_error(self, msg):
- raise KconfigError("{}couldn't parse '{}': {}".format(
+... | Include "error: " in parsing error messages Oversight. Makes them easier to find in logs. | py |
diff --git a/pyramid_swagger/tween.py b/pyramid_swagger/tween.py
index <HASH>..<HASH> 100644
--- a/pyramid_swagger/tween.py
+++ b/pyramid_swagger/tween.py
@@ -613,7 +613,7 @@ def get_op_for_request(request, route_info, spec):
else:
raise PathNotMatchedError(
"Could not find a matching route f... | fix typo registed -> registered | py |
diff --git a/gsh/stdin.py b/gsh/stdin.py
index <HASH>..<HASH> 100644
--- a/gsh/stdin.py
+++ b/gsh/stdin.py
@@ -173,6 +173,10 @@ class pipe_notification_reader(asyncore.file_dispatcher):
else:
self._do(c)
+ def writable(self):
+ """That's a reader"""
+ return False
+
# A... | Strange that we could get away without that. | py |
diff --git a/projexui/xapplication.py b/projexui/xapplication.py
index <HASH>..<HASH> 100644
--- a/projexui/xapplication.py
+++ b/projexui/xapplication.py
@@ -45,7 +45,8 @@ class XApplication(QtGui.QApplication):
self.addLibraryPath(plugpath)
# set default value
- projexui.stylize(... | not stylizing under darwin by default | py |
diff --git a/ncclient/operations/edit.py b/ncclient/operations/edit.py
index <HASH>..<HASH> 100644
--- a/ncclient/operations/edit.py
+++ b/ncclient/operations/edit.py
@@ -149,8 +149,8 @@ class Commit(RPC):
*persist_id* value must be equal to the value given in the <persist> parameter to the original <commit> o... | Allow for follow-up confirmed commit with persist-id | py |
diff --git a/docker/client.py b/docker/client.py
index <HASH>..<HASH> 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -708,9 +708,9 @@ class Client(requests.Session):
if port_settings is None:
return None
- h_ports = json_['NetworkSettings']['Ports'].get(s_port + '/udp')
+ ... | MAINT: Don't re-index multiple times. | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -2135,16 +2135,28 @@ class API:
Returns a user's friends ordered in which they were added 100 at a
time. If no user is specified it defaults to the authenticated user.
- :param us... | Update and improve documentation for API.friends | py |
diff --git a/electionnight/management/commands/bootstrap_results_db.py b/electionnight/management/commands/bootstrap_results_db.py
index <HASH>..<HASH> 100644
--- a/electionnight/management/commands/bootstrap_results_db.py
+++ b/electionnight/management/commands/bootstrap_results_db.py
@@ -62,7 +62,7 @@ class Command(B... | match election date when searching for ap meta | py |
diff --git a/src/senaite/jsonapi/dataproviders.py b/src/senaite/jsonapi/dataproviders.py
index <HASH>..<HASH> 100644
--- a/src/senaite/jsonapi/dataproviders.py
+++ b/src/senaite/jsonapi/dataproviders.py
@@ -154,10 +154,9 @@ class ZCDataProvider(Base):
def _x_get_parent_path(self):
"""Generate the parent p... | Update _x_get_parent_path method so that it also contains the portal name for objects retrieved from uid_catalog | py |
diff --git a/py/selenium/webdriver/safari/webdriver.py b/py/selenium/webdriver/safari/webdriver.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/safari/webdriver.py
+++ b/py/selenium/webdriver/safari/webdriver.py
@@ -56,20 +56,20 @@ class WebDriver(RemoteWebDriver):
HTTP keep-alive. Defaults to ... | Fix deprecation warnings for Safari (#<I>) | py |
diff --git a/salt/exceptions.py b/salt/exceptions.py
index <HASH>..<HASH> 100644
--- a/salt/exceptions.py
+++ b/salt/exceptions.py
@@ -386,6 +386,13 @@ class VMwareSaltError(CommandExecutionError):
'''
+class VMwareRuntimeError(VMwareSaltError):
+ '''
+ Used when a runtime error is encountered when commu... | VMware salt exception changes - added VMwareRuntimeError, VMwareSystemError - changed description of VMwareApiError | py |
diff --git a/fragman/apply.py b/fragman/apply.py
index <HASH>..<HASH> 100644
--- a/fragman/apply.py
+++ b/fragman/apply.py
@@ -10,10 +10,10 @@ def apply_changes(changed_path, config):
weave.add_revision(2, file(changed_path, 'r').readlines(), [1])
for i, other_key in enumerate(config['files']):
- rev... | don't count current file when incrementing revisions | py |
diff --git a/stanfordnlp/run_pipeline.py b/stanfordnlp/run_pipeline.py
index <HASH>..<HASH> 100644
--- a/stanfordnlp/run_pipeline.py
+++ b/stanfordnlp/run_pipeline.py
@@ -23,9 +23,9 @@ if __name__ == '__main__':
# add processor settings so they can be specified at command line
for processor_setting in PROCESS... | suppress processor settings from run_pipeline help | py |
diff --git a/uproot/hist.py b/uproot/hist.py
index <HASH>..<HASH> 100644
--- a/uproot/hist.py
+++ b/uproot/hist.py
@@ -261,6 +261,16 @@ class TH1Methods(object):
uproot.rootio.methods["TH1"] = TH1Methods
+class TH2Methods(TH1Methods):
+ # makes __doc__ attribute mutable before Python 3.3
+ __metaclass__ = ty... | add hook for writing TH2 methods | py |
diff --git a/neal/package_info.py b/neal/package_info.py
index <HASH>..<HASH> 100644
--- a/neal/package_info.py
+++ b/neal/package_info.py
@@ -14,7 +14,7 @@
#
# ================================================================================================
-__version__ = '0.5.2'
+__version__ = '0.5.3'
__author__ ... | Update version <I> -> <I> Changes ------- * Drop support for python <I> and <I> Fixes ----- * Loosened NumPy version requirements | py |
diff --git a/ariba/clusters.py b/ariba/clusters.py
index <HASH>..<HASH> 100644
--- a/ariba/clusters.py
+++ b/ariba/clusters.py
@@ -360,11 +360,8 @@ class Clusters:
counter = 0
cluster_list = []
self.log_files = []
- cluster_numbers = [int(x) for x in self.cluster_to_dir.keys()]
- ... | Cluster names are strings, not ints | py |
diff --git a/nap/__init__.py b/nap/__init__.py
index <HASH>..<HASH> 100644
--- a/nap/__init__.py
+++ b/nap/__init__.py
@@ -0,0 +1,2 @@
+__version__ = '0.1.0'
+__url__ = 'https://github.com/kimmobrunfeldt/nap' | Make tests a package to support py.test | py |
diff --git a/bot/storage/__init__.py b/bot/storage/__init__.py
index <HASH>..<HASH> 100644
--- a/bot/storage/__init__.py
+++ b/bot/storage/__init__.py
@@ -53,6 +53,9 @@ class Storage(AttributeObject):
return []
return os.listdir(self._base_dir)
+ def setup(self):
+ self.__create_dirs_i... | Add a setup() method to Storage to create missing directories up to that node | py |
diff --git a/locationsharinglib/locationsharinglib.py b/locationsharinglib/locationsharinglib.py
index <HASH>..<HASH> 100755
--- a/locationsharinglib/locationsharinglib.py
+++ b/locationsharinglib/locationsharinglib.py
@@ -36,6 +36,7 @@ import json
import logging
import pickle
from datetime import datetime
+import p... | Add timezone info to timestamp Google provides timestamp in UTC | py |
diff --git a/cachier/core.py b/cachier/core.py
index <HASH>..<HASH> 100644
--- a/cachier/core.py
+++ b/cachier/core.py
@@ -163,7 +163,7 @@ class _MongoCore(_BaseCore):
'key': key
},
{
- '$set': {'being_calculated': True}
+ '$se... | fixed a bug marking calculation as True when should be False in Mongo Core | py |
diff --git a/tests/test_pyPodcastParser.py b/tests/test_pyPodcastParser.py
index <HASH>..<HASH> 100644
--- a/tests/test_pyPodcastParser.py
+++ b/tests/test_pyPodcastParser.py
@@ -157,7 +157,7 @@ class Test_Basic_Feed(unittest.TestCase):
def test_loding_of_basic_podcast(self):
self.assertIsNotNone(self.bas... | added very simple to_dict() test | py |
diff --git a/dclab/rtdc_dataset/load.py b/dclab/rtdc_dataset/load.py
index <HASH>..<HASH> 100644
--- a/dclab/rtdc_dataset/load.py
+++ b/dclab/rtdc_dataset/load.py
@@ -170,9 +170,9 @@ def check_dataset(path_or_ds):
if "image" in ds._events:
imdat = ds["image"]
miss_imkey = []
- ... | tests: fix checker for python 3 | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1410,7 +1410,7 @@ class Minion(MinionBase):
Tear down the minion
'''
self._running = False
- if hasattr(self, 'poller'):
+ if getattr(self, 'poller', None) is n... | Reset the reference intead of deleting it | py |
diff --git a/traffic/__init__.py b/traffic/__init__.py
index <HASH>..<HASH> 100644
--- a/traffic/__init__.py
+++ b/traffic/__init__.py
@@ -14,7 +14,6 @@ warnings.simplefilter("ignore", TqdmExperimentalWarning)
# -- Configuration management --
config_dir = Path(user_config_dir("traffic"))
-cache_dir = Path(user_cach... | Allow a user-selectable cache directory by adding an option to read it from the traffic config file. (#<I>) | py |
diff --git a/tests/test_Apex.py b/tests/test_Apex.py
index <HASH>..<HASH> 100644
--- a/tests/test_Apex.py
+++ b/tests/test_Apex.py
@@ -1321,7 +1321,6 @@ def test_set_epoch():
def test_set_epoch_file_error():
"""Test raises OSError when IGRF coefficient file is missing."""
-
# Ensure the coefficient file ex... | BUG: fixed pytest call Fixed call to pytest.raises. | py |
diff --git a/datastore/impl/mongo.py b/datastore/impl/mongo.py
index <HASH>..<HASH> 100644
--- a/datastore/impl/mongo.py
+++ b/datastore/impl/mongo.py
@@ -1,11 +1,17 @@
-import bson
-import pymongo
-import datastore
-
-
__version__ = '1.2'
__author__ = 'Juan Batiz-Benet <jbenet@cs.stanford.edu>'
+__doc__ = '''
+Mon... | cleaned up mongo.py imports and added __doc__ | py |
diff --git a/salt/output.py b/salt/output.py
index <HASH>..<HASH> 100644
--- a/salt/output.py
+++ b/salt/output.py
@@ -110,7 +110,7 @@ class HighStateOutputter(Outputter):
if isinstance(data[host], dict):
# Strip out the result: True, without changes returns if
# state_ver... | Need to pass data in via kwargs | py |
diff --git a/tests/test_redmine.py b/tests/test_redmine.py
index <HASH>..<HASH> 100644
--- a/tests/test_redmine.py
+++ b/tests/test_redmine.py
@@ -81,6 +81,7 @@ class TestRedmineIssue(AbstractServiceTest, ServiceTest):
issue.CREATED_ON: self.arbitrary_created,
issue.UPDATED_ON: self.arbitrary_... | Fix tests for #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,7 @@ Features
Plugin provides some fixtures to simplify app testing:
- ``client`` - an instance of ``app.test_client``,
+- ``client_class`` - ``client`` fixture for class-based tests,
- ``config`` - you applicat... | Add note about `client_class` fixture to pypi page | py |
diff --git a/FlowCytometryTools/core/gates.py b/FlowCytometryTools/core/gates.py
index <HASH>..<HASH> 100755
--- a/FlowCytometryTools/core/gates.py
+++ b/FlowCytometryTools/core/gates.py
@@ -411,10 +411,10 @@ class CompositeGate(_ComposableMixin):
gate = self.gates[0]
return '~{0}'.format(gate... | FIX: print on composite gate | py |
diff --git a/pylast/__init__.py b/pylast/__init__.py
index <HASH>..<HASH> 100644
--- a/pylast/__init__.py
+++ b/pylast/__init__.py
@@ -2288,8 +2288,8 @@ class User(_BaseObject, _Chartable):
doc = self._request(self.ws_prefix + ".getInfo", True)
- return doc.getElementsByTagName(
- "regist... | Return unix timestamp as int | py |
diff --git a/pymagicc/api.py b/pymagicc/api.py
index <HASH>..<HASH> 100644
--- a/pymagicc/api.py
+++ b/pymagicc/api.py
@@ -80,9 +80,6 @@ class MAGICCBase(object):
def __exit__(self, *args, **kwargs):
self.remove_temp_copy()
- def get_executable(self):
- raise NotImplementedError
-
def cre... | Method is actually implemented Removes placeholder. | py |
diff --git a/nion/swift/NotificationDialog.py b/nion/swift/NotificationDialog.py
index <HASH>..<HASH> 100644
--- a/nion/swift/NotificationDialog.py
+++ b/nion/swift/NotificationDialog.py
@@ -268,7 +268,8 @@ def append_notification(notification: Notification.Notification) -> None:
if notifications:
... | Ensure notification dialog has _app defined (bypass for test). | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,13 +4,13 @@
iPOPO installation script
:author: Thomas Calmant
-:copyright: Copyright 2017, Thomas Calmant
+:copyright: Copyright 2018, Thomas Calmant
:license: Apache License 2.0
:version: 0.7.1
..
- Copyright... | Review of setup.py Changed copyright year and added missing pelix.shell.completion package. | py |
diff --git a/tests/integration/runners/test_jobs.py b/tests/integration/runners/test_jobs.py
index <HASH>..<HASH> 100644
--- a/tests/integration/runners/test_jobs.py
+++ b/tests/integration/runners/test_jobs.py
@@ -62,10 +62,11 @@ class LocalCacheTargetTest(ShellCase):
This is a regression test for fixing th... | Make target test job more specific to reduce test flakiness | py |
diff --git a/nolds/measures.py b/nolds/measures.py
index <HASH>..<HASH> 100644
--- a/nolds/measures.py
+++ b/nolds/measures.py
@@ -1382,7 +1382,7 @@ def hurst_multifractal_dm(data, qvals=[1], max_dists=range(5, 20)):
])
hhcorr = np.array(hhcorr, dtype="float32")
H = np.array([
- _aste_line_fit(np.log(rang... | bugfix: adjusts limits for line fit (start at 1, include upper limit) | py |
diff --git a/src/transformers/models/owlvit/__init__.py b/src/transformers/models/owlvit/__init__.py
index <HASH>..<HASH> 100644
--- a/src/transformers/models/owlvit/__init__.py
+++ b/src/transformers/models/owlvit/__init__.py
@@ -40,7 +40,7 @@ _import_structure = {
try:
- if not is_vision_available() or not is... | Fix OwlViT tests (#<I>) * Fix OwlViT tests * Forgot one | py |
diff --git a/pgmpy/Factor/JointProbabilityDistribution.py b/pgmpy/Factor/JointProbabilityDistribution.py
index <HASH>..<HASH> 100644
--- a/pgmpy/Factor/JointProbabilityDistribution.py
+++ b/pgmpy/Factor/JointProbabilityDistribution.py
@@ -9,6 +9,7 @@ class JointProbabilityDistribution(Factor):
Public Methods
... | add conditional_distribution method to JointProbabilityDistribution | py |
diff --git a/speech/google/cloud/speech/operation.py b/speech/google/cloud/speech/operation.py
index <HASH>..<HASH> 100644
--- a/speech/google/cloud/speech/operation.py
+++ b/speech/google/cloud/speech/operation.py
@@ -50,7 +50,7 @@ class Operation(operation.Operation):
:class:`~google.longrunning.operatio... | Correct speech Operation docstring (#<I>) ValueError is raised when there are no results, not when there is more than one result, which is what the docstring says. | py |
diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_multilevel.py
+++ b/pandas/tests/test_multilevel.py
@@ -2286,6 +2286,11 @@ Thur,Lunch,Yes,51.51,17"""
"incomplete column name \('C', 'c'\)")):
... | TST: test reset_index with tuple index name and col_level!=0 (#<I>) | py |
diff --git a/doubles/nose.py b/doubles/nose.py
index <HASH>..<HASH> 100644
--- a/doubles/nose.py
+++ b/doubles/nose.py
@@ -21,11 +21,11 @@ class NoseIntegration(Plugin):
def prepareTestCase(self, test):
def wrapped(result):
test.test.run()
- if result.failures or result.errors:
- ... | Remove verification skipping in Nose plugin for now. | py |
diff --git a/telemetry/telemetry/unittest/json_results.py b/telemetry/telemetry/unittest/json_results.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/unittest/json_results.py
+++ b/telemetry/telemetry/unittest/json_results.py
@@ -108,6 +108,8 @@ def FullResults(args, suite, results):
'actual': ActualR... | Fix handling of unexpected results in telemetry*_unittests. This was initially fixed in r<I>, but appears to have regressed in r<I> due to a bad merge. TBR=<EMAIL> BUG=<I> Review URL: <URL> | py |
diff --git a/smoomapy/__init__.py b/smoomapy/__init__.py
index <HASH>..<HASH> 100644
--- a/smoomapy/__init__.py
+++ b/smoomapy/__init__.py
@@ -4,6 +4,6 @@
"""
Smoomapy : make smoothed map in a python environnement.
"""
-__version__ = "0.1.7"
+__version__ = "0.1.8"
from .core import * | bump nb version for releasing lastest changes on pypi | py |
diff --git a/safeoutput/__init__.py b/safeoutput/__init__.py
index <HASH>..<HASH> 100644
--- a/safeoutput/__init__.py
+++ b/safeoutput/__init__.py
@@ -13,7 +13,10 @@ def open(dst=None, mode="w"):
if dst:
fd = NamedTemporaryFile(dir=dirname(abspath(dst)), mode=mode)
else:
- fd = sys.stdout
+ ... | Use buffer interface when mode is bytes | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,5 +6,5 @@ setup(name='vyked',
author_email='kashif.razzaqui@gmail.com',
url='https://github.com/kashifrazzaqui/vyked',
description='A micro-service framework for Python',
- packages=['vyked', 'vyke... | Adding dependency on jsonstreamer | py |
diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py
index <HASH>..<HASH> 100644
--- a/windpowerlib/wind_turbine.py
+++ b/windpowerlib/wind_turbine.py
@@ -184,6 +184,14 @@ class WindTurbine(object):
return turbine_repr
+ def deduce_nominal_power_from_power_curve(self):
+ """Tr... | Add method to deduce the nominal value from the power curve | py |
diff --git a/tests/integration/long/utils.py b/tests/integration/long/utils.py
index <HASH>..<HASH> 100644
--- a/tests/integration/long/utils.py
+++ b/tests/integration/long/utils.py
@@ -107,6 +107,7 @@ def bootstrap(node, data_center=None, token=None):
auto_bootstrap=False,
... | Adding binary port to bootstrap method | py |
diff --git a/seed_stage_based_messaging/testsettings.py b/seed_stage_based_messaging/testsettings.py
index <HASH>..<HASH> 100644
--- a/seed_stage_based_messaging/testsettings.py
+++ b/seed_stage_based_messaging/testsettings.py
@@ -1,4 +1,4 @@
-from seed_stage_based_messaging.settings import * # flake8: noqa
+from seed... | Fix noqa comments for new version of flake8 | py |
diff --git a/scvelo/preprocessing/moments.py b/scvelo/preprocessing/moments.py
index <HASH>..<HASH> 100644
--- a/scvelo/preprocessing/moments.py
+++ b/scvelo/preprocessing/moments.py
@@ -13,7 +13,7 @@ def normalize_layers(adata, layers={'spliced', 'unspliced'}, copy=False):
def get_connectivities(adata, mode):
- ... | fix (due to density normalization) | py |
diff --git a/spyder/plugins/editor/widgets/base.py b/spyder/plugins/editor/widgets/base.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/widgets/base.py
+++ b/spyder/plugins/editor/widgets/base.py
@@ -912,7 +912,12 @@ class TextEditBaseWidget(QPlainTextEdit, BaseEditMixin):
def is_completion_widget_vi... | add catch to RuntimeError in the editor | py |
diff --git a/djstripe/models.py b/djstripe/models.py
index <HASH>..<HASH> 100644
--- a/djstripe/models.py
+++ b/djstripe/models.py
@@ -3065,6 +3065,10 @@ class WebhookEventTrigger(models.Model):
return local_data["data"] == remote_data["data"]
def process(self, save=True):
+ # Reset traceback and... | Reset exception and traceback on WebhookEventTrigger.process() | py |
diff --git a/src/cleanlog/formatter.py b/src/cleanlog/formatter.py
index <HASH>..<HASH> 100644
--- a/src/cleanlog/formatter.py
+++ b/src/cleanlog/formatter.py
@@ -51,12 +51,16 @@ class BasicFormatter(logging.Formatter):
class ColoredFormatter(logging.Formatter):
"""
+ Formatter class for `ColoredLogger`.
... | If logging message is already colored, do not make it white. | py |
diff --git a/django_fabric/uwsgi.py b/django_fabric/uwsgi.py
index <HASH>..<HASH> 100644
--- a/django_fabric/uwsgi.py
+++ b/django_fabric/uwsgi.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from fabric.operations import sudo
+from fabric.operations import run
from django_fabric.base import App
@@ -12,4 +12,4 @@ cla... | fix #5, use run('sudo ..') instead of sudo('..') in uwsgi restart this makes it easier to add sudo nopassword for restart commands | py |
diff --git a/salt/modules/mac_user.py b/salt/modules/mac_user.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mac_user.py
+++ b/salt/modules/mac_user.py
@@ -10,8 +10,6 @@ try:
except ImportError:
pass
import logging
-import random
-import string
import time
# Import 3rdp-party libs | Fixed some lint, unused imports | py |
diff --git a/ipuz/core.py b/ipuz/core.py
index <HASH>..<HASH> 100644
--- a/ipuz/core.py
+++ b/ipuz/core.py
@@ -59,9 +59,9 @@ def read(data, puzzlekinds=None):
for field, value in json_data.items():
if field in kind_details["validators"]:
validator = kind_details["valid... | Minor change to express code as idiomatic Python (EAFP) | py |
diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/formulas.py
+++ b/openfisca_core/formulas.py
@@ -204,10 +204,14 @@ class DatedFormula(AbstractGroupedFormula):
self.used_formula = dated_formula['formula']
return dated_holder
... | Don't fail in lazy mode when no dated formula exists for the given date. | py |
diff --git a/qa_tests/hazard/disagg/case_1/test.py b/qa_tests/hazard/disagg/case_1/test.py
index <HASH>..<HASH> 100644
--- a/qa_tests/hazard/disagg/case_1/test.py
+++ b/qa_tests/hazard/disagg/case_1/test.py
@@ -30,7 +30,7 @@ from qa_tests.hazard.disagg.case_1 import _test_data as test_data
class DisaggHazardCase1Tes... | qa_tests/hazard/disagg/case_1: Added a 'hazard' nose attribute to this test case. | py |
diff --git a/ryu/services/protocols/bgp/application.py b/ryu/services/protocols/bgp/application.py
index <HASH>..<HASH> 100644
--- a/ryu/services/protocols/bgp/application.py
+++ b/ryu/services/protocols/bgp/application.py
@@ -45,10 +45,15 @@ from ryu.services.protocols.bgp.rtconf.common import REFRESH_STALEPATH_TIME
... | Try logging.config.dictConfig before in-tree version Python bundles dictConfig since <I>. Try the bundled version first as the version included in Ryu will not work with python3. | py |
diff --git a/tests/test_pid.py b/tests/test_pid.py
index <HASH>..<HASH> 100644
--- a/tests/test_pid.py
+++ b/tests/test_pid.py
@@ -98,7 +98,7 @@ def test_pid_force_tmpdir():
def test_pid_custom_dir():
- with pid.PidFile(piddir="/tmp/testpidfile.dir/") as pidfile:
+ with pid.PidFile(piddir=os.path.join(pid.DE... | use system tmp directory instead of assuming /tmp | py |
diff --git a/openstack_dashboard/dashboards/admin/flavors/workflows.py b/openstack_dashboard/dashboards/admin/flavors/workflows.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/flavors/workflows.py
+++ b/openstack_dashboard/dashboards/admin/flavors/workflows.py
@@ -41,11 +41,14 @@ class CreateF... | add the max_value to field in create flavor form The value of vcpus, ram and disk exceeds <I>, the service will throw an error, so I add the max_value to field in create flavor form Change-Id: I8d7c7bff<I>b<I>ac<I>c<I>be | py |
diff --git a/rage.py b/rage.py
index <HASH>..<HASH> 100644
--- a/rage.py
+++ b/rage.py
@@ -189,7 +189,22 @@ class RegistryKey(object):
return self._key
def __getitem__(self, subkey):
- return RegistryKey(self, subkey)
+ try:
+ return RegistryKey(self, subkey)
+ except Win... | Added an options to add subkeys. | py |
diff --git a/openquake/risk/probabilistic_event_based.py b/openquake/risk/probabilistic_event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/probabilistic_event_based.py
+++ b/openquake/risk/probabilistic_event_based.py
@@ -180,7 +180,7 @@ class AggregateLossCurve(object):
assert gmfs["TSES"] == sel... | Implemented review comments Former-commit-id: a<I>e0a<I>b<I>a<I>fa<I> | py |
diff --git a/backtrader/writer.py b/backtrader/writer.py
index <HASH>..<HASH> 100644
--- a/backtrader/writer.py
+++ b/backtrader/writer.py
@@ -105,7 +105,7 @@ class WriterFile(WriterBase):
self.headers = list()
self.values = list()
- def start(self):
+ def _start_output(self):
# open ... | bug fix: #5 fixing writer.py after <I> pull (#<I>) * bug fix: #5 fixing writer.py after <I> pull * Renaming _start() to _start_output() | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
install_requires=['boto', 'boto3', 'ujson', 'requests', 'protobuf==3.1.0',
'expiringdict', 'functools32', 'futures', 'py4j',
'pandas>=0.14.1', 'numpy>=1.... | Specify happybase as a >= dependency, not a == dependency (#<I>) Since we are just a library that others include | py |
diff --git a/src/pyws/__init__.py b/src/pyws/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pyws/__init__.py
+++ b/src/pyws/__init__.py
@@ -1 +1 @@
-VERSION = '1.0'
+VERSION = 'dev' | version -> dev after merge with release-<I> branch | py |
diff --git a/bleualign/align.py b/bleualign/align.py
index <HASH>..<HASH> 100755
--- a/bleualign/align.py
+++ b/bleualign/align.py
@@ -705,7 +705,7 @@ class Aligner:
#try if concatenating target sentences together improves bleu score (beginning of gap)
if pregapsrc:
newscore,newtarget... | fix rare double alignment of sentences (thanks sih4sing5hong5 for reporting) | py |
diff --git a/streamcorpus_pipeline/_kvlayer.py b/streamcorpus_pipeline/_kvlayer.py
index <HASH>..<HASH> 100644
--- a/streamcorpus_pipeline/_kvlayer.py
+++ b/streamcorpus_pipeline/_kvlayer.py
@@ -219,9 +219,10 @@ def make_doc_id_range(doc_id):
'''
assert len(doc_id) == 32, 'expecting 32 hex string, not: %r' ... | improving make_doc_id_range | py |
diff --git a/subliminal/core.py b/subliminal/core.py
index <HASH>..<HASH> 100644
--- a/subliminal/core.py
+++ b/subliminal/core.py
@@ -316,7 +316,7 @@ class PluginWorker(threading.Thread):
self.logger.warning(u'Could not download subtitle %r, trying next' % subtitle)
... | Fix error in logging when video has no path | py |
diff --git a/src/Exscriptd/Order.py b/src/Exscriptd/Order.py
index <HASH>..<HASH> 100644
--- a/src/Exscriptd/Order.py
+++ b/src/Exscriptd/Order.py
@@ -198,7 +198,8 @@ class Order(DBObject):
order.attrib['id'] = str(self.id)
if self.status:
order.attrib['status'] = str(self.status)
- ... | exclaim: don't fail on orders that have no timestamp. | py |
diff --git a/PySimpleGUI.py b/PySimpleGUI.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUI.py
+++ b/PySimpleGUI.py
@@ -3380,6 +3380,13 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
highlightcolor=element.BackgroundColor)
# if element.TextC... | Group group background color option added... slowly adding colors | 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
-from setuptools import setup
+from setuptools import setup, find_packages
readme = open('README.rst').read()
@@ -13,7 +13,7 @@ setup(name='RPLCD',
url='https://github.com/dbrg... | Don't hardcode packages list in setup.py | py |
diff --git a/registration/models.py b/registration/models.py
index <HASH>..<HASH> 100644
--- a/registration/models.py
+++ b/registration/models.py
@@ -73,6 +73,20 @@ class RegistrationManager(models.Manager):
# And finally create the profile.
new_profile = self.create(user=new_user,
... | Experimental support for creating a custom auth profile instance during registration | py |
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -472,7 +472,7 @@ class EditorTabWidget(Tabs):
finfo = self.data[index]
editor = finfo.editor
editor.setFocus(... | Editor / fixed Issue <I>: show full path of current script in Editor's dockwidget title | py |
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/private/session.py
+++ b/pyghmi/ipmi/private/session.py
@@ -626,10 +626,12 @@ class Session(object):
#of only the constructor needing a callback. From then on,
#synchronous usage... | Fix raw_command hang when externally 'broken' or 'logged out' When something requests logout in the middle of a command request, bail out with 'session no longer connected' rather than infinite loop waiting for lastresponse which should never come. Change-Id: I9a<I>a<I>b<I>f<I>bc<I>bbe<I>fd<I>d<I>b<I>d<I> | py |
diff --git a/pylgtv/webos_client.py b/pylgtv/webos_client.py
index <HASH>..<HASH> 100644
--- a/pylgtv/webos_client.py
+++ b/pylgtv/webos_client.py
@@ -231,18 +231,19 @@ class WebOsClient(object):
'id': app
})
- def launch_app_with_params(self, app, params=None, contentId=None):
+ def launc... | Allow launch Youtube App with startup params of video id. | py |
diff --git a/pytablereader/tabledata.py b/pytablereader/tabledata.py
index <HASH>..<HASH> 100644
--- a/pytablereader/tabledata.py
+++ b/pytablereader/tabledata.py
@@ -182,7 +182,6 @@ class TableData(object):
return {self.table_name: dict_body}
def asdict(self):
- return self.asdict()
#... | Fix method call for backward compatibility | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,6 @@ setup(
'zope.interface',
'pyzmq==13.1',
'gevent==1.0',
- 'lockfile==0.9.1',
],
author="Erik Allik", | Removed lockfile--it can be added when the respective functionality is needed | py |
diff --git a/pyneuroml/tune/NeuroMLTuner.py b/pyneuroml/tune/NeuroMLTuner.py
index <HASH>..<HASH> 100644
--- a/pyneuroml/tune/NeuroMLTuner.py
+++ b/pyneuroml/tune/NeuroMLTuner.py
@@ -418,7 +418,8 @@ def run_2stage_optimization(prefix,
show_plot_already,
seed,
... | Adding support for num_parallel_evaluations | py |
diff --git a/libgreader/googlereader.py b/libgreader/googlereader.py
index <HASH>..<HASH> 100644
--- a/libgreader/googlereader.py
+++ b/libgreader/googlereader.py
@@ -1,12 +1,14 @@
# -*- coding: utf-8 -*-
+import time
+
try:
import json
except:
import simplejson as json
from url import ReaderUrl
-from... | Still fixing bugs from refactoring | py |
diff --git a/sos/policies/distros/redhat.py b/sos/policies/distros/redhat.py
index <HASH>..<HASH> 100644
--- a/sos/policies/distros/redhat.py
+++ b/sos/policies/distros/redhat.py
@@ -269,10 +269,10 @@ support representative.
"""The RH SFTP server will only automatically connect file uploads to
cases i... | [policies] strip path from SFTP upload filename When case_id is not supplied, we ask SFTP server to store the uploaded file under name /var/tmp/<tarball>, which is confusing. Let remove the path from it also in case_id not supplied. Related to: #<I> | py |
diff --git a/landsat/clipper_helper.py b/landsat/clipper_helper.py
index <HASH>..<HASH> 100644
--- a/landsat/clipper_helper.py
+++ b/landsat/clipper_helper.py
@@ -12,7 +12,7 @@ import re
import ogr2ogr
import settings
import ogrinfo
-from general_helper import Capturing, check_create_folder
+from general_helper impo... | replaced a set of actions with a new function | py |
diff --git a/uproot/write/compress.py b/uproot/write/compress.py
index <HASH>..<HASH> 100644
--- a/uproot/write/compress.py
+++ b/uproot/write/compress.py
@@ -67,6 +67,10 @@ def write(context, cursor, givenbytes, compression, key, keycursor):
_header = struct.Struct("2sBBBBBBB")
uncompressedbytes = len(give... | Unable to compress data larger than 2^<I> bytes yet | py |
diff --git a/cloudvolume/frontends/precomputed.py b/cloudvolume/frontends/precomputed.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/frontends/precomputed.py
+++ b/cloudvolume/frontends/precomputed.py
@@ -542,11 +542,16 @@ class CloudVolumePrecomputed(object):
if mip is None:
mip = self.mip
+ mip = s... | feat: download_point supports resolutions in mip and autocrop | py |
diff --git a/future/builtins/backports/newopen.py b/future/builtins/backports/newopen.py
index <HASH>..<HASH> 100644
--- a/future/builtins/backports/newopen.py
+++ b/future/builtins/backports/newopen.py
@@ -1,10 +1,19 @@
+"""
+A substitute for the Python 3 open() function.
+
+Note that io.open() is more complete but ma... | Update new open() function docs (and fix bug) | py |
diff --git a/util/general.py b/util/general.py
index <HASH>..<HASH> 100644
--- a/util/general.py
+++ b/util/general.py
@@ -254,8 +254,10 @@ def get_file(remote_url,local_path):
shutil.copyfileobj(remotefile,localfile)
def list_split(lst,num):
- assert num > 0
- return [lst[start::num] for star... | make list_split preserve contiguity | py |
diff --git a/shell-cmd/nr.py b/shell-cmd/nr.py
index <HASH>..<HASH> 100755
--- a/shell-cmd/nr.py
+++ b/shell-cmd/nr.py
@@ -155,7 +155,10 @@ from numerous import Numerous, NumerousError, \
#
# -P (--photo) : the URL for the photo will be displayed
#
-# -U Your user info will be read
+# -U If no other a... | make it possible to get other user's info | py |
diff --git a/opengem/test.py b/opengem/test.py
index <HASH>..<HASH> 100644
--- a/opengem/test.py
+++ b/opengem/test.py
@@ -14,7 +14,7 @@ from opengem import flags
FLAGS = flags.FLAGS
-flags.DEFINE_boolean('download_test_data', False,
+flags.DEFINE_boolean('download_test_data', True,
'Fetch test data fil... | Make downloading test data the default, to fix hudson (hopefully) | py |
diff --git a/test/test_modes/test_goto_assignments.py b/test/test_modes/test_goto_assignments.py
index <HASH>..<HASH> 100644
--- a/test/test_modes/test_goto_assignments.py
+++ b/test/test_modes/test_goto_assignments.py
@@ -28,7 +28,7 @@ def test_goto_variable(editor):
mode = get_mode(editor)
TextHelper(editor... | Increase delay (to fix tests that are failing randomly on travis but are always passing on my locale machine) | py |
diff --git a/tests/test_units.py b/tests/test_units.py
index <HASH>..<HASH> 100644
--- a/tests/test_units.py
+++ b/tests/test_units.py
@@ -20,7 +20,7 @@ from sympy import Symbol
# dimensions
from yt.units.dimensions import \
- mass, length, time, temperature, energy, power, rate
+ mass, length, time, temperat... | Adding more tests for unit creation from strings. --HG-- branch : yt-<I> | py |
diff --git a/leonardo/module/web/models/widget.py b/leonardo/module/web/models/widget.py
index <HASH>..<HASH> 100644
--- a/leonardo/module/web/models/widget.py
+++ b/leonardo/module/web/models/widget.py
@@ -215,10 +215,8 @@ class Widget(FeinCMSBase):
if self.pk is None and created:
self.created = ... | Flush content inventory cache for all regions. | py |
diff --git a/testing/test_config.py b/testing/test_config.py
index <HASH>..<HASH> 100644
--- a/testing/test_config.py
+++ b/testing/test_config.py
@@ -578,6 +578,29 @@ def test_setuptools_importerror_issue1479(testdir, monkeypatch):
testdir.parseconfig()
+def test_importlib_metadata_broken_distribution(tes... | Add test for packages with broken metadata Related to #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(name='gearbox',
'Programming Language :: Python :: 3.2',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: ... | Update keywords to something more related to command line | py |
diff --git a/phypno/dataset.py b/phypno/dataset.py
index <HASH>..<HASH> 100644
--- a/phypno/dataset.py
+++ b/phypno/dataset.py
@@ -202,6 +202,9 @@ class Dataset:
If begtime and endtime are a list, they both need the exact same
length and the data will be stored in trials.
+ If neither begtime... | by default, read first and last samples when not specified | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.