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 @@ -112,6 +112,7 @@ setup( 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ...
add python <I> support in the list of programming languages
py
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -908,15 +908,6 @@ class DataFlowKernel(object): self.monitoring.close() - """ - if self.logging_server is not None: - self.l...
Remove commented-out logging_server shutdown calls (#<I>) The rest of this logging_server code was removed in cb1f<I>d<I>bfb<I>db<I>bc<I>c7bd<I>a<I>d<I>f9b
py
diff --git a/ibis/pandas/dispatch.py b/ibis/pandas/dispatch.py index <HASH>..<HASH> 100644 --- a/ibis/pandas/dispatch.py +++ b/ibis/pandas/dispatch.py @@ -1,6 +1,8 @@ from __future__ import absolute_import +from functools import partial from multipledispatch import Dispatcher +import toolz import ibis import ib...
Implement default handler for multiple client pre_execute
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,5 +14,15 @@ setup(name='baron', packages=['baron'], license='lgplv3+', scripts=[], - keywords='ast fst refactoring', + keywords='ast fst refactoring syntax tree', + classifiers=['Develop...
[enh] Added classifiers and extra keywords
py
diff --git a/translitcodec/__init__.py b/translitcodec/__init__.py index <HASH>..<HASH> 100644 --- a/translitcodec/__init__.py +++ b/translitcodec/__init__.py @@ -1023,7 +1023,7 @@ short_table = { 220: 'U', 221: 'Y', 222: 'Th', - 223: 'β', + 223: 'ss', 224: 'a', 225: 'a', 226: 'a', @@ -1861,7 +1861,...
Fixed #5 - Fixed conversion of the German eszett char
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,8 +7,8 @@ setup(name='jupyter_wysiwyg', license='BSD', author='Thorin Tabor', author_email='thorin@broadinstitute.org', - url='https://github.com/genepattern/genepattern-notebook/tree/master/wysiwy...
Update setup.py Update to version number
py
diff --git a/lucid/misc/io/serialize_array.py b/lucid/misc/io/serialize_array.py index <HASH>..<HASH> 100644 --- a/lucid/misc/io/serialize_array.py +++ b/lucid/misc/io/serialize_array.py @@ -69,10 +69,11 @@ def _normalize_array(array, domain=(0, 1)): if offset != 0: array -= offset log.debug("Convert...
fix division by zero error in _normalize_array array when all values are zero
py
diff --git a/grab/grab.py b/grab/grab.py index <HASH>..<HASH> 100644 --- a/grab/grab.py +++ b/grab/grab.py @@ -304,6 +304,9 @@ class Grab(object): fname = os.path.join(self.config['log_dir'], '%02d.html' % self.counter) body = self.original_response_body file(fname, 'w').write(sel...
alter log_dir feature, now additional files with .orig extensions are writed. The contains body of request without headers (like in .html dumps)
py
diff --git a/buku.py b/buku.py index <HASH>..<HASH> 100755 --- a/buku.py +++ b/buku.py @@ -988,8 +988,8 @@ class BukuDb: '''Delete a single record or remove the table if index is None :param index: DB index of deleted entry - :param low: lower index of range - :param low: higher index ...
Do not commit if no records deleted.
py
diff --git a/src/ocrmypdf/_exec/ghostscript.py b/src/ocrmypdf/_exec/ghostscript.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/_exec/ghostscript.py +++ b/src/ocrmypdf/_exec/ghostscript.py @@ -10,6 +10,7 @@ import logging import os import re +import sys from io import BytesIO from os import fspath from pathlib ...
ghostscript: choco doesn't put Ghostscript on PATH anymore It seems that chocolately doesn't put gswin[<I>,<I>]c on PATH anymore, so compensate.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ except ImportError: setup( name='CoilMQ', - version='0.3', + version='0.3.1', description='STOMP message broker', long_description=__doc__, keywords='stomp server broker',
Tagging <I> and updating version in setup.py
py
diff --git a/tests/test_widgets.py b/tests/test_widgets.py index <HASH>..<HASH> 100644 --- a/tests/test_widgets.py +++ b/tests/test_widgets.py @@ -130,7 +130,7 @@ class TestWidgetManagerInActivity(TestBetamax): partInstanceId=str(self.frame.id) ), writable_models=self.frame_mo...
widgets: tests for the propertygrid and attachmentwidget
py
diff --git a/scripts/ci/available_extensions_doc.py b/scripts/ci/available_extensions_doc.py index <HASH>..<HASH> 100644 --- a/scripts/ci/available_extensions_doc.py +++ b/scripts/ci/available_extensions_doc.py @@ -6,7 +6,6 @@ from __future__ import print_function import sys -import datetime import collections fr...
Update the template for list of available extensions (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ setup( 'nanomath>=0.23.1', "pauvre==0.2.0", 'plotly>=4.1.0', + 'pyarrow' ], package_data={'Na...
adding pyarrow as a dependency
py
diff --git a/salt/fileclient.py b/salt/fileclient.py index <HASH>..<HASH> 100644 --- a/salt/fileclient.py +++ b/salt/fileclient.py @@ -411,6 +411,9 @@ class LocalClient(Client): 'rel': ''} if env not in self.opts['file_roots']: return fnd + if path.startswith('|'): + ...
Handle leading | in fileclient, Fix #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ setup( download_url='https://github.com/tomduck/pandoc-fignos/tarball/' + \ __version__, - install_requires=['pandoc-xnos~=2.0.0b3'], + install_requires=['pandoc-xnos~=2.0.0b4'], ...
Bumped xnos dependency version.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,5 +40,11 @@ setup( 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' + "Programming Langu...
Added trove classifiers showing versions supported
py
diff --git a/autoapi/__init__.py b/autoapi/__init__.py index <HASH>..<HASH> 100644 --- a/autoapi/__init__.py +++ b/autoapi/__init__.py @@ -1,3 +1,5 @@ """ -AutoAPI Top-level Comment +Sphinx AutoAPI """ + +from .extension import setup
Allow for toplevel module as Sphinx extension Instead of requiring: extensions = ['autoapi.extension'] This allows for the toplevel: extensions = ['autoapi'] This is more intuitive for users, as extension is an internal concept.
py
diff --git a/rtpipe/parsecands.py b/rtpipe/parsecands.py index <HASH>..<HASH> 100644 --- a/rtpipe/parsecands.py +++ b/rtpipe/parsecands.py @@ -706,7 +706,9 @@ def plot_cand(candsfile, candloc=[], candnum=-1, threshold=0, savefile=True, out # if working locally, set d['workdir'] appropriately. Can also be used in q...
plot_cand uses candsfile path (if given) to find data and produce cands
py
diff --git a/yotta/link.py b/yotta/link.py index <HASH>..<HASH> 100644 --- a/yotta/link.py +++ b/yotta/link.py @@ -44,9 +44,11 @@ def execCommand(args, following_args): src = os.getcwd() dst = os.path.join(folders.globalInstallDirectory(), c.getName()) + broken_link = False if args.component...
Don't crash if creating a link fails * produce a useful error in the case that the second half failed because the first half hasn't been completed (this happens on windows) * Otherwise reduce the exception encountered to an error message.
py
diff --git a/tests/util.py b/tests/util.py index <HASH>..<HASH> 100644 --- a/tests/util.py +++ b/tests/util.py @@ -88,8 +88,7 @@ def make_mock_commit(repo, kind='A', path=None, content=None): else: abspath.touch() repo.git.add(str(abspath)) - repo.git.commit(m='Commit {}'.f...
Set user/email in mock git repo for CI environment
py
diff --git a/pymacaron/gunicorn.py b/pymacaron/gunicorn.py index <HASH>..<HASH> 100644 --- a/pymacaron/gunicorn.py +++ b/pymacaron/gunicorn.py @@ -19,7 +19,7 @@ worker_connections = 1000 timeout = 120 keepalive = 2 -max_requests = 200 +max_requests = 500 max_requests_jitter = 100 preload = True
Increasing max requests from <I> to <I>
py
diff --git a/usb/backend/libusb0.py b/usb/backend/libusb0.py index <HASH>..<HASH> 100644 --- a/usb/backend/libusb0.py +++ b/usb/backend/libusb0.py @@ -47,8 +47,8 @@ _logger = logging.getLogger('usb.backend.libusb0') _PC_PATH_MAX = 4 -if sys.platform.startswith('freebsd') or sys.platform.find('mac') != -1 or \ - ...
PATH_MAX is <I> for all *BSD machines.
py
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index <HASH>..<HASH> 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -1719,13 +1719,11 @@ class Parser(object): invalid_line(line, 'invalid encoding') co...
remove redundant exclusion check check_methods are called twice for each hit. The first ones are sufficient to decide if the hit should be excluded or not.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='shipane_sdk', - version='1.0.0.b2', + version='1.0.0.b3', description=u'实盘易(ShiPanE)Python SDK,通达信自动化交易 API。', ...
Release <I>.b3
py
diff --git a/Lib/ufo2ft/kernFeatureWriter.py b/Lib/ufo2ft/kernFeatureWriter.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2ft/kernFeatureWriter.py +++ b/Lib/ufo2ft/kernFeatureWriter.py @@ -92,23 +92,23 @@ class KernFeatureWriter(object): for rightName, rightContents in self.rightFeaClasses.items(): ...
[kernWriter] Treat kerning as dict, not RKerning The kern writer now converts all kerning types to a dictionary, so always treat the kerning object as such.
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -83,6 +83,7 @@ class SoCo(object): # pylint: disable=R0904 next -- Go to the next track. previous -- Go back to the previous track. switch_to_line_in -- Switch the speaker's input to...
Add switch_to_tv method
py
diff --git a/nodebow/management/commands/npm.py b/nodebow/management/commands/npm.py index <HASH>..<HASH> 100644 --- a/nodebow/management/commands/npm.py +++ b/nodebow/management/commands/npm.py @@ -10,6 +10,7 @@ class NPM(object): compiled_js = execjs.compile(""" var npm = require('npm'); function insta...
Emphasize that npm install currently is broken
py
diff --git a/sparklines/__main__.py b/sparklines/__main__.py index <HASH>..<HASH> 100644 --- a/sparklines/__main__.py +++ b/sparklines/__main__.py @@ -122,7 +122,7 @@ def main(): a = args = p.parse_args() if args.version: - print('0.4.1') + print('0.4.2') # FIXME: needs to be taken again from...
Change output for -V to <I>
py
diff --git a/vprof/tests/code_heatmap_test.py b/vprof/tests/code_heatmap_test.py index <HASH>..<HASH> 100644 --- a/vprof/tests/code_heatmap_test.py +++ b/vprof/tests/code_heatmap_test.py @@ -1,4 +1,5 @@ # pylint: disable=protected-access, missing-docstring +import os import sys import unittest @@ -52,8 +53,11 @@ c...
Calculate abs paths in postprocessing phase.
py
diff --git a/host/scan_threshold.py b/host/scan_threshold.py index <HASH>..<HASH> 100644 --- a/host/scan_threshold.py +++ b/host/scan_threshold.py @@ -12,7 +12,7 @@ class ThresholdScan(ScanBase): def scan(self, configure = True, mask = 3, repeat = 100, steps = []): scan_parameter = 'PlsrDAC' ...
BUG: fixed threshold scan loops
py
diff --git a/binance/streams.py b/binance/streams.py index <HASH>..<HASH> 100755 --- a/binance/streams.py +++ b/binance/streams.py @@ -393,7 +393,7 @@ class BinanceSocketManager: async def _exit_socket(self, path: str): await self._stop_socket(path) - def depth_socket(self, symbol: str, depth: Option...
Update streams.py Revert default value so as not to cause backward compatibility issues
py
diff --git a/vr/runners/base.py b/vr/runners/base.py index <HASH>..<HASH> 100644 --- a/vr/runners/base.py +++ b/vr/runners/base.py @@ -46,7 +46,7 @@ class BaseRunner(object): try: cmd = self.commands[args.command] except KeyError: - msg = 'Command must be one of: ' + ' ,'.join(...
Space follows comma in list
py
diff --git a/karaage/datastores/ldap_datastore.py b/karaage/datastores/ldap_datastore.py index <HASH>..<HASH> 100644 --- a/karaage/datastores/ldap_datastore.py +++ b/karaage/datastores/ldap_datastore.py @@ -23,7 +23,7 @@ from django.conf import settings def str_or_none(string): if string is None or string == "": ...
fix str_or_none Method was suppose to return string if input string was non-empty string. Not empty string.
py
diff --git a/odl/discr/lp_discr.py b/odl/discr/lp_discr.py index <HASH>..<HASH> 100644 --- a/odl/discr/lp_discr.py +++ b/odl/discr/lp_discr.py @@ -224,7 +224,7 @@ class DiscreteLp(Discretization): arg_fstr = '{}, {}, {}' if self.exponent != 2.0: arg_fstr += ', exponent={expone...
ENH: minor fixes to uniform discr dtype
py
diff --git a/wandb/keras/__init__.py b/wandb/keras/__init__.py index <HASH>..<HASH> 100644 --- a/wandb/keras/__init__.py +++ b/wandb/keras/__init__.py @@ -129,7 +129,7 @@ class WandbCallback(keras.callbacks.Callback): wandb.log({"examples": self._log_images( num_images=self.predict...
Removed epoch bug from wandb keras callback
py
diff --git a/blimpy/io/hdf_reader.py b/blimpy/io/hdf_reader.py index <HASH>..<HASH> 100644 --- a/blimpy/io/hdf_reader.py +++ b/blimpy/io/hdf_reader.py @@ -23,13 +23,13 @@ def examine_h5(h5): if not classstr in ["FILTERBANK", b"FILTERBANK"]: oops("examine_h5: Expected HDF5 CLASS attribute to be 'FILTERBANK...
Spaces and tabs! Also, minor bug fixes
py
diff --git a/tests/rules/test_apt_invalid_operation.py b/tests/rules/test_apt_invalid_operation.py index <HASH>..<HASH> 100644 --- a/tests/rules/test_apt_invalid_operation.py +++ b/tests/rules/test_apt_invalid_operation.py @@ -86,7 +86,7 @@ def test_match(script, stderr): @pytest.mark.parametrize('script, stderr',...
#<I>: Fix tests with python 2
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -67,6 +67,6 @@ setup( 'django_pyodbc.management.commands' ], install_requires=[ - 'pyodbc>=3.0.6,<3.1', + 'pyodbc>=3.0.6,<4.1', ] )
Update `pyodbc` version (to allow up to `<I>.x`). There was no breaking changes based on [the release notes](<URL>) for `pyodbc`. `pyodbc` package is also published for Mac and Windows starting from `<I>`.
py
diff --git a/salt/modules/test.py b/salt/modules/test.py index <HASH>..<HASH> 100644 --- a/salt/modules/test.py +++ b/salt/modules/test.py @@ -435,8 +435,16 @@ def stack(): return ''.join(traceback.format_stack()) -def tty(*args, **kwargs): #pylint: disable=W0613 +def tty(*args, **kwargs): # pylint: disable=...
More lint and doc strings for test
py
diff --git a/master/buildbot/test/unit/test_db_enginestrategy.py b/master/buildbot/test/unit/test_db_enginestrategy.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_db_enginestrategy.py +++ b/master/buildbot/test/unit/test_db_enginestrategy.py @@ -60,11 +60,14 @@ class BuildbotEngineStrategy_special_...
restore special-casing for basedir on windows
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( author_email = "help@twilio.com", url = "http://github.com/twilio/twilio-python/", keywords = ["twilio","twiml"], - install_requires = ["httplib2 >= 0.7, < 0.8", "pyjwt==0.1.2"], + in...
don't force dependencies we are not sure about yet
py
diff --git a/can/protocols/j1939/__init__.py b/can/protocols/j1939/__init__.py index <HASH>..<HASH> 100644 --- a/can/protocols/j1939/__init__.py +++ b/can/protocols/j1939/__init__.py @@ -67,7 +67,7 @@ class Bus(BusABC): # Convert J1939 filters into Raw Can filters - if 'j1939_filters' in kwargs: + ...
Fixing issue with creating a J<I> bus without filters
py
diff --git a/premailer/premailer.py b/premailer/premailer.py index <HASH>..<HASH> 100644 --- a/premailer/premailer.py +++ b/premailer/premailer.py @@ -169,7 +169,7 @@ class Premailer(object): return rules, leftover - def transform(self, pretty_print=True): + def transform(self, pretty_print=True, **k...
add ability pass any arguments to etree.tostring with transform for example if I want set specific encoding instead default
py
diff --git a/tests/tests/basic.py b/tests/tests/basic.py index <HASH>..<HASH> 100644 --- a/tests/tests/basic.py +++ b/tests/tests/basic.py @@ -42,6 +42,7 @@ class TestBasic(unittest.TestCase): child.sendline('exit') for i in xrange(nr_localhost): child.expect('Error talking to...
In case the error message comes while we are in raw_input(), the prompt will not be updated, so force a newline to update the prompt.
py
diff --git a/pymatgen/io/atat.py b/pymatgen/io/atat.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/atat.py +++ b/pymatgen/io/atat.py @@ -130,16 +130,17 @@ class Mcsqs: species_strs = species_strs.replace(" ", "") # trim any white space species_strs = species_strs.split(",") # comma-delimit...
[WIP] Update to fix spin errors
py
diff --git a/spacy/lang/en/morph_rules.py b/spacy/lang/en/morph_rules.py index <HASH>..<HASH> 100644 --- a/spacy/lang/en/morph_rules.py +++ b/spacy/lang/en/morph_rules.py @@ -59,7 +59,8 @@ MORPH_RULES = { "VBP": { "are": {LEMMA: "be", "VerbForm": "Fin", "Tense": "Pres", "Mood": "Ind"}, - ...
Improve lemmatization rule for am|VBP
py
diff --git a/pysat/tests/test_methods_general.py b/pysat/tests/test_methods_general.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_methods_general.py +++ b/pysat/tests/test_methods_general.py @@ -93,8 +93,8 @@ class TestRemoveLeadText(object): return def test_remove_prefix_w_bad_target(self): - ...
STY: one line docstring
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -5616,12 +5616,16 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form:Window): if element.DisplayRowNumbers: value = [i+element.StartingRowNumber...
Enable setting text and background colors for rows
py
diff --git a/qiskit/visualization/state_visualization.py b/qiskit/visualization/state_visualization.py index <HASH>..<HASH> 100644 --- a/qiskit/visualization/state_visualization.py +++ b/qiskit/visualization/state_visualization.py @@ -43,6 +43,11 @@ def plot_state_hinton( ): """Plot a hinton diagram for the densi...
Added Hinton explanation (#<I>)
py
diff --git a/satpy/writers/mitiff.py b/satpy/writers/mitiff.py index <HASH>..<HASH> 100644 --- a/satpy/writers/mitiff.py +++ b/satpy/writers/mitiff.py @@ -607,9 +607,9 @@ class MITIFFWriter(ImageWriter): chn = datasets.sel(bands=band) # Need to possible translat...
FIxed bug assuming order of channels/bands to be equal for both <I> and <I>
py
diff --git a/tests/test_completion.py b/tests/test_completion.py index <HASH>..<HASH> 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -87,7 +87,7 @@ def test_shell_command_completion(cmd2_app): line = 'shell {}'.format(text) expected = ['calc.exe '] else: - text = '...
Avoid conflict the `eg` tool from go-tools With go-tools installed there is an `eg` command in system search path. Let's add an additional character to avoid the test failure.
py
diff --git a/angr/project.py b/angr/project.py index <HASH>..<HASH> 100644 --- a/angr/project.py +++ b/angr/project.py @@ -237,7 +237,11 @@ class Project(object): # Where we cannot use SimProcedures, we step into the function's # code (if you don't want this behavior, use 'auto_load_libs':Fals...
If we are using SimProcedures, consider extern functions that are resolved to main_binary (usually to GOT entries) as unresolved functions.
py
diff --git a/aston/peaks/Peak.py b/aston/peaks/Peak.py index <HASH>..<HASH> 100644 --- a/aston/peaks/Peak.py +++ b/aston/peaks/Peak.py @@ -23,7 +23,14 @@ class Peak(object): self.primary_mz = self.trace.columns[0] def plot(self, mz=None, ax=None): - pass + from matplotlib.path import P...
Added plotting to peaks.
py
diff --git a/flask_mobility/main.py b/flask_mobility/main.py index <HASH>..<HASH> 100644 --- a/flask_mobility/main.py +++ b/flask_mobility/main.py @@ -28,7 +28,5 @@ class Mobility(object): ua = request.user_agent.string.lower() mc = request.cookies.get(self.app.config.get('MOBILE_COOKIE')) - ...
Optimized cookie and user agent checking Skip checking the regular expression if the cookie is set to on or off.
py
diff --git a/chatterbot/conversation/response.py b/chatterbot/conversation/response.py index <HASH>..<HASH> 100644 --- a/chatterbot/conversation/response.py +++ b/chatterbot/conversation/response.py @@ -5,10 +5,16 @@ class Response(object): def __init__(self, text, **kwargs): from datetime import dateti...
Convert date strings back into datetime objects
py
diff --git a/pythran/tests/test_math.py b/pythran/tests/test_math.py index <HASH>..<HASH> 100644 --- a/pythran/tests/test_math.py +++ b/pythran/tests/test_math.py @@ -111,4 +111,4 @@ class TestMath(TestEnv): self.run_test("def frexp_(a):\n from math import frexp\n return frexp(a)",2.2, frexp_=[float]) d...
Rework isinf test case. It's python execution led to various exceptions, which was not the purpose of the test.
py
diff --git a/validator/sawtooth_validator/consensus/proxy.py b/validator/sawtooth_validator/consensus/proxy.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/consensus/proxy.py +++ b/validator/sawtooth_validator/consensus/proxy.py @@ -204,6 +204,6 @@ class ConsensusProxy: block_iter = self._blo...
Raise, not return, UnknownBlock exception
py
diff --git a/dolo/algos/dtcscc/parameterized_expectations.py b/dolo/algos/dtcscc/parameterized_expectations.py index <HASH>..<HASH> 100644 --- a/dolo/algos/dtcscc/parameterized_expectations.py +++ b/dolo/algos/dtcscc/parameterized_expectations.py @@ -131,7 +131,7 @@ def parameterized_expectations_direct(model, verbose=...
ENH: add parameterized expectations algorithm. Only includes the direct controls solution at this stage.
py
diff --git a/django_stormpath/views.py b/django_stormpath/views.py index <HASH>..<HASH> 100644 --- a/django_stormpath/views.py +++ b/django_stormpath/views.py @@ -7,7 +7,7 @@ from stormpath.resources.provider import Provider from .models import APPLICATION from .id_site import handle_id_site_callback -import social...
switched to relative import of social so it works in python3
py
diff --git a/eliot/tests/test_action.py b/eliot/tests/test_action.py index <HASH>..<HASH> 100644 --- a/eliot/tests/test_action.py +++ b/eliot/tests/test_action.py @@ -820,7 +820,9 @@ class SerializationTests(TestCase): TASK_LEVEL_INDEXES = integers(min_value=1) -TASK_LEVEL_LISTS = lists(TASK_LEVEL_INDEXES, min_siz...
Anchor task level size -- small speed improvement
py
diff --git a/blowfish.py b/blowfish.py index <HASH>..<HASH> 100644 --- a/blowfish.py +++ b/blowfish.py @@ -27,7 +27,7 @@ Schneier and more details about it can be found at from struct import Struct, error as struct_error from itertools import cycle as iter_cycle -__version__ = "0.6.0" +__version__ = "0.7.0" # PI...
Start development version <I>.x
py
diff --git a/nodeconductor/iaas/backend/openstack.py b/nodeconductor/iaas/backend/openstack.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/backend/openstack.py +++ b/nodeconductor/iaas/backend/openstack.py @@ -810,10 +810,8 @@ class OpenStackBackend(OpenStackClient): nc_instance.key_finger...
Fix external ips deletion during cpm update ITACLOUD-<I>
py
diff --git a/regions/io/fits/write.py b/regions/io/fits/write.py index <HASH>..<HASH> 100644 --- a/regions/io/fits/write.py +++ b/regions/io/fits/write.py @@ -86,6 +86,10 @@ def _serialize_region_fits(region): elif param == 'angle': rotang = value else: + # ellipse region is de...
Use semi-axis lengths the FITS serialization
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ setup( author='Mohaned Magdy', author_email='mohan3d94@gmail.com', url = 'https://github.com/mohan3d/PyOpenload', + download_url = 'https://github.com/mohan3d/PyOpenload/tarball/0.1', instal...
Add download_url in setup.py
py
diff --git a/blockstack/blockstackd.py b/blockstack/blockstackd.py index <HASH>..<HASH> 100644 --- a/blockstack/blockstackd.py +++ b/blockstack/blockstackd.py @@ -56,7 +56,7 @@ from defusedxml import xmlrpc xmlrpc.monkey_patch() import virtualchain -log = virtualchain.get_logger("blockstack-server") +log = virtualc...
blockstack-core, not blockstack-server
py
diff --git a/git_code_debt/repo_parser.py b/git_code_debt/repo_parser.py index <HASH>..<HASH> 100644 --- a/git_code_debt/repo_parser.py +++ b/git_code_debt/repo_parser.py @@ -54,7 +54,7 @@ class RepoParser(object): """ assert self.tempdir - cmd = ['git', 'log', '--oneline', '--reverse', COMMI...
First-parent that's what I wanted
py
diff --git a/plenum/recorder/replayable_node.py b/plenum/recorder/replayable_node.py index <HASH>..<HASH> 100644 --- a/plenum/recorder/replayable_node.py +++ b/plenum/recorder/replayable_node.py @@ -89,8 +89,8 @@ def create_replayable_node_class(replica_class, replicas_class, node_class): def adjustReplicas(se...
INDY-<I>: Fixed bug with missed super() reference
py
diff --git a/ex_grid01.py b/ex_grid01.py index <HASH>..<HASH> 100644 --- a/ex_grid01.py +++ b/ex_grid01.py @@ -14,5 +14,31 @@ mygrid = gridgen.Grid(50, 100) # Split the width into 5 equal pieces and the height into 10 equal pieces mygrid.generate(5, 10) +# Generate 4 bumps on the grid +mygrid.bumps(4) + # Save the...
Updated grid example with bumps example and plots
py
diff --git a/kibitzr/fetcher/factory.py b/kibitzr/fetcher/factory.py index <HASH>..<HASH> 100644 --- a/kibitzr/fetcher/factory.py +++ b/kibitzr/fetcher/factory.py @@ -11,6 +11,8 @@ sets a priority for conflict resolution. Promoter instance is initialized with conf and delegates calls to fetcher. """ +from kibitzr.c...
raise if no fetcher is applicable
py
diff --git a/ospd/misc.py b/ospd/misc.py index <HASH>..<HASH> 100644 --- a/ospd/misc.py +++ b/ospd/misc.py @@ -216,6 +216,8 @@ class ScanCollection(object): and self.id_exists(scan_id) and (self.get_status(scan_id) == ScanStatus.STOPPED) ): + self.scans_table[scan_id]['end_...
Set end_time when the scan is stopped or resumed. Also initialize end_time as int insted of string.
py
diff --git a/salt/modules/win_iis.py b/salt/modules/win_iis.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_iis.py +++ b/salt/modules/win_iis.py @@ -837,6 +837,11 @@ def create_cert_binding(name, site, hostheader='', ipaddress='*', port=443, # IIS 7.5 and earlier have different syntax for associating a c...
Fix bug #<I> - win_iis module Fix func create_cert_binding. win <I> uses the following format: ip!port and not ip!port!
py
diff --git a/directional.py b/directional.py index <HASH>..<HASH> 100644 --- a/directional.py +++ b/directional.py @@ -179,8 +179,12 @@ def rose(Y,w,k=8,permutations=0): c,b=np.histogram(utheta,cuts) c.shape=(1,k) all_counts[i,:]=c - p=((all_counts>=counts).sum(axis=0)+1)/(...
- consistency on pvalues for randomization
py
diff --git a/pricedb/__init__.py b/pricedb/__init__.py index <HASH>..<HASH> 100644 --- a/pricedb/__init__.py +++ b/pricedb/__init__.py @@ -1 +1,3 @@ """ package declaration """ +from .app import PriceDbApplication +from .model import PriceModel
#<I> adding a couple of main classes into the package root
py
diff --git a/astroplan/scheduling.py b/astroplan/scheduling.py index <HASH>..<HASH> 100644 --- a/astroplan/scheduling.py +++ b/astroplan/scheduling.py @@ -348,8 +348,7 @@ class Scheduler(object): @u.quantity_input(gap_time=u.second, time_resolution=u.second) def __init__(self, start_time, end_time, constrai...
Removing the args and kwargs from the base class (This seems to be a problem with the Quantity on py<I> but not sure)
py
diff --git a/trump/templating/templates.py b/trump/templating/templates.py index <HASH>..<HASH> 100644 --- a/trump/templating/templates.py +++ b/trump/templating/templates.py @@ -355,6 +355,21 @@ class YahooFinanceFT(bFeed): self.sourcing = source.as_dict self.set_stype(source) +#****************...
Use the source in a Feed Template
py
diff --git a/flask_elasticsearch.py b/flask_elasticsearch.py index <HASH>..<HASH> 100644 --- a/flask_elasticsearch.py +++ b/flask_elasticsearch.py @@ -33,9 +33,9 @@ class FlaskElasticsearch(object): ctx = stack.top if ctx is not None: if not hasattr(ctx, 'elasticsearch'): - ...
Use isinstance so that all subclasses of list and str are supported
py
diff --git a/pandas/core/series.py b/pandas/core/series.py index <HASH>..<HASH> 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3147,6 +3147,11 @@ class Series(pa.Array, generic.PandasObject): def tz_localize(self, tz, copy=True): """ Localize tz-naive TimeSeries to target time...
DOC: Try and clarify tz_localize docstring, always found it confusing
py
diff --git a/rshell/main.py b/rshell/main.py index <HASH>..<HASH> 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -64,11 +64,12 @@ FAKE_INPUT_PROMPT = False import readline import rlcompleter -if sys.platform == 'darwin': +if 'libedit' in readline.__doc__: readline.parse_and_bind ("bind ^I rl_complete") ...
Fix problem with b key not working on OSX
py
diff --git a/shinken/objects/schedulingitem.py b/shinken/objects/schedulingitem.py index <HASH>..<HASH> 100644 --- a/shinken/objects/schedulingitem.py +++ b/shinken/objects/schedulingitem.py @@ -1109,6 +1109,11 @@ class SchedulingItem(Item): notification_interval = es.notification_interval ...
Bugfix (Reported by flak): fix possible notification spam if retention is used
py
diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index <HASH>..<HASH> 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2001,6 +2001,10 @@ class Dataset(DataWithCoords, DatasetArithmetic, Mapping): If not other chunks are found, Zarr uses its own heuristics to ch...
DOC: zarr note on encoding (#<I>)
py
diff --git a/test/tests.py b/test/tests.py index <HASH>..<HASH> 100755 --- a/test/tests.py +++ b/test/tests.py @@ -58,7 +58,6 @@ server = None class BackendTest(unittest.TestCase): def setUp(self): - global server server = tldap.test.slapd.Slapd() server.set_port(38911) server....
server doesn't have to be global.
py
diff --git a/dark/btop.py b/dark/btop.py index <HASH>..<HASH> 100644 --- a/dark/btop.py +++ b/dark/btop.py @@ -113,15 +113,15 @@ def btop2cigar(btopString, concise=False): if thisOperation == currentOperation: currentLength += thisLength else: - if currentOperation is not None:...
Slight simplification in btop2cigar.
py
diff --git a/dashboard_app/helpers.py b/dashboard_app/helpers.py index <HASH>..<HASH> 100644 --- a/dashboard_app/helpers.py +++ b/dashboard_app/helpers.py @@ -21,8 +21,9 @@ class DocumentError(ValueError): """ Document error is raised when JSON document is malformed in any way """ - def __init__(self,...
Add ability to chain exceptions to DocumentError
py
diff --git a/delphi/icm_api/utils.py b/delphi/icm_api/utils.py index <HASH>..<HASH> 100644 --- a/delphi/icm_api/utils.py +++ b/delphi/icm_api/utils.py @@ -66,7 +66,7 @@ def write_model_to_database(G): for e in G.edges(data=True) ] ) - max_mean_betas = max( + max_median_betas = max( ...
changed mean to median for polarity compression
py
diff --git a/discord/client.py b/discord/client.py index <HASH>..<HASH> 100644 --- a/discord/client.py +++ b/discord/client.py @@ -33,7 +33,7 @@ from typing import Any, Callable, Coroutine, Dict, Generator, Iterable, List, Op import aiohttp -from .user import User +from .user import User, ClientUser from .invite ...
Fill in ConnectionState.user via HTTPClient.static_login
py
diff --git a/wpull/version.py b/wpull/version.py index <HASH>..<HASH> 100644 --- a/wpull/version.py +++ b/wpull/version.py @@ -1,3 +1,3 @@ # encoding=utf-8 '''Version information.''' -__version__ = '0.10.9' +__version__ = '0.11'
Bumps version to <I>.
py
diff --git a/mmcv/runner/hooks/optimizer.py b/mmcv/runner/hooks/optimizer.py index <HASH>..<HASH> 100644 --- a/mmcv/runner/hooks/optimizer.py +++ b/mmcv/runner/hooks/optimizer.py @@ -113,7 +113,11 @@ class Fp16OptimizerHook(OptimizerHook): if param.grad is not None: param.grad.div_(self.lo...
[enhance]: show grad norm in fp<I> optimizer hook (#<I>)
py
diff --git a/sc2gameLobby/joinGame.py b/sc2gameLobby/joinGame.py index <HASH>..<HASH> 100644 --- a/sc2gameLobby/joinGame.py +++ b/sc2gameLobby/joinGame.py @@ -39,7 +39,7 @@ def playerJoin(config, agentCallBack, lobbyTimeout=c.INITIAL_TIMEOUT, debug=True finalResult = rh.playerSurrendered(config) # default to this ...
- fullscreen option is actually handled by launchapp() already
py
diff --git a/pygenstub.py b/pygenstub.py index <HASH>..<HASH> 100644 --- a/pygenstub.py +++ b/pygenstub.py @@ -15,6 +15,14 @@ # You should have received a copy of the GNU General Public License # along with pygenstub. If not, see <http://www.gnu.org/licenses/>. +"""pygenstub is a utility for generating stub files ...
Arrange docstrings for better PEP<I> support
py
diff --git a/facebook_auth/models.py b/facebook_auth/models.py index <HASH>..<HASH> 100644 --- a/facebook_auth/models.py +++ b/facebook_auth/models.py @@ -101,7 +101,7 @@ class UserTokenManager(object): 'expiration_date': expiration_date} obj, created = UserToken.objects.get_or_create( ...
Remove probably dead code. This code looks dead because expiration_date is blank=False, null=False. If this code is needed there should be test to it. Change-Id: I<I>ad9b3c<I>c<I>bace9a<I>f<I>b3a<I>d8
py
diff --git a/atomic_reactor/plugins/pre_add_help.py b/atomic_reactor/plugins/pre_add_help.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/pre_add_help.py +++ b/atomic_reactor/plugins/pre_add_help.py @@ -17,6 +17,7 @@ Example configuration: } """ +import errno import os from subprocess import check_out...
Fix add_help (from unit testing)
py
diff --git a/demo/main.py b/demo/main.py index <HASH>..<HASH> 100644 --- a/demo/main.py +++ b/demo/main.py @@ -91,9 +91,7 @@ def account_key(userid): def get_account(userid): """Return a Future for an Account.""" - f = account_key(userid).get_async() - f.wait() - return f + return account_key(userid).get_asyn...
Roll back a debug change accidentally checked in.
py
diff --git a/PyHardLinkBackup/phlb/filesystem_walk.py b/PyHardLinkBackup/phlb/filesystem_walk.py index <HASH>..<HASH> 100644 --- a/PyHardLinkBackup/phlb/filesystem_walk.py +++ b/PyHardLinkBackup/phlb/filesystem_walk.py @@ -127,9 +127,13 @@ class DirEntryPath: else: self.resolve_error = None - ...
bugfix in scanner if symlink is broken
py
diff --git a/tests/test_contrib_media.py b/tests/test_contrib_media.py index <HASH>..<HASH> 100644 --- a/tests/test_contrib_media.py +++ b/tests/test_contrib_media.py @@ -234,7 +234,7 @@ class MediaRecorderTest(MediaTestCase): def test_audio_alsa(self): """Test if MediaRecorder passes proper codec when ...
Try null device with alsa format
py
diff --git a/tests/test_03_class.py b/tests/test_03_class.py index <HASH>..<HASH> 100644 --- a/tests/test_03_class.py +++ b/tests/test_03_class.py @@ -82,3 +82,36 @@ def test_class_simple_named(ctestdir): *::TestClassNamed::test_d PASSED *::TestClassNamed::test_e SKIPPED """) + + +@pytest.mark.xf...
Add a test for a name conflict with test class methods.
py
diff --git a/src/landslide/generator.py b/src/landslide/generator.py index <HASH>..<HASH> 100644 --- a/src/landslide/generator.py +++ b/src/landslide/generator.py @@ -375,6 +375,9 @@ class Generator(object): if slide_vars['level'] and slide_vars['level'] <= TOC_MAX_LEVEL: self.add_toc_entr...
Add an entry to the TOC even if a slide doesn't have a title.
py
diff --git a/gns3server/version.py b/gns3server/version.py index <HASH>..<HASH> 100644 --- a/gns3server/version.py +++ b/gns3server/version.py @@ -23,8 +23,8 @@ # or negative for a release candidate or beta (after the base version # number has been incremented) -__version__ = "2.2.27" -__version_info__ = (2, 2, 27,...
Development on <I>dev1
py
diff --git a/blogit.py b/blogit.py index <HASH>..<HASH> 100755 --- a/blogit.py +++ b/blogit.py @@ -135,7 +135,7 @@ class Tag(object): super(Tag, self).__init__() self.name = name self.prepare() - self.permalink = "oz123.github.com" + self.permalink = GLOBAL_TEMPLATE_CONTEXT["sit...
remove hard reference to the site_url
py
diff --git a/phoebe/backend/universe.py b/phoebe/backend/universe.py index <HASH>..<HASH> 100644 --- a/phoebe/backend/universe.py +++ b/phoebe/backend/universe.py @@ -1906,6 +1906,11 @@ class Star_roche_envelope_half(Star): # requiv won't be used, instead we'll use potential, but we'll allow # accessi...
place secondary half in orbit correctly. WE HAVE LCs!!! by faking to use the orbit of the primary instead.
py