diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
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 @@ -496,6 +496,14 @@ class DataFlowKernel(object): if isinstance(f, File) and f.is_remote(): inputs[idx] = f.stage_in(executor) + ...
Closes #<I> by adding remote files as dependencies. This looks through the args and kwargs and stages in remote files in the manner that ```inputs``` list was processed.
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 @@ -148,7 +148,7 @@ class SyncClientMixin(object): return ret['data']['return'] - def cmd(self, fun, arg=None, pub_data=None, **kwarg): + def cmd(self, fun, a...
Revert changes to mixins cmd, as the better place to fix this is where it is called.
py
diff --git a/thinc/layers/lstm.py b/thinc/layers/lstm.py index <HASH>..<HASH> 100644 --- a/thinc/layers/lstm.py +++ b/thinc/layers/lstm.py @@ -17,7 +17,7 @@ InT = List[Array2d] @registry.layers("PyTorchBiLSTM.v0") -def PyTorchBiLSTM(nO, nI, depth, dropout=0.0): +def PyTorchBiLSTM(nO: int, nI: int, *, depth: int = ...
Add types to PyTorch BiLSTM
py
diff --git a/master/buildbot/manhole.py b/master/buildbot/manhole.py index <HASH>..<HASH> 100644 --- a/master/buildbot/manhole.py +++ b/master/buildbot/manhole.py @@ -112,7 +112,7 @@ if conchc: if len(l2) < 2: continue try: - if b...
Use base<I>.decodebytes for Python <I> compatibility.
py
diff --git a/oauthlib/oauth1/rfc5849/request_validator.py b/oauthlib/oauth1/rfc5849/request_validator.py index <HASH>..<HASH> 100644 --- a/oauthlib/oauth1/rfc5849/request_validator.py +++ b/oauthlib/oauth1/rfc5849/request_validator.py @@ -59,13 +59,20 @@ class RequestValidator(object): - validate_realms - val...
Updated request_validator documentation to include credential-saving methods There are methods in request_validator that must be implemented and that aren't listed in the class's documentation. Also fixed a couple of minor documentation typos.
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -4151,10 +4151,11 @@ class BaseItemTest(EWSTest): # fieldnames is everything except the ID so we'll use it to compare for f in item.FIELDS: # datet...
Also ignore adjacent_meeting_count in export/upload test
py
diff --git a/pycompatlayer/pycompatlayer.py b/pycompatlayer/pycompatlayer.py index <HASH>..<HASH> 100644 --- a/pycompatlayer/pycompatlayer.py +++ b/pycompatlayer/pycompatlayer.py @@ -130,7 +130,7 @@ def fix_base(fix_environ): if sys.python_bits == 32: sys.maxsize = 2147483647 else: - ...
Improved compatibility with old Python versions
py
diff --git a/demo/guide-python/basic_walkthrough.py b/demo/guide-python/basic_walkthrough.py index <HASH>..<HASH> 100755 --- a/demo/guide-python/basic_walkthrough.py +++ b/demo/guide-python/basic_walkthrough.py @@ -42,7 +42,7 @@ assert np.sum(np.abs(preds2-preds)) == 0 pks = pickle.dumps(bst2) # load model and data i...
cause this code test pickle the booster, so change bst2 -> bst3
py
diff --git a/eventsourcing/tests/test_sqlite.py b/eventsourcing/tests/test_sqlite.py index <HASH>..<HASH> 100644 --- a/eventsourcing/tests/test_sqlite.py +++ b/eventsourcing/tests/test_sqlite.py @@ -71,17 +71,21 @@ class TestSQLiteApplicationRecorder(ApplicationRecorderTestCase): def test_raises_operational_error_...
Added comments to explain why operational error is expected.
py
diff --git a/tests/test_multicolor.py b/tests/test_multicolor.py index <HASH>..<HASH> 100644 --- a/tests/test_multicolor.py +++ b/tests/test_multicolor.py @@ -49,7 +49,7 @@ class MulticolorTestCase(unittest.TestCase): self.assertEqual(len(mc.colors), 3) self.assertSetEqual({"red", "blue", "green"}, mc...
small correction regarding test suit methods naming to match methods name in respective class
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,13 +3,13 @@ from setuptools import setup, find_packages setup( name='brightside', description='Provides a command dispatcher and task queue to support CQRS and microservices ', - long_description="""See the Gi...
Fix typo in package url in setup.py
py
diff --git a/oidc_provider/views.py b/oidc_provider/views.py index <HASH>..<HASH> 100644 --- a/oidc_provider/views.py +++ b/oidc_provider/views.py @@ -194,7 +194,10 @@ class JwksView(View): 'e': long_to_base64(public_key.e), }) - return JsonResponse(dic) + response = JsonResponse(d...
Add "Allow-Origin" header to jwks endpoint.
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -97,7 +97,7 @@ if platform.system() == 'Darwin': setup( name='neuroglancer', - version='1.0.1', + version='1.0.2', description='Python data backend for neuroglancer, a WebGL-based...
chore(python): bump package version to <I>
py
diff --git a/lucid/misc/io/writing.py b/lucid/misc/io/writing.py index <HASH>..<HASH> 100644 --- a/lucid/misc/io/writing.py +++ b/lucid/misc/io/writing.py @@ -30,7 +30,8 @@ import os def _supports_make_dirs(path): """Whether this path implies a storage system that supports and requires intermediate directories t...
no longer attempt to create dirs on gcs
py
diff --git a/pysat/tests/classes/cls_instrument_access.py b/pysat/tests/classes/cls_instrument_access.py index <HASH>..<HASH> 100644 --- a/pysat/tests/classes/cls_instrument_access.py +++ b/pysat/tests/classes/cls_instrument_access.py @@ -101,7 +101,7 @@ class InstAccessTests(object): """ # Get a da...
BUG: Corrected package reference for timedelta
py
diff --git a/sslyze/plugins/openssl_cipher_suites_plugin.py b/sslyze/plugins/openssl_cipher_suites_plugin.py index <HASH>..<HASH> 100644 --- a/sslyze/plugins/openssl_cipher_suites_plugin.py +++ b/sslyze/plugins/openssl_cipher_suites_plugin.py @@ -359,6 +359,10 @@ class OpenSslCipherSuitesPlugin(Plugin): ...
fixed issue with CHACHA<I> cipher at comparison in the _get_preferred_cipher_suite
py
diff --git a/halogen/schema.py b/halogen/schema.py index <HASH>..<HASH> 100644 --- a/halogen/schema.py +++ b/halogen/schema.py @@ -179,18 +179,15 @@ class Attr(object): if self.compartment is not None: compartment = value[self.compartment] - if self.name in compartment: - try: ...
added condition to skip fields in moment of deserialization if they are missed and not required
py
diff --git a/pyvex/stmt.py b/pyvex/stmt.py index <HASH>..<HASH> 100644 --- a/pyvex/stmt.py +++ b/pyvex/stmt.py @@ -64,6 +64,18 @@ class IRStmt(VEXObject): setattr(self, k, replacement) elif isinstance(v, IRExpr): v.replace_expression(expr, replacement) + elif ty...
Add replace_expression logic for tuple stmt members; closes #<I>
py
diff --git a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/base.py b/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/base.py index <HASH>..<HASH> 100644 --- a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookie...
set the default timezone to SAST, same as default on our servers
py
diff --git a/pyp2rpm/metadata_extractors.py b/pyp2rpm/metadata_extractors.py index <HASH>..<HASH> 100644 --- a/pyp2rpm/metadata_extractors.py +++ b/pyp2rpm/metadata_extractors.py @@ -174,10 +174,18 @@ class PypiMetadataExtractor(MetadataExtractor): Returns: PypiData object containing data extracte...
If pypi has problems and can't respond properly, don't fail
py
diff --git a/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py b/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py +++ b/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py @@ -1942,12 +1942,16 @@ def t...
check falls back on pdb commands
py
diff --git a/xblock/plugin.py b/xblock/plugin.py index <HASH>..<HASH> 100644 --- a/xblock/plugin.py +++ b/xblock/plugin.py @@ -173,11 +173,18 @@ class Plugin(object): def _decorator(func): # pylint: disable=C0111 @functools.wraps(func) def _inner(*args, **kwa...
Backup the class cache when using register_temp_plugin, so as to not introduce cross-test dependencies
py
diff --git a/again/events.py b/again/events.py index <HASH>..<HASH> 100644 --- a/again/events.py +++ b/again/events.py @@ -1,3 +1,5 @@ +import asyncio + class ListenerRegister(object): def __init__(self): self._register = {} @@ -37,6 +39,27 @@ class ListenerRegister(object): return self._catch_a...
Adding async event source
py
diff --git a/datatableview/utils.py b/datatableview/utils.py index <HASH>..<HASH> 100644 --- a/datatableview/utils.py +++ b/datatableview/utils.py @@ -112,10 +112,12 @@ class DatatableOptions(UserDict): # return self.data # def __getattr__(self, k): + if k.startswith('_'): + return...
Woah sudden attribute access bug For some reason complaints about __getinitargs__ suddenly popped up. Attributes beginning with "_" are passed up to UserDict.
py
diff --git a/alpaca_trade_api/rest.py b/alpaca_trade_api/rest.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/rest.py +++ b/alpaca_trade_api/rest.py @@ -84,9 +84,9 @@ class REST(object): 'type': type, 'time_in_force': time_in_force, } - if limit_price is None: + if...
Fix submit_order and get_order_by_client_id
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -1389,7 +1389,7 @@ class ScienceSegment: @param pad_data: exclude the first and last pad_data seconds of the segment when generating chunks """ - time_left = self.dur() + (2 * ...
corrected sign error in setting unused with pad_data
py
diff --git a/stagpy/stagyyparsers.py b/stagpy/stagyyparsers.py index <HASH>..<HASH> 100644 --- a/stagpy/stagyyparsers.py +++ b/stagpy/stagyyparsers.py @@ -406,6 +406,7 @@ def fields(fieldfile, only_header=False, only_istep=False): header['ti_ad'] = readbin('f') if magic >= 3 else 0 header['erupta_tota...
Handle T_core addition in header and time_botT.h5
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( # Versions should comply with PEP440. For a discussion on # single-sourcing the version across setup.py and the project # code, see https://packaging.python.org/en/latest/single_source_vers...
Back to development: <I>
py
diff --git a/bot/api/telegram.py b/bot/api/telegram.py index <HASH>..<HASH> 100644 --- a/bot/api/telegram.py +++ b/bot/api/telegram.py @@ -18,7 +18,7 @@ class TelegramBotApi: return self.__send_request("getUpdates", offset=offset, timeout=timeout) def __send_request(self, command, **params): - re...
Add timeout to requests so that they do get death-locked
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -1460,7 +1460,7 @@ class Instrument(object): # get list of remote files remote_files = self.remote_file_list() if remote_files.empty: - logg...
unable to download: made into warning
py
diff --git a/creep/src/logger.py b/creep/src/logger.py index <HASH>..<HASH> 100755 --- a/creep/src/logger.py +++ b/creep/src/logger.py @@ -33,7 +33,7 @@ class LoggerColorStreamHandler (logging.StreamHandler): self.end = getattr (self, 'terminator', '\n') self.levels = {logging.CRITICAL: 'red', logging.DEBUG: 'o...
Replace only known color names in logger.
py
diff --git a/pimento.py b/pimento.py index <HASH>..<HASH> 100644 --- a/pimento.py +++ b/pimento.py @@ -28,23 +28,14 @@ def menu(pre_prompt, items, post_prompt): sys.stdout.flush() # Get user response response = raw_input() - # Validate full response - if response in items: - ...
refactor of menu code to simplify
py
diff --git a/checkers/python3.py b/checkers/python3.py index <HASH>..<HASH> 100644 --- a/checkers/python3.py +++ b/checkers/python3.py @@ -296,7 +296,7 @@ class Python3Checker(checkers.BaseChecker): @utils.check_messages('implicit-map-evaluation') def visit_discard(self, node): if (isinstance(node.va...
It's actually a Name node..
py
diff --git a/python_modules/libraries/dagster-dask/setup.py b/python_modules/libraries/dagster-dask/setup.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-dask/setup.py +++ b/python_modules/libraries/dagster-dask/setup.py @@ -31,7 +31,7 @@ if __name__ == "__main__": install_requires=[ ...
unpin dask Summary: seems like it might have been a transient bad version resolves <URL>
py
diff --git a/tracer/tracer.py b/tracer/tracer.py index <HASH>..<HASH> 100644 --- a/tracer/tracer.py +++ b/tracer/tracer.py @@ -245,13 +245,16 @@ class Tracer(object): # but it seems unlikely bl = self._p.factory.block(self.trace[self.bb_cnt-1]) back_targets = set(bl.vex.constant_j...
fix bugs in discrepency checking by ensuring the jump_target is Ijk_Boring, (stuff like EmWarn we don't care about
py
diff --git a/tcconfig/_importer.py b/tcconfig/_importer.py index <HASH>..<HASH> 100644 --- a/tcconfig/_importer.py +++ b/tcconfig/_importer.py @@ -91,6 +91,13 @@ class TcConfigLoader: option_list.append(arg_item) try: + src_network = self.__parse_tc...
Support importing src-networks
py
diff --git a/napalm_ios/ios.py b/napalm_ios/ios.py index <HASH>..<HASH> 100644 --- a/napalm_ios/ios.py +++ b/napalm_ios/ios.py @@ -94,6 +94,8 @@ class IOSDriver(NetworkDriver): username=self.username, password=self.password, ...
Adding secret support for napalm-getters
py
diff --git a/txkoji/task.py b/txkoji/task.py index <HASH>..<HASH> 100644 --- a/txkoji/task.py +++ b/txkoji/task.py @@ -25,7 +25,7 @@ class Task(Munch): """ Return a parsed started datetime for a task. - :returns: a datetime object for the time this build started + :returns: a datetime ...
task: describe "task" in comments Fix some bad copy & pastes from the Build class.
py
diff --git a/build.py b/build.py index <HASH>..<HASH> 100644 --- a/build.py +++ b/build.py @@ -5,11 +5,11 @@ from distutils.core import Distribution from glob import glob import os.path import shutil -from importlib import import_module import sysconfig import os import sys import pytoml +import runpy SRC_L...
don't rely on import_module
py
diff --git a/qiskit/aqua/operators/weighted_pauli_operator.py b/qiskit/aqua/operators/weighted_pauli_operator.py index <HASH>..<HASH> 100644 --- a/qiskit/aqua/operators/weighted_pauli_operator.py +++ b/qiskit/aqua/operators/weighted_pauli_operator.py @@ -897,7 +897,7 @@ class WeightedPauliOperator(BaseOperator): ...
unroll the instruction after append to assure cache will work
py
diff --git a/salt/utils/data.py b/salt/utils/data.py index <HASH>..<HASH> 100644 --- a/salt/utils/data.py +++ b/salt/utils/data.py @@ -1087,7 +1087,7 @@ def recursive_diff(old, new, ignore=None, unordered_lists=False): :param mapping/iterable old: Mapping or Iterable to compare from. :param mapping/iterable n...
salt/utils/data.py: Updated docstring for recursive_diff.
py
diff --git a/seleniumbase/console_scripts/sb_install.py b/seleniumbase/console_scripts/sb_install.py index <HASH>..<HASH> 100755 --- a/seleniumbase/console_scripts/sb_install.py +++ b/seleniumbase/console_scripts/sb_install.py @@ -106,9 +106,7 @@ def main(): file_name = "geckodriver-%s-linux64.tar.gz" ...
Force <I>-bit Geckodriver on Windows
py
diff --git a/pymc3/distributions/distribution.py b/pymc3/distributions/distribution.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/distribution.py +++ b/pymc3/distributions/distribution.py @@ -27,7 +27,7 @@ class Distribution(object): elif name is None: return object.__new__(cls) # for ...
small fix (#<I>) This construction could accidentally fail
py
diff --git a/varify/api/templates.py b/varify/api/templates.py index <HASH>..<HASH> 100644 --- a/varify/api/templates.py +++ b/varify/api/templates.py @@ -283,7 +283,8 @@ Batch = { # project and batch names are merged into the sample object to # remove excessive nesting. Sample = { - 'fields': [':pk', 'label', 'c...
Add version and created fields to sample template
py
diff --git a/gromacs/__init__.py b/gromacs/__init__.py index <HASH>..<HASH> 100644 --- a/gromacs/__init__.py +++ b/gromacs/__init__.py @@ -169,7 +169,7 @@ The package version can be queried with the :func:`gromacs.get_version` function __docformat__ = "restructuredtext en" #: Package version; this is the only place...
release <I>: includes fixes and enhancements - FIXED: index building and Transformer.strip_water() - FIXED: XVG.write() lost first data line - added: ProteinOnly plugin, using Transformer.keep_protein_only()
py
diff --git a/parallel.py b/parallel.py index <HASH>..<HASH> 100644 --- a/parallel.py +++ b/parallel.py @@ -20,6 +20,7 @@ def reset_engines(): def set_up_engines(): global client, dv + profile = os.environ["PYHSMM_IPYTHON_PARALLEL_PROFILE"] if client is None: client = Client(profile=profile) ...
Parallel profile is loaded from enviornment variable
py
diff --git a/ca/django_ca/profiles.py b/ca/django_ca/profiles.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/profiles.py +++ b/ca/django_ca/profiles.py @@ -450,7 +450,7 @@ class DefaultProfileProxy: return getattr(profiles[ca_settings.CA_DEFAULT_PROFILE], name) def __eq__(self, other: object) -> bool...
also compare DefaultProfileProxy
py
diff --git a/DFA.py b/DFA.py index <HASH>..<HASH> 100644 --- a/DFA.py +++ b/DFA.py @@ -344,15 +344,23 @@ def dfa_co_reachable(dfa: dict) -> dict: while co_reachable_states_stack: s = co_reachable_states_stack.pop() - for s_app in inverse_transitions[s]: - if s_app[0] not in co_reachabl...
DFA co-reachable bug-fix and implemented case of initial state not present in the co_reachable dfa
py
diff --git a/hbmqtt/plugins/sys/broker.py b/hbmqtt/plugins/sys/broker.py index <HASH>..<HASH> 100644 --- a/hbmqtt/plugins/sys/broker.py +++ b/hbmqtt/plugins/sys/broker.py @@ -49,7 +49,7 @@ class BrokerSysPlugin: @asyncio.coroutine def _broadcast_sys_topic(self, topic_basename, data): - return (yield ...
Fix #<I> $SYS/broker root was duplicated when broadcasting messages
py
diff --git a/mlprimitives/adapters/featuretools.py b/mlprimitives/adapters/featuretools.py index <HASH>..<HASH> 100644 --- a/mlprimitives/adapters/featuretools.py +++ b/mlprimitives/adapters/featuretools.py @@ -82,6 +82,7 @@ class DFS(object): cutoff_time = None if self.time_index: cutoff...
Rename the time_index column to time because of the new api from featuretools. (#<I>)
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -3927,6 +3927,9 @@ def sort_models(models): seen.add(model) for rel_model in model._meta.refs.values(): dfs(rel_model) + if model._meta.depends_on: + for...
Add dependency resolution to model sorting.
py
diff --git a/mtg.py b/mtg.py index <HASH>..<HASH> 100755 --- a/mtg.py +++ b/mtg.py @@ -148,7 +148,9 @@ def main(options, args): value = sep.split(value) url += '&%s=' % opt url += ('%s[%s]' * (len(value))) % tuple(get_modifiers(value)) - + + if options.special: + url...
Added --special option for searching of planes
py
diff --git a/nfc/handover/server.py b/nfc/handover/server.py index <HASH>..<HASH> 100644 --- a/nfc/handover/server.py +++ b/nfc/handover/server.py @@ -70,8 +70,8 @@ class HandoverServer(Thread): break # message complete except nfc.ndef.LengthError: ...
handle connection closed also if llcp.poll() returns false
py
diff --git a/validator/testcases/javascript/jstypes.py b/validator/testcases/javascript/jstypes.py index <HASH>..<HASH> 100644 --- a/validator/testcases/javascript/jstypes.py +++ b/validator/testcases/javascript/jstypes.py @@ -148,6 +148,9 @@ class JSWrapper(object): elif isinstance(value, types.LambdaType): ...
Potential fix for traceback problems in functional tests
py
diff --git a/content.py b/content.py index <HASH>..<HASH> 100644 --- a/content.py +++ b/content.py @@ -247,12 +247,6 @@ class OPSContent(object): with open(self.outputs['Tables'],'wb') as output: output.write(tab_doc.toprettyxml(encoding = 'utf-8')) - - caps = ...
Removed evil code fragment. Caption handling should be handled for each context
py
diff --git a/drivers/python/rethinkdb/_restore.py b/drivers/python/rethinkdb/_restore.py index <HASH>..<HASH> 100755 --- a/drivers/python/rethinkdb/_restore.py +++ b/drivers/python/rethinkdb/_restore.py @@ -147,12 +147,10 @@ def do_unzip(temp_dir, options): path, base = os.path.split(path) return (bas...
Merge pull request #<I> from NeilHanlon/next Fix for #<I>
py
diff --git a/pygal/util.py b/pygal/util.py index <HASH>..<HASH> 100644 --- a/pygal/util.py +++ b/pygal/util.py @@ -38,7 +38,7 @@ def float_format(number): def humanize(number): """Format a number to engineer scale""" - order = number and int(floor(log(abs(number)) / log(1000))) + order = number and int(lo...
Update util.py Changed line <I> so that the logarithmic change to base <I> formula uses log base <I> instead of natural log. this allows the denominator to be simplified to 3. Also got rid of the use of floor() inside of int() because it is redundant.
py
diff --git a/check_manifest.py b/check_manifest.py index <HASH>..<HASH> 100755 --- a/check_manifest.py +++ b/check_manifest.py @@ -139,8 +139,10 @@ def run(command, encoding=None, decode=True, cwd=None): if not encoding: encoding = locale.getpreferredencoding() try: - pipe = subprocess.Popen(c...
Explicitly close stdin for subprocesses One reason to do that is because any prompts would be invisible, since we're intercepting the stdout and stderr. Another (and main reason) to do this is that I'm getting weird "0: Bad file descriptor" errors from git-submodule on Appveyor.
py
diff --git a/hsreplay/__init__.py b/hsreplay/__init__.py index <HASH>..<HASH> 100644 --- a/hsreplay/__init__.py +++ b/hsreplay/__init__.py @@ -3,5 +3,5 @@ import pkg_resources __version__ = pkg_resources.require("hsreplay")[0].version -DTD_VERSION = "1.4" +DTD_VERSION = "1.5" SYSTEM_DTD = "https://hearthsim.info/...
Update DTD version to <I>
py
diff --git a/iktomi/unstable/db/files.py b/iktomi/unstable/db/files.py index <HASH>..<HASH> 100644 --- a/iktomi/unstable/db/files.py +++ b/iktomi/unstable/db/files.py @@ -35,6 +35,14 @@ class BaseFile(object): if exc.errno!=errno.ENOENT: raise + @property + def file_name(self): + ...
file_name and ext properties of BaseFile
py
diff --git a/examples/rfic2009/template.py b/examples/rfic2009/template.py index <HASH>..<HASH> 100644 --- a/examples/rfic2009/template.py +++ b/examples/rfic2009/template.py @@ -17,4 +17,4 @@ run_time = time.clock() print('Total execution time: {} seconds'.format(run_time)) -os.system("ps2pdf.cmd") +#os.system("p...
don't run ps2pdf by default
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -668,12 +668,13 @@ def get_source_sum(file_name='', if hsum_len not in HASHES_REVMAP: _invalid_source_hash_format() elif hsum_len != HA...
Raise exception, and also fix error with call to str.format()
py
diff --git a/gui.py b/gui.py index <HASH>..<HASH> 100644 --- a/gui.py +++ b/gui.py @@ -1,6 +1,6 @@ from arcrest import geometry, gptypes, server -import base64 -import graphics +#import base64 +#import graphics import time import Tkinter
Commented out superfluous imports
py
diff --git a/pandas/src/generate_code.py b/pandas/src/generate_code.py index <HASH>..<HASH> 100644 --- a/pandas/src/generate_code.py +++ b/pandas/src/generate_code.py @@ -1,5 +1,8 @@ from __future__ import print_function -from pandas.compat import range, cStringIO as StringIO +# we only need to be able to run this fil...
CLN: eliminate bootstrapping issue form generate_code.py
py
diff --git a/src/diamond/test/testmetric.py b/src/diamond/test/testmetric.py index <HASH>..<HASH> 100644 --- a/src/diamond/test/testmetric.py +++ b/src/diamond/test/testmetric.py @@ -83,3 +83,22 @@ class TestMetric(unittest.TestCase): message = 'Actual %s, expected %s' % (actual_value, expected_value) ...
Per #<I>, try to duplicate generating a scientific notation metric
py
diff --git a/test/context.py b/test/context.py index <HASH>..<HASH> 100644 --- a/test/context.py +++ b/test/context.py @@ -54,7 +54,7 @@ class TangoTestContext(object): def __init__(self, device, device_cls=None, server_name=None, instance_name=None, device_name=None, properties={}, - ...
Use a thread instead of a process to run the tests
py
diff --git a/test_twarc.py b/test_twarc.py index <HASH>..<HASH> 100644 --- a/test_twarc.py +++ b/test_twarc.py @@ -125,7 +125,7 @@ def test_follow(): found = True elif tweet['retweeted_status']['user']['id_str'] in user_ids: found = True - elif tweet['quoted_status']['user']['i...
safe guard against quoted_status being missing
py
diff --git a/raiden/routing.py b/raiden/routing.py index <HASH>..<HASH> 100644 --- a/raiden/routing.py +++ b/raiden/routing.py @@ -95,7 +95,7 @@ def get_best_routes( available_routes = list() - token_network = views.get_token_network( + token_network = views.get_token_network_by_token_address( n...
fix: get_token_network accepts the network id, not the correspoding token address
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='riemann-tx', - version='1.1.3', + version='1.1.4', description=('Transaction creation library for Bitcoin-like coins'), url='https:/...
bump patch version to <I>
py
diff --git a/lark/exceptions.py b/lark/exceptions.py index <HASH>..<HASH> 100644 --- a/lark/exceptions.py +++ b/lark/exceptions.py @@ -1,9 +1,8 @@ -from collections.abc import Sequence - from .utils import logger, NO_VALUE ###{standalone +from collections.abc import Sequence class LarkError(Exception):
Fixup: moved import to standalone.
py
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py index <HASH>..<HASH> 100644 --- a/sos/plugins/filesys.py +++ b/sos/plugins/filesys.py @@ -22,9 +22,11 @@ class Filesys(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 'filesys' profiles = ('storage',) - option_list = [("lsof", ...
[filesys] Add reporting of ext fragmentation with e2freefrag Fixes: #<I>
py
diff --git a/autoclass/autodict_.py b/autoclass/autodict_.py index <HASH>..<HASH> 100644 --- a/autoclass/autodict_.py +++ b/autoclass/autodict_.py @@ -1,4 +1,8 @@ -from collections import Mapping +try: + from collections.abc import Mapping +except ImportError: + from collections import Mapping + from itertools i...
Fixed DeprecationWarning. Fixed #<I>
py
diff --git a/blockstack/lib/nameset/namedb.py b/blockstack/lib/nameset/namedb.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/nameset/namedb.py +++ b/blockstack/lib/nameset/namedb.py @@ -859,13 +859,13 @@ class BlockstackDB( virtualchain.StateEngine ): @autofill( "opcode" ) - def get_name_preorder( self...
optionally get a preorder for a name that already exists (i.e. a failed preorder)
py
diff --git a/src/rammbock/Encoder.py b/src/rammbock/Encoder.py index <HASH>..<HASH> 100644 --- a/src/rammbock/Encoder.py +++ b/src/rammbock/Encoder.py @@ -1,14 +1,19 @@ -from itertools import izip_longest - def object2string(message): whole_message = _generate_message_from_object(message) return whole_messa...
fixed code so that it works python <I>
py
diff --git a/comterminal.py b/comterminal.py index <HASH>..<HASH> 100755 --- a/comterminal.py +++ b/comterminal.py @@ -61,7 +61,7 @@ print("Press ctrl + c at any time to exit") def digipeat(frame, recv_port, recv_port_name): # Can't digipeat anything when you are the source for port in port_map.values(): - ...
Fixed a bug whereby packets originating from this station got digipeated.
py
diff --git a/ariba/summary.py b/ariba/summary.py index <HASH>..<HASH> 100644 --- a/ariba/summary.py +++ b/ariba/summary.py @@ -250,7 +250,7 @@ class Summary: print('h=hclust(dist(a))', file=f) print('write.tree(as.phylo(h), file="', outfile, '")', sep='', file=f) - common.syscall('R C...
Do not write .RData file
py
diff --git a/pystorm/version.py b/pystorm/version.py index <HASH>..<HASH> 100644 --- a/pystorm/version.py +++ b/pystorm/version.py @@ -29,5 +29,5 @@ def _safe_int(string): return string -__version__ = '1.1.0.dev' +__version__ = '1.0.0' VERSION = tuple(_safe_int(x) for x in __version__.split('.'))
Setting version back to <I> again so I can update tag
py
diff --git a/identify/extensions.py b/identify/extensions.py index <HASH>..<HASH> 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -186,6 +186,7 @@ EXTENSIONS = { 'vue': {'text', 'vue'}, 'war': {'binary', 'zip', 'jar'}, 'wav': {'binary', 'audio', 'wav'}, + 'webp': {'binary', 'image'...
Add 'webp' file extension
py
diff --git a/src/sos/R/kernel.py b/src/sos/R/kernel.py index <HASH>..<HASH> 100644 --- a/src/sos/R/kernel.py +++ b/src/sos/R/kernel.py @@ -142,6 +142,11 @@ R_init_statements = r''' ..py.repr.double.1 <- function(obj) { as.character(obj) } +..py.repr.complex.1 <- function(obj) { + rl = Re(obj) + im = Im(obj...
Exchange of complex numbers between Python and R--R to Python #<I>
py
diff --git a/src/feat/agents/base/requester.py b/src/feat/agents/base/requester.py index <HASH>..<HASH> 100644 --- a/src/feat/agents/base/requester.py +++ b/src/feat/agents/base/requester.py @@ -113,7 +113,7 @@ class Ping(BaseRequester): class PartnershipProtocol(BaseRequester): - timeout = 3 + timeout = 5 ...
Increase proposal timeout to 5 seconds.
py
diff --git a/testsuite/test_indicationlistener.py b/testsuite/test_indicationlistener.py index <HASH>..<HASH> 100755 --- a/testsuite/test_indicationlistener.py +++ b/testsuite/test_indicationlistener.py @@ -233,9 +233,10 @@ class TestIndications(unittest.TestCase): """Test sending 100 indications""" s...
Disabled unit test sending <I> indications due to elapsed time.
py
diff --git a/pyinfra_cli/config.py b/pyinfra_cli/config.py index <HASH>..<HASH> 100644 --- a/pyinfra_cli/config.py +++ b/pyinfra_cli/config.py @@ -7,6 +7,7 @@ import ast from os import path from pyinfra.api import Config +from pyinfra.api.util import exec_file def _extract_config_assignments(filename, config):...
Exec config files to load any hooks inside them.
py
diff --git a/bambi/results.py b/bambi/results.py index <HASH>..<HASH> 100644 --- a/bambi/results.py +++ b/bambi/results.py @@ -331,7 +331,8 @@ class MCMCResults(ModelResults): # add convergence diagnostics if diagnostics is not None: - _self = self[list(samples.columns)] + _nam...
Fix diagnostic name/column issue
py
diff --git a/spyder/plugins/completion/languageserver/widgets/status.py b/spyder/plugins/completion/languageserver/widgets/status.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/languageserver/widgets/status.py +++ b/spyder/plugins/completion/languageserver/widgets/status.py @@ -105,9 +105,10 @@ class LS...
LSP: Avoid error when there's no codeeditor yet to get its language for
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup(name='persephone', 'ipython==6.2.1', 'GitPython==2.1.8', 'nltk==3.2.5', - 'numpy', + 'numpy==1.14.0', 'python-speech-features==0.6', ...
Specified numpy version.
py
diff --git a/test/regularizers_test.py b/test/regularizers_test.py index <HASH>..<HASH> 100644 --- a/test/regularizers_test.py +++ b/test/regularizers_test.py @@ -12,7 +12,7 @@ class TestNetwork(util.Base): trainN, validN = self.exp.train( [self.INPUTS, self.OUTPUTS], algorithm='sgd',...
Increase patience for regularizer training tests.
py
diff --git a/discord/guild.py b/discord/guild.py index <HASH>..<HASH> 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -245,7 +245,7 @@ class Guild(Hashable): - ``NEWS``: Guild can create news channels. - ``BANNER``: Guild can upload and use a banner (i.e. :meth:`banner_url`). - ``ANIM...
Removed MEMBER_LIST_DISABLED, added PUBLIC_DISABLED
py
diff --git a/GPy/testing/pickle_tests.py b/GPy/testing/pickle_tests.py index <HASH>..<HASH> 100644 --- a/GPy/testing/pickle_tests.py +++ b/GPy/testing/pickle_tests.py @@ -66,7 +66,8 @@ class Test(ListDictTestCase): with f: pickle.dump(piov, f) - pio2 = GPy.load(f) + with open(f): +...
Update pickle_tests.py
py
diff --git a/bugwarrior/services/bz.py b/bugwarrior/services/bz.py index <HASH>..<HASH> 100644 --- a/bugwarrior/services/bz.py +++ b/bugwarrior/services/bz.py @@ -33,7 +33,7 @@ class BugzillaIssue(Issue): return { 'project': self.record['component'], 'priority': self.get_priority(), -...
Misc fixes to the bugzilla service.
py
diff --git a/managers/tests.py b/managers/tests.py index <HASH>..<HASH> 100644 --- a/managers/tests.py +++ b/managers/tests.py @@ -737,3 +737,10 @@ class TestPreFill(TestCase): self.assertEqual(1, Manager.objects.filter(title=title).count()) for name in [i[0] for i in REQUESTS]: self....
Added test_double_pre_fill
py
diff --git a/aafig/sphinxcontrib/aafig.py b/aafig/sphinxcontrib/aafig.py index <HASH>..<HASH> 100644 --- a/aafig/sphinxcontrib/aafig.py +++ b/aafig/sphinxcontrib/aafig.py @@ -130,7 +130,7 @@ def render_html(self, node, text, options, prefix=DEFAULT_PREFIX, imgcls=None): imgcss = imgcls and 'class="%s"' % imgcl...
aafig: Add missing format operator when rendering to SVG
py
diff --git a/hpfeeds/twisted/service.py b/hpfeeds/twisted/service.py index <HASH>..<HASH> 100644 --- a/hpfeeds/twisted/service.py +++ b/hpfeeds/twisted/service.py @@ -14,6 +14,12 @@ class _Protocol(ClientProtocol): by ClientService. ''' + def connectionMade(self): + try: + self.transpor...
Twisted: Turn on keep alives where supported
py
diff --git a/packages/vaex-core/vaex/utils.py b/packages/vaex-core/vaex/utils.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/utils.py +++ b/packages/vaex-core/vaex/utils.py @@ -525,12 +525,17 @@ class BoundMethods(object): class InnerNamespace(object): - def __init__(self, methods): + def __ini...
add option to add also to a prefix name, eg: ds.ml.bla and ds.ml_bla
py
diff --git a/cauldron/session/exposed.py b/cauldron/session/exposed.py index <HASH>..<HASH> 100644 --- a/cauldron/session/exposed.py +++ b/cauldron/session/exposed.py @@ -25,7 +25,7 @@ class ExposedProject(object): self._project = None # type: projects.Project @property - def internal_project(self) ...
Fix Typo Correct capitalization of the union typing declaration in ExposedStep.
py
diff --git a/cyphi/subsystem.py b/cyphi/subsystem.py index <HASH>..<HASH> 100644 --- a/cyphi/subsystem.py +++ b/cyphi/subsystem.py @@ -398,8 +398,7 @@ class Subsystem: direction.""" validate.direction(direction) # Get the unconstrained repertoire over the other nodes in the network. - ...
Expand repertoires only to Subsystem nodes
py
diff --git a/etk/core.py b/etk/core.py index <HASH>..<HASH> 100644 --- a/etk/core.py +++ b/etk/core.py @@ -222,6 +222,7 @@ class Core(object): self.json_content_paths = dict() if load_spacy: self.prep_spacy() + self.prep_origin_spacy() else: self.nlp = Non...
prep origin spacy tokenizer
py
diff --git a/memorious/logic/context.py b/memorious/logic/context.py index <HASH>..<HASH> 100644 --- a/memorious/logic/context.py +++ b/memorious/logic/context.py @@ -10,7 +10,7 @@ from contextlib import contextmanager from servicelayer.cache import make_key from servicelayer.util import load_json, dump_json -from ...
make a copy of the data before emit when using fakeredis
py
diff --git a/invewrapper/invewrapper.py b/invewrapper/invewrapper.py index <HASH>..<HASH> 100644 --- a/invewrapper/invewrapper.py +++ b/invewrapper/invewrapper.py @@ -66,7 +66,7 @@ def get_project_dir(env): project_file = os.path.join(workon_home, env, '.project') if os.path.exists(project_file): wit...
workon fails when .project file ends in newline
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,8 @@ from distutils.core import setup setup( name='iktomi.unstable', version='0.3', - packages=['iktomi.unstable'], - # XXX isn't it needed? Or is it only for py3k? - #namespace_packages=['iktomi']...
fixed packages option in `setup.py`
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -570,7 +570,7 @@ class DictSet(VaspInputSet): # Warn user about LASPH for +U, meta-GGAs, hybrids, and vdW-DF if not settings.get("LASPH", Fals...
Cosmetic update to LASPH check The default of METAGGA is None so might as well keep it that way in the .get() call
py