diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/phy/io/kwik/store_items.py b/phy/io/kwik/store_items.py index <HASH>..<HASH> 100644 --- a/phy/io/kwik/store_items.py +++ b/phy/io/kwik/store_items.py @@ -219,6 +219,13 @@ class FeatureMasks(VariableSizeItem): ) return out.reshape(shape) + def load_multi(self,...
WIP: load clusters and spikes.
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -2,7 +2,7 @@ # Copyright (C) 2009, 2010 Trapeze __author__ = 'David Sauve' -__version__ = (1, 1, 5, 'beta') +__version__ = (1, 1, 6, 'dev') import time import datetime
Bumped version number to reflect changes from packed version
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name="gripcontrol", -version="2.4.1", +version="2.4.2", description="GRIP library", author="Justin Karneges", author_email="justin@affinix.com", @@ -12,7 +12,7 @@ url="ht...
force using pyjwt >= <I> for security reasons
py
diff --git a/stegano/tools.py b/stegano/tools.py index <HASH>..<HASH> 100755 --- a/stegano/tools.py +++ b/stegano/tools.py @@ -107,9 +107,7 @@ def base642binary(b64_fname): #b64_str = fin.read() #fin.close() # Decode base64 string to original binary sound object - missing_padding = 4 - len(b64_fname) ...
Padding for `base<I>.b<I>decodestring` changed into `b'==='`. Fixes #6
py
diff --git a/src/sos/step_executor.py b/src/sos/step_executor.py index <HASH>..<HASH> 100755 --- a/src/sos/step_executor.py +++ b/src/sos/step_executor.py @@ -444,6 +444,7 @@ def concurrent_execute(stmt, proc_vars={}, step_md5=None, step_tokens=[], verify_input() from .workflow_executor import __nul...
Set complete environment for concurrent runner processes
py
diff --git a/mapillary_tools/process_video.py b/mapillary_tools/process_video.py index <HASH>..<HASH> 100644 --- a/mapillary_tools/process_video.py +++ b/mapillary_tools/process_video.py @@ -72,20 +72,20 @@ def sample_video(video_import_path, for video in tqdm(video_list, desc="Extracting video frames"): - ...
bug: remove nested import paths for several videos
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ install_requires = [ 'penaltymodel-cache>=0.4.0,<0.5.0', 'penaltymodel-lp>=0.1.0,<0.2.0', 'networkx>=2.0,<3.0', - 'dimod>=0.6.7,<0.9.0', + 'dimod>=0.6.7,<0.10.0', 'six>=1.11.0,<2.0.0', ...
Support dimod <I>.x
py
diff --git a/pymongo/helpers.py b/pymongo/helpers.py index <HASH>..<HASH> 100644 --- a/pymongo/helpers.py +++ b/pymongo/helpers.py @@ -39,7 +39,7 @@ def _index_list(key_or_list, direction=None): else: if isinstance(key_or_list, basestring): return [(key_or_list, pymongo.ASCENDING)] - e...
Allow tuples in addition to lists in _index_list/document calls Not all the way to duck-typing, but tuples should be just as iterable as lists.
py
diff --git a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py +++ b/openstack_das...
Ensure duplicates are removed from image list Change-Id: Ia0cf<I>a<I>f<I>a<I>c<I>eefa8e7f<I>edf<I> Closes-Bug: <I>
py
diff --git a/tohu/v6/primitive_generators.py b/tohu/v6/primitive_generators.py index <HASH>..<HASH> 100644 --- a/tohu/v6/primitive_generators.py +++ b/tohu/v6/primitive_generators.py @@ -263,7 +263,7 @@ class TimestampPrimitive(TohuBaseGenerator): self.offset_randgen.seed(next(self.seed_generator)) def ...
Fix spawning with recent extra kwargs
py
diff --git a/remodel/object_handler.py b/remodel/object_handler.py index <HASH>..<HASH> 100644 --- a/remodel/object_handler.py +++ b/remodel/object_handler.py @@ -58,7 +58,11 @@ class ObjectHandler(object): def _wrap(self, doc): obj = self.model_cls() # Assign fields this way to skip validation -...
Issue: #<I>, wrapping is done by dict.update Issue: #<I>, Not to call field's __setattr__ function which do validations, we just update dict. As validation checks are not issued, this speeds up fetching rows from DB
py
diff --git a/instabot/api/api_video.py b/instabot/api/api_video.py index <HASH>..<HASH> 100644 --- a/instabot/api/api_video.py +++ b/instabot/api/api_video.py @@ -41,6 +41,8 @@ def download_video(self, media_id, filename=None, media=False, folder='videos'): response.raw.decode_content = True ...
Fix: Return abspath of downloaded video
py
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py index <HASH>..<HASH> 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -302,3 +302,16 @@ def test_notify_with_socket(tmpdir): assert notify('FDSTORE=1', fds=[1, 2]) assert notify('FDSTORE=1', pid=os.getpid()) ...
tests: add the reproducer from #<I> The example relies on implementation details, but I don't see why it wouldn't work everywhere. Let's pull it in, and if it breaks somewhere, we can remove it.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,7 @@ extensions = [ # autodoc module docs will fail to generate with a warning. autodoc_mock_imports = ["adafruit_bus_device", "micropython"] -intersphinx_mapping = {'python': ('https://docs.pytho...
updated conf.py; bus device intersphinx link
py
diff --git a/src/toil/batchSystems/mesos/conftest.py b/src/toil/batchSystems/mesos/conftest.py index <HASH>..<HASH> 100644 --- a/src/toil/batchSystems/mesos/conftest.py +++ b/src/toil/batchSystems/mesos/conftest.py @@ -11,6 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the ...
Added explanatory URL to mesos/conftest.py
py
diff --git a/round/__init__.py b/round/__init__.py index <HASH>..<HASH> 100644 --- a/round/__init__.py +++ b/round/__init__.py @@ -53,9 +53,7 @@ class Context(dict): u'Gem-OOB-OTP': {u'usage': u"client.authenticate_otp(api_token=token, key=otp_key, secret=otp_secret [...
removed unnecessary default credential from otp
py
diff --git a/scripts/issues.py b/scripts/issues.py index <HASH>..<HASH> 100755 --- a/scripts/issues.py +++ b/scripts/issues.py @@ -283,7 +283,7 @@ def issue_line(issue): def generate_changelog(issues, after, heading, rtag=False): """Prints out changelog.""" relevent = relevant_issues(issues, after) - rele...
Fix sorting in py3 using the proper key.
py
diff --git a/vcr/core.py b/vcr/core.py index <HASH>..<HASH> 100644 --- a/vcr/core.py +++ b/vcr/core.py @@ -81,11 +81,15 @@ class VCRSystem(object): ``recv_size`` : int Will request given number of bytes in socket recv calls. Option is ignored if not set (default). + ``raise_if_not_needed`` : b...
add option to raise an exception if vcr is used and it's not needed this way it becomes more obvious if decorator is used where it shouldnt be..
py
diff --git a/globomap_auth_manager/__init__.py b/globomap_auth_manager/__init__.py index <HASH>..<HASH> 100644 --- a/globomap_auth_manager/__init__.py +++ b/globomap_auth_manager/__init__.py @@ -13,4 +13,4 @@ See the License for the specific language governing permissions and limitations under the License. """...
Change version <I>a1
py
diff --git a/Holodeck/Sensors.py b/Holodeck/Sensors.py index <HASH>..<HASH> 100644 --- a/Holodeck/Sensors.py +++ b/Holodeck/Sensors.py @@ -12,6 +12,7 @@ class Sensors: RELATIVE_SKELETAL_POSITION_SENSOR = 8 LOCATION_SENSOR = 9 VELOCITY_SENSOR = 10 + ROTATION_SENSOR = 11 # Sizes are the number of...
Added RotationSensor to the sensors.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,6 +6,8 @@ except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup +from distutils.command.build_ext import build_ext +from distutils.errors import CCompilerError ...
don't fail if the C extension fails to build
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ setup( 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2', 'Progr...
Added missing Python 2 version classifier to package
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ setup( "python-openstackclient>=3.0.0,<=4.0.0", "python-novaclient<10", "python-neutronclient==6.3.0", + "python-blazarclient==1.0.1", ], include_package_data=True )
add blazarclient dependency It's now back in pypi
py
diff --git a/spyder/plugins/editor/widgets/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/codeeditor.py +++ b/spyder/plugins/editor/widgets/codeeditor.py @@ -137,10 +137,10 @@ class CodeEditor(TextEditBaseWidget): # linting results arrive...
Editor: Reduce time to update folding Now that we prevented updating folding multiple times, it's not necessary to have such long waiting times.
py
diff --git a/tests/unit/templates/test_jinja.py b/tests/unit/templates/test_jinja.py index <HASH>..<HASH> 100644 --- a/tests/unit/templates/test_jinja.py +++ b/tests/unit/templates/test_jinja.py @@ -486,7 +486,7 @@ class TestCustomExtensions(TestCase): env = Environment(extensions=[SerializerExtension]) ...
[PY3] Fix test that is flaky in Python 3 We can't rely on lists having the same order in Python3 the same way we rely on them in Python2. If we sort them first, and then compare them, this test will be more reliable.
py
diff --git a/glooey/__init__.py b/glooey/__init__.py index <HASH>..<HASH> 100644 --- a/glooey/__init__.py +++ b/glooey/__init__.py @@ -4,7 +4,7 @@ An object-oriented GUI library for pyglet. """ -__version__ = '0.3.1' +__version__ = '0.3.2' from .widget import * from .root import *
<I> Automatically generated by python-semantic-release
py
diff --git a/src/urh/controller/DecoderWidgetController.py b/src/urh/controller/DecoderWidgetController.py index <HASH>..<HASH> 100644 --- a/src/urh/controller/DecoderWidgetController.py +++ b/src/urh/controller/DecoderWidgetController.py @@ -6,6 +6,8 @@ from PyQt5.QtCore import Qt, pyqtSlot from PyQt5.QtGui import QD...
use getText for asking new decoding name
py
diff --git a/metnet/metabolicmodel.py b/metnet/metabolicmodel.py index <HASH>..<HASH> 100644 --- a/metnet/metabolicmodel.py +++ b/metnet/metabolicmodel.py @@ -341,17 +341,15 @@ class MetabolicModel(object): def compounds(self): return iter(self._compound_set) - def add_reaction(self, reaction): + ...
metabolicmodel: Use public interface of database This changes the implementation of MetabolicModel.add_reaction() to use the public interface of the database.
py
diff --git a/prosper/common/utilities.py b/prosper/common/utilities.py index <HASH>..<HASH> 100644 --- a/prosper/common/utilities.py +++ b/prosper/common/utilities.py @@ -149,6 +149,9 @@ class LoggerDebugger(object): self.do_debug=bool(debug) self.do_logger=bool(logger) + def get_logger(self): + ...
expanded methods on LoggerDebugger to get logger obj
py
diff --git a/mlbgame/__init__.py b/mlbgame/__init__.py index <HASH>..<HASH> 100644 --- a/mlbgame/__init__.py +++ b/mlbgame/__init__.py @@ -187,4 +187,12 @@ def games(years, months=None, days=None, home=None, away=None): game = day(i, y, x, home=home, away=away) if game != []: results.append(game) - r...
Box score function in mlbgame
py
diff --git a/kettle/kettle.py b/kettle/kettle.py index <HASH>..<HASH> 100755 --- a/kettle/kettle.py +++ b/kettle/kettle.py @@ -7,7 +7,7 @@ import struct import sys from argparse import ArgumentParser from hearthstone.enums import ( - CardType, ChoiceType, GameTag, OptionType, Zone + CardType, ChoiceType, GameTag, Op...
kettle: Drop full-state refresh requests until BEGIN_MULLIGAN
py
diff --git a/umodbus/server/__init__.py b/umodbus/server/__init__.py index <HASH>..<HASH> 100644 --- a/umodbus/server/__init__.py +++ b/umodbus/server/__init__.py @@ -48,9 +48,7 @@ class AbstractRequestHandler(BaseRequestHandler): response_adu = self.process(mbap_header + request_pdu) ...
Remove redundant exception traceback (#<I>) `log.exception` already includes a traceback, so don't add another.
py
diff --git a/Geometry/line.py b/Geometry/line.py index <HASH>..<HASH> 100644 --- a/Geometry/line.py +++ b/Geometry/line.py @@ -352,8 +352,8 @@ class Segment(Line): class Ray(Line): ''' - Rays have an origin vertex and infinite length in the direction of - the second vertex 'B'. + Rays have head and...
rename Ray points to (tail,head)
py
diff --git a/launcher/src/main/scripts/bin/launcher.py b/launcher/src/main/scripts/bin/launcher.py index <HASH>..<HASH> 100755 --- a/launcher/src/main/scripts/bin/launcher.py +++ b/launcher/src/main/scripts/bin/launcher.py @@ -280,7 +280,7 @@ def start(process, options): def terminate(process, signal, message): ...
Fix typo in launcher.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import find_packages, setup setup( name='ActionCableZwei', - version='0.1.2', + version='0.1.3', license='MIT', description='Action Cable Client for Python 3', author='...
Update version number to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,11 @@ except: with open("README.md") as f: long_description = f.read() +setup_requires = [ "cffi>=1.9.1" ] + +if os.getenv("READTHEDOCS") == "True": + setup_requires.append("cmake") + setup( name = "...
Attempt to fix broken readthedocs build
py
diff --git a/bids/layout/layout.py b/bids/layout/layout.py index <HASH>..<HASH> 100644 --- a/bids/layout/layout.py +++ b/bids/layout/layout.py @@ -751,18 +751,13 @@ class BIDSLayout(object): for name, val in filters.items(): tag_alias = aliased(Tag) - query = query.outerjo...
Only use outer join when necessary - Doesn't have a performance impact in my testing
py
diff --git a/blockstack_client/client.py b/blockstack_client/client.py index <HASH>..<HASH> 100644 --- a/blockstack_client/client.py +++ b/blockstack_client/client.py @@ -74,7 +74,7 @@ def session(conf=None, config_path=CONFIG_PATH, server_host=None, server_port=No if metadata_dir is None: metadat...
blockchain_headers, not bitcoind_spv_path
py
diff --git a/telemetry/telemetry/page/page_runner.py b/telemetry/telemetry/page/page_runner.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/page/page_runner.py +++ b/telemetry/telemetry/page/page_runner.py @@ -213,6 +213,10 @@ def AddCommandLineArgs(parser): help='Run against live sites and ignore the W...
Add support for running disabled Telemetry benchmarks Adds an option --also-run-disabled-tests to run_benchmark which allows running disabled benchmarks, and a warning when a user tries to run a disabled benchmark without the flag. BUG=<I> Review URL: <URL>
py
diff --git a/cloudlib/arguments.py b/cloudlib/arguments.py index <HASH>..<HASH> 100644 --- a/cloudlib/arguments.py +++ b/cloudlib/arguments.py @@ -251,10 +251,14 @@ class ArgumentParserator(object): if self.detail is not None: self.detail = '%s\n' % self.detail - subparser = parser.add_su...
fixed bug that resolved an issue when using cloudlib and no subparsed args were being used.
py
diff --git a/thumbor/__init__.py b/thumbor/__init__.py index <HASH>..<HASH> 100644 --- a/thumbor/__init__.py +++ b/thumbor/__init__.py @@ -10,5 +10,5 @@ '''This is the main module in thumbor''' -__version__ = "6.0.0b4" -__release_date__ = "22-Feb-2016" +__version__ = "6.0.0b5" +__release_date__ = "09-Mar-2016"
Bump to <I>b5
py
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index <HASH>..<HASH> 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -1935,7 +1935,7 @@ class Trainer: else: # We load the model state dict on the CPU to avoid an OOM error. ...
Fix load of model checkpoints in the Trainer (#<I>)
py
diff --git a/neomodel/__init__.py b/neomodel/__init__.py index <HASH>..<HASH> 100644 --- a/neomodel/__init__.py +++ b/neomodel/__init__.py @@ -1,9 +1,10 @@ from .core import * -from .relationship import (NotConnected, OUTGOING, INCOMING, EITHER, RelationshipTo, - RelationshipFrom, Relationship) +from .relations...
Include JSONProperty in imports
py
diff --git a/indra/db/client.py b/indra/db/client.py index <HASH>..<HASH> 100644 --- a/indra/db/client.py +++ b/indra/db/client.py @@ -426,10 +426,12 @@ def get_statements(clauses, count=1000, do_stmt_count=False, db=None, for supped_hash, supping_hash in set(support_links): if supped_hash...
Only create Unresolved statements when necessary.
py
diff --git a/fortranmagic.py b/fortranmagic.py index <HASH>..<HASH> 100644 --- a/fortranmagic.py +++ b/fortranmagic.py @@ -200,6 +200,8 @@ class FortranMagics(Magics): sys.argv = old_argv os.chdir(old_cwd) + return p.returncode + @magic_arguments.magic_arguments() @magic_arg...
Check if f2py command failed
py
diff --git a/fluent_contents/extensions/pluginbase.py b/fluent_contents/extensions/pluginbase.py index <HASH>..<HASH> 100644 --- a/fluent_contents/extensions/pluginbase.py +++ b/fluent_contents/extensions/pluginbase.py @@ -18,7 +18,7 @@ from django.forms import Media, MediaDefiningClass from django.template.context im...
Fix imports / running tests, use ugettext_lazy
py
diff --git a/ftr/process.py b/ftr/process.py index <HASH>..<HASH> 100644 --- a/ftr/process.py +++ b/ftr/process.py @@ -34,6 +34,7 @@ import logging try: import requests + except ImportError: # Happens during installation before setup.py finishes installing deps. requests = None @@ -42,7 +43,10 @@ fro...
Handle server-relative next_page_link sanitization.
py
diff --git a/chainlet/chainlink.py b/chainlet/chainlink.py index <HASH>..<HASH> 100644 --- a/chainlet/chainlink.py +++ b/chainlet/chainlink.py @@ -315,15 +315,6 @@ class GraphLink(CompoundLink): # pylint: disable=abstract-method chain_join = False chain_fork = True - def __iter__(self): - while T...
removed superfluous specialised __iter__ in ChainLink compound subclasses
py
diff --git a/ntfy/cli.py b/ntfy/cli.py index <HASH>..<HASH> 100644 --- a/ntfy/cli.py +++ b/ntfy/cli.py @@ -104,6 +104,7 @@ done_parser.add_argument( '--longer-than', type=int, metavar='N', + default=0, help="Only notify if the command runs longer than N seconds") done_parser.set_defaults(func=ru...
Oh crap, introduced a :bug: causing done to break
py
diff --git a/server/models/folder.py b/server/models/folder.py index <HASH>..<HASH> 100644 --- a/server/models/folder.py +++ b/server/models/folder.py @@ -1,6 +1,6 @@ import datetime -from .model_base import AccessControlledModel +from .model_base import AccessControlledModel, ValidationException class Folder(Acc...
Ensure unique names among sibling folders
py
diff --git a/cloudflare_ddns/cloudflare.py b/cloudflare_ddns/cloudflare.py index <HASH>..<HASH> 100644 --- a/cloudflare_ddns/cloudflare.py +++ b/cloudflare_ddns/cloudflare.py @@ -47,7 +47,7 @@ class CloudFlare: 'https://ifconfig.co/json' ) - def __init__(self, email: str, api_key: str, domain: str, p...
Give default value for proxied as False.
py
diff --git a/speech/setup.py b/speech/setup.py index <HASH>..<HASH> 100644 --- a/speech/setup.py +++ b/speech/setup.py @@ -57,7 +57,7 @@ REQUIREMENTS = [ setup( name='google-cloud-speech', - version='0.25.0', + version='0.25.1', description='Python Client for Google Cloud Speech', long_descripti...
Bump Speech to <I> (#<I>)
py
diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/calc.py +++ b/openquake/commonlib/calc.py @@ -23,6 +23,7 @@ import h5py from openquake.baselib import hdf5 from openquake.baselib.python3compat import decode +from openquake.hazardlib.source....
Stored information about the rupture code Former-commit-id: d<I>af6c<I>eafd0b5d<I>cadb<I>b<I>b7c1
py
diff --git a/django_superform/forms.py b/django_superform/forms.py index <HASH>..<HASH> 100644 --- a/django_superform/forms.py +++ b/django_superform/forms.py @@ -127,7 +127,7 @@ class DeclerativeCompositeFieldsMetaclass(type): return new_class -class SuperFormMixinMetaclass( +class SuperFormMetaclass( ...
Proper naming for SuperFormMetaclass.
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.11", + version="0.10.0", description="PythonAnywhere helper tools for users", long_descri...
Bumped up version for new release with files (path) api. By: Filip, Piotr
py
diff --git a/tenant_schemas/management/commands/sync_schemas.py b/tenant_schemas/management/commands/sync_schemas.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/management/commands/sync_schemas.py +++ b/tenant_schemas/management/commands/sync_schemas.py @@ -45,7 +45,7 @@ class Command(SyncCommon): app...
`True and something` will be always evaluated to "something". It was probably a typo.
py
diff --git a/gitenberg/travis/__init__.py b/gitenberg/travis/__init__.py index <HASH>..<HASH> 100644 --- a/gitenberg/travis/__init__.py +++ b/gitenberg/travis/__init__.py @@ -104,7 +104,7 @@ def build_epub(epub_title='book'): if source_path == 'book.asciidoc': return build_epub_from_asciidoc (md['version'], epub_t...
had to account for unicode encoding for command
py
diff --git a/MAVProxy/modules/mavproxy_log.py b/MAVProxy/modules/mavproxy_log.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_log.py +++ b/MAVProxy/modules/mavproxy_log.py @@ -113,11 +113,14 @@ class LogModule(mp_module.MPModule): size = 0 else: size = m.size - p...
log: give a bit more information on missing blocks in status
py
diff --git a/pycoin/services/insight.py b/pycoin/services/insight.py index <HASH>..<HASH> 100644 --- a/pycoin/services/insight.py +++ b/pycoin/services/insight.py @@ -3,6 +3,7 @@ import decimal import json +import logging try: @@ -90,6 +91,19 @@ class InsightService(object): spendables.extend(self...
First crack at insight.send_tx.
py
diff --git a/dcard/posts.py b/dcard/posts.py index <HASH>..<HASH> 100644 --- a/dcard/posts.py +++ b/dcard/posts.py @@ -143,6 +143,9 @@ class PostsResult: post_id, folder, urls = bundle full_folder = 'downloads/%s (#%d)' % (folder, post_id) + if len(urls) == 0: + con...
fix bug: create empty folder when constrainsts fulfill but no resourses
py
diff --git a/ella/core/newman_admin.py b/ella/core/newman_admin.py index <HASH>..<HASH> 100644 --- a/ella/core/newman_admin.py +++ b/ella/core/newman_admin.py @@ -251,6 +251,7 @@ class RelatedInlineAdmin(newman.GenericTabularInline): class PublishableAdmin(newman.NewmanModelAdmin): """ Default admin options for a...
Exclude contentype field from PublishableAdmin.
py
diff --git a/runcommands/util.py b/runcommands/util.py index <HASH>..<HASH> 100644 --- a/runcommands/util.py +++ b/runcommands/util.py @@ -199,30 +199,6 @@ def args_to_str(args, joiner=' ', format_kwargs={}): return args -def as_list(items, sep=','): - # Convert ``items`` to list. - # - # - None -> []...
Remove as_list and as_tuple utility functions These were holdovers from before list type command args were supported.
py
diff --git a/fontcrunch/fontcrunch.py b/fontcrunch/fontcrunch.py index <HASH>..<HASH> 100644 --- a/fontcrunch/fontcrunch.py +++ b/fontcrunch/fontcrunch.py @@ -339,7 +339,8 @@ def gen_segs(glyph): def generate(fn): f = ttLib.TTFont(fn) glyf = f['glyf'] - for name, g in glyf.glyphs.iteritems(): + for name in glyf.ke...
Make fontcrunch run with the latest fonttools. The preferred way to access glyphs is indexing the glyf table by the glyph name, which would also expand the Glyph object (otherwise, the object should be expanded manually).
py
diff --git a/squiffy.py b/squiffy.py index <HASH>..<HASH> 100644 --- a/squiffy.py +++ b/squiffy.py @@ -303,7 +303,7 @@ class Story: def set_id(self, filename): file_id = str(uuid.getnode()) + filename - self.id = hashlib.sha1(file_id).hexdigest()[0:10] + self.id = hashlib.sha1(file_id.enco...
Encode file_id as UTF-8 before hashing.
py
diff --git a/sark/code/switch.py b/sark/code/switch.py index <HASH>..<HASH> 100644 --- a/sark/code/switch.py +++ b/sark/code/switch.py @@ -43,6 +43,8 @@ class Switch(object): if not results: raise SarkNotASwitch("Seems like 0x{:08X} is not a switch jump instruction.".format(self._ea)) + r...
Fixed a (really stupid) bug in switches.
py
diff --git a/i2pcontrol/i2pcontrol/i2pcontrol.py b/i2pcontrol/i2pcontrol/i2pcontrol.py index <HASH>..<HASH> 100644 --- a/i2pcontrol/i2pcontrol/i2pcontrol.py +++ b/i2pcontrol/i2pcontrol/i2pcontrol.py @@ -100,6 +100,8 @@ class I2PController: if result['API'] != I2PController.API_VERSION: raise Exc...
expose _call as call in i2pcontroller
py
diff --git a/tests/job_unittest.py b/tests/job_unittest.py index <HASH>..<HASH> 100644 --- a/tests/job_unittest.py +++ b/tests/job_unittest.py @@ -914,6 +914,7 @@ class JobStatsTestCase(unittest.TestCase): self.assertTrue(actual_stats.start_time is not None) self.assertEqual(91, actual_stats.num_sit...
tests/job/stats: tested new statistic metric -- "realizations" Former-commit-id: <I>b3bf0a<I>facd<I>a2dc<I>b6b3ec<I>fcf<I>
py
diff --git a/tests/test_sources.py b/tests/test_sources.py index <HASH>..<HASH> 100644 --- a/tests/test_sources.py +++ b/tests/test_sources.py @@ -77,7 +77,7 @@ def test_Sources_roundtrip_latex(tmpdir, bibtex, expected): src = Sources() src.add(bibtex) bib = tmpdir / 'test.bib' - src.write(bib) + s...
fix failing tests on py<I>
py
diff --git a/src/livestreamer/stream/rtmpdump.py b/src/livestreamer/stream/rtmpdump.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/rtmpdump.py +++ b/src/livestreamer/stream/rtmpdump.py @@ -38,7 +38,7 @@ class RTMPStream(StreamProcess): if not self._supports_param("socks"): ra...
stream.rtmpdump: Fix proxy support.
py
diff --git a/penaltymodel_maxgap/setup.py b/penaltymodel_maxgap/setup.py index <HASH>..<HASH> 100644 --- a/penaltymodel_maxgap/setup.py +++ b/penaltymodel_maxgap/setup.py @@ -47,7 +47,7 @@ class PysmtSolverInstall(install): setup_requires = ['pysmt==0.7.0'] install_requires = ['dimod>=0.8.0,<0.9.0', - ...
Remove dwave-networkx version upper bound
py
diff --git a/single_stage_detector/ssd/train.py b/single_stage_detector/ssd/train.py index <HASH>..<HASH> 100644 --- a/single_stage_detector/ssd/train.py +++ b/single_stage_detector/ssd/train.py @@ -43,10 +43,10 @@ def parse_args(): help='path to model checkpoint file') parser.add_argument...
[SSD] Updated eval schedule to every 5th epoch (#<I>)
py
diff --git a/dockerpty/pty.py b/dockerpty/pty.py index <HASH>..<HASH> 100644 --- a/dockerpty/pty.py +++ b/dockerpty/pty.py @@ -128,7 +128,7 @@ class PseudoTerminal(object): self.stdin = stdin or sys.stdin self.logs = logs - def start(self, **kwargs): + def start(self, sockets=None, **kwargs): ...
Optionally pass sockets into PseudoTerminal.start()
py
diff --git a/test/test_redmine.py b/test/test_redmine.py index <HASH>..<HASH> 100644 --- a/test/test_redmine.py +++ b/test/test_redmine.py @@ -81,7 +81,7 @@ class TestProjectsAndIssues(TestCase): project1 = self.test_redmine.projects[1] project1.name = 'Test Foo' project1.save() - asse...
Commented out failing, improper test
py
diff --git a/noisyopt/main.py b/noisyopt/main.py index <HASH>..<HASH> 100644 --- a/noisyopt/main.py +++ b/noisyopt/main.py @@ -7,7 +7,8 @@ try: except: class OptimizeResult(dict): """ Represents the optimization result. - Attributes + + Parameters ---------- x : ndarray ...
make OptimizeResult docstring conform
py
diff --git a/proso/release.py b/proso/release.py index <HASH>..<HASH> 100644 --- a/proso/release.py +++ b/proso/release.py @@ -1 +1 @@ -VERSION = '1.1.0-SNAPSHOT' +VERSION = '1.1.0'
release a new version <I>
py
diff --git a/satpy/composites/__init__.py b/satpy/composites/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/composites/__init__.py +++ b/satpy/composites/__init__.py @@ -271,7 +271,7 @@ class SunZenithCorrector(CompositeBase): coszen = {} def __call__(self, projectables, **info): - (vis, ) = pro...
Fix tuple expansion in sunz corrector
py
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -852,11 +852,18 @@ class OverlayPlot(GenericOverlayPlot, ElementPlot): ranges = self.compute_ranges(range_obj...
Ensure that NdOverlay is propagated correctly in dynamic batched mode
py
diff --git a/isort/main.py b/isort/main.py index <HASH>..<HASH> 100755 --- a/isort/main.py +++ b/isort/main.py @@ -197,6 +197,8 @@ def create_parser(): help='Recursively look for Python files of which to sort imports') parser.add_argument('-ot', '--order-by-type', dest='order_by_type', ...
Implement support for dont-order-by-type
py
diff --git a/pyclustering/ut/__init__.py b/pyclustering/ut/__init__.py index <HASH>..<HASH> 100644 --- a/pyclustering/ut/__init__.py +++ b/pyclustering/ut/__init__.py @@ -98,5 +98,5 @@ if __name__ == "__main__": suite.addTests(unittest.TestLoader().loadTestsFromModule(utils_unit_tests)); - return...
[ut] generate images without having a window appear during testing.
py
diff --git a/selenium_test/steps/context_menu.py b/selenium_test/steps/context_menu.py index <HASH>..<HASH> 100644 --- a/selenium_test/steps/context_menu.py +++ b/selenium_test/steps/context_menu.py @@ -330,6 +330,8 @@ def step_impl(context, choice): choice = "before" link = util.find_descendants_by_t...
We have to seek the actual ``<a>`` to please Firefox.
py
diff --git a/kafka/client.py b/kafka/client.py index <HASH>..<HASH> 100644 --- a/kafka/client.py +++ b/kafka/client.py @@ -11,7 +11,7 @@ from kafka.common import (TopicAndPartition, BrokerMetadata, ConnectionError, FailedPayloadsError, KafkaTimeoutError, KafkaUnavai...
Catch ReplicaNotAvailableError in MetadataResponse -- per kafka-devs, this error can and should be ignored
py
diff --git a/lib/devpipeline_scm/__init__.py b/lib/devpipeline_scm/__init__.py index <HASH>..<HASH> 100644 --- a/lib/devpipeline_scm/__init__.py +++ b/lib/devpipeline_scm/__init__.py @@ -52,7 +52,7 @@ def _deprecated_scm_path_check(configuration, error_fn): def _make_src_dir(configuration): for component_name in ...
Use the component configuration when searching for keys
py
diff --git a/redisco/models/base.py b/redisco/models/base.py index <HASH>..<HASH> 100644 --- a/redisco/models/base.py +++ b/redisco/models/base.py @@ -120,14 +120,14 @@ class Model(object): Do custom validation here. Add tuples to self._errors. Example: - + class Person(Mode...
Removes some trailing whitespace.
py
diff --git a/tests/test_toolbox_zip_tools.py b/tests/test_toolbox_zip_tools.py index <HASH>..<HASH> 100644 --- a/tests/test_toolbox_zip_tools.py +++ b/tests/test_toolbox_zip_tools.py @@ -25,7 +25,7 @@ class ToolboxZipToolsTest(unittest.TestCase): os.remove(test_file2) except Exception: ...
fixing path for zip file to run in travis-ci
py
diff --git a/ropetest/refactor/extracttest.py b/ropetest/refactor/extracttest.py index <HASH>..<HASH> 100644 --- a/ropetest/refactor/extracttest.py +++ b/ropetest/refactor/extracttest.py @@ -2223,7 +2223,3 @@ class ExtractMethodTest(unittest.TestCase): "with open(\"test\") as file1, open(\"test\") a...
Remove plain 'unittest' only runner in extracttest.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -85,13 +85,17 @@ def get_pkg_info(name): if os.environ.get('FLANN_DIR', False): pre = partial(os.path.join, os.environ['FLANN_DIR']) + lib_dirs = [pre('lib')] + if os.path.isdir(pre('lib64')) and sys.maxsize > 2*...
support flann being in lib<I> with FLANN_DIR
py
diff --git a/intranet/apps/eighth/models.py b/intranet/apps/eighth/models.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/models.py +++ b/intranet/apps/eighth/models.py @@ -949,6 +949,11 @@ class EighthScheduledActivity(AbstractBaseEighthModel): # Check if the user is already stickied into an act...
fix sticky on scheduled activity level when signing up for another activity
py
diff --git a/glim/app.py b/glim/app.py index <HASH>..<HASH> 100644 --- a/glim/app.py +++ b/glim/app.py @@ -60,7 +60,7 @@ class Glim: def __call__(self, environ, start_response): return self.wsgi_app(environ, start_response) -def start(host = '127.0.0.1', port = '8080', environment = 'development', with_...
disable static folder registration on SharedDataMiddleware
py
diff --git a/emma2/msm/analysis/api.py b/emma2/msm/analysis/api.py index <HASH>..<HASH> 100644 --- a/emma2/msm/analysis/api.py +++ b/emma2/msm/analysis/api.py @@ -46,6 +46,10 @@ __all__=['is_transition_matrix', 'mfpt', 'committor', 'tpt', + 'tpt_flux', + 'tpt_netflux', + ...
[msm/analysis] tpt_xxx are now in __all__
py
diff --git a/torment/fixtures/__init__.py b/torment/fixtures/__init__.py index <HASH>..<HASH> 100644 --- a/torment/fixtures/__init__.py +++ b/torment/fixtures/__init__.py @@ -355,13 +355,13 @@ def _resolve_functions(functions: Dict[str, Callable[[Any], Any]], fixture: Fixt function_count = len(functions) ...
log property name in exception only in register By having the name debugging statement outside of the exception handling code we get too much noise in logging output. This should reduce the noise to acceptable levels and make debugging much more straightforward.
py
diff --git a/apitools/base/py/credentials_lib.py b/apitools/base/py/credentials_lib.py index <HASH>..<HASH> 100644 --- a/apitools/base/py/credentials_lib.py +++ b/apitools/base/py/credentials_lib.py @@ -335,8 +335,9 @@ class GceAssertionCredentials(oauth2client.gce.AppAssertionCredentials): self.access_token =...
Fix TypeError in credentials_lib This fixes an error introduced with lint fixing where computing the token_expiry of a credential with an expires_in value would result in an exception.
py
diff --git a/phypno/ioeeg/egimff.py b/phypno/ioeeg/egimff.py index <HASH>..<HASH> 100644 --- a/phypno/ioeeg/egimff.py +++ b/phypno/ioeeg/egimff.py @@ -52,7 +52,7 @@ class EgiMff: xml_type = splitext(basename(xml_file))[0] orig[xml_type] = parse_xml(xml_file) - signals = glob(join(self...
small change to use signal1, but this is not a long-term solution
py
diff --git a/urwid_datatable/datatable.py b/urwid_datatable/datatable.py index <HASH>..<HASH> 100644 --- a/urwid_datatable/datatable.py +++ b/urwid_datatable/datatable.py @@ -488,8 +488,8 @@ class DataTable(urwid.WidgetWrap, urwid.listbox.ListWalker): self.listbox._invalidate() def position_to_index(sel...
Raccoon <I> supports reverse sorting, so no need for workaround anymore.
py
diff --git a/python/pyspark/ml/classification.py b/python/pyspark/ml/classification.py index <HASH>..<HASH> 100644 --- a/python/pyspark/ml/classification.py +++ b/python/pyspark/ml/classification.py @@ -3230,6 +3230,7 @@ class MultilayerPerceptronClassifier( solver: str = "l-bfgs", initialWeights: Opt...
[SPARK-<I>][ML] Restore rawPredictionCol to MultilayerPerceptronClassifier.setParams ### What changes were proposed in this pull request? Restore rawPredictionCol to MultilayerPerceptronClassifier.setParams ### Why are the changes needed? This param was inadvertently removed in the refactoring in <URL>
py
diff --git a/openquake/commonlib/logictree.py b/openquake/commonlib/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/logictree.py +++ b/openquake/commonlib/logictree.py @@ -1274,12 +1274,7 @@ class GsimLogicTree(object): raise InvalidLogicTree( 'Found duplicated applyToTe...
Removed accidentally added code [skip CI]
py
diff --git a/salmon/apps/monitor/utils.py b/salmon/apps/monitor/utils.py index <HASH>..<HASH> 100644 --- a/salmon/apps/monitor/utils.py +++ b/salmon/apps/monitor/utils.py @@ -30,7 +30,7 @@ class TypeTranslate(object): return getattr(self, 'to_{}'.format(self.cast_to))(value) def to_boolean(self, value):...
Fixes boolean field
py
diff --git a/examples/inprocess/echo.py b/examples/inprocess/echo.py index <HASH>..<HASH> 100644 --- a/examples/inprocess/echo.py +++ b/examples/inprocess/echo.py @@ -10,6 +10,21 @@ To see the profiling resut, use:: python -m pstats +However, what you can see in the profile is the profile of +the main thread. ...
Add instruction to use yappi
py
diff --git a/thumbor/engines/pil.py b/thumbor/engines/pil.py index <HASH>..<HASH> 100644 --- a/thumbor/engines/pil.py +++ b/thumbor/engines/pil.py @@ -8,6 +8,7 @@ # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com thumbor@googlegroups.com +from __future__ import absolute_import impor...
Add absolute_import to avoid circular imports
py
diff --git a/tests/formats/visual.py b/tests/formats/visual.py index <HASH>..<HASH> 100644 --- a/tests/formats/visual.py +++ b/tests/formats/visual.py @@ -270,6 +270,27 @@ class VisualFormatReaderTestCase(unittest.TestCase): rows = [row for row in reader] self.assertEqual(len(rows), 2) + def test...
Added a test for normalization of 'na' values.
py
diff --git a/src/SALib/sample/saltelli.py b/src/SALib/sample/saltelli.py index <HASH>..<HASH> 100644 --- a/src/SALib/sample/saltelli.py +++ b/src/SALib/sample/saltelli.py @@ -164,6 +164,12 @@ def cli_parse(parser): to calculate') parser.add_argument('--skip-values', type=int, required=...
seed value option removed from CLI Added check-conv option
py