diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pydsl/Grammar/Tool/Tool.py b/pydsl/Grammar/Tool/Tool.py index <HASH>..<HASH> 100644 --- a/pydsl/Grammar/Tool/Tool.py +++ b/pydsl/Grammar/Tool/Tool.py @@ -20,11 +20,10 @@ __copyright__ = "Copyright 2008-2012, Nestor Arocha Rodríguez" __email__ = "nesaro@gmail.com" import logging -from pydsl.Grammar.Chec...
GrammarTool is not a checker, can have a checker
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ """ Lightflow ------ +--------- -Lightflow is a lightweight, high performance pipeline system for synchrotrons. +Lightflow is a lightweight, distributed workflow system. It is based on a directed acyclic gr...
Update setup.py with correct descriptions and python version
py
diff --git a/examples/plotting/file/iris.py b/examples/plotting/file/iris.py index <HASH>..<HASH> 100644 --- a/examples/plotting/file/iris.py +++ b/examples/plotting/file/iris.py @@ -4,7 +4,7 @@ from bokeh.sampledata.iris import flowers colormap = {'setosa': 'red', 'versicolor': 'green', 'virginica': 'blue'} colors =...
Fix iris example after responsive rename (actually restoring to what it was on master - and I had changed in this branch to demo a sizing problem)
py
diff --git a/omgeo/__init__.py b/omgeo/__init__.py index <HASH>..<HASH> 100644 --- a/omgeo/__init__.py +++ b/omgeo/__init__.py @@ -123,8 +123,13 @@ class Geocoder(): result = dict(candidates=processed_candidates, upstream_response_info=upstream_response_info_list) - ...
modify stats logger to log objects as dicts
py
diff --git a/build-support/bin/_release_helper.py b/build-support/bin/_release_helper.py index <HASH>..<HASH> 100644 --- a/build-support/bin/_release_helper.py +++ b/build-support/bin/_release_helper.py @@ -1019,8 +1019,8 @@ def prompt_apple_silicon() -> None: input( f"We need to release for Apple Silicon...
[internal] Update pronouns for Eric (#<I>) [ci skip-rust]
py
diff --git a/angr/simos.py b/angr/simos.py index <HASH>..<HASH> 100644 --- a/angr/simos.py +++ b/angr/simos.py @@ -496,6 +496,7 @@ class SimLinux(SimOS): 14: ('sigprocmask', 'sigprocmask'), 39: ('getpid', 'getpid'), 60: ('exit', 'exit'), + 158: ('arch_prctl','arch_prctl...
add systemcall information for arch_prctl syscall added to simuves to Linux amd<I> simos system call table
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( packages=['sanic'], platforms='any', install_requires=[ - #'uvloop>=0.5.3', + 'uvloop>=0.5.3', 'httptools>=0.0.9', 'ujson>=1.35', ],
Fuck it, uvloop is required httptools already requires compilation, so why not include uvloop
py
diff --git a/zipline/utils/events.py b/zipline/utils/events.py index <HASH>..<HASH> 100644 --- a/zipline/utils/events.py +++ b/zipline/utils/events.py @@ -412,7 +412,7 @@ class TradingDayOfWeekRule(six.with_metaclass(ABCMeta, StatelessRule)): # calculate the list of periods that match the given criteria ...
Make sure we are passing ints to nth.
py
diff --git a/batch_align.py b/batch_align.py index <HASH>..<HASH> 100644 --- a/batch_align.py +++ b/batch_align.py @@ -15,10 +15,10 @@ import sys import os -from align import Aligner +from bleualign.align import Aligner if len(sys.argv) < 5: - sys.stderr.write('Usage: python batch_align directory source_suffi...
fix import in batch_align.py
py
diff --git a/parsedmarc/elastic.py b/parsedmarc/elastic.py index <HASH>..<HASH> 100644 --- a/parsedmarc/elastic.py +++ b/parsedmarc/elastic.py @@ -326,16 +326,16 @@ def save_forensic_report_to_elasticsearch(forensic_report, from_ = None to_ = None subject = None - if "From" in headers: - from_ ...
Fix duplicate forensic report Elasticsearch lookup
py
diff --git a/anyconfig/backend/yaml.py b/anyconfig/backend/yaml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/yaml.py +++ b/anyconfig/backend/yaml.py @@ -108,12 +108,14 @@ def _customized_dumper(container, dumper=Dumper): """ return dumper.represent_mapping(mapping_tag, data.items()) - i...
fix: [yaml] add one more workaround for python 3
py
diff --git a/lexicon/providers/transip.py b/lexicon/providers/transip.py index <HASH>..<HASH> 100644 --- a/lexicon/providers/transip.py +++ b/lexicon/providers/transip.py @@ -14,10 +14,12 @@ def ProviderParser(subparser): class Provider(BaseProvider): - def __init__(self, options): + def __init__(self, optio...
Merge provider_options with normal options
py
diff --git a/wva/cli.py b/wva/cli.py index <HASH>..<HASH> 100644 --- a/wva/cli.py +++ b/wva/cli.py @@ -42,11 +42,10 @@ def save_config(ctx): def clear_config(ctx): - if os.path.exists(ctx.config_dir): - try: - os.remove(os.path.join(ctx.config_dir, "config.json")) - except IOError: - ...
cli: functionally equivalent updates based on code review feedback
py
diff --git a/gui/tools/designer.py b/gui/tools/designer.py index <HASH>..<HASH> 100644 --- a/gui/tools/designer.py +++ b/gui/tools/designer.py @@ -308,6 +308,7 @@ class SelectionTag(wx.Window): self.owner = owner self.index = index self.SetCursor(wx.StockCursor(self.cursors[index])) + ...
fixed selection marker being hidden behind other controls MSW (almost, at least for mouse events)
py
diff --git a/testproj/settings.py b/testproj/settings.py index <HASH>..<HASH> 100644 --- a/testproj/settings.py +++ b/testproj/settings.py @@ -23,11 +23,16 @@ TEST_APPS = ( MANAGERS = ADMINS +DATABASE_ENGINE = 'sqlite3' +DATABASE_NAME = 'testdb.sqlite' +DATABASE_USER = '' +DATABASE_PASSWORD = '' + # Database DAT...
allow older versions of django to run the test-suite
py
diff --git a/anyconfig/backend/yaml.py b/anyconfig/backend/yaml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/yaml.py +++ b/anyconfig/backend/yaml.py @@ -7,7 +7,11 @@ r"""YAML backend: - Format to support: YAML, http://yaml.org -- Requirements: PyYAML (yaml), http://pyyaml.org +- Requirements: + + - ruame...
fix: [yaml] add requirement of ruamel.yaml
py
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py index <HASH>..<HASH> 100644 --- a/setuptools/command/install_lib.py +++ b/setuptools/command/install_lib.py @@ -1,5 +1,6 @@ import distutils.command.install_lib as orig import os, imp +from itertools import product class install_lib...
Use itertools.product for a cross-product of two iterables
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -214,7 +214,8 @@ setup( "Topic :: Text Processing :: Linguistic", ], setup_requires=[ - 'setuptools_scm', + 'setuptools_scm', # so that version will work + 'cffi>=1.9.1' ...
setup.py: cffi is definitely needed in setup_requires
py
diff --git a/abilian/services/auth/service.py b/abilian/services/auth/service.py index <HASH>..<HASH> 100644 --- a/abilian/services/auth/service.py +++ b/abilian/services/auth/service.py @@ -59,7 +59,6 @@ class AuthService(Service): Service.init_app(self, app) self.login_url_prefix = app.config.get('LOGIN_URL...
load g.user/is_manager during load_user, not during login that was a mistake: login happens once, load_user on every request
py
diff --git a/plenum/common/stack_manager.py b/plenum/common/stack_manager.py index <HASH>..<HASH> 100644 --- a/plenum/common/stack_manager.py +++ b/plenum/common/stack_manager.py @@ -278,7 +278,8 @@ class TxnStackManager(metaclass=ABCMeta): # Returns services for each node srvs = dict() for _...
fix KeyError for "services" when pool ledger contains node update txns
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -752,8 +752,6 @@ class DjangoSphinxPlugin(Plugin): wait_time = 0.5 while not connected or num_tries >= max_tries: time.sleep(wait_t...
removed code that should not have been there
py
diff --git a/safe_qgis/impact_statistics/postprocessor_manager.py b/safe_qgis/impact_statistics/postprocessor_manager.py index <HASH>..<HASH> 100644 --- a/safe_qgis/impact_statistics/postprocessor_manager.py +++ b/safe_qgis/impact_statistics/postprocessor_manager.py @@ -180,6 +180,7 @@ class PostprocessorManager(QtCore...
fixing crash whe one multipart is no_data adressed #<I>
py
diff --git a/blockstack_client/actions.py b/blockstack_client/actions.py index <HASH>..<HASH> 100644 --- a/blockstack_client/actions.py +++ b/blockstack_client/actions.py @@ -426,6 +426,9 @@ def cli_withdraw(args, password=None, interactive=True, wallet_keys=None, config else: tx_only = False + ...
tx_only is False if not given
py
diff --git a/django_extensions/management/modelviz.py b/django_extensions/management/modelviz.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/modelviz.py +++ b/django_extensions/management/modelviz.py @@ -134,6 +134,8 @@ def generate_dot(app_labels, **kwargs): def add_attributes(field): ...
Return the field's label with its first character capitalized and the rest lowercased if all characters in the label are lowercase, leave verbose_name attribute content otherwise. (as in the admin interface)
py
diff --git a/src/ai/backend/common/logging.py b/src/ai/backend/common/logging.py index <HASH>..<HASH> 100644 --- a/src/ai/backend/common/logging.py +++ b/src/ai/backend/common/logging.py @@ -296,12 +296,14 @@ class Logger(): # block signals that may interrupt/corrupt logging stop_signals = {signal.SIG...
logging: Add missing join for log-worker process
py
diff --git a/{{cookiecutter.repo_name}}/config/settings/common.py b/{{cookiecutter.repo_name}}/config/settings/common.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.repo_name}}/config/settings/common.py +++ b/{{cookiecutter.repo_name}}/config/settings/common.py @@ -260,15 +260,13 @@ LOGGING = { 'django.re...
Remove excess "loggers" from LOGGING setting
py
diff --git a/tenant_schemas/models.py b/tenant_schemas/models.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/models.py +++ b/tenant_schemas/models.py @@ -33,13 +33,11 @@ class TenantMixin(models.Model): raise Exception("Can't update tenant outside it's own schema or the public schema. Current schema i...
small refactoring, remove useless command, only create tenant at the end
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ class FetchCommand(distutils.cmd.Command): 'bh': fetch_bh, 'iphas': fetch_iphas, 'marshall': fetch_marshall, - 'chen2014', fetch_chen2014} + 'chen2014': fetch_chen2014} ...
Fixes #4, involving an error in setup.py.
py
diff --git a/simplekv/db/mongo.py b/simplekv/db/mongo.py index <HASH>..<HASH> 100644 --- a/simplekv/db/mongo.py +++ b/simplekv/db/mongo.py @@ -13,9 +13,9 @@ from bson.binary import Binary class MongoStore(KeyValueStore): """Uses a MongoDB collection as the backend, using pickle as a serializer. -:param db: A (a...
Fixed up MongoStore docstring.
py
diff --git a/gflags.py b/gflags.py index <HASH>..<HASH> 100644 --- a/gflags.py +++ b/gflags.py @@ -530,8 +530,15 @@ def GetHelpWidth(): return _help_width try: data = fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, '1234') - return struct.unpack('hh', data)[1] - except (IOError, struct.error): + columns...
Fixed issue where the number of columns in emacs M-x shell would be 0. If TIOCGWINSZ returns an unreasonable value, fall back first to the COLUMNS environnement variable and then the default (<I>). R=andychu,sfoy,dbentley,mboerger DELTA=9 (7 added, 0 deleted, 2 changed) Revision created by MOE tool push_codebase. M...
py
diff --git a/changes/changelog.py b/changes/changelog.py index <HASH>..<HASH> 100644 --- a/changes/changelog.py +++ b/changes/changelog.py @@ -64,8 +64,8 @@ def generate_changelog(context): git_log_content = None git_log = 'log --oneline --no-merges --no-color'.split(' ') try: - git_log.append('%s...
Don't overwrite the log command
py
diff --git a/doc2dash/parsers/types.py b/doc2dash/parsers/types.py index <HASH>..<HASH> 100644 --- a/doc2dash/parsers/types.py +++ b/doc2dash/parsers/types.py @@ -1,6 +1,6 @@ CLASS = 'cl' -PACKAGE = 'cat' +PACKAGE = 'Module' METHOD = 'clm' FUNCTION = 'func' -ATTRIBUTE = 'instp' +ATTRIBUTE = 'Attribute' CONSTANT = '...
Slightly better types Dash now supports a lot of new entry types. For example, previously, modules were indexed as "Categories", Dash now supports a "Module" entry type. The full list of entry types can be found at <URL>
py
diff --git a/Spartacus/Database.py b/Spartacus/Database.py index <HASH>..<HASH> 100644 --- a/Spartacus/Database.py +++ b/Spartacus/Database.py @@ -1086,8 +1086,7 @@ class PostgreSQL(Generic): self.v_types = None psycopg2.extras.register_default_json(loads=lambda x: x) psycopg2.ext...
<I>: PostgreSQL INTERVAL is now converted to string instead of timedelta
py
diff --git a/f1d.py b/f1d.py index <HASH>..<HASH> 100644 --- a/f1d.py +++ b/f1d.py @@ -285,10 +285,8 @@ class F1D(Flexure): def BC_Rigidity(self): """ - Utility function to help implement: - 0-curvature boundary condition for D (i.e. Te) - D[i-1] = 2*D[i] - D[i+1] - So this means constant gradient...
Update docstring for BC_Rigidity
py
diff --git a/tests/test_requests_html.py b/tests/test_requests_html.py index <HASH>..<HASH> 100644 --- a/tests/test_requests_html.py +++ b/tests/test_requests_html.py @@ -129,5 +129,31 @@ def test_bare_render(): assert 'https://httpbin.org' in html.links +@pytest.mark.render +def test_bare_js_eval(): + doc ...
test eval on bare js page
py
diff --git a/pandas/io/excel.py b/pandas/io/excel.py index <HASH>..<HASH> 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -10,6 +10,7 @@ import os import abc import warnings import numpy as np +from io import UnsupportedOperation from pandas.core.dtypes.common import ( is_integer, is_float, @@ -3...
BUG: Skip seek when loading Excel files from url (#<I>) Closes #<I>. Back in #<I> a call of a seek() method was added. This call fails on HTTPResponse instances with an UnsupportedOperation exception, so for this case a try..except wrapper was added here.
py
diff --git a/parsl/data_provider/files.py b/parsl/data_provider/files.py index <HASH>..<HASH> 100644 --- a/parsl/data_provider/files.py +++ b/parsl/data_provider/files.py @@ -60,7 +60,10 @@ class File(str): def is_remote(self): if self.scheme in ['ftp', 'http', 'https', 'globus']: return True...
is_remote is a fragile beast newly added staging types will be local by default, rather than unknown
py
diff --git a/salt/payload.py b/salt/payload.py index <HASH>..<HASH> 100644 --- a/salt/payload.py +++ b/salt/payload.py @@ -14,7 +14,6 @@ import datetime # Import salt libs import salt.log -import salt.crypt import salt.transport.frame from salt.exceptions import SaltReqTimeoutError from salt.utils import immutab...
removing salt.crypt from payload.py which is not used and causing salt-key to break.
py
diff --git a/ipmag.py b/ipmag.py index <HASH>..<HASH> 100755 --- a/ipmag.py +++ b/ipmag.py @@ -1458,6 +1458,7 @@ def core_depthplot(dir_path='.', meas_file='magic_measurements.txt', spc_file='' ax2.plot([1,1.5],[c[1],c[1]],'k-') # make the Chron boundary tick ax2.text(1.05,d,c[...
make sure fig name for core_depthplot has no spaces
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -86,6 +86,25 @@ def getversion(): return pkgversion +if 'MAKEFLAGS' in os.environ: + # if setup.py is called from cmake, it reads and uses the MAKEFLAGS + # environment variable, whic...
Remove DESTDIR from MAKEFLAGS env var in setup.py The scikit-build internal install step must specifically not respect DESTDIR, as it is a part of the python library build phase, not install phase.
py
diff --git a/bin/validate.py b/bin/validate.py index <HASH>..<HASH> 100644 --- a/bin/validate.py +++ b/bin/validate.py @@ -181,7 +181,7 @@ def make_products(dataset, target_dir, gaf_path, products, ontology_graph): click.echo("Using {} as the gaf to build data products with".format(gaf_path)) if produ...
making sure all gaf cam models have rdfs:labels
py
diff --git a/tmtoolkit/preprocess.py b/tmtoolkit/preprocess.py index <HASH>..<HASH> 100644 --- a/tmtoolkit/preprocess.py +++ b/tmtoolkit/preprocess.py @@ -1,3 +1,4 @@ +import sys import os import string from importlib import import_module @@ -5,9 +6,9 @@ from collections import defaultdict import nltk -from ger...
fixed problems with python3
py
diff --git a/libre/apps/data_drivers/query.py b/libre/apps/data_drivers/query.py index <HASH>..<HASH> 100644 --- a/libre/apps/data_drivers/query.py +++ b/libre/apps/data_drivers/query.py @@ -104,14 +104,14 @@ class Query(): raise Http400('Only one filter per field is supported') el...
Retain the original unparsed value of filters
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 @@ -110,12 +110,13 @@ def render_aafig_images(app, doctree): app.builder.warn('unsupported builder format "%s", please ' ...
aafig: Use ASCII art when can't render the image When an image can't be rendered just replace the block with a literal block so at least the raw ASCII art is included in the document.
py
diff --git a/LiSE/LiSE/portal.py b/LiSE/LiSE/portal.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/portal.py +++ b/LiSE/LiSE/portal.py @@ -165,8 +165,6 @@ class Portal(Edge, RuleFollower, TimeDispatcher): if not self.engine.caching: super().__setitem__(key, value) return - if k...
Delete the remnants of a previous caching scheme
py
diff --git a/cert_issuer/connectors.py b/cert_issuer/connectors.py index <HASH>..<HASH> 100644 --- a/cert_issuer/connectors.py +++ b/cert_issuer/connectors.py @@ -60,7 +60,6 @@ class LocalBlockchainInfoConnector(object): 'amount': amount, ...
Update connectors.py remove duplicated line
py
diff --git a/tests/specifications/post_test.py b/tests/specifications/post_test.py index <HASH>..<HASH> 100644 --- a/tests/specifications/post_test.py +++ b/tests/specifications/post_test.py @@ -32,16 +32,26 @@ def test_check_008(mada_ttFonts): """ Fonts have consistent underline thickness ? """ from fontbakery.s...
improving the comments in code-test/<I> so that it can be used as a didactic example of the purpose of code-tests.
py
diff --git a/cobra/test/test_io/test_annotation.py b/cobra/test/test_io/test_annotation.py index <HASH>..<HASH> 100644 --- a/cobra/test/test_io/test_annotation.py +++ b/cobra/test/test_io/test_annotation.py @@ -1,4 +1,5 @@ from os.path import join + from cobra.io import read_sbml_model, write_sbml_model
fix for isort failing due to missing newline in py<I>
py
diff --git a/geomet/wkb.py b/geomet/wkb.py index <HASH>..<HASH> 100644 --- a/geomet/wkb.py +++ b/geomet/wkb.py @@ -205,11 +205,10 @@ def __dump_point(obj, big_endian, type_byte_str, num_dims): % (num_dims, num_coord_dims) ) - byte_fmt = '' if big_endian: - byte_fmt += '>' + ...
wkb: Simplified an expression in `__dump_point`.
py
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index <HASH>..<HASH> 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -188,7 +188,9 @@ from openid.association import Association from openid.dh import DiffieHellman __all__ = ['AuthRequest', 'Consumer', 'SuccessResp...
[project @ Export constant names in __all__ from consumer module]
py
diff --git a/MAVProxy/modules/lib/mp_util.py b/MAVProxy/modules/lib/mp_util.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/lib/mp_util.py +++ b/MAVProxy/modules/lib/mp_util.py @@ -5,6 +5,7 @@ import gzip import math import os +import io import sys import platform import warnings @@ -272,7 +273,8 @@ def dow...
mp_util: fixed param download in py2 py2 gzip doesn't have decompress()
py
diff --git a/hrepr/textgen.py b/hrepr/textgen.py index <HASH>..<HASH> 100644 --- a/hrepr/textgen.py +++ b/hrepr/textgen.py @@ -66,7 +66,11 @@ class TextFormatter: def to_string(self, **config): value, offset = self.format( Context( - tabsize=4, max_col=80, offset=0, line_offset...
Set max_col=None by default in textgen
py
diff --git a/openid/extensions/pape.py b/openid/extensions/pape.py index <HASH>..<HASH> 100644 --- a/openid/extensions/pape.py +++ b/openid/extensions/pape.py @@ -254,4 +254,4 @@ class Response(Extension): return ns_args -Request.ns_uri = ns_uri +Response.ns_uri = ns_uri
[project @ Fix typo in pape extension]
py
diff --git a/pysegbase/pycut.py b/pysegbase/pycut.py index <HASH>..<HASH> 100644 --- a/pysegbase/pycut.py +++ b/pysegbase/pycut.py @@ -45,6 +45,8 @@ else: 'fv_type': 'intensity' } +methods = ['graphcut, multiscale_gc'] + class Model: @@ -76,7 +78,7 @@ class M...
merge and rename gc method and type
py
diff --git a/Mixtape/markovstatemodel.py b/Mixtape/markovstatemodel.py index <HASH>..<HASH> 100644 --- a/Mixtape/markovstatemodel.py +++ b/Mixtape/markovstatemodel.py @@ -31,7 +31,7 @@ from sklearn.utils import check_random_state from mdtraj.utils import ensure_type from mixtape import _reversibility -__all__ = ['M...
Removed unnecessary draw_samples in all
py
diff --git a/spyder/config/main.py b/spyder/config/main.py index <HASH>..<HASH> 100755 --- a/spyder/config/main.py +++ b/spyder/config/main.py @@ -75,7 +75,7 @@ DEFAULTS = [ 'normal_screen_resolution': True, 'high_dpi_scaling': False, 'high_dpi_custom_scale_factor': False,...
Change high_dpi_custom_scale_factors default to <I>
py
diff --git a/indra/sources/cwms/processor.py b/indra/sources/cwms/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/cwms/processor.py +++ b/indra/sources/cwms/processor.py @@ -324,6 +324,13 @@ class CWMSProcessor(object): arg1 = ev.find('arg1') arg2 = ev.find('arg2') if...
Account for refset in different args
py
diff --git a/unrar/constants.py b/unrar/constants.py index <HASH>..<HASH> 100644 --- a/unrar/constants.py +++ b/unrar/constants.py @@ -99,3 +99,9 @@ UCM_PROCESSDATA = 1 UCM_NEEDPASSWORD = 2 UCM_CHANGEVOLUMEW = 3 UCM_NEEDPASSWORDW = 4 + +# +# Change volume callback message +# +RAR_VOL_ASK = 0 +RAR_VOL_NOTIFY = 1
Added some missing constants These constants are used when receiving a UCM_CHANGEVOLUME callback message.
py
diff --git a/openid/test/test_discover.py b/openid/test/test_discover.py index <HASH>..<HASH> 100644 --- a/openid/test/test_discover.py +++ b/openid/test/test_discover.py @@ -424,3 +424,8 @@ class TestXRIDiscovery(BaseTestDiscovery): def pyUnitTests(): return datadriven.loadTests(__name__) + +if __name__ == '__...
[project @ test.test_discover: add a "if __name__ == '__main__'" thingie]
py
diff --git a/dpark/schedule.py b/dpark/schedule.py index <HASH>..<HASH> 100644 --- a/dpark/schedule.py +++ b/dpark/schedule.py @@ -732,6 +732,7 @@ class MesosScheduler(DAGScheduler): for r in res: if r.name == name: return r.scalar.value + return 0.0 def getAttribute...
get resources return <I> when not found
py
diff --git a/shellish/command.py b/shellish/command.py index <HASH>..<HASH> 100644 --- a/shellish/command.py +++ b/shellish/command.py @@ -166,12 +166,13 @@ class Command(object): try: command = commands[self.depth] except IndexError: - if self.default_subcomman...
Run subcommands outside exception handler This is functionally the same but running commands out of an exception handler produces slightly confusing backtraces when those subcommands themselves raise an exception. There is no cause for alarm, so this minor tweak reduces the opertunity for unjust confusion.
py
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/disaggregation.py +++ b/etrago/cluster/disaggregation.py @@ -237,8 +237,8 @@ class Disaggregation: print('---') fs = (mc("sum"), mc("sum")) for bt, ts in ( - ...
Add 'q' values to disaggregation sanity checks
py
diff --git a/claripy/balancer.py b/claripy/balancer.py index <HASH>..<HASH> 100644 --- a/claripy/balancer.py +++ b/claripy/balancer.py @@ -282,10 +282,10 @@ class Balancer(object): def _simplify___add__(self, args, expr, condition): argl, argr = args - if not argl.symbolic: + if argl.singl...
the add simplification in balancer should check if things are single-valued, not if they are symbolic
py
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index <HASH>..<HASH> 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -341,6 +341,15 @@ float_precision : str, optional values. The options are `None` or `high` for the ordinary converter, `legacy` for the original lower precision pandas ...
DOC: Added docstring for storage_options for read_csv GH<I> (#<I>) * Update parsers.py DOC: Added docstring for storage_options GH<I> * Update parsers.py DOC: Added docstring for storage_options GH<I> * Update parsers.py removed trailing whitespace
py
diff --git a/commands.py b/commands.py index <HASH>..<HASH> 100755 --- a/commands.py +++ b/commands.py @@ -412,6 +412,14 @@ def upload_dists( result = local(password_command, stdout="capture") password = result.stdout.strip() environ["TWINE_PASSWORD"] = password + elif "TWINE_PASSWORD" in ...
Improve upload-dists command wrt. password - Allow password to be set via `TWINE_PASSWORD` environment variable if no password command is specified - Exit with error code if neither password command nor TWINE_PASSWORD environment variable is specified
py
diff --git a/pykechain/client.py b/pykechain/client.py index <HASH>..<HASH> 100644 --- a/pykechain/client.py +++ b/pykechain/client.py @@ -1488,6 +1488,7 @@ class Client(object): self, parts: List[Dict], asynchronous: Optional[bool] = False, + retrieve_instances: Option...
KE-<I> added a retrieve instances option on create_bulk_parts
py
diff --git a/core/dbt/contracts/project.py b/core/dbt/contracts/project.py index <HASH>..<HASH> 100644 --- a/core/dbt/contracts/project.py +++ b/core/dbt/contracts/project.py @@ -231,7 +231,7 @@ class UserConfig(ExtensibleDbtClassMixin, Replaceable, UserConfigContract): printer_width: Optional[int] = None wri...
allow log_format to be set in profile configs (#<I>)
py
diff --git a/odl/discr/default.py b/odl/discr/default.py index <HASH>..<HASH> 100644 --- a/odl/discr/default.py +++ b/odl/discr/default.py @@ -26,7 +26,7 @@ standard_library.install_aliases() from odl.discr.discretization import Discretization from odl.discr.grid import TensorGrid -from odl.discr.operators import G...
Added `grid` attribute to `RawNearestInterpDiscretization`
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -239,7 +239,7 @@ on_saltstack = 'SALT_ON_SALTSTACK' in os.environ project = 'Salt' version = salt.version.__version__ -latest_release = '2016.11.2' # latest release +latest_release = '2016.11.3' # latest rele...
[<I>] Bump latest release version to <I>
py
diff --git a/updates.py b/updates.py index <HASH>..<HASH> 100755 --- a/updates.py +++ b/updates.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Mikhail Fedosov (tbs.micle@gmail.com)" -__version__ = "0.1.3.7" +__version__ = "0.1.3.8" # http://code.activestate.com/recipes/577708-check...
Replace update symbol with "+" (to eliminate performance degradation)
py
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index <HASH>..<HASH> 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -748,7 +748,7 @@ class _MergeOperation: self, result: DataFrame, cross_col: str | None ) -> None: if cross_col is not None:...
PERF: merge (#<I>)
py
diff --git a/jicimagelib/transform.py b/jicimagelib/transform.py index <HASH>..<HASH> 100644 --- a/jicimagelib/transform.py +++ b/jicimagelib/transform.py @@ -56,6 +56,7 @@ def transformation(func): "Cannot handle this data type: {}".format(image.dtype))) pil_im.save(fpath) re...
Ensured that docstring is preserved when transformation decorator is applied.
py
diff --git a/vecnet/openmalaria/scenario/interventions.py b/vecnet/openmalaria/scenario/interventions.py index <HASH>..<HASH> 100644 --- a/vecnet/openmalaria/scenario/interventions.py +++ b/vecnet/openmalaria/scenario/interventions.py @@ -113,6 +113,10 @@ class Interventions(Section): def __getattr__(self, item): ...
Add add_section method to Interventions.
py
diff --git a/thumbor/handlers/__init__.py b/thumbor/handlers/__init__.py index <HASH>..<HASH> 100644 --- a/thumbor/handlers/__init__.py +++ b/thumbor/handlers/__init__.py @@ -281,7 +281,7 @@ class BaseHandler(tornado.web.RequestHandler): context.config.RESULT_STORAGE_STORES_UNSAFE or not context.request.un...
set content type based on mime
py
diff --git a/tests/unit/utils/event_test.py b/tests/unit/utils/event_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils/event_test.py +++ b/tests/unit/utils/event_test.py @@ -9,6 +9,7 @@ import os import integration +import hashlib from saltunittest import TestCase, TestLoader, TextTestRunner from salt....
fix test based on new minion event socket names
py
diff --git a/pyani/run_sge.py b/pyani/run_sge.py index <HASH>..<HASH> 100644 --- a/pyani/run_sge.py +++ b/pyani/run_sge.py @@ -37,14 +37,21 @@ def run_dependency_graph(jobgraph, verbose=False, logger=None): jobset = populate_jobset(job, jobset, depth=1) joblist = list(jobset) - # Try to be informativ...
run_sge.py: Reports number of job dependencies to logger
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -359,6 +359,7 @@ setup( 'bokeh.charts', 'bokeh.crossfilter', 'bokeh.mplexporter', + 'bokeh.mplexporter.renderers', 'bokeh.sampledata', 'bokeh.server', 'bokeh.server....
add missing package to setup.py
py
diff --git a/dev/_import.py b/dev/_import.py index <HASH>..<HASH> 100644 --- a/dev/_import.py +++ b/dev/_import.py @@ -107,10 +107,15 @@ def _preload(require_oscrypto, print_info): ) ) if require_oscrypto: + backend = oscrypto.backend() + if backend == 'openssl': + ...
Print the OpenSSL version in the CI output for the oscrypto backend
py
diff --git a/grimoire_elk/enriched/enrich.py b/grimoire_elk/enriched/enrich.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/enrich.py +++ b/grimoire_elk/enriched/enrich.py @@ -996,7 +996,9 @@ class Enrich(ElasticItems): logger.error(ex) return - self.elastic.add_ali...
[enrich] Prevent adding DEMOGRAPHICS alias if already in use This code prevents to add the alias `demographics` to an index if the alias is already used on other indexes.
py
diff --git a/test/geocoders/bing.py b/test/geocoders/bing.py index <HASH>..<HASH> 100644 --- a/test/geocoders/bing.py +++ b/test/geocoders/bing.py @@ -27,7 +27,6 @@ class BingTestCase(GeocoderTestBase): def setUpClass(cls): cls.geocoder = Bing( format_string='%s', - scheme='http', ...
Workaround failing Bing tests due to ignored `user_location` I tried quite a number of different similarly named toponyms which should yield different results given different user_location points, but it looks like Bing currently ignores this param completely.
py
diff --git a/mama_cas/urls.py b/mama_cas/urls.py index <HASH>..<HASH> 100644 --- a/mama_cas/urls.py +++ b/mama_cas/urls.py @@ -15,22 +15,22 @@ from mama_cas.views import proxy urlpatterns = patterns('', - url(r'^login/$', + url(r'^login/?$', LoginView.as_view(), name='cas_login'), - url(...
Don't enforce trailing slashes in URLs This causes validation failures with some clients as the default APPEND_SLASH setting causes a <I> to be returned instead of the expected <I>.
py
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -1,4 +1,20 @@ -# coding:utf-8 +# coding: utf-8 + +""" + PyLucid JS-SHA-Login + ~~~~~~~~~~~~~~~~~~~~ + + A secure JavaScript SHA-1 Login and a plaintext fallback login. + + Last commit info: + ~~~~~~~~~ +...
Add a "all existing lucidTag" list to the page admin: * lucidTag view decorator must use functools.wraps ! * pylucid_js_tools.js: create replace_openinwindow_links() function, so it's useable in AJAX views. * Add some DocStrings
py
diff --git a/climlab/constants.py b/climlab/constants.py index <HASH>..<HASH> 100644 --- a/climlab/constants.py +++ b/climlab/constants.py @@ -37,12 +37,21 @@ mb_to_Pa = 100. # conversion factor from mb to Pa # Some useful time conversion factors seconds_per_minute = 60. -seconds_per_hour = 60. * seconds_per_minu...
In constants.py, changed definition of length of month from <I> days to exactly 1/<I> of a year.
py
diff --git a/hszinc/parser.py b/hszinc/parser.py index <HASH>..<HASH> 100644 --- a/hszinc/parser.py +++ b/hszinc/parser.py @@ -298,7 +298,7 @@ def parse_time(time_node): return datetime.time(hour=int(hs), minute=int(ms), second=si, - microsec...
parser: Time takes 'microsecond' argument
py
diff --git a/bakery/tests/__init__.py b/bakery/tests/__init__.py index <HASH>..<HASH> 100644 --- a/bakery/tests/__init__.py +++ b/bakery/tests/__init__.py @@ -293,10 +293,10 @@ class BakeryTest(TestCase): from moto import mock_s3 # Set random max-age for various content types with...
PEP8 and Pyflakes fixes, hopefully
py
diff --git a/backtrader/feeds/yahoo.py b/backtrader/feeds/yahoo.py index <HASH>..<HASH> 100644 --- a/backtrader/feeds/yahoo.py +++ b/backtrader/feeds/yahoo.py @@ -51,7 +51,7 @@ class YahooFinanceCSVData(feed.CSVDataFeedBase): self.f.close() self.f = f - def _load(self, linetokens): + def _load...
Refactored Yahoo CSV Data feed to use _loadline
py
diff --git a/holoviews/ipython/display_hooks.py b/holoviews/ipython/display_hooks.py index <HASH>..<HASH> 100644 --- a/holoviews/ipython/display_hooks.py +++ b/holoviews/ipython/display_hooks.py @@ -20,6 +20,7 @@ from ..core import ( from ..core.traversal import unique_dimkeys from ..core.io import FileArchive from ...
Support Plot in ipython display (#<I>)
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 @@ -2969,17 +2969,15 @@ def grep(path, cmd = ( r'''grep {options} {pattern} {path}''' .format( - options = options, - pattern = pattern...
Fix spacing lint issues.
py
diff --git a/brain/py2stdlib.py b/brain/py2stdlib.py index <HASH>..<HASH> 100644 --- a/brain/py2stdlib.py +++ b/brain/py2stdlib.py @@ -52,15 +52,23 @@ def infer_func_form(node, base_type, context=None, enum=False): else: # Enums supports either iterator of (name, value) pairs ...
Support iterable of tuples as well as iterable of names.
py
diff --git a/h2o-r/tests/run.py b/h2o-r/tests/run.py index <HASH>..<HASH> 100755 --- a/h2o-r/tests/run.py +++ b/h2o-r/tests/run.py @@ -730,6 +730,7 @@ class TestRunner: self.regression_passed = False self._create_output_dir() self._create_failed_output_dir() + self.nopass_counter = 0 ...
report number of nopass tests skipped
py
diff --git a/game.py b/game.py index <HASH>..<HASH> 100644 --- a/game.py +++ b/game.py @@ -865,6 +865,8 @@ class Tank: self.mouse_pos = Vec2d(data['mouse_pos']) atoms_by_id = {} for obj in data['objects']: + if obj is None: + return # atoms ...
guard against null atoms in multiplayer
py
diff --git a/raiden/utils/__init__.py b/raiden/utils/__init__.py index <HASH>..<HASH> 100644 --- a/raiden/utils/__init__.py +++ b/raiden/utils/__init__.py @@ -223,6 +223,7 @@ def get_system_spec(): python_implementation=platform.python_implementation(), python_version=platform.python_version(), ...
Include distribution type in get_system_spec
py
diff --git a/trashcli/restore.py b/trashcli/restore.py index <HASH>..<HASH> 100644 --- a/trashcli/restore.py +++ b/trashcli/restore.py @@ -117,13 +117,15 @@ class RestoreAskingTheUser(object): else: try: indexes = parse_indexes(user_input, len(trashed_files)) - for ...
Refactor: reworking parsing in trash-restore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ install_requires = [ 'readlike==0.1.2', 'requests>=2.6.0,<3', # uses semantic versioning (after 2.6) 'ReParser==1.4.3', - 'protobuf>=3.1.0,<3.8', + 'protobuf>=3.1.0,<=3.10.0', 'urwid==...
Allow usage of protobuf <I>
py
diff --git a/autoflake.py b/autoflake.py index <HASH>..<HASH> 100644 --- a/autoflake.py +++ b/autoflake.py @@ -28,7 +28,7 @@ import os import tokenize -__version__ = '0.2.1' +__version__ = '0.2.2' PYFLAKES_BIN = 'pyflakes'
Increment patch version to <I>
py
diff --git a/visualization/visualizer3d.py b/visualization/visualizer3d.py index <HASH>..<HASH> 100644 --- a/visualization/visualizer3d.py +++ b/visualization/visualizer3d.py @@ -277,7 +277,7 @@ class Visualizer3D: raw_pose_data[3::4, :3] = points.data.T instcolor = None - if color.shape[0] =...
bug fix to 3d points when there were exactly 3 points of same color
py
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -2279,7 +2279,7 @@ class TextInput(Widget, _MixinTextualWidget): self.onkeydown.connect(callback, *userdata) -class Label(Container, _MixinTextualWidget): +class Label(Widget, _MixinTextualWidget): ...
Label is no more a Container.
py
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -385,13 +385,6 @@ def node_frame_class(node): return klass -def is_super_call(expr): - """return True if expression node is a function call and if fun...
Remove obsolete function, it was never used.
py
diff --git a/trepan/processor/cmdproc.py b/trepan/processor/cmdproc.py index <HASH>..<HASH> 100644 --- a/trepan/processor/cmdproc.py +++ b/trepan/processor/cmdproc.py @@ -336,7 +336,7 @@ class CommandProcessor(Mprocessor.Processor): return filename def set_prompt(self, prompt='trepan3k'): - if se...
Fix bug in setting prompt which is triggered when a startup profile is given
py
diff --git a/django_secrets/startup.py b/django_secrets/startup.py index <HASH>..<HASH> 100644 --- a/django_secrets/startup.py +++ b/django_secrets/startup.py @@ -17,7 +17,7 @@ def create_secrets_package(testing=False): os.mkdir('secrets') try: os.stat('secrets/__init__.py') - except FileNotFo...
another python2 fix
py