diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/gpflow/training/monitor/actions.py b/gpflow/training/monitor/actions.py index <HASH>..<HASH> 100644 --- a/gpflow/training/monitor/actions.py +++ b/gpflow/training/monitor/actions.py @@ -177,7 +177,7 @@ class ModelTensorBoard(TriggeredAction): all_summaries = [] if additional_summaries is None else...
fix for Param(shape=(1,)) in ModelTensorBoard (#<I>) Some parameters of size 1 need to be squeezed to scalars before they can be viewed with TensorBoard.
py
diff --git a/zengine/views/crud.py b/zengine/views/crud.py index <HASH>..<HASH> 100644 --- a/zengine/views/crud.py +++ b/zengine/views/crud.py @@ -657,11 +657,9 @@ class CrudView(BaseView): f['values'] = chosen_filters or chosen_filters.extend((None, None)) elif isinstance(field, fields....
FIX: review, removed some unnecessary lines #rref <I>
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -867,7 +867,8 @@ class SourceFilterSplitter(SourceFilterWeighter): if slow_sources: t0 = time.time() loggin...
Fixed the patch call in SourceFilterSplitter
py
diff --git a/py/selenium/webdriver/chrome/webdriver.py b/py/selenium/webdriver/chrome/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/chrome/webdriver.py +++ b/py/selenium/webdriver/chrome/webdriver.py @@ -45,14 +45,16 @@ class WebDriver(RemoteWebDriver): - chrome_options: this takes an i...
On Behalf of Jason Morrison (jasonm): when using desired capabilities and chrome options together, attempt to merge rather than squash. Fixes Issue #<I>
py
diff --git a/test_tube/log.py b/test_tube/log.py index <HASH>..<HASH> 100644 --- a/test_tube/log.py +++ b/test_tube/log.py @@ -148,7 +148,7 @@ class Experiment(SummaryWriter): # set the tensorboardx log path to the /tf folder in the exp folder logdir = self.get_tensorboardx_path(self.name, self.vers...
removed tensorboardx scalar writer
py
diff --git a/ebooklib/epub.py b/ebooklib/epub.py index <HASH>..<HASH> 100644 --- a/ebooklib/epub.py +++ b/ebooklib/epub.py @@ -1006,12 +1006,18 @@ class EpubReader(object): ei.content = self.read_file(os.path.join(self.opf_dir, ei.get_name())) ei.properties = properties ...
Fixed #<I> - The cover image item
py
diff --git a/native_client/ctcdecode/__init__.py b/native_client/ctcdecode/__init__.py index <HASH>..<HASH> 100644 --- a/native_client/ctcdecode/__init__.py +++ b/native_client/ctcdecode/__init__.py @@ -44,7 +44,7 @@ class Scorer(swigwrapper.Scorer): self.reset_params(alpha, beta) def load_lm(self, ...
Propagate error code from load_lm in decoder binding
py
diff --git a/file_encryptor/convergence.py b/file_encryptor/convergence.py index <HASH>..<HASH> 100644 --- a/file_encryptor/convergence.py +++ b/file_encryptor/convergence.py @@ -1,4 +1,5 @@ -import pycryptopp +from Crypto.Cipher import AES +from Crypto.Util import Counter from settings import CHUNK_SIZE import key...
Updated iter_transform to use AES from pycrypto w/ CTR
py
diff --git a/slither/solc_parsing/declarations/function.py b/slither/solc_parsing/declarations/function.py index <HASH>..<HASH> 100644 --- a/slither/solc_parsing/declarations/function.py +++ b/slither/solc_parsing/declarations/function.py @@ -257,15 +257,27 @@ class FunctionSolc(Function): # if the loop has a ...
Fix an issue where legacy-ast would fail to detect missing loop components, causing the iterator to be parsed as the initializer, and the loop block to be parsed as the iterator (causing failure).
py
diff --git a/pandas/tests/resample/test_timedelta.py b/pandas/tests/resample/test_timedelta.py index <HASH>..<HASH> 100644 --- a/pandas/tests/resample/test_timedelta.py +++ b/pandas/tests/resample/test_timedelta.py @@ -150,3 +150,18 @@ def test_resample_timedelta_edge_case(start, end, freq, resample_freq): tm.asse...
TST: resample does not yield empty groups (#<I>) (#<I>)
py
diff --git a/examples/timeseries.py b/examples/timeseries.py index <HASH>..<HASH> 100644 --- a/examples/timeseries.py +++ b/examples/timeseries.py @@ -112,7 +112,6 @@ def create_experiment_json_fn(output_dir): 'features': ['x'], 'definition': [ (plx.layers.LSTM, {'...
Remove unnecessary comment from timeseries example
py
diff --git a/wafer/users/models.py b/wafer/users/models.py index <HASH>..<HASH> 100644 --- a/wafer/users/models.py +++ b/wafer/users/models.py @@ -76,6 +76,8 @@ class UserProfile(models.Model): raise NotImplemented('Invalid WAFER_REGISTRATION_MODE: %s' % settings.WAFER_REGISTRATIO...
Tag is_registered as boolean, for admin
py
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py index <HASH>..<HASH> 100644 --- a/sos/plugins/libvirt.py +++ b/sos/plugins/libvirt.py @@ -19,3 +19,9 @@ class libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): """ def setup(self): self.addCopySpecs(["/etc/libvirt/", "/var/log/libv...
Obscure display passwords in collected libvirt/qemu files
py
diff --git a/filer/management/commands/generate_thumbnails.py b/filer/management/commands/generate_thumbnails.py index <HASH>..<HASH> 100644 --- a/filer/management/commands/generate_thumbnails.py +++ b/filer/management/commands/generate_thumbnails.py @@ -1,9 +1,4 @@ # -*- coding: utf-8 -*- -''' -Created on May 31, 201...
Removed author, added doc string
py
diff --git a/ics/timeline.py b/ics/timeline.py index <HASH>..<HASH> 100644 --- a/ics/timeline.py +++ b/ics/timeline.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals, absolute_import from collections import Iterable +import heapq from six import PY2, PY3, StringIO, string_types, text_type, integer_types...
potential performance improvement replace sorted by heapq calls in Timeline.__iter__
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ setup( author_email = analytical.__email__, packages = [ 'analytical', + 'analytical.services', 'analytical.templatetags', 'analytical.tests', ],
Add analytical.services to packages in setup.py
py
diff --git a/yacron/cron.py b/yacron/cron.py index <HASH>..<HASH> 100644 --- a/yacron/cron.py +++ b/yacron/cron.py @@ -10,6 +10,7 @@ from yacron.config import (JobConfig, parse_config, ConfigError, parse_config_string) from yacron.job import RunningJob + logger = logging.getLogger('yacro...
trying to trigger travis ci
py
diff --git a/dsari/daemon.py b/dsari/daemon.py index <HASH>..<HASH> 100644 --- a/dsari/daemon.py +++ b/dsari/daemon.py @@ -113,8 +113,6 @@ class Scheduler(): self.shutdown = False self.args = args self.load_config() - for signum in (signal.SIGHUP, signal.SIGINT, signal.SIGTERM, signal....
Reorder daemon startup to allow for premature exit
py
diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py index <HASH>..<HASH> 100644 --- a/MAVProxy/mavproxy.py +++ b/MAVProxy/mavproxy.py @@ -391,7 +391,13 @@ def unload_module(modname): for (m,pm) in mpstate.modules: if m.name == modname: if hasattr(m, 'unload'): - m.unload()...
mavproxy.py: limit the time we will wait for module unload method to complete In the case that a module's unload method does not return we completely lose MAVProxy's text input, which is not great.
py
diff --git a/seqmagick/subcommands/info.py b/seqmagick/subcommands/info.py index <HASH>..<HASH> 100644 --- a/seqmagick/subcommands/info.py +++ b/seqmagick/subcommands/info.py @@ -67,7 +67,7 @@ class TsvSeqInfoWriter(CsvSeqInfoWriter): class AlignedSeqInfoWriter(SeqInfoWriter): def __init__(self, sequence_files, o...
Align based on length of full path Previously using basename, but printing the full path. See GH-<I>.
py
diff --git a/src/orb/schema/table.py b/src/orb/schema/table.py index <HASH>..<HASH> 100644 --- a/src/orb/schema/table.py +++ b/src/orb/schema/table.py @@ -20,7 +20,6 @@ __email__ = 'team@projexsoftware.com' import datetime import logging -import projex.makotext import projex.rest import projex.security imp...
scratch that, don't need the overhead
py
diff --git a/py3status/modules/google_calendar.py b/py3status/modules/google_calendar.py index <HASH>..<HASH> 100644 --- a/py3status/modules/google_calendar.py +++ b/py3status/modules/google_calendar.py @@ -7,7 +7,7 @@ either compact or full format which can be toggled with a button press. The events URL may also be o...
fixed mistake in docstring; used quotes instead of backticks
py
diff --git a/web3/utils/filters.py b/web3/utils/filters.py index <HASH>..<HASH> 100644 --- a/web3/utils/filters.py +++ b/web3/utils/filters.py @@ -65,6 +65,7 @@ class Filter(GreenletThread): running = None stopped = False poll_interval = None + filter_id = None def __init__(self, web3, filter_i...
stand-alone: add stub filter_id property to Filter
py
diff --git a/modelx/__init__.py b/modelx/__init__.py index <HASH>..<HASH> 100644 --- a/modelx/__init__.py +++ b/modelx/__init__.py @@ -20,7 +20,7 @@ Attributes: """ -VERSION = (0, 19, 0) +VERSION = (0, 19, 1) __version__ = ".".join([str(x) for x in VERSION]) from modelx.core.api import * # must come after __ver...
DIST: Release <I>
py
diff --git a/lollygag/core/crawlers/domain_crawler.py b/lollygag/core/crawlers/domain_crawler.py index <HASH>..<HASH> 100644 --- a/lollygag/core/crawlers/domain_crawler.py +++ b/lollygag/core/crawlers/domain_crawler.py @@ -12,16 +12,25 @@ class DomainCrawler(Crawler): super(DomainCrawler, self).__init__(url) ...
Add docstrings to DomainCrawler methods
py
diff --git a/pycoin/services/insight.py b/pycoin/services/insight.py index <HASH>..<HASH> 100644 --- a/pycoin/services/insight.py +++ b/pycoin/services/insight.py @@ -22,8 +22,6 @@ from pycoin.serialize import b2h, b2h_rev, h2b, h2b_rev from pycoin.tx.script import tools from pycoin.tx import Spendable, Tx, TxIn, TxO...
Handling insight tx/send errors produces pretty and understandable exceptions, such as: ValueError: Transaction rejected by network (code -<I>). Reason: <I>: non-canonical
py
diff --git a/tests/web_api/conftest.py b/tests/web_api/conftest.py index <HASH>..<HASH> 100644 --- a/tests/web_api/conftest.py +++ b/tests/web_api/conftest.py @@ -42,12 +42,12 @@ Person = build_entity( is_person = True, ) -@pytest.fixture(scope="module") +@pytest.fixture(scope="package") def entities(): ...
Fix // Change fixture scope to "package" to prevent recreating fixture objects for every single test
py
diff --git a/i18n/resource_loader.py b/i18n/resource_loader.py index <HASH>..<HASH> 100644 --- a/i18n/resource_loader.py +++ b/i18n/resource_loader.py @@ -6,6 +6,8 @@ from . import translations loaders = {} +PLURALS = ["zero", "one", "few", "many"] + def register_loader(loader_class, supported_extensions): ...
Do not enforce 'one' to be provided for pluralization
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,4 +17,7 @@ setup( 'git+https://github.com/zetaops/SpiffWorkflow.git#egg=SpiffWorkflow', 'git+https://github.com/zetaops/pyoko.git#egg=pyoko', ], + package_data = { + 'zengine': ['workfl...
added missing package_data to setup.py
py
diff --git a/graftm/create.py b/graftm/create.py index <HASH>..<HASH> 100644 --- a/graftm/create.py +++ b/graftm/create.py @@ -640,7 +640,8 @@ in the final GraftM package. If you are sure these sequences are correct, turn o else: logging.info("Reconstructing the alignment and HMM f...
Bugfix: Do not attempt to re-create the alignment HMM when not all sequences provided by the user align to the user-specified HMM
py
diff --git a/nodeshot/interop/sync/apps.py b/nodeshot/interop/sync/apps.py index <HASH>..<HASH> 100644 --- a/nodeshot/interop/sync/apps.py +++ b/nodeshot/interop/sync/apps.py @@ -6,6 +6,7 @@ class AppConfig(BaseConfig): def ready(self): """ patch LayerNodesList view to support external layers """ + ...
[django <I>] upgraded nodeshot.interop.sync #<I>
py
diff --git a/djoauth2/authorization_code_generator.py b/djoauth2/authorization_code_generator.py index <HASH>..<HASH> 100644 --- a/djoauth2/authorization_code_generator.py +++ b/djoauth2/authorization_code_generator.py @@ -17,14 +17,19 @@ from djoauth2.models import Scope # critical part of the authorization endpoint ...
Add TODO for authorization endpoint helper.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,8 @@ setup(name='hdf5storage', url='https://github.com/frejanordsiek/hdf5storage', packages=['hdf5storage'], requires=['numpy', 'h5py (>= 2.0)'], + license='BSD', + keywords='hdf5 matla...
Added more information to setup.py
py
diff --git a/fut/core.py b/fut/core.py index <HASH>..<HASH> 100644 --- a/fut/core.py +++ b/fut/core.py @@ -43,11 +43,12 @@ def baseId(resource_id, return_version=False): resource_id -= 0x03000000 # 50331648 else: resource_id -= 0x01000000 # 16777216 + resource_id = abs(res...
fix for baseId issue #<I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,6 +13,9 @@ # serve to show the default. +from json import loads + + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the di...
Making Sphinx version pull from package.json.
py
diff --git a/bypy.py b/bypy.py index <HASH>..<HASH> 100755 --- a/bypy.py +++ b/bypy.py @@ -859,6 +859,7 @@ class ByPy(object): self.__extraupdate = extraupdate self.__incregex = incregex self.__incregmo = re.compile(incregex) + self.__existing_size = 0 self.Verbose = verbose self.Debug = debug @@ -127...
Very minor tune of previous pull-merge
py
diff --git a/synth.py b/synth.py index <HASH>..<HASH> 100644 --- a/synth.py +++ b/synth.py @@ -18,7 +18,7 @@ import logging logging.basicConfig(level=logging.DEBUG) common_templates = gcp.CommonTemplates() -templates = common_templates.node_library(source_location='build') +templates = common_templates.node_library...
build: include only build/src in compiled source (#<I>)
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -315,6 +315,16 @@ class Master(SMaster): if self.opts['fs_cache']: self.cache = salt.caches.FSCache(self.opts) + # add a job that caches grains and mine data every 30 ...
add a job to cache grains and mine data.p's
py
diff --git a/eemeter/ee/derivatives.py b/eemeter/ee/derivatives.py index <HASH>..<HASH> 100644 --- a/eemeter/ee/derivatives.py +++ b/eemeter/ee/derivatives.py @@ -92,10 +92,11 @@ def gross_predicted(formatter, model, weather_source, reporting_period): - :code:`n` is the number of samples considered in develo...
Fix indexing of interpolated weather data dates
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/buildsys.py b/fedmsg_meta_fedora_infrastructure/tests/buildsys.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/buildsys.py +++ b/fedmsg_meta_fedora_infrastructure/tests/buildsys.py @@ -75,7 +75,7 @@ error building package (arch s390x), mo...
These koji tests results are always changing. We'll need to mock this long-term.
py
diff --git a/theanets/recurrent.py b/theanets/recurrent.py index <HASH>..<HASH> 100644 --- a/theanets/recurrent.py +++ b/theanets/recurrent.py @@ -50,10 +50,8 @@ class Network(ff.Network): network. Non-recurrent network layers receive input only from the preceding layers for a given input, while recur...
Fix recurrent_layers docstring.
py
diff --git a/spotify/models/playlist.py b/spotify/models/playlist.py index <HASH>..<HASH> 100644 --- a/spotify/models/playlist.py +++ b/spotify/models/playlist.py @@ -28,9 +28,9 @@ class PartialTracks: for track in data['items']: yield PlaylistTrack(self.__client, track) - ...
fixed async iter in PartialTracks
py
diff --git a/programs/thellier_gui.py b/programs/thellier_gui.py index <HASH>..<HASH> 100755 --- a/programs/thellier_gui.py +++ b/programs/thellier_gui.py @@ -6409,6 +6409,9 @@ You can combine multiple measurement files into one measurement file using Pmag axis='columns').columns # plot f...
prevent error in thellier gui is measurement data lacks intensity columns
py
diff --git a/aiger/expr.py b/aiger/expr.py index <HASH>..<HASH> 100644 --- a/aiger/expr.py +++ b/aiger/expr.py @@ -63,6 +63,8 @@ class BoolExpr: def _binary_gate(gate, expr1, expr2): + if isinstance(expr2, (bool, int)): + expr2 = atom(expr2) aig = expr1._fresh_output().aig | expr2._fresh_output().ai...
Allow binary op with constant.
py
diff --git a/raven/contrib/async.py b/raven/contrib/async.py index <HASH>..<HASH> 100644 --- a/raven/contrib/async.py +++ b/raven/contrib/async.py @@ -18,12 +18,13 @@ class AsyncClient(Client): """This client uses a single background thread to dispatch errors.""" _terminator = object() - def __init__(sel...
AsyncClient should accept args/kwargs. I came into the error where an unexpected kwarg (string_max_length) was being passed to AsyncClient; so it should accept those params.
py
diff --git a/gimmemotifs/rocmetrics.py b/gimmemotifs/rocmetrics.py index <HASH>..<HASH> 100644 --- a/gimmemotifs/rocmetrics.py +++ b/gimmemotifs/rocmetrics.py @@ -9,7 +9,7 @@ # External imports from scipy.stats import stats -from numpy import * +from numpy import array def fraction_fdr(fg_vals, bg_vals, fdr=5): ...
Removing from x import *
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ with open('README.rst') as f: dist = setup( name='stone', - version='3.0.0', + version='3.2.0', install_requires=install_reqs, setup_requires=setup_requires, tests_require=test_reqs,
Bump up version in setup.py to <I> (#<I>)
py
diff --git a/dftimewolf/lib/collectors/gcloud.py b/dftimewolf/lib/collectors/gcloud.py index <HASH>..<HASH> 100644 --- a/dftimewolf/lib/collectors/gcloud.py +++ b/dftimewolf/lib/collectors/gcloud.py @@ -163,11 +163,8 @@ class GoogleCloudCollector(module.BaseModule): self.analysis_vm.add_labels(self._gcp_label) ...
Group exceptions (#<I>)
py
diff --git a/tests/integration/modules/publish.py b/tests/integration/modules/publish.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/publish.py +++ b/tests/integration/modules/publish.py @@ -74,7 +74,7 @@ class PublishModuleTest(integration.ModuleCase, ) for name in check_true: ...
Fix more py3-incompatible print statements
py
diff --git a/create_app.py b/create_app.py index <HASH>..<HASH> 100644 --- a/create_app.py +++ b/create_app.py @@ -17,6 +17,7 @@ from distutils.sysconfig import get_python_lib import fileinput import shutil import os +import os.path as osp from spyderlib.utils.programs import find_program @@ -107,6 +108,11 @@ f...
Add our docs to the Mac app
py
diff --git a/django_th/views_wizard.py b/django_th/views_wizard.py index <HASH>..<HASH> 100644 --- a/django_th/views_wizard.py +++ b/django_th/views_wizard.py @@ -1,7 +1,9 @@ # coding: utf-8 +from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse from django.http impor...
login_required to avoid AnonymousUser error
py
diff --git a/uncompyle6/parsers/reducecheck/or_check.py b/uncompyle6/parsers/reducecheck/or_check.py index <HASH>..<HASH> 100644 --- a/uncompyle6/parsers/reducecheck/or_check.py +++ b/uncompyle6/parsers/reducecheck/or_check.py @@ -38,6 +38,7 @@ def or_check(self, lhs, n, rule, ast, tokens, first, last): last_t...
git commit -m'Adjust "or" offset check ... for Python < <I> hopefully it doesn't break Python <I>+
py
diff --git a/tools/mpremote/mpremote/main.py b/tools/mpremote/mpremote/main.py index <HASH>..<HASH> 100644 --- a/tools/mpremote/mpremote/main.py +++ b/tools/mpremote/mpremote/main.py @@ -268,7 +268,7 @@ def do_filesystem(pyb, args): def _list_recursive(files, path): if os.path.isdir(path): fo...
tools/mpremote: Fix "fs cp -r" on Windows. A backslash in the directory name will end up being passed through to the device and becoming a backslash in a filename, rather than being interpreted as directories. This makes "cp -r" problematic on Windows. Changing to simply "/",join() fixes this.
py
diff --git a/RAPIDpy/make_CF_RAPID_output.py b/RAPIDpy/make_CF_RAPID_output.py index <HASH>..<HASH> 100755 --- a/RAPIDpy/make_CF_RAPID_output.py +++ b/RAPIDpy/make_CF_RAPID_output.py @@ -62,7 +62,7 @@ from netCDF4 import Dataset import numpy as np #local -from helper_functions import csv_to_list +from helper_fu...
changed delete file to helper function function
py
diff --git a/airflow/models/connection.py b/airflow/models/connection.py index <HASH>..<HASH> 100644 --- a/airflow/models/connection.py +++ b/airflow/models/connection.py @@ -97,6 +97,7 @@ class Connection(Base, LoggingMixin): ('emr', 'Elastic MapReduce',), ('snowflake', 'Snowflake',), ('segm...
[AIRFLOW-<I>] Add missing sqoop connector (#<I>) Add missing sqoop connector from HTTP drop-down
py
diff --git a/util.py b/util.py index <HASH>..<HASH> 100644 --- a/util.py +++ b/util.py @@ -5,20 +5,19 @@ def shuffle_matrix(X,ids): """ Random permutation of rows and columns of a matrix - Arguments - --------- - + Parameters + ---------- X : array (k,k) array to be permutated ...
small changes to spatial_dynamics/utils
py
diff --git a/eth_account/hdaccount/mnemonic.py b/eth_account/hdaccount/mnemonic.py index <HASH>..<HASH> 100644 --- a/eth_account/hdaccount/mnemonic.py +++ b/eth_account/hdaccount/mnemonic.py @@ -25,6 +25,7 @@ import os from pathlib import ( Path, ) +import secrets from bitarray import ( bitarray, @@ -161...
refactor: Protect against timing attacks on checksum comparision
py
diff --git a/bin/split-pext.py b/bin/split-pext.py index <HASH>..<HASH> 100755 --- a/bin/split-pext.py +++ b/bin/split-pext.py @@ -120,7 +120,8 @@ massE = float(opts['--massE']) if opts['--massE'] else None; vprint('adding quantities'); qs = calc_quantities(d, coords=dim, massE=massE); names = list(d.dtype.names) + ...
defaulting to using the read type, not the platform float
py
diff --git a/waliki/management/commands/sync_waliki.py b/waliki/management/commands/sync_waliki.py index <HASH>..<HASH> 100644 --- a/waliki/management/commands/sync_waliki.py +++ b/waliki/management/commands/sync_waliki.py @@ -63,7 +63,7 @@ class Command(BaseCommand): file = WALIKI_UPLOAD_TO(FakeAt...
Fixed attachment issue in sync_waliki As in <I>a9d<I>d6e<I>aaf<I>a<I>b4 : filename param was removed from model
py
diff --git a/apollo/organisms/__init__.py b/apollo/organisms/__init__.py index <HASH>..<HASH> 100644 --- a/apollo/organisms/__init__.py +++ b/apollo/organisms/__init__.py @@ -65,10 +65,13 @@ class OrganismsClient(Client): return response return [x for x in response if x['commonName'] == common_nam...
added no reload sequences method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -76,5 +76,6 @@ setup( 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', ...
Add python <I> as classifier
py
diff --git a/angr/knowledge_plugins/functions/function.py b/angr/knowledge_plugins/functions/function.py index <HASH>..<HASH> 100644 --- a/angr/knowledge_plugins/functions/function.py +++ b/angr/knowledge_plugins/functions/function.py @@ -1454,7 +1454,7 @@ class Function(Serializable): if self.name[0:2] == "_Z...
Catch KeyErrors raised by itanium demangler.
py
diff --git a/internetarchive/internetarchive.py b/internetarchive/internetarchive.py index <HASH>..<HASH> 100755 --- a/internetarchive/internetarchive.py +++ b/internetarchive/internetarchive.py @@ -110,8 +110,9 @@ class Item(object): formats = [formats] if formats is not None and f.format...
prevent item/file.download from dying because of non-ascii letters in filename
py
diff --git a/pylint/checkers/refactoring.py b/pylint/checkers/refactoring.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/refactoring.py +++ b/pylint/checkers/refactoring.py @@ -585,6 +585,11 @@ class RefactoringChecker(checkers.BaseTokenChecker): if not node.exc: # Ignore bare raises...
Add of a test to avoid exception inference if this exception is not handled.
py
diff --git a/thinc/neural/_classes/batchnorm.py b/thinc/neural/_classes/batchnorm.py index <HASH>..<HASH> 100644 --- a/thinc/neural/_classes/batchnorm.py +++ b/thinc/neural/_classes/batchnorm.py @@ -38,11 +38,7 @@ class BatchNorm(Model): def predict(self, X): X = self.child.predict(X) - if self.n...
Fiddle with batch renorm
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ from os.path import join, dirname, abspath import sys PY2 = sys.version_info[0] == 2 +ROOT = dirname(abspath(__file__)) try: from setuptools import setup @@ -14,7 +15,7 @@ except ImportError: def read...
Updates setup.py base path.
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -93,9 +93,6 @@ class State(object): "Compile" the high data as it is retireved from the cli or yaml into the individual state executor structures ''' - 'cron': {'pkg': ['i...
left a bit of helper data in
py
diff --git a/riak/transports/pbc/connection.py b/riak/transports/pbc/connection.py index <HASH>..<HASH> 100644 --- a/riak/transports/pbc/connection.py +++ b/riak/transports/pbc/connection.py @@ -184,10 +184,8 @@ class RiakPbcConnection(object): Closes the underlying socket of the PB connection. """ ...
Use close() instead of shutdown() on the socket when destroying the connection.
py
diff --git a/src/streamlink/stream/hls.py b/src/streamlink/stream/hls.py index <HASH>..<HASH> 100644 --- a/src/streamlink/stream/hls.py +++ b/src/streamlink/stream/hls.py @@ -181,6 +181,9 @@ class HLSStreamWorker(SegmentedStreamWorker): self.duration_offset_start, self.duration_limit, ...
stream.hls: refactor HLSStream{,Worker} - Enable setting custom arguments when reloading the playlist. - Instantiate own class in HLSStream.parse_variant_playlist.
py
diff --git a/tensorflow_probability/python/internal/backend/numpy/functional_ops.py b/tensorflow_probability/python/internal/backend/numpy/functional_ops.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/internal/backend/numpy/functional_ops.py +++ b/tensorflow_probability/python/internal/backend/numpy...
Make Jax map_fn zip across sequences of inputs PiperOrigin-RevId: <I>
py
diff --git a/mohawk/util.py b/mohawk/util.py index <HASH>..<HASH> 100644 --- a/mohawk/util.py +++ b/mohawk/util.py @@ -222,10 +222,7 @@ def utc_now(offset_in_seconds=0.0): # Allowed value characters: # !#$%&'()*+,-./:;<=>?@[]^_`{|}~ and space, a-z, A-Z, 0-9, \, " _header_attribute_chars = re.compile( - r"^[ \w\!#...
Use explicit matching for a-z, A-Z, 0-9 and _ This also drops the re.LOCALE flag, which would cause whatever characters defined by the current locale as alphanumeric to be accepted as valid header values, thus causing potential differences between deployments based on locale settings. Closes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ def get_packages(): def get_package_data(): - package_data = {"urh.cythonext": ["*.pyx"]} + package_data = {"urh.cythonext": ["*.pyx", "*.pxd"]} for plugin in PLUGINS: package_data["urh....
add *.pxd to package data of cythonext
py
diff --git a/farnswiki/templatetags/truncatehtml.py b/farnswiki/templatetags/truncatehtml.py index <HASH>..<HASH> 100644 --- a/farnswiki/templatetags/truncatehtml.py +++ b/farnswiki/templatetags/truncatehtml.py @@ -1,3 +1,4 @@ +# Taken from https://djangosnippets.org/snippets/1477/ from django import template regi...
Added a comment for the source of truncatehtml
py
diff --git a/jwt/algorithms.py b/jwt/algorithms.py index <HASH>..<HASH> 100644 --- a/jwt/algorithms.py +++ b/jwt/algorithms.py @@ -41,13 +41,13 @@ def _register_default_algorithms(): class Algorithm(object): def prepare_key(self, key): - pass + raise NotImplementedError def sign(self, msg, ...
Algorithm base class methods now raise NotImplementedError
py
diff --git a/swagger_parser/swagger_parser.py b/swagger_parser/swagger_parser.py index <HASH>..<HASH> 100755 --- a/swagger_parser/swagger_parser.py +++ b/swagger_parser/swagger_parser.py @@ -392,9 +392,12 @@ class SwaggerParser(object): if 'operationId' in path_spec[action].keys(): ...
Encode as utf-8, otherwise more modern Python versions choke.
py
diff --git a/grimoire_elk/elk/mozillaclub.py b/grimoire_elk/elk/mozillaclub.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elk/mozillaclub.py +++ b/grimoire_elk/elk/mozillaclub.py @@ -165,6 +165,7 @@ class MozillaClubEnrich(Enrich): def enrich_items(self, ocean_backend): max_items = self.elastic.max_it...
[elk] Update enrich_items method of MozillaClub for new tests The enrich_items method should return the number of items processed. This value is then checked against the number of items in the raw index in the test.
py
diff --git a/smsframework/data/OutgoingMessage.py b/smsframework/data/OutgoingMessage.py index <HASH>..<HASH> 100644 --- a/smsframework/data/OutgoingMessage.py +++ b/smsframework/data/OutgoingMessage.py @@ -32,7 +32,7 @@ class OutgoingMessage(object): If not specified explicitly, the message will be ro...
Removing character limitation for the SMS source address <URL>
py
diff --git a/lap/tests/test_arr_loop.py b/lap/tests/test_arr_loop.py index <HASH>..<HASH> 100755 --- a/lap/tests/test_arr_loop.py +++ b/lap/tests/test_arr_loop.py @@ -34,6 +34,7 @@ def prepare_sparse_cost(shape, cc, ii, jj, cost_limit): order = np.lexsort((jj_, ii_)) cc_ = cc_[order] kk_ = jj_[order] + ...
Patch test failure on <I> bits.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,15 +5,14 @@ from setuptools import find_packages, setup setup( name="axis", packages=find_packages(include=["axis", "axis.*"]), - version="38", + version="39", description="A Python library for communi...
Bump to <I> Remove python <I> requirement
py
diff --git a/pyrem/task.py b/pyrem/task.py index <HASH>..<HASH> 100644 --- a/pyrem/task.py +++ b/pyrem/task.py @@ -296,7 +296,7 @@ class RemoteTask(SubprocessTask): self._identity_file = identity_file # Log the other args - self._command = command + self._remote_command = list(command)...
Fixing _command override issue
py
diff --git a/canvasapi/blueprint.py b/canvasapi/blueprint.py index <HASH>..<HASH> 100644 --- a/canvasapi/blueprint.py +++ b/canvasapi/blueprint.py @@ -116,7 +116,6 @@ class BlueprintTemplate(CanvasObject): ) return response.json().get("success", False) - # check why returning a change record does...
deleted comment on get_unsynced_changes
py
diff --git a/pyemma/coordinates/data/util/traj_info_cache.py b/pyemma/coordinates/data/util/traj_info_cache.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/data/util/traj_info_cache.py +++ b/pyemma/coordinates/data/util/traj_info_cache.py @@ -131,6 +131,13 @@ class TrajectoryInfoCache(object): cfg_...
[coor/traj_info_cache] sync database to disk after every write. This circumvents a problem in notebooks on OSX, safari - where the kernel forcefully terminates the process and therefore corrupts the database file.
py
diff --git a/svtplay_dl.py b/svtplay_dl.py index <HASH>..<HASH> 100755 --- a/svtplay_dl.py +++ b/svtplay_dl.py @@ -678,9 +678,8 @@ class Urplay(): options.other = "-v -a %s -y %s" % (jsondata["streaming_config"]["rtmp"]["application"], path) if options.hls: download_hls(options, hls, http...
urplay: use rtmp instead of hds
py
diff --git a/mock/mock.py b/mock/mock.py index <HASH>..<HASH> 100644 --- a/mock/mock.py +++ b/mock/mock.py @@ -949,8 +949,8 @@ class NonCallableMock(Base): def assert_called_once_with(_mock_self, *args, **kwargs): - """assert that the mock was called exactly once and with the specified - argument...
bpo-<I>: Clarify the behaviour of assert_called_once_with. (#<I>) Backports: <I>c5d8ca6ed1c<I>d3b<I>e<I>ec<I>c<I>c
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ """Fixtures and code common to many tests.""" +import os import pytest @@ -7,7 +8,10 @@ import staticjinja @pytest.fixture def root_path(tmp_path): - return tmp_pat...
tests: Change CWD to tmp_path before each test The functionality of staticjinja, especially how it interprets relative paths, is heavily tied to what is considered the current working directory. Therefore, we now do `os.chdir(tmp_path)` before each test (and revert that during teardown) so that it's like the user is r...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( name='pyudmx', version='1.0.0', description='uDMX Interface Library', - long_description=(read('ReadMe.md')), + long_description=(read('Readme.md')), url='www.github.com/dhocker'...
Fix file name case sensitity issue
py
diff --git a/test/test_tools.py b/test/test_tools.py index <HASH>..<HASH> 100644 --- a/test/test_tools.py +++ b/test/test_tools.py @@ -27,7 +27,8 @@ def test_tool(tool_name): params = {"background": bg_fa, "organism": "hg38", "width": 7} print(__tools__) if tool_name in [ - "yamda", # not install...
don't test rpmcmc
py
diff --git a/tests/test_isort.py b/tests/test_isort.py index <HASH>..<HASH> 100644 --- a/tests/test_isort.py +++ b/tests/test_isort.py @@ -836,6 +836,15 @@ def test_remove_imports() -> None: ) assert test_output == "import lib1\nimport lib5\n" + # From imports + test_input = "from x import y" + tes...
Add test for removing from imports
py
diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/instructions.py +++ b/mythril/laser/ethereum/instructions.py @@ -953,13 +953,9 @@ class Instruction: else: keccak = utils.sha3(data.value.to_bytes(l...
Don't attempt to access annotations from concrete ints
py
diff --git a/trunk/metpy/vis/plots.py b/trunk/metpy/vis/plots.py index <HASH>..<HASH> 100644 --- a/trunk/metpy/vis/plots.py +++ b/trunk/metpy/vis/plots.py @@ -406,7 +406,9 @@ def station_plot(data, ax=None, proj=None, layout=None, styles=None, ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW', 'C'], where 'C' repres...
Allow passing in None to station_plot layout to override the default layout and not plot anything in a certain location. git-svn-id: <URL>
py
diff --git a/pelix/shell/remote.py b/pelix/shell/remote.py index <HASH>..<HASH> 100644 --- a/pelix/shell/remote.py +++ b/pelix/shell/remote.py @@ -233,6 +233,20 @@ class ThreadingTCPServerFamily(socketserver.ThreadingTCPServer): _logger.exception("Couldn't set IP double stack flag: %s", ex) + de...
RemoteShell client threads are now named according to client address
py
diff --git a/beanstalkc.py b/beanstalkc.py index <HASH>..<HASH> 100644 --- a/beanstalkc.py +++ b/beanstalkc.py @@ -217,6 +217,12 @@ class Job(object): self.body = body self.reserved = reserved + def _priority(self): + stats = self.stats() + if isinstance(stats, dict): + r...
Fix Job#release and Job#bury when missing YAML NOTE: Without parsing a Job's stats, we can not automatically preserve the Job's priority in `release`/`bury`. Unless `release`/`bury` are passed a priority to use, the Job priority will therefore be reset to `DEFAULT_PRIORITY`.
py
diff --git a/py/doc/conftest.py b/py/doc/conftest.py index <HASH>..<HASH> 100644 --- a/py/doc/conftest.py +++ b/py/doc/conftest.py @@ -98,6 +98,9 @@ def restcheck(path): def _checkskip(lpath, htmlpath=None): if not option.forcegen: + lpath = py.path.local(lpath) + if htmlpath is not None: + ...
[svn r<I>] be more careful to not work with svnwc() paths when checking for mtimes --HG-- branch : trunk
py
diff --git a/can/io/canutils.py b/can/io/canutils.py index <HASH>..<HASH> 100644 --- a/can/io/canutils.py +++ b/can/io/canutils.py @@ -56,10 +56,13 @@ class CanutilsLogReader(BaseIOHandler): if data and data[0].lower() == "r": isRemoteFrame = True + if len(data) > 1: ...
Initialized dataBin in canutils with None to prevent crashes when reading remote frames (#<I>)
py
diff --git a/inginious/backend/agent/_cgroup_helper.py b/inginious/backend/agent/_cgroup_helper.py index <HASH>..<HASH> 100644 --- a/inginious/backend/agent/_cgroup_helper.py +++ b/inginious/backend/agent/_cgroup_helper.py @@ -38,7 +38,7 @@ def force_close_event_listener(event_listener_obj): :param event_listener_...
Fix import. Today is not a good day, and using a mac don't help to debug this.
py
diff --git a/curdling/install.py b/curdling/install.py index <HASH>..<HASH> 100644 --- a/curdling/install.py +++ b/curdling/install.py @@ -244,7 +244,9 @@ class Install(Service): total = len(self.mapping.requirements) retrieved = self.mapping.count('downloader') + len(self.mapping.repeated) ...
Fix hang on the main loop The error data structure is a little tricky. It's not actually a list. It's a dictionary of lists. Each key may contain one or more errors; This fixes a hang in the main loop when a package was required twice and failed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -382,6 +382,7 @@ def main(): 'Linux': { 'redhat': [ "libxml2-devel", # for installing Python lxml pkg + "libxml2", # for installing xmll...
Added libxml2 package to develop_os_requires, to get xmllint for testing.
py
diff --git a/build.py b/build.py index <HASH>..<HASH> 100755 --- a/build.py +++ b/build.py @@ -759,7 +759,6 @@ def prepareLocalEntityJar(): shutil.copyfile(os.path.join(buildRoot, "validator", "site", "style.css"), os.path.join(filesDir, "style.css")) shutil.copyfile(os.path.join(buildRoot, "validator", "site", "...
don't use validator/site/character-sets anymore Not available since validator b6ef7a2e<I>ce<I>c3ea<I>c7f<I>fb1eb<I>d
py
diff --git a/salt/states/zfs.py b/salt/states/zfs.py index <HASH>..<HASH> 100644 --- a/salt/states/zfs.py +++ b/salt/states/zfs.py @@ -454,8 +454,9 @@ def _dataset_present(dataset_type, name, volume_size=None, sparse=False, create_ ## NOTE: fetch current volume properties properties_current = __salt__...
Fix issue #<I>: avoid zfs.filesystem_present slowdown when dataset has lots of snapshots
py
diff --git a/bakery/management/commands/publish.py b/bakery/management/commands/publish.py index <HASH>..<HASH> 100644 --- a/bakery/management/commands/publish.py +++ b/bakery/management/commands/publish.py @@ -93,7 +93,8 @@ in settings.py or provide it with --aws-bucket-name" # once we get our collect static rout...
adding in GZIP_FILE_MATCH to sync_gzipped_files
py