diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/stripe/resource.py b/stripe/resource.py index <HASH>..<HASH> 100644 --- a/stripe/resource.py +++ b/stripe/resource.py @@ -299,10 +299,8 @@ class ListObject(StripeObject): class SingletonAPIResource(APIResource): @classmethod - def retrieve(cls, api_key=None, stripe_account=None): - return...
shorted a line to be <<I> chrs. all params get passed to super
py
diff --git a/host/basil/HL/HardwareLayer.py b/host/basil/HL/HardwareLayer.py index <HASH>..<HASH> 100644 --- a/host/basil/HL/HardwareLayer.py +++ b/host/basil/HL/HardwareLayer.py @@ -21,9 +21,6 @@ class HardwareLayer(Base): Implementation of very basic register operations. ''' - _intf = None - _base_a...
BUG: remove class variables, will lead to unexpected results
py
diff --git a/test/functional/docker/test_scenarios.py b/test/functional/docker/test_scenarios.py index <HASH>..<HASH> 100644 --- a/test/functional/docker/test_scenarios.py +++ b/test/functional/docker/test_scenarios.py @@ -249,7 +249,7 @@ def test_command_test_destroy_strategy_always(scenario_to_test, with_scenario, ...
Error code tests for destroy strategy The functional tests could use a better error code test for the destroy strategy. We simply care if the error code is non-zero.
py
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index <HASH>..<HASH> 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -1,6 +1,6 @@ """PyPI and direct package downloading""" -import sys, os.path, re, urlparse, urllib2, shutil +import sys, os.path, re, urlparse, urll...
Randomly select a SourceForge mirror IP for each download, to work around too-aggressive DNS caches on some platforms, that could otherwise result in a stuck bad IP. --HG-- branch : setuptools extra : convert_revision : svn%3A<I>fed2-<I>-<I>-9fe1-9d<I>cc<I>/sandbox/trunk/setuptools%<I>
py
diff --git a/i3pystatus/mem.py b/i3pystatus/mem.py index <HASH>..<HASH> 100644 --- a/i3pystatus/mem.py +++ b/i3pystatus/mem.py @@ -1,6 +1,8 @@ from i3pystatus import IntervalModule from psutil import virtual_memory +MEGABYTE = 1024**2 + class Mem(IntervalModule): """ Shows memory load @@ -19,15 +21,10 @@...
mem: correct divider to megabyte (was kilobyte), don't divide percentage #<I>
py
diff --git a/cchecker.py b/cchecker.py index <HASH>..<HASH> 100755 --- a/cchecker.py +++ b/cchecker.py @@ -13,10 +13,10 @@ def main(): check_suite.load_all_available_checkers() parser = argparse.ArgumentParser() - parser.add_argument('--test', '-t', '--test=', '-t=', required=True, + parser.add_argume...
Restores default test to 'acdd' if unspecified Restores a behavior where 'acdd' was the default option if the `-t`/`--test` parameter was left unspecified.
py
diff --git a/dpark/rdd.py b/dpark/rdd.py index <HASH>..<HASH> 100644 --- a/dpark/rdd.py +++ b/dpark/rdd.py @@ -151,7 +151,7 @@ class RDD(object): return self.mapPartitions(lambda it: sorted(it, key=key, reverse=reverse)) if numSplits is None: numSplits = min(self.ctx.defaultMinSplits,...
Bugfix: Sampling error in `RDD.sort`. If the length of rdd is big than `numSplits * <I>`, the sample keys will be an empty list, so there will be only one bin.
py
diff --git a/django_fsm_log/backends.py b/django_fsm_log/backends.py index <HASH>..<HASH> 100644 --- a/django_fsm_log/backends.py +++ b/django_fsm_log/backends.py @@ -3,9 +3,11 @@ from django_fsm_log.conf import settings class BaseBackend(object): + @staticmethod def pre_transition_callback(*args, **kwargs...
define methods as static in BaseBackend
py
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_0_parser.py +++ b/ryu/ofproto/ofproto_v1_0_parser.py @@ -480,7 +480,7 @@ class OFPQueuePropHeader(object): def parser(cls, buf, offset): property_, len_ = struct.un...
ofproto_v1_0_parser: typo
py
diff --git a/paramz/caching.py b/paramz/caching.py index <HASH>..<HASH> 100644 --- a/paramz/caching.py +++ b/paramz/caching.py @@ -34,6 +34,7 @@ import collections, weakref from functools import reduce from pickle import PickleError +from decorator import decorate # @UnresolvedImport from .core.observable import...
Remove nasty try except around decorator import which will cause silent unit test failing when decorator is not present
py
diff --git a/pylint_django/checkers/foreign_key_strings.py b/pylint_django/checkers/foreign_key_strings.py index <HASH>..<HASH> 100644 --- a/pylint_django/checkers/foreign_key_strings.py +++ b/pylint_django/checkers/foreign_key_strings.py @@ -78,9 +78,12 @@ Consider passing in an explicit Django configuration file to m...
Don't crash if Django isn't installed DjangoInstalledChecker will catch the condition and inform the user, but we should not crash before that checker gets executed.
py
diff --git a/ceam_tests/util.py b/ceam_tests/util.py index <HASH>..<HASH> 100644 --- a/ceam_tests/util.py +++ b/ceam_tests/util.py @@ -25,9 +25,9 @@ def setup_simulation(components, population_size = 100, start=datetime(1990, 1, return simulation -def pump_simulation(simulation, time_step_days=30.5, duration=...
added year_start arg to pump_simulation and made generate_test_population output a population of newborns
py
diff --git a/pyrogram/methods/messages/search_global.py b/pyrogram/methods/messages/search_global.py index <HASH>..<HASH> 100644 --- a/pyrogram/methods/messages/search_global.py +++ b/pyrogram/methods/messages/search_global.py @@ -102,7 +102,7 @@ class SearchGlobal: last = messages[-1] - off...
Fix offset_date not being an integer timestamp Closes #<I>
py
diff --git a/pysat/instruments/cnofs_ivm.py b/pysat/instruments/cnofs_ivm.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/cnofs_ivm.py +++ b/pysat/instruments/cnofs_ivm.py @@ -74,7 +74,7 @@ def load(fnames, tag=None, sat_id=None): else: import pysatCDF meta = pysat.Meta() - ...
Better support for pysatCDF in IVM load
py
diff --git a/playhouse/tests/test_reflection.py b/playhouse/tests/test_reflection.py index <HASH>..<HASH> 100644 --- a/playhouse/tests/test_reflection.py +++ b/playhouse/tests/test_reflection.py @@ -187,8 +187,8 @@ class TestReflection(PeeweeTestCase): introspector = self.get_introspector() models = i...
Enforce ordering of cols in test.
py
diff --git a/yacron/cron.py b/yacron/cron.py index <HASH>..<HASH> 100644 --- a/yacron/cron.py +++ b/yacron/cron.py @@ -200,6 +200,15 @@ class Cron: ) return web.Response(text="\n".join(lines)) + async def _web_start_job(self, request: web.Request) -> web.Response: + name = requ...
web: add ability to prematurely start a specific cron job
py
diff --git a/ladybug/datacollection.py b/ladybug/datacollection.py index <HASH>..<HASH> 100644 --- a/ladybug/datacollection.py +++ b/ladybug/datacollection.py @@ -136,9 +136,14 @@ class DataCollection(object): @property def values(self): - """Return the list of values.""" + """Return the list ...
Added Ability to Get Float Values from Data Collection I have gotten so tired of putting [x.value for x in datacollection] in nearly all of my workflows with data collections. The fact that we can't easily access the float values of the data collection has created a lot of difficulty and so I have added this property...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def test_suite(): setup( name='pynetstring', - version='0.5dev', + version='0.5', py_modules=['pynetstring'], packages=['tests'], license='MIT',
Bump to version <I>
py
diff --git a/hiyapyco/__init__.py b/hiyapyco/__init__.py index <HASH>..<HASH> 100644 --- a/hiyapyco/__init__.py +++ b/hiyapyco/__init__.py @@ -417,7 +417,7 @@ class HiYaPyCo: for k, ad in enumerate(a): logger.debug('deepmerge ad "%s" w/ k "%s" of type %s' % (ad, k, type(ad))) ...
make pylint happy : consider-iterating-dictionary
py
diff --git a/lltk/scraping.py b/lltk/scraping.py index <HASH>..<HASH> 100755 --- a/lltk/scraping.py +++ b/lltk/scraping.py @@ -103,7 +103,10 @@ class Scrape(object): for Scraper in self.iterscrapers(method): scraper = Scraper(self.word) function = getattr(scraper, method) - key = '-'.join([scraper.language...
Adjust cache key (uid) for scraping results to take extra arguments into account
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -98,7 +98,7 @@ setup(name='python-openflow', 'test': Test }, zip_safe=False, - classifiers = [ + classifiers=[ 'License :: OSI Approved :: MIT License', 'Operating Syste...
Minor fixes to setup.py - compliance scrutinizer - Issue kytos/kytos#<I>
py
diff --git a/dbussy.py b/dbussy.py index <HASH>..<HASH> 100644 --- a/dbussy.py +++ b/dbussy.py @@ -1839,7 +1839,13 @@ def _loop_attach(self, loop, dispatch) : # value is also stored as the loop attribute of the object. if loop == None : - loop = get_event_loop() + try : + # if runni...
Try to attach to currently-running loop if called from within a task.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from os import path from distutils.version import LooseVersion from setuptools import find_packages, setup -VERSION = '1.22.0' +VERSION = '1.22.1' # Import README.md into long_description pwd = path.abspat...
Bump package version to <I>
py
diff --git a/bibliopixel/main/main.py b/bibliopixel/main/main.py index <HASH>..<HASH> 100644 --- a/bibliopixel/main/main.py +++ b/bibliopixel/main/main.py @@ -22,10 +22,9 @@ def main(): for name, module in sorted(MODULES.items()): subparser = subparsers.add_parser(name, help=module.__doc__) + com...
Now command line flags must go after the end of the bibliopixel command (fix #<I>).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -79,11 +79,6 @@ def get_requirements(): requires, deplinks = get_requirements() -print('Found requirements:') -[print('\t%s' % name) for name in requires] - -print('Found dependency links:') -[print('\t%s' % uri) for uri ...
Remove dependency_link print statements from setup.py.
py
diff --git a/systemd/journal.py b/systemd/journal.py index <HASH>..<HASH> 100644 --- a/systemd/journal.py +++ b/systemd/journal.py @@ -100,10 +100,10 @@ DEFAULT_CONVERTERS = { 'COREDUMP_TIMESTAMP': _convert_timestamp, } -_IDENT_LETTER = set('ABCDEFGHIJKLMNOPQRTSUVWXYZ_') +_IDENT_CHARACTER = set('ABCDEFGHIJKLMNO...
journal: allow numbers in field identifiers
py
diff --git a/src/pymlab/sensors/iic.py b/src/pymlab/sensors/iic.py index <HASH>..<HASH> 100644 --- a/src/pymlab/sensors/iic.py +++ b/src/pymlab/sensors/iic.py @@ -24,6 +24,12 @@ class Driver(object): def read_byte_data(address, register): raise NotImplementedError() + def write_word_data(self, ad...
Fix add write_word_data and read_word_data to Driver and HIDDriver classes.
py
diff --git a/pgmpy/tests/test_inference/test_inference.py b/pgmpy/tests/test_inference/test_inference.py index <HASH>..<HASH> 100644 --- a/pgmpy/tests/test_inference/test_inference.py +++ b/pgmpy/tests/test_inference/test_inference.py @@ -16,7 +16,7 @@ class TestInferenceBase(unittest.TestCase): c_cpd = Tabula...
Corrected tests for Inference model according to refactoring.
py
diff --git a/binstar_client/commands/upload.py b/binstar_client/commands/upload.py index <HASH>..<HASH> 100644 --- a/binstar_client/commands/upload.py +++ b/binstar_client/commands/upload.py @@ -236,8 +236,8 @@ def add_parser(subparsers): parser.add_argument('-u', '--user', help='User account, defaults to the curr...
Fix typos in 'binstar upload' command-line parser help strings.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ setup( version="0.0.1", description="Library to access MIT's Moira service", long_description=open('README.rst').read(), + url="https://github.com/mitodl/mit-moira", author="MIT Office of Di...
Add url to setup.py
py
diff --git a/example_project/urls.py b/example_project/urls.py index <HASH>..<HASH> 100644 --- a/example_project/urls.py +++ b/example_project/urls.py @@ -1,21 +1,14 @@ from django.conf.urls.defaults import * from django.conf import settings -# Uncomment the next two lines to enable the admin: from django.contrib ...
Fix urls up a bit.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -114,6 +114,7 @@ class build_external_clib(build_clib): # build CLASS first if class_install_dir is None: install = self.get_finalized_command('install') + print("install_dict = ", ins...
add the clean command to setup.py
py
diff --git a/hanlp/pretrained/pos.py b/hanlp/pretrained/pos.py index <HASH>..<HASH> 100644 --- a/hanlp/pretrained/pos.py +++ b/hanlp/pretrained/pos.py @@ -11,6 +11,8 @@ CTB9_POS_ALBERT_BASE = HANLP_URL + 'pos/ctb9_albert_base_20211228_163935.zip' 'ALBERT model (:cite:`Lan2020ALBERT:`) trained on CTB9 (:cite:`https://d...
Release a CTB9 pos model
py
diff --git a/freeze/parser.py b/freeze/parser.py index <HASH>..<HASH> 100644 --- a/freeze/parser.py +++ b/freeze/parser.py @@ -1,6 +1,9 @@ # -*- coding: utf-8 -*- -from django.core.urlresolvers import reverse, NoReverseMatch +try: + from django.core.urlresolvers import reverse, NoReverseMatch +except ImportError:...
Django <I> compatibility.
py
diff --git a/src/ocrmypdf/__main__.py b/src/ocrmypdf/__main__.py index <HASH>..<HASH> 100755 --- a/src/ocrmypdf/__main__.py +++ b/src/ocrmypdf/__main__.py @@ -834,9 +834,10 @@ def run_pipeline(): # Performance is improved by setting Tesseract to single threaded. In tests # this gives better throughput than ...
Set OMP_THREAD_LIMIT unconditionally, for pngquant
py
diff --git a/scandir.py b/scandir.py index <HASH>..<HASH> 100644 --- a/scandir.py +++ b/scandir.py @@ -57,6 +57,9 @@ class DirEntry(object): self._lstat = _lstat(_join(self._path, self.name)) return self._lstat + # Ridiculous duplication between these is* functions -- helps a little bit + ...
Added comment about is* code duplication
py
diff --git a/pydevd_file_utils.py b/pydevd_file_utils.py index <HASH>..<HASH> 100644 --- a/pydevd_file_utils.py +++ b/pydevd_file_utils.py @@ -92,7 +92,7 @@ def set_ide_os(os): if os == 'UNIX': normcase = lambda f:f #Change to no-op if the client side is on unix/mac. else: - normcase = norm_ca...
Temporary revert fix related to encodings on different systems (PY-<I>)
py
diff --git a/python/mxnet/initializer.py b/python/mxnet/initializer.py index <HASH>..<HASH> 100755 --- a/python/mxnet/initializer.py +++ b/python/mxnet/initializer.py @@ -207,16 +207,20 @@ class Initializer(object): class Load(object): - """Initialize by loading data from file or dict. + """Initializes varia...
update doc for Load (#<I>)
py
diff --git a/test_pinboard.py b/test_pinboard.py index <HASH>..<HASH> 100644 --- a/test_pinboard.py +++ b/test_pinboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from pinboard import Pinboard import configparser @@ -172,5 +172,5 @@ class TestPinboardAPI(unittest.TestCase): if __name__ == ...
skip running tests until they're fixed
py
diff --git a/twine/commands/register.py b/twine/commands/register.py index <HASH>..<HASH> 100644 --- a/twine/commands/register.py +++ b/twine/commands/register.py @@ -37,7 +37,9 @@ def register(package, repository, username, password, comment, config_file, print("Registering package to {0}".format(config["reposito...
Use get_password with correct args in register command.
py
diff --git a/ladybug/designday.py b/ladybug/designday.py index <HASH>..<HASH> 100644 --- a/ladybug/designday.py +++ b/ladybug/designday.py @@ -555,19 +555,30 @@ class DesignDay(object): return ''.join(comented_str) - def to_dict(self): - """Convert the Design Day to a dictionary.""" - retu...
feat(designday): Add option to include location in DesignDay dict The previous commit made the inclusion of Location objects in the DesignDay optional and this commit adds an argument to the `to_dict` method, allowing the user to choose whether to include it.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ classifiers = [ setup( name='metatab', - version='0.6.12', + version='0.6.13', description='Data format for storing structured data in spreadsheet tables', long_description=readme, p...
COnsolidating rowgenerators
py
diff --git a/urlfetch.py b/urlfetch.py index <HASH>..<HASH> 100644 --- a/urlfetch.py +++ b/urlfetch.py @@ -46,7 +46,7 @@ else: u = lambda s: unicode(s, 'unicode_escape') -__all__ = ('request', 'fetch' +__all__ = ('request', 'fetch', 'Session', 'get', 'head', 'put', 'post', 'delete', 'options', 'tra...
__all__ includes Session
py
diff --git a/src/python/src/grpc/framework/face/_calls.py b/src/python/src/grpc/framework/face/_calls.py index <HASH>..<HASH> 100644 --- a/src/python/src/grpc/framework/face/_calls.py +++ b/src/python/src/grpc/framework/face/_calls.py @@ -248,7 +248,7 @@ class _OperationFuture(future.Future): """See future.Future....
Fix mistaken method name: "append", not "add" This defect was originally introduced in Google-internal source control on <I> August <I>. Wow. Clearly unit test coverage is needed for this feature.
py
diff --git a/lib/drizzlepac/catalogs.py b/lib/drizzlepac/catalogs.py index <HASH>..<HASH> 100644 --- a/lib/drizzlepac/catalogs.py +++ b/lib/drizzlepac/catalogs.py @@ -737,7 +737,7 @@ class UserCatalog(Catalog): self.sharp_col = False if self.pars['xyunits'] == 'degrees': - self.radec ...
Add support for user-provided image catalogs in degrees
py
diff --git a/spectator/events/admin.py b/spectator/events/admin.py index <HASH>..<HASH> 100644 --- a/spectator/events/admin.py +++ b/spectator/events/admin.py @@ -1,6 +1,5 @@ from django.conf import settings from django.contrib import admin -from django.core import urlresolvers from django.core.exceptions import Val...
Remove unused import that was also breaking in Django <I> For #8
py
diff --git a/pycoin/coins/groestlcoin/hash.py b/pycoin/coins/groestlcoin/hash.py index <HASH>..<HASH> 100644 --- a/pycoin/coins/groestlcoin/hash.py +++ b/pycoin/coins/groestlcoin/hash.py @@ -1,7 +1,5 @@ import hashlib -import groestlcoin_hash - from pycoin.encoding.hexbytes import bytes_as_revhex @@ -11,4 +9,11...
Raise ImportError when GRS is used without dependency
py
diff --git a/glances/__init__.py b/glances/__init__.py index <HASH>..<HASH> 100644 --- a/glances/__init__.py +++ b/glances/__init__.py @@ -22,7 +22,7 @@ Init the Glances software """ __appname__ = 'glances' -__version__ = '2.0_RC4' +__version__ = '2.0' __author__ = 'Nicolas Hennion <nicolas@nicolargo.com>' __lice...
Change the Glances file from RC to STABLE
py
diff --git a/pyte/screens.py b/pyte/screens.py index <HASH>..<HASH> 100644 --- a/pyte/screens.py +++ b/pyte/screens.py @@ -1160,7 +1160,7 @@ class HistoryScreen(Screen): # If we're at the bottom of the history buffer and `DECTCEM` # mode is set -- show the cursor. self.cursor.hidden = not ( -...
Update cursor hidden logic Recent changes have cause tests for this logic to fail. Being at the bottom of the history buffer can be checked by the history position being at the maximum/bottom, i.e. equal to the history size.
py
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py index <HASH>..<HASH> 100644 --- a/salt/pillar/__init__.py +++ b/salt/pillar/__init__.py @@ -327,7 +327,7 @@ class Pillar(object): else: ext.update(self.ext_pillars[key](val)) except Exception: -...
Add stack trace to ext_pillar load failures.
py
diff --git a/py/selenium/webdriver/support/select.py b/py/selenium/webdriver/support/select.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/support/select.py +++ b/py/selenium/webdriver/support/select.py @@ -31,7 +31,7 @@ class Select: from selenium.webdriver.support.ui import Select \n ...
LukeIS: don't be case sensitive when ensuring select tag name for Select Support. Fixes Issue <I> r<I>
py
diff --git a/thinc/initializers.py b/thinc/initializers.py index <HASH>..<HASH> 100644 --- a/thinc/initializers.py +++ b/thinc/initializers.py @@ -46,8 +46,8 @@ def normal_init(ops: Ops, shape: Shape, *, fan_in: int = -1) -> Array: if fan_in == -1: fan_in = shape[1] scale = ops.xp.sqrt(1.0 / fan_in) ...
fix normal_init for use with GPU/cupy
py
diff --git a/honeycomb/error_messages.py b/honeycomb/error_messages.py index <HASH>..<HASH> 100644 --- a/honeycomb/error_messages.py +++ b/honeycomb/error_messages.py @@ -14,7 +14,7 @@ FIELD_MISSING = "field {} is missing from config file" CONFIG_FIELD_TYPE_ERROR = "Config error: '{}' is not a valid {}" PARAMETERS_FI...
Fixed the help text (#<I>) Fixed the help text so it displays the right command
py
diff --git a/plenum/__metadata__.py b/plenum/__metadata__.py index <HASH>..<HASH> 100644 --- a/plenum/__metadata__.py +++ b/plenum/__metadata__.py @@ -1,7 +1,7 @@ """ plenum package metadata """ -__version_info__ = (1, 2) +__version_info__ = (1, 4) __version__ = '.'.join(map(str, __version_info__)) __author__ = "H...
[INDY-<I>] Bump minor version for indy-plenum
py
diff --git a/bokeh/server/views/bbauth.py b/bokeh/server/views/bbauth.py index <HASH>..<HASH> 100644 --- a/bokeh/server/views/bbauth.py +++ b/bokeh/server/views/bbauth.py @@ -7,8 +7,6 @@ def check_read_authentication_and_create_client(func): def wrapper(docid, *args, **kwargs): doc = docs.Doc.load(app.mod...
removing g.client from bbauth, was legacy ContinuumModelsClient
py
diff --git a/bibliopixel/led.py b/bibliopixel/led.py index <HASH>..<HASH> 100644 --- a/bibliopixel/led.py +++ b/bibliopixel/led.py @@ -1,6 +1,11 @@ import math, threading, time from . import colors, font +try: + from tdsp import ColorList +except: + ColorList = list + class updateThread(threading.Thread): ...
Many more tests, with fixes for issues.
py
diff --git a/feets/tests/test_FATS_to_feets.py b/feets/tests/test_FATS_to_feets.py index <HASH>..<HASH> 100644 --- a/feets/tests/test_FATS_to_feets.py +++ b/feets/tests/test_FATS_to_feets.py @@ -93,6 +93,7 @@ class FATSRegressionTestCase(FeetsTestCase): feets_result = dict(zip(*result)) for feature in...
removes __all__ as binary
py
diff --git a/examples/djopenid/consumer/views.py b/examples/djopenid/consumer/views.py index <HASH>..<HASH> 100644 --- a/examples/djopenid/consumer/views.py +++ b/examples/djopenid/consumer/views.py @@ -102,17 +102,21 @@ def finishOpenID(request): """ result = {} - if request.GET: - c = getConsume...
[project @ Make example consumer work with POST from provider]
py
diff --git a/bokeh/models/tools.py b/bokeh/models/tools.py index <HASH>..<HASH> 100644 --- a/bokeh/models/tools.py +++ b/bokeh/models/tools.py @@ -371,7 +371,12 @@ class HoverTool(Tool): off by setting ``tooltips=None``. .. warning:: + Hover tool does not currently work with the following glyphs: +...
Turn list of unsupported into hlist
py
diff --git a/molecule/ansible_playbook.py b/molecule/ansible_playbook.py index <HASH>..<HASH> 100644 --- a/molecule/ansible_playbook.py +++ b/molecule/ansible_playbook.py @@ -101,6 +101,9 @@ class AnsiblePlaybook: # verbose is weird, must be -vvvv not verbose=vvvv if name == 'verbose' and value: + ...
handle bool True passed to verbose since we accept False
py
diff --git a/gsh/control_shell.py b/gsh/control_shell.py index <HASH>..<HASH> 100644 --- a/gsh/control_shell.py +++ b/gsh/control_shell.py @@ -166,7 +166,8 @@ class control_shell(cmd.Cmd): def do_enable(self, command): """ - Enable sending commands to the specified shells, * for all shells + ...
Document that we are using fnmatch
py
diff --git a/minio/api.py b/minio/api.py index <HASH>..<HASH> 100644 --- a/minio/api.py +++ b/minio/api.py @@ -663,13 +663,13 @@ class Minio(object): # Verify if we wrote data properly. if total_written < content_size: - msg = 'Data written {0} bytes is smaller than the' \ + ...
Fix: Missing space between words in error message (#<I>)
py
diff --git a/publ/image.py b/publ/image.py index <HASH>..<HASH> 100644 --- a/publ/image.py +++ b/publ/image.py @@ -411,7 +411,7 @@ class LocalImage(Image): }) # Wrap it in a link as appropriate - return self._wrap_link_target(kwargs, text, title) + return flask.Markup(self._wrap_link_t...
Mark img_tag as being Markup
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,8 +38,6 @@ setup(name='GPflow', ext_modules=[], packages=["GPflow"], package_dir={'GPflow': 'GPflow'}, - package_data={'GPflow': ['GPflow/tfops/*.so']}, - include_package_data=True, py...
silly git, those are duplicated entries. re-merging setup.py
py
diff --git a/kademlia/__init__.py b/kademlia/__init__.py index <HASH>..<HASH> 100644 --- a/kademlia/__init__.py +++ b/kademlia/__init__.py @@ -3,5 +3,5 @@ Kademlia is a Python implementation of the Kademlia protocol for U{Twisted <http @author: Brian Muller U{bamuller@gmail.com} """ -version_info = (0, 1) +version_...
bumped version to <I>
py
diff --git a/bzr_exporter.py b/bzr_exporter.py index <HASH>..<HASH> 100755 --- a/bzr_exporter.py +++ b/bzr_exporter.py @@ -244,7 +244,7 @@ class BzrFastExporter(object): # Print the commit git_ref = 'refs/heads/%s' % (git_branch,) mark = ncommits + 1 - self.revid_to_mark[revid] = str(m...
really put ':' in the commit mark
py
diff --git a/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py b/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py index <HASH>..<HASH> 100644 --- a/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py +++ b/libraries/bot...
Emulator path (endorsements not present)
py
diff --git a/src/__init__.py b/src/__init__.py index <HASH>..<HASH> 100755 --- a/src/__init__.py +++ b/src/__init__.py @@ -233,6 +233,8 @@ def uptime(): 'cygwin': _uptime_linux, 'darwin': _uptime_osx, 'haiku1': _uptime_beos, + 'linux': _uptime_linux, + 'linux...
More sys.platforms. Starting from Python <I>, Linux is just 'linux'. 'linux-arm<I>' is for Android's sake.
py
diff --git a/scripts/github/release_notes.py b/scripts/github/release_notes.py index <HASH>..<HASH> 100644 --- a/scripts/github/release_notes.py +++ b/scripts/github/release_notes.py @@ -162,7 +162,7 @@ if content['issues']: for issue in content['issues']: # Get the issue title to include gh_issu...
Remove "Fixed" prefix on issues
py
diff --git a/filterpy/kalman/UKF.py b/filterpy/kalman/UKF.py index <HASH>..<HASH> 100644 --- a/filterpy/kalman/UKF.py +++ b/filterpy/kalman/UKF.py @@ -422,6 +422,10 @@ class UnscentedKalmanFilter(object): """ Computes the weights for an unscented Kalman filter. See __init__() for meaning of parameter...
Tenative fix to RTS smoother for UKF.
py
diff --git a/squad/frontend/urls.py b/squad/frontend/urls.py index <HASH>..<HASH> 100644 --- a/squad/frontend/urls.py +++ b/squad/frontend/urls.py @@ -1,4 +1,7 @@ +from django.conf import settings from django.conf.urls import url +from django.http import HttpResponse +from django.shortcuts import redirect from . im...
frontend: serve /favicon.ico and /robots.txt In production we will very often get errors logged because clients will keep requestings those URLs
py
diff --git a/multiset.py b/multiset.py index <HASH>..<HASH> 100644 --- a/multiset.py +++ b/multiset.py @@ -585,6 +585,7 @@ class BaseMultiset: class Multiset(BaseMultiset): + """The mutable multiset variant.""" __slots__ = () def __setitem__(self, element, multiplicity): @@ -990,6 +991,7 @@ class Mu...
Added some docstring to Multiset and FrozenMultiset.
py
diff --git a/tests/integration/test_flux_bias_offset.py b/tests/integration/test_flux_bias_offset.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_flux_bias_offset.py +++ b/tests/integration/test_flux_bias_offset.py @@ -44,7 +44,7 @@ class TestGetFluxBiases(unittest.TestCase): return fb.get_flux_bia...
Avoid using deprecated 'solver_features' arg
py
diff --git a/ariane_clip3/natsd/driver.py b/ariane_clip3/natsd/driver.py index <HASH>..<HASH> 100644 --- a/ariane_clip3/natsd/driver.py +++ b/ariane_clip3/natsd/driver.py @@ -157,7 +157,7 @@ class Requester(pykka.ThreadingActor): """ stop requester """ - LOGGER.warn("natsd.Requester.on...
[ACC-<I>] restart requester after several rpc timeout error
py
diff --git a/tests/test_encoder.py b/tests/test_encoder.py index <HASH>..<HASH> 100644 --- a/tests/test_encoder.py +++ b/tests/test_encoder.py @@ -283,6 +283,13 @@ END_OBJECT = key""" t = datetime.time(10, 54, 12, 123456, tzinfo=datetime.timezone.utc) self.assertRaises(ValueError, self.e.encode_time, ...
test(encoder): Added some tests for the new encoder features I want to build.
py
diff --git a/src/discoursegraphs/readwrite/paulaxml/paula.py b/src/discoursegraphs/readwrite/paulaxml/paula.py index <HASH>..<HASH> 100644 --- a/src/discoursegraphs/readwrite/paulaxml/paula.py +++ b/src/discoursegraphs/readwrite/paulaxml/paula.py @@ -155,7 +155,7 @@ class PaulaDocument(object): tree.append(mli...
minor: renamed paula anno file generation methods
py
diff --git a/vasppy/scripts/potcar_spec.py b/vasppy/scripts/potcar_spec.py index <HASH>..<HASH> 100755 --- a/vasppy/scripts/potcar_spec.py +++ b/vasppy/scripts/potcar_spec.py @@ -20,7 +20,7 @@ def main(): if args.hash: print(p, ps, hashes[p]) else: - print(p, ps, hashes[p]) + ...
Fixed bug in potcar_spec script
py
diff --git a/user.py b/user.py index <HASH>..<HASH> 100644 --- a/user.py +++ b/user.py @@ -188,3 +188,20 @@ class User(CanvasObject): 'GET', '/users/%s/avatars' % (self.id) ) + + def get_assignments(self, course_id): + """ + Returns the list of assignments for the spe...
Added get_assignments() method
py
diff --git a/fuel/server.py b/fuel/server.py index <HASH>..<HASH> 100644 --- a/fuel/server.py +++ b/fuel/server.py @@ -7,7 +7,6 @@ from numpy.lib.format import header_data_from_array_1_0 from fuel.utils import buffer_ logger = logging.getLogger(__name__) -logging.basicConfig(level='INFO') def send_arrays(socke...
Move basicConfig call to start_server
py
diff --git a/wagtailmenus/models/menus.py b/wagtailmenus/models/menus.py index <HASH>..<HASH> 100644 --- a/wagtailmenus/models/menus.py +++ b/wagtailmenus/models/menus.py @@ -301,6 +301,8 @@ class Menu(object): 'section_root': data['current_section_root_page'], 'current_ancestor_ids': data['cu...
Have the base Menu model's get_context_data() populate 'original_menu_instance' in the context, as it's not necessarily something that is only useful for multi-level menus
py
diff --git a/src/ocrmypdf/subprocess/__init__.py b/src/ocrmypdf/subprocess/__init__.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/subprocess/__init__.py +++ b/src/ocrmypdf/subprocess/__init__.py @@ -9,7 +9,6 @@ import os import re import sys from contextlib import suppress -from functools import lru_cache from ...
Don't lru_cache versions lru_cache could interfere with testing and we don't have evidence this is slow enough to justify optimizing.
py
diff --git a/sark/data.py b/sark/data.py index <HASH>..<HASH> 100644 --- a/sark/data.py +++ b/sark/data.py @@ -2,7 +2,6 @@ from collections import namedtuple import idc import idaapi -import os import shutil import itertools import struct @@ -130,12 +129,6 @@ def apply_patches(patched_path=None): for pa...
* relaxed patch validations in order to allow more than one patch
py
diff --git a/openaps/__init__.py b/openaps/__init__.py index <HASH>..<HASH> 100644 --- a/openaps/__init__.py +++ b/openaps/__init__.py @@ -7,5 +7,5 @@ Release notes: python environment. Also, rely more on json import/export of configuration. Also, variety of git tweaks. """ -__version__ = '0.1....
release openaps <I>
py
diff --git a/lib/edf/plotters/histograms.py b/lib/edf/plotters/histograms.py index <HASH>..<HASH> 100644 --- a/lib/edf/plotters/histograms.py +++ b/lib/edf/plotters/histograms.py @@ -48,6 +48,9 @@ def plot_histograms(ertobj, keys, **kwargs): else: df = ertobj.df + if df.shape[0] == 0: + raise ...
histogram plotting: * raise exception for empty data * fix bug where negative values where discarded also for linear plots
py
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index <HASH>..<HASH> 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -637,7 +637,8 @@ class TargetOptionsMixIn(object): default=False, action='store_true', help=('Instead of using shell globs to evaluate ...
Fix command help text Indicate that space delimited lists work
py
diff --git a/python/segyio/trace.py b/python/segyio/trace.py index <HASH>..<HASH> 100644 --- a/python/segyio/trace.py +++ b/python/segyio/trace.py @@ -84,7 +84,8 @@ class Trace(Sequence): >>> tr = tr - 100 >>> avg = numpy.average(tr) - Perform some seismic processing on a trace. E.g resample from 2ms spa...
Reflow text added in previous commit to honor <I> characters per line
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -86,10 +86,10 @@ setup( packages=find_packages(exclude=['tests', 'tests.*']), install_requires=[ - 'six>=1.10.0', - 'graphql-core>=2.0', - 'graphql-relay>=0.4.5', - 'promise>=2.1', + ...
Prevent requirement breaking changes I have a project still in <I> thats has been broken in my last release since it used `'graphql-core>=<I>'` in the `install_requires`. Since `graphql-core` has released version <I> with breaking changes and there was no instruction to maintain version 1, it was included as a depende...
py
diff --git a/pytodoist/todoist.py b/pytodoist/todoist.py index <HASH>..<HASH> 100644 --- a/pytodoist/todoist.py +++ b/pytodoist/todoist.py @@ -558,9 +558,14 @@ class User(TodoistObject): _fail_if_contains_errors(response) tasks_json = response.json()['items'] tasks = [] + projects_by_p...
Cache project in task search results Could also do this in get_project_with_id or somewhere even broader, but this sped up my primary use case by about <I>x (listing around <I> tasks for the day)
py
diff --git a/tests/test_integration.py b/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -61,7 +61,7 @@ class TestIntegration(object): # Start running mock server in a separate thread. # Daemon threads automatically shut down whe...
Set daemon attribute instead of using setDaemon method that was deprecated in Python <I> (#<I>)
py
diff --git a/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py b/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py index <HASH>..<HASH> 100644 --- a/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py +++ b/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py @@ -44,11 +44,11 @@ def make_...
use hex-formatted private keys
py
diff --git a/underwear/run_underwear.py b/underwear/run_underwear.py index <HASH>..<HASH> 100644 --- a/underwear/run_underwear.py +++ b/underwear/run_underwear.py @@ -70,6 +70,8 @@ def deploy(args): ask_sudo_pass=options.ask_sudo_pass) options.sudo_user = options.sudo_user or C.DEFAULT_SUDO_USER + ex...
updating script to include ansible playbook execution hook
py
diff --git a/sockeye/log.py b/sockeye/log.py index <HASH>..<HASH> 100644 --- a/sockeye/log.py +++ b/sockeye/log.py @@ -97,6 +97,11 @@ LOGGING_CONFIGS = { } +def _is_python34() -> bool: + version = sys.version_info + return version[0] == 3 and version[1] == 4 + + def setup_main_logger(name: str, file_logging...
Updated exception logging for Python<I> (#<I>)
py
diff --git a/cosmic_ray/operators/operator.py b/cosmic_ray/operators/operator.py index <HASH>..<HASH> 100644 --- a/cosmic_ray/operators/operator.py +++ b/cosmic_ray/operators/operator.py @@ -1,4 +1,5 @@ import ast +from collections import namedtuple import copy import itertools import logging @@ -8,6 +9,11 @@ from ...
Defined an ActivationRecord class.
py
diff --git a/alot/widgets.py b/alot/widgets.py index <HASH>..<HASH> 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -538,8 +538,8 @@ class MessageHeaderWidget(urwid.AttrMap): class MessageBodyWidget(urwid.AttrMap): """displays printable parts of an email""" - def __init__(self, msg): - bodytxt =...
Fix tab rendering in MessageBodyWidget urwid renders all characters in map(chr, range(<I>)) as '?' except for the newline character. This makes sense since it is up to the application to interpret those characters.
py
diff --git a/voltron/plugins/debugger/dbg_lldb.py b/voltron/plugins/debugger/dbg_lldb.py index <HASH>..<HASH> 100644 --- a/voltron/plugins/debugger/dbg_lldb.py +++ b/voltron/plugins/debugger/dbg_lldb.py @@ -356,6 +356,26 @@ if HAVE_LLDB: else: raise Exception("No command specified") + ...
Add disasm flavour and debugger host
py
diff --git a/command/config.py b/command/config.py index <HASH>..<HASH> 100644 --- a/command/config.py +++ b/command/config.py @@ -151,7 +151,8 @@ class config (Command): library_dirs=library_dirs, target_lang=lang) - prog = prog + s...
patch #<I>, fix config command on OSX and Linux
py
diff --git a/tests/integration/shell/arguments.py b/tests/integration/shell/arguments.py index <HASH>..<HASH> 100644 --- a/tests/integration/shell/arguments.py +++ b/tests/integration/shell/arguments.py @@ -14,7 +14,7 @@ from salt.exceptions import SaltInvocationError import integration -@requires_salt_modules('te...
Add test for arguments with dashes in the arg name
py
diff --git a/ui/msm.py b/ui/msm.py index <HASH>..<HASH> 100644 --- a/ui/msm.py +++ b/ui/msm.py @@ -29,6 +29,10 @@ and provides them for later access. .. moduleauthor:: B. Trendelkamp-Schroer <benjamin DOT trendelkamp-schroer AT fu-berlin DOT de> """ + +__docformat__ = "restructuredtext en" + +import copy import nu...
[msm.ui.msm]: dragging along refactor
py
diff --git a/examples/basicparam.py b/examples/basicparam.py index <HASH>..<HASH> 100644 --- a/examples/basicparam.py +++ b/examples/basicparam.py @@ -92,11 +92,6 @@ class ParamExample: cb=self._cpu_flash_callback) print('') - print('Reading back back all pa...
When the CF is connected the API will trigger reading all params internally, no need to do it outside.
py
diff --git a/noseprogressive/bar.py b/noseprogressive/bar.py index <HASH>..<HASH> 100644 --- a/noseprogressive/bar.py +++ b/noseprogressive/bar.py @@ -108,10 +108,15 @@ class ProgressBar(object): class Null(object): - def __getattr__(self, attr): + def __getattr__(self, *args, **kwargs): """Return a...
Work around Python <I> not looking up __enter__ or __exit__ through __getattr__. The tests were failing under <I>.
py