diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/test_rpool.py b/tests/test_rpool.py index <HASH>..<HASH> 100644 --- a/tests/test_rpool.py +++ b/tests/test_rpool.py @@ -108,9 +108,20 @@ def return_instance(cls): def start_job(func, args): pool = get_reusable_pool(processes=2) - pool.apply(func, args) - pool.terminate() - pool.join(...
TST ensure that callback pool end cleanly
py
diff --git a/DocumentController.py b/DocumentController.py index <HASH>..<HASH> 100644 --- a/DocumentController.py +++ b/DocumentController.py @@ -1,4 +1,5 @@ # standard libraries +import functools import gettext import logging import os.path @@ -854,9 +855,9 @@ class DocumentController(Observable.Broadcaster): ...
Fix problem where multiple dependent data items were not shown in context menu. svn r<I>
py
diff --git a/planet/cli/cli.py b/planet/cli/cli.py index <HASH>..<HASH> 100644 --- a/planet/cli/cli.py +++ b/planet/cli/cli.py @@ -36,11 +36,8 @@ LOGGER = logging.getLogger(__name__) default=False, help='Disable ANSI control output.') @click.version_option(version=planet.__version__) -def...
Resolving merge conflicts - last time lol
py
diff --git a/src/flapjack/fields.py b/src/flapjack/fields.py index <HASH>..<HASH> 100644 --- a/src/flapjack/fields.py +++ b/src/flapjack/fields.py @@ -24,10 +24,17 @@ class Field(object): self.default = kwargs.get('default') #! Whether this fields is bound to a model or not. - self.model = kw...
Added a few small things to the fields.
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100755 --- a/test.py +++ b/test.py @@ -2082,7 +2082,7 @@ class GaviotaTestCase(unittest.TestCase): def setUp(self): try: self.tablebases = chess.gaviota.open_tablebases("data/gaviota") - except OSError: + except (OSError, Runti...
Also skip Gaviota on runtime errors
py
diff --git a/AdvancedHTTPServer.py b/AdvancedHTTPServer.py index <HASH>..<HASH> 100644 --- a/AdvancedHTTPServer.py +++ b/AdvancedHTTPServer.py @@ -153,11 +153,16 @@ except ImportError: else: def _msgpack_default(obj): if isinstance(obj, datetime.datetime): - return msgpack.ExtType(10, obj.isoformat()) + obj =...
Encode and decode msgpack datetime instances
py
diff --git a/src/redisboard/models.py b/src/redisboard/models.py index <HASH>..<HASH> 100644 --- a/src/redisboard/models.py +++ b/src/redisboard/models.py @@ -13,10 +13,9 @@ from .utils import cached_property REDISBOARD_DETAIL_FILTERS = [re.compile(name) for name in getattr(settings, 'REDISBOARD_DETAIL_FILTERS', ( ...
Remove redundant 'db1' filter.
py
diff --git a/atlassian/bitbucket.py b/atlassian/bitbucket.py index <HASH>..<HASH> 100644 --- a/atlassian/bitbucket.py +++ b/atlassian/bitbucket.py @@ -137,7 +137,7 @@ class Bitbucket(AtlassianRestAPI): :param order_by: OPTIONAL: ordering of refs either ALPHABETICAL (by name) or MODIFICATION (last updated) ...
Bitbucket: Refactoring to one style
py
diff --git a/tests/test_generate_file.py b/tests/test_generate_file.py index <HASH>..<HASH> 100644 --- a/tests/test_generate_file.py +++ b/tests/test_generate_file.py @@ -56,7 +56,7 @@ def test_generate_file(env): @pytest.mark.usefixtures('remove_cheese_file') def test_generate_file_with_false_condition(env): - ...
Replaced double quotes with single quotes for windows capability
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,11 +7,11 @@ except ImportError: from distutils.core import setup import sys -Version = "0.1.0" +Version = "0.1.1" if float("%d.%d" % sys.version_info[:2]) < 2.5: sys.stderr.write("Your Python version %d.%d.%...
Clean up setup.py and release <I>
py
diff --git a/osbs/http.py b/osbs/http.py index <HASH>..<HASH> 100644 --- a/osbs/http.py +++ b/osbs/http.py @@ -194,7 +194,7 @@ class PycurlAdapter(object): elif method == 'put': # self.c.setopt(pycurl.PUT, 1) self.c.setopt(pycurl.CUSTOMREQUEST, "PUT") - # headers["Expect"] ...
http: send everything right away with PUT
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ if os.name == 'nt': import py2exe setup(name='marionette-tg', - console=['bin/marionette_client','bin/marionette_server', 'bin/httpserver', 'bin/socksserver'], + console=['bin/marionette_client',...
Issue #<I>: build only marionette_(client|server)
py
diff --git a/zipline/gens/utils.py b/zipline/gens/utils.py index <HASH>..<HASH> 100644 --- a/zipline/gens/utils.py +++ b/zipline/gens/utils.py @@ -52,7 +52,6 @@ def assert_trade_protocol(event): assert_datasource_protocol(event) assert event.type == DATASOURCE_TYPE.TRADE - assert isinstance(event.sid, in...
BUG: security is no longer an int.
py
diff --git a/cyphi/network.py b/cyphi/network.py index <HASH>..<HASH> 100644 --- a/cyphi/network.py +++ b/cyphi/network.py @@ -86,8 +86,7 @@ class Network: self.past_state = past_state # Make the TPM and connectivity matrix immutable (for hashing). self.tpm.flags.writeable = False - if...
Don't check for null cm in Network init once default cm is set
py
diff --git a/proto/src/Network.py b/proto/src/Network.py index <HASH>..<HASH> 100644 --- a/proto/src/Network.py +++ b/proto/src/Network.py @@ -122,10 +122,11 @@ class _Client(_WithTimeouts): raise Exception("You must specify host or port") def connect_to(self, server_ip, server_port): - if no...
raise exception if trying to connect already connected client
py
diff --git a/examples/app.py b/examples/app.py index <HASH>..<HASH> 100644 --- a/examples/app.py +++ b/examples/app.py @@ -45,8 +45,8 @@ Create the database and add a user: $ mkdir instance $ flask -a app.py db init $ flask -a app.py db create - $ flask -a app.py users create -e info@invenio-software.org ...
global: update of example documentation * Updates documentation of accounts cli usage. (addresses inveniosoftware/invenio-accounts#<I>)
py
diff --git a/cloudvolume/cloudvolume.py b/cloudvolume/cloudvolume.py index <HASH>..<HASH> 100644 --- a/cloudvolume/cloudvolume.py +++ b/cloudvolume/cloudvolume.py @@ -761,7 +761,7 @@ class CloudVolume(object): def _fetch_data(self, cloudpaths): if not self.cache: - with Storage(self.layer_cloudpath) as s...
Fix Double Upload (#<I>) * fix: download progress wasn't available when cache=False * fix: images were being uploaded twice * test: Rotated AWS key
py
diff --git a/reana_db/models.py b/reana_db/models.py index <HASH>..<HASH> 100644 --- a/reana_db/models.py +++ b/reana_db/models.py @@ -501,6 +501,7 @@ class Workflow(Base, Timestamp, QuotaBase): workspace_path=None, restart=False, run_number=None, + launcher_url=None, ): ...
models: add missing `launcher_url` on constructor addresses reanahub/reana-ui#<I>
py
diff --git a/download_from_Wikimedia_Commons.py b/download_from_Wikimedia_Commons.py index <HASH>..<HASH> 100644 --- a/download_from_Wikimedia_Commons.py +++ b/download_from_Wikimedia_Commons.py @@ -57,18 +57,16 @@ def main(): type=int, default=100, ...
Change verbosity handling in script We want to have several logging levels, for debugging purposes. Change option '-v' to ArgumentParser from 'boolean' to 'count', to increase the verbosity level. Use a dictionary to map these values to logging levels.
py
diff --git a/tests/salt-tcpdump.py b/tests/salt-tcpdump.py index <HASH>..<HASH> 100644 --- a/tests/salt-tcpdump.py +++ b/tests/salt-tcpdump.py @@ -122,7 +122,7 @@ class PCAPParser(object): 'tcp': {} } - (header, packet) = next(cap) + (header...
Fix broken salt-tcpdump
py
diff --git a/mayalauncher.py b/mayalauncher.py index <HASH>..<HASH> 100755 --- a/mayalauncher.py +++ b/mayalauncher.py @@ -22,9 +22,6 @@ import collections from pathlib2 import Path -__version__ = '0.1.9' - - logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) @@ -479,8 +476,11 @@ def l...
Added first version of maya restarter.
py
diff --git a/wsgiservice/resource.py b/wsgiservice/resource.py index <HASH>..<HASH> 100644 --- a/wsgiservice/resource.py +++ b/wsgiservice/resource.py @@ -244,6 +244,9 @@ class Resource(object): _validations dictionary of either the method or the instance. This dictionaries are written by the decorato...
Identify some missing TODO items.
py
diff --git a/pmagpy/pmag.py b/pmagpy/pmag.py index <HASH>..<HASH> 100755 --- a/pmagpy/pmag.py +++ b/pmagpy/pmag.py @@ -1222,17 +1222,19 @@ def grade(PmagRec, ACCEPT, type, data_model=2.5): def flip(di_block, combine=False): """ - Determines 'normal' direction along the principle eigenvector, then flips the a...
clarify docstring for pmag.flip
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -1523,11 +1523,15 @@ class JIRA(object): def _try_magic(self): try: import magic + import weakref except ImportError: self._magic = None ...
Fix warning for implicit close of libmagic Libmagic generates a warning if a magic object is not explicitly closed at the point the object is garbage collected. This ensures that the object is closed by using a weak reference against the encapsulating object.
py
diff --git a/generator/sbpg/targets/templating.py b/generator/sbpg/targets/templating.py index <HASH>..<HASH> 100755 --- a/generator/sbpg/targets/templating.py +++ b/generator/sbpg/targets/templating.py @@ -72,8 +72,8 @@ def indented_wordwrap( environment, value, width=width, - ...
templating.py: Re-order do_wordwrap params sonarcloud is marking these keyword params as an error. Possibly it is wanting the order of the args to match the declared params for the function.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,7 @@ import os import sys +from datetime import datetime sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) @@ -44,7 +45,7 @@ master_doc = "index" # General...
Make copyright in docs footer the current year (#<I>)
py
diff --git a/adapt/tools/debug/__init__.py b/adapt/tools/debug/__init__.py index <HASH>..<HASH> 100644 --- a/adapt/tools/debug/__init__.py +++ b/adapt/tools/debug/__init__.py @@ -21,7 +21,8 @@ SAFE_CLASSES = [ class RestrictedUnpickler(pickle.Unpickler): def find_class(self, module, name): if (module, na...
Fix python2 issues
py
diff --git a/dipper/sources/ZFIN.py b/dipper/sources/ZFIN.py index <HASH>..<HASH> 100644 --- a/dipper/sources/ZFIN.py +++ b/dipper/sources/ZFIN.py @@ -1406,7 +1406,10 @@ class ZFIN(Source): enviro_label = '' #print(enviro_label) - + if environment_id no...
ZFIN.py: Added environment label to environment.
py
diff --git a/src/__init__.py b/src/__init__.py index <HASH>..<HASH> 100755 --- a/src/__init__.py +++ b/src/__init__.py @@ -19,7 +19,6 @@ import time try: from _posix import _uptime_posix except ImportError: - raise _uptime_posix = lambda: None def _uptime_linux():
Left a debug thing in by mistake.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def read(*paths): setup( name='python-zillow', - version='0.1', + version='0.1.1', author='The Python-Zillow Developers', author_email='python-zillow@googlegroups.com', license='Apac...
removing the long description and adding a minor version
py
diff --git a/packages/vaex-core/vaex/core/_version.py b/packages/vaex-core/vaex/core/_version.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/core/_version.py +++ b/packages/vaex-core/vaex/core/_version.py @@ -1,2 +1,2 @@ -__version_tuple__ = (0, 7, 3) -__version__ = '0.7.3' +__version_tuple__ = (0, 8, 0) ...
Release <I> of vaex-core
py
diff --git a/mythril/support/loader.py b/mythril/support/loader.py index <HASH>..<HASH> 100644 --- a/mythril/support/loader.py +++ b/mythril/support/loader.py @@ -48,7 +48,7 @@ class DynLoader: :param address: :return: """ - if not self.storage_loading: + if not self.active: ...
Fix remaining usage of storage_loading
py
diff --git a/umodbus/__init__.py b/umodbus/__init__.py index <HASH>..<HASH> 100644 --- a/umodbus/__init__.py +++ b/umodbus/__init__.py @@ -1,14 +1,4 @@ -from logging import getLogger - -try: - from logging import NullHandler -# For Python 2.7 compatibility. -except ImportError: - from logging import Handler - - ...
Remove another piece of unreachable code.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with (here / "README.md").open(encoding="utf-8") as f: setup( name="pythonanywhere", - version="0.9.9", + version="0.9.10", description="PythonAnywhere helper tools for users", long_descrip...
bumps up version to <I>
py
diff --git a/graphistry/plotter.py b/graphistry/plotter.py index <HASH>..<HASH> 100644 --- a/graphistry/plotter.py +++ b/graphistry/plotter.py @@ -490,7 +490,7 @@ class Plotter(object): if (continuous_binning is None) and (categorical_mapping is None): raise ValueError("Badge encodings require one...
fix(badges): include position in name
py
diff --git a/foolbox/ext/native/models/pytorch.py b/foolbox/ext/native/models/pytorch.py index <HASH>..<HASH> 100644 --- a/foolbox/ext/native/models/pytorch.py +++ b/foolbox/ext/native/models/pytorch.py @@ -29,3 +29,4 @@ class PyTorchModel(ModelWithPreprocessing): dummy = ep.torch.zeros(0, device=device) ...
readded device attribute to PyTorchModel
py
diff --git a/gpcharts.py b/gpcharts.py index <HASH>..<HASH> 100644 --- a/gpcharts.py +++ b/gpcharts.py @@ -300,7 +300,7 @@ class figure: #insert trend line, if flag is set if trendline: - trendLineStr = 'trendlines: { 0: {} }' + trendLineStr = 'trendlines: { 0: {showR2: true, visibleInLe...
Adding legend visibility and R value for trendline
py
diff --git a/benchmarks/bench.py b/benchmarks/bench.py index <HASH>..<HASH> 100644 --- a/benchmarks/bench.py +++ b/benchmarks/bench.py @@ -123,10 +123,10 @@ def main(args): else: if args.use_green_threads: - subprocess_args = ["dramatiq", "bench", "-p", "8"] + subpr...
fix: handle --use-green-threads properly in bench
py
diff --git a/pysex/s_memory.py b/pysex/s_memory.py index <HASH>..<HASH> 100644 --- a/pysex/s_memory.py +++ b/pysex/s_memory.py @@ -121,8 +121,11 @@ class Memory: def __write_to(self, addr, cnt, w_type=7): if self.is_writable(addr): for off in range(0, cnt.size(), 8): -...
fixed memory copying to be a deeper copy so that copies of memory don't interfere with each other
py
diff --git a/appinst/platforms/win32_common.py b/appinst/platforms/win32_common.py index <HASH>..<HASH> 100644 --- a/appinst/platforms/win32_common.py +++ b/appinst/platforms/win32_common.py @@ -279,16 +279,23 @@ def get_current_user_programs_start_menu(): platform.version()) -def remove_from_reg_path(...
Reimplemented the install_mode parameter into the remove_from_reg_path function. This function no longer uses the _get_install_type() method in AppInst. I think this was reverted on accident recently.
py
diff --git a/scapy/arch/common.py b/scapy/arch/common.py index <HASH>..<HASH> 100644 --- a/scapy/arch/common.py +++ b/scapy/arch/common.py @@ -42,7 +42,9 @@ def _check_tcpdump(): return False # On some systems, --version does not exist on tcpdump - return proc.returncode == 0 or output.startswith(b'U...
fix bug for issue #<I>, that is with new posts today. (#<I>) Improve the method to recognize tcpdump existence, covering more output cases in which tcpdump does not support '--version' option Issue link: <URL>
py
diff --git a/mallory/request_handler.py b/mallory/request_handler.py index <HASH>..<HASH> 100644 --- a/mallory/request_handler.py +++ b/mallory/request_handler.py @@ -25,7 +25,7 @@ class RequestHandler(tornado.web.RequestHandler): request = self._build_request() - http_client = tornado.httpc...
always create a new instance of AsyncHTTPClient when proxying requests
py
diff --git a/tests/test_apps/csvbenchmark/csvbenchmark.py b/tests/test_apps/csvbenchmark/csvbenchmark.py index <HASH>..<HASH> 100644 --- a/tests/test_apps/csvbenchmark/csvbenchmark.py +++ b/tests/test_apps/csvbenchmark/csvbenchmark.py @@ -179,7 +179,7 @@ def run_csvloader(schema, data_file): print '[cs...
ENG-<I>. Make csv benchmark test read new status string.
py
diff --git a/tests/test_modeling_flax_common.py b/tests/test_modeling_flax_common.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_flax_common.py +++ b/tests/test_modeling_flax_common.py @@ -247,9 +247,6 @@ class FlaxModelTesterMixin: config, inputs_dict = self.model_tester.prepare_config_and_inputs_fo...
[Flax] Fix flax test save pretrained (#<I>) * fix_torch_device_generate_test * remove @ * fix flax save pretrained test
py
diff --git a/pysyncobj/node.py b/pysyncobj/node.py index <HASH>..<HASH> 100644 --- a/pysyncobj/node.py +++ b/pysyncobj/node.py @@ -76,7 +76,9 @@ class Node(object): POLL_EVENT_TYPE.READ | POLL_EVENT_TYPE.WRITE | POLL_EVENT_TYPE.ERROR) def __processConnection(self, descr, eventType): - assert descr == self...
Unsubscribe old connections, fixed #1
py
diff --git a/examples/synthesis_json.py b/examples/synthesis_json.py index <HASH>..<HASH> 100755 --- a/examples/synthesis_json.py +++ b/examples/synthesis_json.py @@ -96,10 +96,8 @@ def transform_package(mtype, files, components, feature_list): fmin, fmax) # When t...
Fix pylint error and simplify code
py
diff --git a/rebulk/processors.py b/rebulk/processors.py index <HASH>..<HASH> 100644 --- a/rebulk/processors.py +++ b/rebulk/processors.py @@ -17,7 +17,7 @@ def conflict_prefer_longer(matches): :rtype: list[rebulk.match.Match] """ to_remove_matches = set() - for match in matches: + for match in fil...
Exclude private matches from conflict_prefer_longer post processor
py
diff --git a/conference_scheduler/scheduler.py b/conference_scheduler/scheduler.py index <HASH>..<HASH> 100644 --- a/conference_scheduler/scheduler.py +++ b/conference_scheduler/scheduler.py @@ -124,10 +124,12 @@ def array(events, slots, constraints=None, objective_function=None): [0, 0, 0, 0, 1, 0, 0...
[#<I>] Add function to convert solution to array form
py
diff --git a/spyderlib/utils/introspection/jedi_plugin.py b/spyderlib/utils/introspection/jedi_plugin.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/jedi_plugin.py +++ b/spyderlib/utils/introspection/jedi_plugin.py @@ -57,7 +57,7 @@ class JediPlugin(IntrospectionPlugin): """Return a list of...
Editor: Make stable branch compatible with Jedi <I>
py
diff --git a/coconut/parser.py b/coconut/parser.py index <HASH>..<HASH> 100644 --- a/coconut/parser.py +++ b/coconut/parser.py @@ -70,7 +70,7 @@ class __coconut__(object): import collections data = staticmethod(collections.namedtuple) @staticmethod - def isiterable(obj): + def iterable(obj): ...
Changes isiterable to iterable
py
diff --git a/resolwe/storage/connectors/transfer.py b/resolwe/storage/connectors/transfer.py index <HASH>..<HASH> 100644 --- a/resolwe/storage/connectors/transfer.py +++ b/resolwe/storage/connectors/transfer.py @@ -50,14 +50,23 @@ transfer_exceptions = tuple( @wrapt.decorator def retry_on_transfer_error(wrapped, inst...
Log exception details in retry_on_transfer_error decorator
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from distutils.core import setup LONG_DESCRIPTION = open('README.md', 'r').read() setup(name='captricity-python-client', - version='0.1', + version='0.11', description='Python client to ...
Increment version number so pip will install the newest version
py
diff --git a/tests/gui/test_state_resize.py b/tests/gui/test_state_resize.py index <HASH>..<HASH> 100644 --- a/tests/gui/test_state_resize.py +++ b/tests/gui/test_state_resize.py @@ -135,7 +135,17 @@ def print_state_sizes(state_m, canvas, state_names=None): (state_path_PC, True, (10, 10)) ]) def test_simple_stat...
test(state_resize): set default window layout for GUI if the gaphas widget becomes too small during the tests, the resize operations will fail
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,14 +14,13 @@ setup( url='https://github.com/asweigart/pybresenham', author='Al Sweigart', author_email='al@inventwithpython.com', - description=('A cross-platform module for GUI automation for human being...
Correcting info in the setup.py file.
py
diff --git a/mailparser/version.py b/mailparser/version.py index <HASH>..<HASH> 100644 --- a/mailparser/version.py +++ b/mailparser/version.py @@ -17,7 +17,7 @@ See the License for the specific language governing permissions and limitations under the License. """ -__version__ = "3.7.0" +__version__ = "3.7.1" if ...
Updated version <I> to fix version in hotfix <I>
py
diff --git a/tmuxp/workspacebuilder.py b/tmuxp/workspacebuilder.py index <HASH>..<HASH> 100644 --- a/tmuxp/workspacebuilder.py +++ b/tmuxp/workspacebuilder.py @@ -195,6 +195,9 @@ class WorkspaceBuilder(object): for w, wconf in self.iter_create_windows(session): assert isinstance(w, Window) + ...
added the logic for the method after re-reading Tony's issue statement with stubbed solution
py
diff --git a/tohu/v5/namespace.py b/tohu/v5/namespace.py index <HASH>..<HASH> 100644 --- a/tohu/v5/namespace.py +++ b/tohu/v5/namespace.py @@ -22,7 +22,7 @@ class Namespace: def __getitem__(self, key): return self.generators[key] - def add_generator(self, g, name): + def add_generator(self, g, nam...
Allow adding a generator including its dependencies to a namespace
py
diff --git a/catsql/main.py b/catsql/main.py index <HASH>..<HASH> 100755 --- a/catsql/main.py +++ b/catsql/main.py @@ -4,6 +4,7 @@ from __future__ import print_function import argparse from collections import OrderedDict +import errno from io import StringIO, BytesIO import json import os @@ -279,4 +280,11 @@ de...
broken pipe is more benign than unicodecsv thinks
py
diff --git a/script/create-dist.py b/script/create-dist.py index <HASH>..<HASH> 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -59,6 +59,8 @@ HEADERS_DIRS = [ 'deps/http_parser', 'deps/zlib', 'deps/uv', + 'deps/npm', + 'deps/mdb_v8', ] HEADERS_FILES = [ 'common.gypi',
Add deps/npm and deps/mdb_v8 in node headers.
py
diff --git a/setuptools/dist.py b/setuptools/dist.py index <HASH>..<HASH> 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -30,7 +30,7 @@ __import__('pkg_resources.extern.packaging.specifiers') __import__('pkg_resources.extern.packaging.version') -skip_install_eggs = False +_skip_install_eggs = False ...
dist: rename skip install eggs to be private.
py
diff --git a/pypot/_version.py b/pypot/_version.py index <HASH>..<HASH> 100644 --- a/pypot/_version.py +++ b/pypot/_version.py @@ -1 +1 @@ -__version__ = '2.11.0rc3' +__version__ = '2.11.0-rc.3'
Update _version.py Try to fix Pypi
py
diff --git a/run_comparison.py b/run_comparison.py index <HASH>..<HASH> 100755 --- a/run_comparison.py +++ b/run_comparison.py @@ -214,6 +214,10 @@ def print_stats(stats): failures = len(stats.failure_wait_times) total_count = successes + cancellations + failures + if total_count == 0: + print("Un...
Have the comparison script handle app failure gracefully
py
diff --git a/h2o-py/tests/pyunit_utils/utilsPY.py b/h2o-py/tests/pyunit_utils/utilsPY.py index <HASH>..<HASH> 100644 --- a/h2o-py/tests/pyunit_utils/utilsPY.py +++ b/h2o-py/tests/pyunit_utils/utilsPY.py @@ -40,7 +40,11 @@ except: from io import StringIO # py3 # 3rd parties -import matplotlib +try: + imp...
Make matplot optional test dependency - only few tests actually use Having matplotlib optional makes playing with different dependency versions easier.
py
diff --git a/openpnm/algorithms/ReactiveTransport.py b/openpnm/algorithms/ReactiveTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ReactiveTransport.py +++ b/openpnm/algorithms/ReactiveTransport.py @@ -330,5 +330,7 @@ class ReactiveTransport(GenericTransport): logger.info('Solution con...
reactiveTransport handling "inf" and "nan" residuals
py
diff --git a/bedup/tracking.py b/bedup/tracking.py index <HASH>..<HASH> 100644 --- a/bedup/tracking.py +++ b/bedup/tracking.py @@ -401,7 +401,7 @@ def open_by_inode(inode, sess, query): try: rfile = fopenat(inode.vol.live.fd, pathb) except IOError as e: - if e.errno != errno.ENOENT: + i...
Handle races where a regular file inode is replaced by a directory. Addresses #<I>.
py
diff --git a/tests/misc/test_mqtt.py b/tests/misc/test_mqtt.py index <HASH>..<HASH> 100644 --- a/tests/misc/test_mqtt.py +++ b/tests/misc/test_mqtt.py @@ -39,8 +39,12 @@ def _disconnect_client(client): :param client: MQTT Client """ + # Close the socket getattr(client, '_MqttClient__mqtt')._sock.clo...
Try to force an error on Linux when disconnecting Paho client
py
diff --git a/tests/util.py b/tests/util.py index <HASH>..<HASH> 100644 --- a/tests/util.py +++ b/tests/util.py @@ -41,5 +41,5 @@ def assert_js(webview, func_name, result, uid='master'): webview.evaluate_js(js_code.format(func_name)) time.sleep(2.0) - res = webview.evaluate_js('window.pywebviewResult') + ...
Add uid to assert_js
py
diff --git a/shinken/satellitelink.py b/shinken/satellitelink.py index <HASH>..<HASH> 100644 --- a/shinken/satellitelink.py +++ b/shinken/satellitelink.py @@ -70,7 +70,7 @@ class SatelliteLink(Item): def create_connexion(self): self.uri = shinken.pyro_wrapper.create_uri(self.address, self.port, "ForArbite...
Fix: (Grégory Starck) Hard coded timeout in satellite links
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,11 @@ from setuptools import setup, find_packages from performanceplatform import collector +# multiprocessing and logging don't get on with each other in Python +# vesions < 2.7.4. The following unused import is ...
Workaround to stop problem running setup.py test multiprocessing and logging don't get on with each other in Python vesion <I> (but is fixed in <I>). Importing multiprocessing in setup.py is a workaround mentioned in a couple of places online. See: <URL>
py
diff --git a/src/zsl/db/helpers/pagination.py b/src/zsl/db/helpers/pagination.py index <HASH>..<HASH> 100644 --- a/src/zsl/db/helpers/pagination.py +++ b/src/zsl/db/helpers/pagination.py @@ -96,8 +96,8 @@ class PaginationRequest(AppModel): class PaginationResponse(AppModel): - def __init__(self, record_count: i...
Fix compilation problem for Py<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup(name='pyang', url='http://code.google.com/p/pyang', scripts=['bin/pyang', 'bin/yang2html', 'bin/yang2dsdl'], packages=['pyang', 'pyang.plugins', 'pyang.translators'], - data_files...
Fixes installation bug in setup.py
py
diff --git a/trustar/indicator_client.py b/trustar/indicator_client.py index <HASH>..<HASH> 100644 --- a/trustar/indicator_client.py +++ b/trustar/indicator_client.py @@ -657,5 +657,3 @@ class IndicatorClient(object): with open(filename, 'wb') as f: for chunk in r.iter_content(chunk_size=8...
PL-<I> Removed unneeded return
py
diff --git a/datatableview/tests/test_datatables.py b/datatableview/tests/test_datatables.py index <HASH>..<HASH> 100644 --- a/datatableview/tests/test_datatables.py +++ b/datatableview/tests/test_datatables.py @@ -15,7 +15,7 @@ class DatatableTests(DatatableViewTestCase): self.assertEqual(dt.config['hidden_co...
Update test to match new search terms format
py
diff --git a/werkzeug/serving.py b/werkzeug/serving.py index <HASH>..<HASH> 100644 --- a/werkzeug/serving.py +++ b/werkzeug/serving.py @@ -433,7 +433,7 @@ def restart_with_reloader(): # environment and subprocess.call does not like this, encode them # to latin1 and continue. if os.name == 'nt...
Fixed a windows bug in the server.
py
diff --git a/ldapdb/models/fields.py b/ldapdb/models/fields.py index <HASH>..<HASH> 100644 --- a/ldapdb/models/fields.py +++ b/ldapdb/models/fields.py @@ -347,6 +347,7 @@ class DateTimeField(LdapFieldMixin, fields.DateTimeField): DateTimeField.register_lookup(ExactLookup) DateTimeField.register_lookup(LteLookup) Dat...
Register __in lookup for date fields.
py
diff --git a/simplekv/net/boto3store.py b/simplekv/net/boto3store.py index <HASH>..<HASH> 100644 --- a/simplekv/net/boto3store.py +++ b/simplekv/net/boto3store.py @@ -80,6 +80,12 @@ class Boto3SimpleKeyFile(io.RawIOBase): class Boto3Store(KeyValueStore, CopyMixin): def __init__(self, bucket, prefix=''): + ...
Fix copying objects and allow initializing from an s3 bucket name
py
diff --git a/tools/fbx2gltf.py b/tools/fbx2gltf.py index <HASH>..<HASH> 100644 --- a/tools/fbx2gltf.py +++ b/tools/fbx2gltf.py @@ -6,7 +6,7 @@ # TODO: texture flipY? # http://github.com/pissang/ # ############################################ -import sys, struct, json, os.path, math, argparse +import sys, struct, jso...
Import shutil to enable copying of texture files
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ setup(name='django-constant-contact', url='https://github.com/aashe/django-constant-contact', long_description=read("README.md"), packages=[ - 'django-constant-contact', - 'django-co...
Fixed package names in setup.py.
py
diff --git a/matrix_client/room.py b/matrix_client/room.py index <HASH>..<HASH> 100644 --- a/matrix_client/room.py +++ b/matrix_client/room.py @@ -391,15 +391,20 @@ class Room(object): return rtn - def backfill_previous_messages(self, limit=10): + def backfill_previous_messages(self, reverse=False, l...
matrix_client/room: Allow changing of backfill order This patch allows users to choose whether to backfill in the original order, or reverse it.
py
diff --git a/salt/modules/service.py b/salt/modules/service.py index <HASH>..<HASH> 100644 --- a/salt/modules/service.py +++ b/salt/modules/service.py @@ -21,6 +21,7 @@ GRAINMAP = { 'CloudLinux': '/etc/init.d', 'Amazon': '/etc/init.d', 'SunOS': '/etc/init.d', + 'SUSE Enter...
Add SLES to the GRAINMAP in service.py
py
diff --git a/tests/ext/pymysql/test_pymysql.py b/tests/ext/pymysql/test_pymysql.py index <HASH>..<HASH> 100644 --- a/tests/ext/pymysql/test_pymysql.py +++ b/tests/ext/pymysql/test_pymysql.py @@ -47,6 +47,7 @@ def test_execute_dsn_kwargs(): sql = subsegment.sql assert sql['database_type'] == 'MySQL' asser...
Assert driver_version as PyMySQL
py
diff --git a/streams.py b/streams.py index <HASH>..<HASH> 100644 --- a/streams.py +++ b/streams.py @@ -72,7 +72,7 @@ class SMTPStreamReader(StreamReader): class SMTPStreamWriter(StreamWriter): """ """ - async def send_command(self, *args): + async def send_command(self, command): """ ...
Updated SMTPStreamWriter.send_command to reflect the recent updates.
py
diff --git a/spyder/plugins/variableexplorer/widgets/collectionseditor.py b/spyder/plugins/variableexplorer/widgets/collectionseditor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/variableexplorer/widgets/collectionseditor.py +++ b/spyder/plugins/variableexplorer/widgets/collectionseditor.py @@ -699,7 +699,7 @@ c...
Variable Explorer: Fix code style issue
py
diff --git a/tests/test_OrderedDict.py b/tests/test_OrderedDict.py index <HASH>..<HASH> 100644 --- a/tests/test_OrderedDict.py +++ b/tests/test_OrderedDict.py @@ -28,12 +28,12 @@ class TestOrderedDictEquality(unittest.TestCase): self.d = OrderedDict(zip(self._test_keys, self._test_vals)) def test_order_...
Renaming to fit the new less cheeky naming scheme.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,6 @@ tests_require = [ 'pytest-cov>=1.8.0', 'pytest-pep8>=1.0.6', 'pytest>=2.8.0', - 'Flask-CLI>=0.2.1', 'Jinja2>=2.8', ] @@ -62,10 +61,10 @@ setup_requires = [ ] install_requires = [ + ...
installation: Flask>=<I> * Removed dependency on Flask-CLI.
py
diff --git a/sllurp/llrp.py b/sllurp/llrp.py index <HASH>..<HASH> 100644 --- a/sllurp/llrp.py +++ b/sllurp/llrp.py @@ -247,10 +247,11 @@ class LLRPClient (LineReceiver): if self.tx_power == 0: # tx_power = 0 means max power self.tx_power = find_p(max, self.tx_power_table) - eli...
fix boundary condition in tx_power_table check a value 1 greater than the max was being erroneously accepted
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -217,8 +217,12 @@ def scan_reversed(bb: Bitboard, *, _BB_SQUARES: List[Bitboard] = BB_SQUARES) -> yield r bb ^= _BB_SQUARES[r] -def popcount(bb: Bitboard, *, _bin: Calla...
Take advantage of int.bit_count where available (#<I>)
py
diff --git a/django_rq/queues.py b/django_rq/queues.py index <HASH>..<HASH> 100644 --- a/django_rq/queues.py +++ b/django_rq/queues.py @@ -77,7 +77,11 @@ def get_redis_connection(config, use_strict_redis=False): pass else: # We're using django-redis-cache - return cache...
'RedisCache' object has no attribute '_client'
py
diff --git a/tests/integration/states/pip.py b/tests/integration/states/pip.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/pip.py +++ b/tests/integration/states/pip.py @@ -356,7 +356,7 @@ class PipStateTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn): # Le't make sure we ha...
List pip from the right place.
py
diff --git a/src/psd_tools/composer/__init__.py b/src/psd_tools/composer/__init__.py index <HASH>..<HASH> 100644 --- a/src/psd_tools/composer/__init__.py +++ b/src/psd_tools/composer/__init__.py @@ -171,7 +171,9 @@ def compose_layer(layer, force=False, **kwargs): clip_box = Group.extract_bbox(layer.clip_layers...
Fix resized bbox for clip layers
py
diff --git a/sed_eval/util/event_roll.py b/sed_eval/util/event_roll.py index <HASH>..<HASH> 100644 --- a/sed_eval/util/event_roll.py +++ b/sed_eval/util/event_roll.py @@ -36,14 +36,14 @@ def event_list_to_event_roll(event_list, event_label_list=None, time_resolution= event_label_list = unique_event_labels(even...
Fixing indexing error in event roll creation (event offsets affected)
py
diff --git a/cinje/block/function.py b/cinje/block/function.py index <HASH>..<HASH> 100644 --- a/cinje/block/function.py +++ b/cinje/block/function.py @@ -104,7 +104,7 @@ class Function(object): if 'using' in context.flag: # Clean up that we were using things. context.flag.remove('using') - for i in flush_...
Don't reconstruct the buffer at the very end of the template function.
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100755 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -1823,6 +1823,7 @@ class Referer(object): 'pa', 'ph', 'pk', + 'pn', 'py', 'tj', 'tt', @@ -2662,7 +2663,7 @@ if __name...
Introduction of `pn` into the list of ignored extensions cf: Whois lookup to <URL>
py
diff --git a/launch_control/testing/import_prohibitor.py b/launch_control/testing/import_prohibitor.py index <HASH>..<HASH> 100644 --- a/launch_control/testing/import_prohibitor.py +++ b/launch_control/testing/import_prohibitor.py @@ -73,7 +73,7 @@ class ImportMockingTestCase(TestCase): if isinstance(reloa...
Do not automatically attempt to hide all prohibited modules. Fixes an issue where prohibited module was not loaded yet (and is in fact not available at all) and would fail to unload.
py
diff --git a/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py b/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py +++ b/tensorflow_probability/python/interna...
For LinOps generation for JAX, rewrite c2t_v2_with_dispatch to c2t . PiperOrigin-RevId: <I>
py
diff --git a/python/orca/test/bigdl/orca/learn/ray/tf/test_tf_ray_estimator.py b/python/orca/test/bigdl/orca/learn/ray/tf/test_tf_ray_estimator.py index <HASH>..<HASH> 100644 --- a/python/orca/test/bigdl/orca/learn/ray/tf/test_tf_ray_estimator.py +++ b/python/orca/test/bigdl/orca/learn/ray/tf/test_tf_ray_estimator.py @...
fix test style (#<I>)
py
diff --git a/tests/test_call_hooks.py b/tests/test_call_hooks.py index <HASH>..<HASH> 100644 --- a/tests/test_call_hooks.py +++ b/tests/test_call_hooks.py @@ -177,4 +177,5 @@ def test_setup_py(): hooks = get_hooks('setup-py') with modified_env({'PYTHONPATH': BUILDSYS_PKGS}): res = hooks.get_requires_...
Fix test fail with some versions of setuptools get_requires_for_build_wheel() sometimes returns ['setuptools', 'wheel'] and other times it returns ['wheel'] This is probably dependent on the version of setuptools See <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='python_digits', - version='0.4', + version='0.4.1', description='Python digits (integers between 0 and 9)', url='https://github.com/dsandersAzur...
Debugging for Python 2 - Updated to version <I>
py
diff --git a/deepdiff/contenthash.py b/deepdiff/contenthash.py index <HASH>..<HASH> 100644 --- a/deepdiff/contenthash.py +++ b/deepdiff/contenthash.py @@ -98,13 +98,13 @@ class DeepHash(dict): @staticmethod def sha1hex(obj): """Use Sha1 for more accuracy.""" - if py3: + if py3: # pragm...
Adding ignore coverage for py3 vs py2 sha1 hash since coverage thinks it is not covered but it is covered.
py
diff --git a/pymc3/tests/test_step.py b/pymc3/tests/test_step.py index <HASH>..<HASH> 100644 --- a/pymc3/tests/test_step.py +++ b/pymc3/tests/test_step.py @@ -462,5 +462,10 @@ class TestNutsCheckTrace(object): x = Normal('x', mu=0, sd=1) trace = sample(draws=10, tune=1, chains=1) + ex...
assert existence of specific sampler stats
py