diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -81,6 +81,15 @@ def get_device_modules(): #import generate_ui #generate_ui.gen # pyuic5 is not included in all python3-pyqt5 packages (e.g. ubuntu), therefore do not regenerate UI here +# Release PyPi +# Adapt version.VERS...
add comments for pypi
py
diff --git a/coursera/workflow.py b/coursera/workflow.py index <HASH>..<HASH> 100644 --- a/coursera/workflow.py +++ b/coursera/workflow.py @@ -141,7 +141,7 @@ class CourseraDownloader(CourseDownloader): self._ignored_formats = ignored_formats self._disable_url_skipping = disable_url_skipping - ...
Fix bug when condition for url skipping was reversed
py
diff --git a/shellish/command/supplement.py b/shellish/command/supplement.py index <HASH>..<HASH> 100644 --- a/shellish/command/supplement.py +++ b/shellish/command/supplement.py @@ -49,7 +49,7 @@ class ShellishParser(argparse.ArgumentParser): def parse_known_args(self, *args, **kwargs): env_defaults = {}...
Treat empty env vars are not present.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -86,7 +86,7 @@ setup( packages=find_packages("src"), install_requires=[ "numpy", - "tokenizers == 0.0.10", + "tokenizers == 0.0.11", # accessing files from S3 directly "boto3"...
Hotfix tokenizers version for sdist installs
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -416,7 +416,7 @@ def _clean_dir(root, keep, exclude_pat): while True: fn_ = os.path.dirname(fn_) real_keep.add(fn_) - if...
Fix file.recurse with clean: True
py
diff --git a/content.py b/content.py index <HASH>..<HASH> 100644 --- a/content.py +++ b/content.py @@ -75,6 +75,13 @@ class OPSContent(object): aref = sup.appendChild(synop.createElement('a')) aref.setAttribute('href', self.syn_frag.format(contact)) aref.appendChild(sy...
Authors now link to their footnote references
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -384,7 +384,6 @@ def main(): "libyaml-devel", # for installing Python pyyaml pkg "make", # PyWBEM has a makefile "tar", # f...
Removed 'patch' from os-level dependencies - was needed only for Epydoc.
py
diff --git a/byml.py b/byml.py index <HASH>..<HASH> 100644 --- a/byml.py +++ b/byml.py @@ -237,10 +237,8 @@ class Writer: self._make_string_table(value, hash_key_table, string_table) def _sort_string_table(self, table: SortedDict): - i = 0 - for key in table.keys(): + for (i...
byml: Use more idiomatic loops Didn't know about zip() and enumerate()
py
diff --git a/psqlextra/backend/base.py b/psqlextra/backend/base.py index <HASH>..<HASH> 100644 --- a/psqlextra/backend/base.py +++ b/psqlextra/backend/base.py @@ -1,13 +1,17 @@ import importlib +import logging from django.conf import settings from django.core.exceptions import ImproperlyConfigured +from django.db ...
Don't crash migrations under non-superuser if hstore is not installed
py
diff --git a/cogwheels/helpers/settings.py b/cogwheels/helpers/settings.py index <HASH>..<HASH> 100644 --- a/cogwheels/helpers/settings.py +++ b/cogwheels/helpers/settings.py @@ -66,7 +66,12 @@ class BaseAppSettingsHelper: return init_supplied_val if self.__class__.prefix is not None: ...
Handle cases where the 'conf' app isn't used
py
diff --git a/pydas/drivers.py b/pydas/drivers.py index <HASH>..<HASH> 100644 --- a/pydas/drivers.py +++ b/pydas/drivers.py @@ -589,6 +589,23 @@ class CoreDriver(BaseDriver): response = self.request('midas.item.searchbyname', parameters) return response['items'] + def search_item_by_name_and_folde...
Add a method for searching by item and folder name
py
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py index <HASH>..<HASH> 100644 --- a/python/phonenumbers/__init__.py +++ b/python/phonenumbers/__init__.py @@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency # Version number is taken from the ...
Prep for <I> release
py
diff --git a/addok/core.py b/addok/core.py index <HASH>..<HASH> 100644 --- a/addok/core.py +++ b/addok/core.py @@ -330,9 +330,6 @@ class Search(BaseHelper): if self.geohash_key: keys.append(self.geohash_key) self.debug('Adding geohash %s', self.geohash_key) - if...
Move autocomplete after normal hit in only common now that we have a workaround for #<I>. Rationale: we'll never found places like "saint pierre" which are only made of common words
py
diff --git a/tropo.py b/tropo.py index <HASH>..<HASH> 100644 --- a/tropo.py +++ b/tropo.py @@ -168,6 +168,8 @@ class Conference(TropoAction): { "conference": { "id": String,#Required + "allowSignals": String or Array, + "interdigitTimeout":Integer, "mute": Boolean, "name"...
Added allowSignals and interdigitTimeout to the conference method
py
diff --git a/tests/test_injections.py b/tests/test_injections.py index <HASH>..<HASH> 100644 --- a/tests/test_injections.py +++ b/tests/test_injections.py @@ -61,4 +61,4 @@ class TestInjections(unittest.TestCase): """ Test the override functionality """ i = Injections("testinjection", override="OVERRI...
Fixing test to work with python<I>
py
diff --git a/checkers/base.py b/checkers/base.py index <HASH>..<HASH> 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -212,7 +212,7 @@ class BasicErrorChecker(_BasicChecker): if [v for v in values if not (v is None or (isinstance(v, astroid.Co...
Fix a breaking typo appeared during the merge.
py
diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py index <HASH>..<HASH> 100644 --- a/pycanlib/CAN.py +++ b/pycanlib/CAN.py @@ -9,6 +9,8 @@ import time import types def get_version_number(): + _current_dir = os.getcwd() + os.chdir(os.path.dirname(canlib.__file__)) os.system("hg id > id.tmp") tagFil...
CAN.get_version_number now switches to the directory containing the pycanlib source files before reading the version number. This fixes the failure to retrieve version number with a development install of pycanlib ('setup.py develop')
py
diff --git a/schema_salad/ref_resolver.py b/schema_salad/ref_resolver.py index <HASH>..<HASH> 100644 --- a/schema_salad/ref_resolver.py +++ b/schema_salad/ref_resolver.py @@ -290,7 +290,7 @@ class Loader(object): else: self.session = CacheControl( requests.Session(), -...
Corrects initializer to FileCache when no TMP or HOME (#<I>) This else case was missing a wrapping `os.path.join()` Fixes #<I>
py
diff --git a/pdfwatermarker/watermark/draw/canvas.py b/pdfwatermarker/watermark/draw/canvas.py index <HASH>..<HASH> 100644 --- a/pdfwatermarker/watermark/draw/canvas.py +++ b/pdfwatermarker/watermark/draw/canvas.py @@ -1,19 +1,14 @@ # Dynamically generate watermark pdf file import io -import os from tempfile import ...
Optimized imports and removed available_images function
py
diff --git a/gluish/format.py b/gluish/format.py index <HASH>..<HASH> 100644 --- a/gluish/format.py +++ b/gluish/format.py @@ -51,7 +51,7 @@ import luigi from gluish.utils import random_string, which from six import string_types -__all__ = ['TSV'] +__all__ = ['TSV', 'Gzip', 'Zstd'] def write_tsv(output_stream,...
formats: export gzip and zstd as well
py
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -266,13 +266,14 @@ def test_filter_numpy_warning(main_window, qtbot): CONF.set('variable_explorer', 'minmax', Fal...
Help: mark slow and max attemps for test
py
diff --git a/cflib/drivers/crazyradio.py b/cflib/drivers/crazyradio.py index <HASH>..<HASH> 100644 --- a/cflib/drivers/crazyradio.py +++ b/cflib/drivers/crazyradio.py @@ -144,6 +144,7 @@ class Crazyradio: self.set_power(self.P_0DBM) self.set_arc(3) self.set_ard_bytes(32) + ...
Add support to enable/disable acknowledgements. This also ensures that the Crazyradio is reset properly (initializes to acknowledgement enabled by default).
py
diff --git a/helusers/jwt.py b/helusers/jwt.py index <HASH>..<HASH> 100644 --- a/helusers/jwt.py +++ b/helusers/jwt.py @@ -1,12 +1,33 @@ from django.utils.translation import ugettext as _ from django.contrib.auth import get_user_model +from django.conf import settings from rest_framework_jwt.authentication import JS...
Patch rest_framework_jwt settings based on allauth SocialApp
py
diff --git a/buildbot/test/test_vc.py b/buildbot/test/test_vc.py index <HASH>..<HASH> 100644 --- a/buildbot/test/test_vc.py +++ b/buildbot/test/test_vc.py @@ -2293,7 +2293,7 @@ class BzrHelper(BaseHelper): rep = self.rep_trunk else: rep = os.path.join(self.bzr_base, branch) - w...
Test fix for bzr try (complement of 8f<I>) The repo from which the try was being tried was not very realistic. Replacing a checkout with a clone for the working repo allows it have a submit location it can reference for constructing a patch.
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -978,10 +978,10 @@ class RiskCalculator(HazardCalculator): a list of RiskInputs objects, sorted by IMT. """ log...
Small fix for secondary perils [skip CI]
py
diff --git a/cheetah_lint/flake.py b/cheetah_lint/flake.py index <HASH>..<HASH> 100644 --- a/cheetah_lint/flake.py +++ b/cheetah_lint/flake.py @@ -23,7 +23,7 @@ UNUSED_ASSIGNMENTS_FLAKE8_MESSAGES = frozenset( for name in ACCEPTABLE_UNUSED_ASSIGNMENTS ) -ACCEPTABLE_UNUSED_IMPORTS = ('NotFound', 'Template', 'VFFS...
VFFNS is new in latest yelp-cheetah
py
diff --git a/spyder/plugins/completion/kite/utils/install.py b/spyder/plugins/completion/kite/utils/install.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/kite/utils/install.py +++ b/spyder/plugins/completion/kite/utils/install.py @@ -149,7 +149,7 @@ class KiteInstallationThread(QThread): s...
Kite: Minor fix when in installation thread
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ class PyTest(TestCommand): sys.exit(pytest.main(self.test_args)) -version = "0.9.2.1b" +version = "0.9.2.2b" class install(_install): def install_config_file(self):
Put correct version in setup.py
py
diff --git a/salt/utils/context.py b/salt/utils/context.py index <HASH>..<HASH> 100644 --- a/salt/utils/context.py +++ b/salt/utils/context.py @@ -177,6 +177,9 @@ class NamespacedDictWrapper(collections.MutableMapping, dict): r = r[k] return r + def __repr__(self): + return repr(self._...
Add repr to namespacedict This resolved #<I> The problem here was that we would pack __grains__ into modules using a NamespacedDictWrapper which would normally work fine because the typical use case was to either retrieve a particular item or to iterate over the items. However, in cases where we returned the __grains...
py
diff --git a/dmf_control_board_firmware/__init__.py b/dmf_control_board_firmware/__init__.py index <HASH>..<HASH> 100755 --- a/dmf_control_board_firmware/__init__.py +++ b/dmf_control_board_firmware/__init__.py @@ -654,7 +654,7 @@ class FeedbackResults(): dx[:mlab.find(t==result['t_end'])[0]+1] = mean_...
Rename to_df to to_frame for consistency with microdrop
py
diff --git a/nfc/llcp/llc.py b/nfc/llcp/llc.py index <HASH>..<HASH> 100644 --- a/nfc/llcp/llc.py +++ b/nfc/llcp/llc.py @@ -337,7 +337,8 @@ class LogicalLinkController(object): if pdu is None: pdu = Symmetry() except KeyboardInterrupt: print # move to new line - ...
propagate keyboard interrupt if catched in llc
py
diff --git a/master/buildbot/monkeypatches/__init__.py b/master/buildbot/monkeypatches/__init__.py index <HASH>..<HASH> 100644 --- a/master/buildbot/monkeypatches/__init__.py +++ b/master/buildbot/monkeypatches/__init__.py @@ -82,4 +82,4 @@ def patch_all(for_tests=False): from buildbot.monkeypatches import tes...
fix typo in gh-pull <I>
py
diff --git a/contact_form/__init__.py b/contact_form/__init__.py index <HASH>..<HASH> 100644 --- a/contact_form/__init__.py +++ b/contact_form/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 2, 8, 'stable') +VERSION = (0, 2, 9, 'dev') def get_release():
running on <I>-dev
py
diff --git a/yt_array.py b/yt_array.py index <HASH>..<HASH> 100644 --- a/yt_array.py +++ b/yt_array.py @@ -228,7 +228,7 @@ class YTArray(np.ndarray): Parameters ---------- - input_array : !iterable + input_array : :obj:`!iterable` A tuple, list, or array to attach units to input_units : ...
Use full :py: syntax to prevent reference creation
py
diff --git a/mpd/asyncio.py b/mpd/asyncio.py index <HASH>..<HASH> 100644 --- a/mpd/asyncio.py +++ b/mpd/asyncio.py @@ -109,7 +109,7 @@ class MPDClient(MPDClientBase): self.__loop = loop if '/' in host: - r, w = await asyncio.open_unix_connection(path, loop=loop) + r, w = await ...
fix wrong variable name replace undefined variable `path` by `host`, which is most likely what the author intended.
py
diff --git a/trezorlib/client.py b/trezorlib/client.py index <HASH>..<HASH> 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -126,10 +126,11 @@ class BaseClient(object): passphrase = None else: passphrase = self.ui.get_passphrase() - return self.call_raw(proto.Pass...
client: inline PassphraseState flow into Passphrase flow
py
diff --git a/tests/unit/chambers_of_deputies/test_chamber_of_deputies_dataset.py b/tests/unit/chambers_of_deputies/test_chamber_of_deputies_dataset.py index <HASH>..<HASH> 100644 --- a/tests/unit/chambers_of_deputies/test_chamber_of_deputies_dataset.py +++ b/tests/unit/chambers_of_deputies/test_chamber_of_deputies_data...
Uses subTest to improve error reports for unit test for chambers
py
diff --git a/rebulk/__version__.py b/rebulk/__version__.py index <HASH>..<HASH> 100644 --- a/rebulk/__version__.py +++ b/rebulk/__version__.py @@ -4,4 +4,4 @@ Version module """ # pragma: no cover -__version__ = '0.8.1.dev0' +__version__ = '0.8.1'
Preparing release <I>
py
diff --git a/glue_vispy_viewers/extern/vispy/visuals/axis.py b/glue_vispy_viewers/extern/vispy/visuals/axis.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/extern/vispy/visuals/axis.py +++ b/glue_vispy_viewers/extern/vispy/visuals/axis.py @@ -113,8 +113,8 @@ class AxisVisual(CompoundVisual): self._ne...
Enable anti-aliasing for the lines in the 3D axes to avoid issues on Windows (and since it looks better)
py
diff --git a/mbuild/compound.py b/mbuild/compound.py index <HASH>..<HASH> 100644 --- a/mbuild/compound.py +++ b/mbuild/compound.py @@ -447,7 +447,8 @@ class Compound(PartMixin): Parameters ---------- - show_ports : bool + show_ports : bool, optional, default=False + Include ...
Updated the doc string for to_trajectory.
py
diff --git a/drf_auto_endpoint/metadata.py b/drf_auto_endpoint/metadata.py index <HASH>..<HASH> 100644 --- a/drf_auto_endpoint/metadata.py +++ b/drf_auto_endpoint/metadata.py @@ -48,7 +48,8 @@ class AutoMetadataMixin(object): except AttributeError: metadata = {} - if view.__class__.__name...
:bug: root api options view with older DRF
py
diff --git a/treeherder/config/settings.py b/treeherder/config/settings.py index <HASH>..<HASH> 100644 --- a/treeherder/config/settings.py +++ b/treeherder/config/settings.py @@ -338,6 +338,8 @@ DISALLOWED_USER_AGENTS = ( re.compile(r'^libcurl/'), re.compile(r'^Python-urllib/'), re.compile(r'^python-requ...
Bug <I> - Block ActiveData's user agent due to excessive requests ActiveData's scraping of Treeherder's API has caused responsiveness and performance issues for other users of Treeherder on several occasions, so is being blocked until we can decide upon a less detrimental way for ActiveData to obtain this data.
py
diff --git a/cassandra/protocol.py b/cassandra/protocol.py index <HASH>..<HASH> 100644 --- a/cassandra/protocol.py +++ b/cassandra/protocol.py @@ -645,13 +645,14 @@ class ResultMessage(_MessageType): for ctype, val in zip(coltypes, row)) for row in rows] except Exception...
Py3 fix related to variable access in a except block
py
diff --git a/src/python_pachyderm/mixin/auth.py b/src/python_pachyderm/mixin/auth.py index <HASH>..<HASH> 100644 --- a/src/python_pachyderm/mixin/auth.py +++ b/src/python_pachyderm/mixin/auth.py @@ -32,8 +32,6 @@ class AuthMixin: we find a use for it (feel free to file an issue in github.com/pachy...
Support root_token (#<I>)
py
diff --git a/tweepy/streaming.py b/tweepy/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -89,6 +89,7 @@ class Stream(object): # enter loop error_counter = 0 conn = None + exception = None while self.running: if self...
Runtime exception in listener no longer fails silently (Fixed issue #<I>).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ from setuptools import setup, find_packages +from codecs import open exec(open('gtts/version.py').read()) @@ -16,7 +17,7 @@ setup( }, license='MIT', description="gTTS (Google Text-to-Speech), ...
Fixed long_description open() on non-utf-8 locales (#<I>)
py
diff --git a/ghost.py b/ghost.py index <HASH>..<HASH> 100644 --- a/ghost.py +++ b/ghost.py @@ -428,13 +428,18 @@ def migrate(src_path, The migration process will decrypt all keys using the source stash's passphrase and then encrypt them based on the destination stash's passphrase. + + re-encryption wi...
re-encrypt on migrate only if passphrases are different
py
diff --git a/geomdl/fitting.py b/geomdl/fitting.py index <HASH>..<HASH> 100644 --- a/geomdl/fitting.py +++ b/geomdl/fitting.py @@ -112,6 +112,10 @@ def interpolate_surface(points, size_u, size_v, degree_u, degree_v, **kwargs): +def compute_knot_vector(degree, num_points, params): + """ Computes a knot vector f...
Update compute_knot_vector docstrings
py
diff --git a/albumentations/augmentations/transforms.py b/albumentations/augmentations/transforms.py index <HASH>..<HASH> 100644 --- a/albumentations/augmentations/transforms.py +++ b/albumentations/augmentations/transforms.py @@ -149,7 +149,7 @@ class Rotate(DualTransform): """ def __init__(self, limit=90,...
Fix python 2 compatibility for Rotate
py
diff --git a/fernet.py b/fernet.py index <HASH>..<HASH> 100644 --- a/fernet.py +++ b/fernet.py @@ -23,6 +23,10 @@ class InvalidSignature(Exception): class Fernet: + """ + Pure python Ferent module + see https://github.com/fernet/spec/blob/master/Spec.md + """ def __init__(self, key): if n...
Add back the class docstring.
py
diff --git a/plans/models.py b/plans/models.py index <HASH>..<HASH> 100644 --- a/plans/models.py +++ b/plans/models.py @@ -255,7 +255,7 @@ class UserPlan(models.Model): return date.today() def has_automatic_renewal(self): - return hasattr(self, 'recurring') and self.recurring.has_automatic_renewa...
fix UserPlan.has_automatic_renewal() to take token_verified into account
py
diff --git a/sklearn_porter/Estimator.py b/sklearn_porter/Estimator.py index <HASH>..<HASH> 100644 --- a/sklearn_porter/Estimator.py +++ b/sklearn_porter/Estimator.py @@ -2,7 +2,7 @@ import urllib.request from abc import ABCMeta -from json import loads +from json import loads, JSONDecodeError from multiprocessing ...
release/<I>: Add exception handling of `JSONDecodeError` in the result of the system call
py
diff --git a/test/test_lalsim.py b/test/test_lalsim.py index <HASH>..<HASH> 100644 --- a/test/test_lalsim.py +++ b/test/test_lalsim.py @@ -291,6 +291,19 @@ class TestLALSimulation(unittest.TestCase): self.assertAlmostEqual(max(sigmas), sigmas[0], places=7) self.assertTrue(sigmas[0] > sigmas[5]) + ...
adding swapping-constituents test to test_lalsim
py
diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py index <HASH>..<HASH> 100644 --- a/windpowerlib/wind_turbine.py +++ b/windpowerlib/wind_turbine.py @@ -163,12 +163,12 @@ class WindTurbine(object): data = np.delete(data, 0, 0) df = pd.DataFrame(data, columns=['v_wind', se...
Convert nominal power and p_values in fetch_turbine_data to watt
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -1061,7 +1061,10 @@ def fg_validator(passed_kwargs, merged_kwargs): _fg is invalid with nearly every other option, see warning and workaround here: https://amoffat.github.io/sh/sections/special_arguments.html#fg""" - if "fg" in...
_fg is invalid with *almost* every other kwarg...
py
diff --git a/expfactory/database/relational.py b/expfactory/database/relational.py index <HASH>..<HASH> 100644 --- a/expfactory/database/relational.py +++ b/expfactory/database/relational.py @@ -46,6 +46,7 @@ from expfactory.defaults import ( ) from glob import glob import os +import pickle import json import sys ...
modified: expfactory/database/relational.py
py
diff --git a/sos/plugins/process.py b/sos/plugins/process.py index <HASH>..<HASH> 100644 --- a/sos/plugins/process.py +++ b/sos/plugins/process.py @@ -39,7 +39,7 @@ class Process(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec("/proc/[0-9]*/smaps") self.add_cmd_output("ps a...
[process] Update pstree to display PIDs and not truncate By default pstree will truncate long lines, which can make it difficult to identify processes a support representative is chasing - this is especially true for container process names. First, don't truncate long lines anymore. Second, add PID numbers to the pst...
py
diff --git a/pyrtl/core.py b/pyrtl/core.py index <HASH>..<HASH> 100644 --- a/pyrtl/core.py +++ b/pyrtl/core.py @@ -56,7 +56,12 @@ class LogicNet(collections.namedtuple('LogicNet', ['op', 'op_param', 'args', 'de # very much not what people would expect to happen. Instead we define equality # as the im...
Reverted some LogicNet __eq__ code as hash collisions in large nets was causing bugs (the hashing was rather weak)
py
diff --git a/vyper/utils.py b/vyper/utils.py index <HASH>..<HASH> 100644 --- a/vyper/utils.py +++ b/vyper/utils.py @@ -155,12 +155,10 @@ RESERVED_KEYWORDS = { # control flow 'if', 'for', 'while', 'until', 'pass', 'def', # EVM operations - 'push', 'dup', 'swap', 'send', 'call', - 'selfdestruct', 'as...
refactor: Remove some reserved keywords fixes: #<I>
py
diff --git a/autofit/non_linear/abstract_search.py b/autofit/non_linear/abstract_search.py index <HASH>..<HASH> 100644 --- a/autofit/non_linear/abstract_search.py +++ b/autofit/non_linear/abstract_search.py @@ -298,6 +298,8 @@ class NonLinearSearch(AbstractFactorOptimiser, ABC): @property def logger(self)...
added fix for grid search parallel logger
py
diff --git a/yowsup/env/__init__.py b/yowsup/env/__init__.py index <HASH>..<HASH> 100644 --- a/yowsup/env/__init__.py +++ b/yowsup/env/__init__.py @@ -1,4 +1,4 @@ from .env_android import AndroidYowsupEnv from .env_s40 import S40YowsupEnv -CURRENT_ENV = S40YowsupEnv() +CURRENT_ENV = AndroidYowsupEnv()
S<I> env removed from default
py
diff --git a/binstar_client/__init__.py b/binstar_client/__init__.py index <HASH>..<HASH> 100644 --- a/binstar_client/__init__.py +++ b/binstar_client/__init__.py @@ -16,7 +16,7 @@ import logging log = logging.getLogger('binstar') -__version__ = '0.5.0' +__version__ = '0.5.1' # from poster.encode import multipa...
bumped version to <I>
py
diff --git a/sdk/core/azure-core/azure/core/pipeline/transport/base.py b/sdk/core/azure-core/azure/core/pipeline/transport/base.py index <HASH>..<HASH> 100644 --- a/sdk/core/azure-core/azure/core/pipeline/transport/base.py +++ b/sdk/core/azure-core/azure/core/pipeline/transport/base.py @@ -33,7 +33,7 @@ try: binar...
MyPyFix (#<I>)
py
diff --git a/bin/publish.py b/bin/publish.py index <HASH>..<HASH> 100755 --- a/bin/publish.py +++ b/bin/publish.py @@ -76,7 +76,7 @@ def which_(exe): def construct_publish_comands(additional_steps=None, nightly=False): '''Get the shell commands we'll use to actually build and publish a package to PyPI.''' pu...
publish fixes attempt 2 Test Plan: comment out the twine upload and git check and run publish Reviewers: max Reviewed By: max Differential Revision: <URL>
py
diff --git a/regions/core/mask.py b/regions/core/mask.py index <HASH>..<HASH> 100644 --- a/regions/core/mask.py +++ b/regions/core/mask.py @@ -241,12 +241,12 @@ class RegionMask: result : `~numpy.ndarray` A 1D array of mask-weighted pixel values from the input ``data``. If there is no...
Return an empty array for no aperture overlap
py
diff --git a/grequests.py b/grequests.py index <HASH>..<HASH> 100644 --- a/grequests.py +++ b/grequests.py @@ -117,10 +117,10 @@ def map(requests, stream=False, size=None, exception_handler=None): ret = [] for request in requests: - if request.response: - ret.append(request.response) - ...
fix cases where request.response would evaluate to false, and we'd erroneously enter the exception handling code
py
diff --git a/sark/code/base.py b/sark/code/base.py index <HASH>..<HASH> 100644 --- a/sark/code/base.py +++ b/sark/code/base.py @@ -25,6 +25,11 @@ DTYPE_TO_SIZE = { def dtype_to_size(dtyp): + if dtyp == idaapi.dt_tbyte: + # This can't be put in the dict as it depends on the current processor + # an...
Add support for getting the size of TBYTE - Closes #<I> - Uses `idaapi.ph_get_tbyte_size()` to get tbyte size.
py
diff --git a/spacy/training/pretrain.py b/spacy/training/pretrain.py index <HASH>..<HASH> 100644 --- a/spacy/training/pretrain.py +++ b/spacy/training/pretrain.py @@ -17,7 +17,7 @@ from ..ml.models.multi_task import build_cloze_multi_task_model from ..ml.models.multi_task import build_cloze_characters_multi_task_model...
fix resolving of dot notation (#<I>)
py
diff --git a/gpiozero/output_devices.py b/gpiozero/output_devices.py index <HASH>..<HASH> 100644 --- a/gpiozero/output_devices.py +++ b/gpiozero/output_devices.py @@ -4,7 +4,7 @@ # Copyright (c) 2015-2019 Ben Nuttall <ben@bennuttall.com> # Copyright (c) 2019 tuftii <pi@raspberrypi> # Copyright (c) 2019 tuftii <32150...
Remove emoji from contributor name
py
diff --git a/source/rafcon/gui/start.py b/source/rafcon/gui/start.py index <HASH>..<HASH> 100755 --- a/source/rafcon/gui/start.py +++ b/source/rafcon/gui/start.py @@ -381,6 +381,7 @@ def main(): logger.info(_("Waiting for the state machine execution to finish")) core_singletons.state_machine_execution...
fix(gui/start): delete all state machines after after joining active sm
py
diff --git a/versions/models.py b/versions/models.py index <HASH>..<HASH> 100644 --- a/versions/models.py +++ b/versions/models.py @@ -1001,7 +1001,7 @@ class Versionable(models.Model): """ if self.version_end_date is None: self.version_end_date = timestamp - self.save(using=us...
Forced update on latest version when an object gets deleted
py
diff --git a/client/deis.py b/client/deis.py index <HASH>..<HASH> 100755 --- a/client/deis.py +++ b/client/deis.py @@ -804,7 +804,9 @@ class DeisClient(object): if len(items) == 0: print('No configuration') return - for k, v in values.items(): + keys ...
Show the list of config variables sorted by name
py
diff --git a/visidata/loaders/tsv.py b/visidata/loaders/tsv.py index <HASH>..<HASH> 100644 --- a/visidata/loaders/tsv.py +++ b/visidata/loaders/tsv.py @@ -30,6 +30,7 @@ def open_tsv(p): # rowdef: namedlist class TsvSheet(Sheet): _rowtype = None + @asyncthread def reload(self): self.reload_sync...
[tsv] allow row to be added on TsvSheet
py
diff --git a/openpnm/phase/_species.py b/openpnm/phase/_species.py index <HASH>..<HASH> 100644 --- a/openpnm/phase/_species.py +++ b/openpnm/phase/_species.py @@ -68,6 +68,8 @@ class SpeciesByName(Species): temp['CAS'] = CAS a = chem.identifiers.search_chemical(CAS) temp['common_name'] = a.co...
adding a few more goodies to params
py
diff --git a/anndata/_core/merge.py b/anndata/_core/merge.py index <HASH>..<HASH> 100644 --- a/anndata/_core/merge.py +++ b/anndata/_core/merge.py @@ -6,7 +6,8 @@ from collections.abc import Mapping, MutableSet from functools import reduce, singledispatch from itertools import repeat from operator import and_, or_, ...
Fix documentation of argument types for anndata.concat Types were previously not showing up. This was due to sphinx_autodoc_typehints failing to process `Optional` and `collections.Mapping[str, AnnData]` as valid typehints (since they are not). However, instead of creating any warning or error, this just silently pass...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup(name='surrealism', long_description=long_desc, platforms=['Windows', 'Unix', 'OS X'], download_url="https://pypi.python.org/pypi/surrealism/", - keywords=["surreal", "surrealism",...
Trying to get __init__.py to import surrealism.py transparently. Travis_CI build <I>
py
diff --git a/src/passa/dependencies.py b/src/passa/dependencies.py index <HASH>..<HASH> 100644 --- a/src/passa/dependencies.py +++ b/src/passa/dependencies.py @@ -115,6 +115,15 @@ def _get_dependencies_from_json(ireq, sources): return dependencies +def _filter_sources(requirement, sources): + if not sources...
Filter sources based on the candidate's specification
py
diff --git a/salt/key.py b/salt/key.py index <HASH>..<HASH> 100644 --- a/salt/key.py +++ b/salt/key.py @@ -14,7 +14,7 @@ import fnmatch import hashlib import json import logging -from six.moves import input +from salt.utils.six.moves import input # Import salt libs import salt.crypt
Replaced module six in file /salt/key.py
py
diff --git a/pysonos/core.py b/pysonos/core.py index <HASH>..<HASH> 100755 --- a/pysonos/core.py +++ b/pysonos/core.py @@ -12,6 +12,7 @@ import re import socket from functools import wraps from xml.sax.saxutils import escape +import xml.etree.ElementTree import warnings import requests @@ -25,7 +26,8 @@ from .da...
Convert uncaught ParseError to SoCoException
py
diff --git a/odinweb/doc.py b/odinweb/doc.py index <HASH>..<HASH> 100644 --- a/odinweb/doc.py +++ b/odinweb/doc.py @@ -30,14 +30,15 @@ class OperationDoc(object): # type: (func) -> cls docs = getattr(func, '__docs', None) if docs is None: - docs = cls(func) + docs = cls(...
Fix bind so resource definition is preserved
py
diff --git a/bot/api/domain.py b/bot/api/domain.py index <HASH>..<HASH> 100644 --- a/bot/api/domain.py +++ b/bot/api/domain.py @@ -50,7 +50,7 @@ class ApiObjectList: class OutApiObject(ApiObject): LOCAL_PARAM_ERROR_CALLBACK = "__error_callback" """ - It must be assigned to a callable object that will be c...
Fix doc referencing TelegramBotApiException, changed to the new ApiException
py
diff --git a/tests/types/test_chat_member.py b/tests/types/test_chat_member.py index <HASH>..<HASH> 100644 --- a/tests/types/test_chat_member.py +++ b/tests/types/test_chat_member.py @@ -66,10 +66,8 @@ def test_chat_member_status_filters(): assert types.ChatMemberStatus.is_chat_member(types.ChatMemberStatus.CREATO...
Update test_chat_member.py
py
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py index <HASH>..<HASH> 100644 --- a/openquake/engine/engine.py +++ b/openquake/engine/engine.py @@ -424,7 +424,7 @@ def check_obsolete_version(calculation_mode='WebUI'): OQ_API) if data: msg += '\n' + data.decode('u...
Remove exc_info=True while logging the warning in check_obsolete_version
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -296,7 +296,7 @@ class API: chunk_size = kwargs.pop('chunk_size', DEFAULT_CHUNKSIZE) chunk_size = max(min(chunk_size, MAX_CHUNKSIZE), MIN_CHUNKSIZE) - segments = int(file_size / c...
Optimize determination of number of segments in API.chunked_upload
py
diff --git a/numina/user.py b/numina/user.py index <HASH>..<HASH> 100644 --- a/numina/user.py +++ b/numina/user.py @@ -66,10 +66,8 @@ _loggconf = {'version': 1, 'level': 'INFO' }, }, - # FIXME: har...
Recipe loggers should log to numina.recipes.*
py
diff --git a/leancloud/object_.py b/leancloud/object_.py index <HASH>..<HASH> 100644 --- a/leancloud/object_.py +++ b/leancloud/object_.py @@ -342,7 +342,7 @@ class Object(six.with_metaclass(ObjectMeta, object)): raise TypeError('acl must be a ACL') return True - def get(self, attr, deafult=N...
fix: typo in get para: deafult -> default This commit maintains compatibility with existing code using the mistyped `deafult` parameter. close #<I>
py
diff --git a/solution/fields/image.py b/solution/fields/image.py index <HASH>..<HASH> 100644 --- a/solution/fields/image.py +++ b/solution/fields/image.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from math import floor, ceil from wand.image import Image -from .file import File +from solution.fields import File c...
Add ImageField Like FileField except it resizes the image if needed.
py
diff --git a/django_tablib/base.py b/django_tablib/base.py index <HASH>..<HASH> 100644 --- a/django_tablib/base.py +++ b/django_tablib/base.py @@ -24,7 +24,7 @@ class BaseDataset(tablib.Dataset): if t is str: return value elif t in [datetime.date, datetime.datetime]: - return d...
Avoid UnicodeDecodeErrors caused by mixing UTF-8 text and Unicode strings
py
diff --git a/Scout2.py b/Scout2.py index <HASH>..<HASH> 100755 --- a/Scout2.py +++ b/Scout2.py @@ -37,7 +37,7 @@ def main(args): # Fetch credentials if args.fetch_creds_from_csv: key_id, secret, mfa_serial = fetch_creds_from_csv(args.fetch_creds_from_csv[0]) - else: + elif not args.fetch_local:...
Fix: don't fetch credentials for local run
py
diff --git a/web3/types.py b/web3/types.py index <HASH>..<HASH> 100644 --- a/web3/types.py +++ b/web3/types.py @@ -161,7 +161,7 @@ TxData = TypedDict("TxData", { "gasPrice": Wei, "hash": HexBytes, "input": HexStr, - "nonce": int, + "nonce": Nonce, "r": HexBytes, "s": HexBytes, "to": ...
Some fixes to type definitions (#<I>)
py
diff --git a/plexapi/client.py b/plexapi/client.py index <HASH>..<HASH> 100644 --- a/plexapi/client.py +++ b/plexapi/client.py @@ -511,7 +511,9 @@ class PlexClient(PlexObject): playqueue = media if isinstance(media, PlayQueue) else self._server.createPlayQueue(media) self.sendCommand('playback/playM...
Fix PMS timeline reporting on clients when using playMedia (#<I>)
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -39,7 +39,7 @@ distutils.core.setup(name='phonenumbers', author_email='dmd@lurklurk.org', url='https://github.com/daviddrysdale/python-phonenumbers', ...
Need to install phonenumbers.geodata too.
py
diff --git a/contrib/convert.py b/contrib/convert.py index <HASH>..<HASH> 100755 --- a/contrib/convert.py +++ b/contrib/convert.py @@ -26,6 +26,8 @@ import glob import os import shutil +import sh + from molecule import logger from molecule import migrate from molecule import util @@ -51,17 +53,15 @@ molecule_dir...
Create a new scenario prior to migrate Must create a new vagrant scenario prior to migrating. This creates the necessary instance management files. Fixes: #<I>
py
diff --git a/differentiate/differentiate.py b/differentiate/differentiate.py index <HASH>..<HASH> 100644 --- a/differentiate/differentiate.py +++ b/differentiate/differentiate.py @@ -58,7 +58,7 @@ def main(): # construct the argument parse and parse the arguments ap = ArgumentParser(usage=usage, description...
Removed need to call --file before entering file paths from command line
py
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index <HASH>..<HASH> 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = '3.6.1b3' +__version__ = '3.6.1b4' from typing import Tuple # noqa
Bump to <I>b4
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( include_package_data=True, author='Roman Miroshnychenko (fork author)', author_email='romanvm@yandex.ua', - description='A Django application that provides' + description='A Django ap...
Fixes description in setup.py
py
diff --git a/src/ofxstatement/plugins/maxibps.py b/src/ofxstatement/plugins/maxibps.py index <HASH>..<HASH> 100644 --- a/src/ofxstatement/plugins/maxibps.py +++ b/src/ofxstatement/plugins/maxibps.py @@ -1,5 +1,4 @@ """Parser for the statement of Poštovní spořitelna""" - from ofxstatement.parser import StatementParser...
Add a fake date of the first and last transaction.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,8 @@ setup(name='poppy-inverse-kinematics', package_dir={'': 'src'}, package_data={'poppy_inverse_kinematics.resources': ['*']}, setup_requires=['numpy'], - install_requires=['numpy', 'scipy...
Remove matplotlib from deps
py
diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index <HASH>..<HASH> 100755 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -583,11 +583,11 @@ def main(*args): del dirs[:] continue for file_ in files: + ...
Check filename early The check works on the relative file name, so move the check before calling join() to build the complete path name.
py
diff --git a/src/werkzeug/debug/console.py b/src/werkzeug/debug/console.py index <HASH>..<HASH> 100644 --- a/src/werkzeug/debug/console.py +++ b/src/werkzeug/debug/console.py @@ -154,7 +154,7 @@ class _InteractiveConsole(code.InteractiveInterpreter): self.buffer = [] _wrap_compiler(self) - def ru...
fix signature of subclassed InteractiveInterpreter.runsource
py