diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/telebot/types.py b/telebot/types.py index <HASH>..<HASH> 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -175,7 +175,7 @@ class Message(JsonDeserializable): def __init__(self, message_id, from_user, date, chat, content_type, options): self.chat = chat self.date = date - ...
Fixed API inconsistency (Message.fromUser -> Message.from_user)
py
diff --git a/warehouse/packaging/models.py b/warehouse/packaging/models.py index <HASH>..<HASH> 100644 --- a/warehouse/packaging/models.py +++ b/warehouse/packaging/models.py @@ -226,8 +226,8 @@ class File(db.Model): def path(self): return "/".join([ self.python_version, - self.nam...
Use the relation to look up the name.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ setup( version = '0.0.1', description = 'A generic, spec-compliant, thorough implementation of the OAuth request-signing logic', long_description = fread('README.rst'), - author = '', - auth...
Add author/email to setup.py
py
diff --git a/hamster/stats.py b/hamster/stats.py index <HASH>..<HASH> 100644 --- a/hamster/stats.py +++ b/hamster/stats.py @@ -116,7 +116,8 @@ class ReportChooserDialog(gtk.Dialog): self.end_date.set_date(end_date) #add unsorted category - button_all = gtk.CheckButton(_("All").encode(...
bug <I> - disambiguate between all years and categories for translators, using a dummy variable
py
diff --git a/setuptools/discovery.py b/setuptools/discovery.py index <HASH>..<HASH> 100644 --- a/setuptools/discovery.py +++ b/setuptools/discovery.py @@ -183,15 +183,24 @@ class FlatLayoutPackageFinder(PEP420PackageFinder): "doc", "docs", "documentation", + "manpages", + "news"...
Add other names to the list of excluded packages for auto-discovery
py
diff --git a/tryfer/keystone.py b/tryfer/keystone.py index <HASH>..<HASH> 100644 --- a/tryfer/keystone.py +++ b/tryfer/keystone.py @@ -139,7 +139,7 @@ class KeystoneAgent(object): return body else: self.msg("_handleAuthResponse: %(response)s rejected", response=response) -...
Added exception to fail() call that is not in a try except block
py
diff --git a/potsdb/__init__.py b/potsdb/__init__.py index <HASH>..<HASH> 100644 --- a/potsdb/__init__.py +++ b/potsdb/__init__.py @@ -1,2 +1,2 @@ -__version__ = '1.0.2' +__version__ = '1.0.3' from potsdb.client import Client
Bumped version to <I>
py
diff --git a/master/buildbot/worker/openstack.py b/master/buildbot/worker/openstack.py index <HASH>..<HASH> 100644 --- a/master/buildbot/worker/openstack.py +++ b/master/buildbot/worker/openstack.py @@ -119,7 +119,7 @@ class OpenStackLatentWorker(AbstractLatentWorker): @defer.inlineCallbacks def _renderBlockD...
The copy is redundant because the render makes a new dict
py
diff --git a/textract/parsers/tesseract.py b/textract/parsers/tesseract.py index <HASH>..<HASH> 100644 --- a/textract/parsers/tesseract.py +++ b/textract/parsers/tesseract.py @@ -19,9 +19,17 @@ def temp_filename(): def extract(filename, **kwargs): """Extract text from various image file formats using tesseract-...
removing tesseract version info from output. fixes #<I>
py
diff --git a/grimoirelab_toolkit/_version.py b/grimoirelab_toolkit/_version.py index <HASH>..<HASH> 100644 --- a/grimoirelab_toolkit/_version.py +++ b/grimoirelab_toolkit/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.1.10" +__version__ = "0.1.1...
Update version number to <I>
py
diff --git a/sa_carbon.py b/sa_carbon.py index <HASH>..<HASH> 100755 --- a/sa_carbon.py +++ b/sa_carbon.py @@ -201,7 +201,7 @@ def read_data( ts_to=None, max_past_days=7, sa_day = int(sa[2:]) try: sa_day = sa_days[sa_day] except KeyError: continue # too old or new - sa_ts_to = ts_to if sa_day.day == ts_to.day...
sa_carbon: removed destination timestamp to resolve date-conflict
py
diff --git a/src/rez/pip.py b/src/rez/pip.py index <HASH>..<HASH> 100644 --- a/src/rez/pip.py +++ b/src/rez/pip.py @@ -231,10 +231,8 @@ def pip_install_package(source_name, pip_version=None, python_version=None, # Build pip commandline cmd = [pip_exe, "install", - "--install-option=--install-lib=%...
refactor(rez-pip): update the pip install arguments Update the pip install arguments to use a specific target directory to install the requested library. Set the install command to use PEP <I> for building source distributions to ensure a wheel is always built before installation. Relates <URL>
py
diff --git a/pymouse.py b/pymouse.py index <HASH>..<HASH> 100644 --- a/pymouse.py +++ b/pymouse.py @@ -1,15 +1,17 @@ # -*- coding: iso-8859-1 -*- import sys -from abc import ABCMeta +from abc import ABCMeta, abstractmethod class PyMouseMeta: __metaclass__ = ABCMeta + @abstractmethod def press(self, x, y, bu...
Forgot to add the @abstractmethod to the base class. Now windows is broken until I find a way to get the screen size
py
diff --git a/pycbc/waveform/pycbc_phenomC_tmplt.py b/pycbc/waveform/pycbc_phenomC_tmplt.py index <HASH>..<HASH> 100644 --- a/pycbc/waveform/pycbc_phenomC_tmplt.py +++ b/pycbc/waveform/pycbc_phenomC_tmplt.py @@ -201,7 +201,12 @@ def imrphenomc_tmplt(**kwds): ## The units of distance given as input is taken to pe ...
Added a check for input fMAX, if not provided, it defaults to the fCut used in the PhenomB code in lalsimulation.
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 @@ -586,6 +586,7 @@ class Requester(pykka.ThreadingActor): LOGGER.debug('natsd.Requester.call - slow RPC time (' + str(rpc_time) + '...
[ACC-<I>] restart requester after several rpc timeout error
py
diff --git a/charmhelpers/contrib/openstack/openstack_utils.py b/charmhelpers/contrib/openstack/openstack_utils.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/openstack_utils.py +++ b/charmhelpers/contrib/openstack/openstack_utils.py @@ -11,6 +11,7 @@ from distutils.version import StrictVersion ...
make sure juju_rc_path is created. use charm_dir too.
py
diff --git a/scout/server/blueprints/variants/controllers.py b/scout/server/blueprints/variants/controllers.py index <HASH>..<HASH> 100644 --- a/scout/server/blueprints/variants/controllers.py +++ b/scout/server/blueprints/variants/controllers.py @@ -364,8 +364,9 @@ def incomplete_penetrance(variant_obj): def caller...
don't expect callers in GT call
py
diff --git a/flask_resty/jwt.py b/flask_resty/jwt.py index <HASH>..<HASH> 100644 --- a/flask_resty/jwt.py +++ b/flask_resty/jwt.py @@ -26,6 +26,7 @@ class JwtAuthentication(AuthenticationBase): CONFIG_KEY_TEMPLATE = 'RESTY_JWT_DECODE_{}' id_token_arg = 'id_token' + header_prefix = 'Bearer' def __i...
Allow changing expected Authorization header_prefix in subclasses of JwtAuthentication
py
diff --git a/testing/test_invocations.py b/testing/test_invocations.py index <HASH>..<HASH> 100644 --- a/testing/test_invocations.py +++ b/testing/test_invocations.py @@ -40,7 +40,7 @@ def test_only_kwargs(pm: PluginManager) -> None: def test_opt_in_args(pm: PluginManager) -> None: - """Verfiy that two hookimpl...
fix typo on test_invocations.py
py
diff --git a/examples/opf/clients/hotgym/model_params.py b/examples/opf/clients/hotgym/model_params.py index <HASH>..<HASH> 100644 --- a/examples/opf/clients/hotgym/model_params.py +++ b/examples/opf/clients/hotgym/model_params.py @@ -99,6 +99,10 @@ MODEL_PARAMS = { # 0: silent; >=1: some info; >=2: more i...
new field to select spatial pooler implementation in description.py valid values are 'oldpy' (FDRCSpatial2, default), 'py' , and 'cpp' (Gil's optimized C++ implementation) if the value is unset, default oldpy is used. to set, use 'spatialImp' field in spatial pooler section of description.py/model_params.py with one ...
py
diff --git a/sorl/thumbnail/engines/pil_engine.py b/sorl/thumbnail/engines/pil_engine.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/engines/pil_engine.py +++ b/sorl/thumbnail/engines/pil_engine.py @@ -1,4 +1,3 @@ -from io import BytesIO from sorl.thumbnail.engines.base import EngineBase from sorl.thumbnail.comp...
Always use compat.BufferIO in pil_engine.
py
diff --git a/pypyr/context.py b/pypyr/context.py index <HASH>..<HASH> 100644 --- a/pypyr/context.py +++ b/pypyr/context.py @@ -297,8 +297,8 @@ class Context(dict): Formatted string. Raises: - KeyError: context[key] has {somekey} where somekey does not exist - in c...
docstrings to KeyNotInContextError rather than KeyError
py
diff --git a/tests/test_message_parser.py b/tests/test_message_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_message_parser.py +++ b/tests/test_message_parser.py @@ -125,8 +125,8 @@ def test_invalid(): m = FinTS3Parser().parse_message(message6) -def test_robust_mode(mock): - mock.patch('fints.p...
`mock` has been deprecated in <I>
py
diff --git a/html5lib/html5parser.py b/html5lib/html5parser.py index <HASH>..<HASH> 100644 --- a/html5lib/html5parser.py +++ b/html5lib/html5parser.py @@ -926,10 +926,10 @@ def getPhases(debug): self.endTagHandler = utils.MethodDispatcher([ ("body", self.endTagBody), ("htm...
Fix #4: nested, indirect descendant, <button> causes infinite loop. A couple of elements (button, dialog) were missing from the list of endTagBlock in-body-phase dispatcher. This adds them. See <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ class install_with_kernelspec(install): # TODO: Copy resources once they're specified log.info('Installing IPython kernel spec') - install_kernel_spec(td, 'bash', system=no...
Update install_kernel_spec arguments Goes along with ipython/ipython#<I>
py
diff --git a/src/toil/utils/toilStatus.py b/src/toil/utils/toilStatus.py index <HASH>..<HASH> 100644 --- a/src/toil/utils/toilStatus.py +++ b/src/toil/utils/toilStatus.py @@ -39,11 +39,11 @@ logger = logging.getLogger(__name__) class ToilStatus(): """Tool for reporting on job status.""" - def __init__(self, ...
Make sure JobException is caught when jobstore complete.
py
diff --git a/salt/fileserver/svnfs.py b/salt/fileserver/svnfs.py index <HASH>..<HASH> 100644 --- a/salt/fileserver/svnfs.py +++ b/salt/fileserver/svnfs.py @@ -58,7 +58,7 @@ def __virtual__(): ''' Only load if subversion is available ''' - if not __virtualname__ in __opts__['fileserver_backend']: + ...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/tests/integration/standard/test_cluster.py b/tests/integration/standard/test_cluster.py index <HASH>..<HASH> 100644 --- a/tests/integration/standard/test_cluster.py +++ b/tests/integration/standard/test_cluster.py @@ -580,7 +580,20 @@ class ClusterTests(unittest.TestCase): check_trace(future.get_q...
Added tests for python-<I>
py
diff --git a/telegram_send.py b/telegram_send.py index <HASH>..<HASH> 100644 --- a/telegram_send.py +++ b/telegram_send.py @@ -27,7 +27,7 @@ from subprocess import check_output, CalledProcessError import telegram -__version__ = "0.7" +__version__ = "0.7.1" def main():
version bump for pypi readme
py
diff --git a/neo.py b/neo.py index <HASH>..<HASH> 100755 --- a/neo.py +++ b/neo.py @@ -424,12 +424,11 @@ class Git(object): def outgoing(): try: - pquery([git_cmd, 'log', 'origin..']) - return True + return True if pquery([git_cmd, 'log', 'origin..']) else False ...
Fixed tracking of outgoing changes in git Removed print
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup(name='dingo', 'pyproj', 'geoalchemy2', #'matplotlib', #should be included but fails via pip3 - 'oemof'] - ...
Add more depencies to setup.py oemof.db and ego.io are released now and therefore can be added as depending packages
py
diff --git a/zipline/protocol.py b/zipline/protocol.py index <HASH>..<HASH> 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -152,6 +152,7 @@ class Position(object): self.amount = 0 self.cost_basis = 0.0 # per share self.last_sale_price = 0.0 + self.last_sale_date = None ...
FIX: Add last_sale_date to Position init for consistency
py
diff --git a/acos_client/v30/slb/service_group.py b/acos_client/v30/slb/service_group.py index <HASH>..<HASH> 100644 --- a/acos_client/v30/slb/service_group.py +++ b/acos_client/v30/slb/service_group.py @@ -59,9 +59,11 @@ class ServiceGroup(base.BaseV30): }) } if lb_method[-16:] == 'least...
weird lb_method de-multiplexing in <I>
py
diff --git a/cpu6809.py b/cpu6809.py index <HASH>..<HASH> 100755 --- a/cpu6809.py +++ b/cpu6809.py @@ -723,8 +723,8 @@ class CPU(object): own_ab, ref_ab ) log.error(err_msg) - if etype is None: - raise RuntimeEr...
deactivate "sys exit" on trace difference
py
diff --git a/superset/config.py b/superset/config.py index <HASH>..<HASH> 100644 --- a/superset/config.py +++ b/superset/config.py @@ -459,7 +459,7 @@ SMTP_MAIL_FROM = 'superset@superset.com' if not CACHE_DEFAULT_TIMEOUT: CACHE_DEFAULT_TIMEOUT = CACHE_CONFIG.get('CACHE_DEFAULT_TIMEOUT') -# Whether to bump the l...
[fix] Typo on config comments for SILENCE_FAB (#<I>)
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -620,6 +620,9 @@ def installed( 'comment': ' '.join(comment)} changes = {'installed': {}} + modified_hold = None + not_modified_hold = None + failed_hold...
Fix variable definition in wrong scope File "/usr/lib/python<I>/dist-packages/salt/states/pkg.py", line <I> UnboundLocalError: local variable 'modified_hold' referenced before assignment
py
diff --git a/tests/unit_tests/test_ef_aws_resolver.py b/tests/unit_tests/test_ef_aws_resolver.py index <HASH>..<HASH> 100644 --- a/tests/unit_tests/test_ef_aws_resolver.py +++ b/tests/unit_tests/test_ef_aws_resolver.py @@ -1881,7 +1881,7 @@ class TestEFAwsResolver(unittest.TestCase): ef_aws_resolver = EFAwsResol...
Updated unit tests for the 4th time. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,6 @@ setup( 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Operating System :: OS Independent', - 'Programming Lang...
Remove Python <I> from setup.py
py
diff --git a/penaltymodel_lp/penaltymodel/lp/generation.py b/penaltymodel_lp/penaltymodel/lp/generation.py index <HASH>..<HASH> 100644 --- a/penaltymodel_lp/penaltymodel/lp/generation.py +++ b/penaltymodel_lp/penaltymodel/lp/generation.py @@ -55,7 +55,8 @@ def generate_bqm(graph, table, decision_variables, n_inval...
Address code review. More conscience of memory usage
py
diff --git a/sherlock/transient_catalogue_crossmatch.py b/sherlock/transient_catalogue_crossmatch.py index <HASH>..<HASH> 100644 --- a/sherlock/transient_catalogue_crossmatch.py +++ b/sherlock/transient_catalogue_crossmatch.py @@ -479,6 +479,9 @@ class transient_catalogue_crossmatch(): """ self.log.in...
fixed bug: precision issue in bright-star check caused overflow
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1364,7 +1364,6 @@ class DataFrame(NDFrame): break # create the data for a chunk - blocks = self._data.blocks data =[Non...
TST: test for to_csv on failing vbench duplicate column names across dtypes is a problem, and not-easy to fix, so letting test fail
py
diff --git a/tests/rw_functional.py b/tests/rw_functional.py index <HASH>..<HASH> 100644 --- a/tests/rw_functional.py +++ b/tests/rw_functional.py @@ -396,7 +396,7 @@ class RHPartnerTest(BaseTest): # modify --target_release # modify --target_milestone - targetbugid = 831888 + targetbug...
tests: Fix some bits that depend on changed bz state
py
diff --git a/roadhouse/tests/test_parser.py b/roadhouse/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/roadhouse/tests/test_parser.py +++ b/roadhouse/tests/test_parser.py @@ -27,7 +27,10 @@ class RuleParseTest(unittest.TestCase): self.assertEqual(tmp.to_port, 80) def test_group_name_parse(self):...
Completing test: test_group_name_parse. Include testing for security group with '.' character in name. Tests are passing.
py
diff --git a/demands/service.py b/demands/service.py index <HASH>..<HASH> 100644 --- a/demands/service.py +++ b/demands/service.py @@ -74,7 +74,7 @@ class HTTPService(object): self.client_version = client_version self.app_name = app_name - def pre_send(self, request, **params): + def p...
Uniform use of **kwargs
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -1532,15 +1532,19 @@ class ReverseForeignRelatedObject(object): class ForeignKeyField(IntegerField): db_field = 'foreign_key' - field_template = '%(column_type)s%(nullable)s REFERENCES %(to_table)s (%(to_pk)s)%(...
Allow arbitrary additional clauses easy to add to foriegn key fields
py
diff --git a/src/deft/tracker.py b/src/deft/tracker.py index <HASH>..<HASH> 100644 --- a/src/deft/tracker.py +++ b/src/deft/tracker.py @@ -102,9 +102,7 @@ class FeatureTracker(object): status = self.initial_status bucket = self.features_with_status(status) - priority = len(bucket)...
initial priority of feature is None (not prioritised), indexing Bucket assigns priority
py
diff --git a/abydos/phones/_phones.py b/abydos/phones/_phones.py index <HASH>..<HASH> 100644 --- a/abydos/phones/_phones.py +++ b/abydos/phones/_phones.py @@ -708,37 +708,10 @@ def get_feature(vector, feature): # 0 & 1 represent - & + and 0s are mapped to - if feature not in _FEATURE_MASK: - ...
formulated exception to use _FEATURE_MASK rather than manually generated list
py
diff --git a/httprunner/locusts.py b/httprunner/locusts.py index <HASH>..<HASH> 100644 --- a/httprunner/locusts.py +++ b/httprunner/locusts.py @@ -40,6 +40,7 @@ def gen_locustfile(testcase_file_path): "templates", "locustfile_template" ) + TestcaseLoader.load_test_dependencies() testset =...
fix locusts for test api and suite
py
diff --git a/indra/sources/eidos/eidos_reader.py b/indra/sources/eidos/eidos_reader.py index <HASH>..<HASH> 100644 --- a/indra/sources/eidos/eidos_reader.py +++ b/indra/sources/eidos/eidos_reader.py @@ -69,7 +69,7 @@ class EidosReader(object): eidos = autoclass(eidos_package + '.EidosSystem') ...
Update call to extraction with new extra arg
py
diff --git a/auxi/tools/chemistry/stoichiometry.py b/auxi/tools/chemistry/stoichiometry.py index <HASH>..<HASH> 100644 --- a/auxi/tools/chemistry/stoichiometry.py +++ b/auxi/tools/chemistry/stoichiometry.py @@ -255,9 +255,9 @@ def masses(amounts): def mass_fractions(amounts): """ - Calculate the mole fractio...
Correct docstring. I found a mistake in the mass_fractions function docstring, which I fixed.
py
diff --git a/pyensembl/sequence_data.py b/pyensembl/sequence_data.py index <HASH>..<HASH> 100644 --- a/pyensembl/sequence_data.py +++ b/pyensembl/sequence_data.py @@ -96,7 +96,7 @@ class SequenceData(object): return ( isinstance(other, SequenceData) and self.url == other.url and - ...
equality of SequenceData based on release, not path
py
diff --git a/examples/lm_finetuning/finetune_on_pregenerated.py b/examples/lm_finetuning/finetune_on_pregenerated.py index <HASH>..<HASH> 100644 --- a/examples/lm_finetuning/finetune_on_pregenerated.py +++ b/examples/lm_finetuning/finetune_on_pregenerated.py @@ -309,7 +309,7 @@ def main(): nb_tr_exampl...
Corrected the displayed loss when gradient_accumulation_steps > 1
py
diff --git a/src/benchsuite/cli/argument_parser.py b/src/benchsuite/cli/argument_parser.py index <HASH>..<HASH> 100644 --- a/src/benchsuite/cli/argument_parser.py +++ b/src/benchsuite/cli/argument_parser.py @@ -142,7 +142,7 @@ def get_options_parser(cmds_mapping=DEFAULT_CMDS_MAPPING): ...
accepting provider configuration also via env variable
py
diff --git a/pods/google.py b/pods/google.py index <HASH>..<HASH> 100644 --- a/pods/google.py +++ b/pods/google.py @@ -46,9 +46,9 @@ except ImportError: try: import httplib2 # easy_install --upgrade google-api-python-client - from apiclient import errors - from apiclient.discovery import build - fro...
Update google api client library name.
py
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -266,14 +266,25 @@ class RequestHandler(object): value = "|".join([value, timestamp, signature]) self.set_cookie(name, value, expires_days=expires_days, **kwargs) - def get_secure...
Add backwards compatability for secure cookie reading
py
diff --git a/ipCorePackager/component.py b/ipCorePackager/component.py index <HASH>..<HASH> 100755 --- a/ipCorePackager/component.py +++ b/ipCorePackager/component.py @@ -156,7 +156,7 @@ class Component(): self.registerInterface(i) else: pack = self._packager - name = p...
fix logical-physical name mismatch in IP-XACT model
py
diff --git a/pelix/framework.py b/pelix/framework.py index <HASH>..<HASH> 100644 --- a/pelix/framework.py +++ b/pelix/framework.py @@ -648,7 +648,7 @@ class Framework(Bundle): # Service registry self._registry = ServiceRegistry(self) self.__unregistering_services = {} - + # E...
Framework.delete() must work in RESOLVED state
py
diff --git a/grasia_dash_components/version.py b/grasia_dash_components/version.py index <HASH>..<HASH> 100644 --- a/grasia_dash_components/version.py +++ b/grasia_dash_components/version.py @@ -1 +1 @@ -__version__ = '0.3.2' +__version__ = '0.3.4'
Released version <I> Added long_description to pip package. Finally got it working in md thanks to twine.
py
diff --git a/AnyQt/QtGui.py b/AnyQt/QtGui.py index <HASH>..<HASH> 100644 --- a/AnyQt/QtGui.py +++ b/AnyQt/QtGui.py @@ -138,6 +138,19 @@ __Qt4_QtGui = [ if _api.USED_API == _api.QT_API_PYQT6: from PyQt6.QtGui import * + if not hasattr(QMouseEvent, "pos"): + QMouseEvent.pos = lambda self: self.position(...
PyQt6: Add back obsolete pos,x, ..., accessors to QMouseEvent
py
diff --git a/test-app/behave/environment.py b/test-app/behave/environment.py index <HASH>..<HASH> 100644 --- a/test-app/behave/environment.py +++ b/test-app/behave/environment.py @@ -24,8 +24,8 @@ def before_all(context): else: context.browser = webdriver.PhantomJS() - ## Set a decent timeout: 30s. -...
up general timeout for goose (which seems slow these days)
py
diff --git a/tests/utils_config_unittest.py b/tests/utils_config_unittest.py index <HASH>..<HASH> 100644 --- a/tests/utils_config_unittest.py +++ b/tests/utils_config_unittest.py @@ -299,9 +299,19 @@ class HazardBlockSizeTestCase(ConfigTestMixin, unittest.TestCase): self.teardown_config() def test_not_c...
added one more test Former-commit-id: <I>e8d<I>ecd<I>a3b5a8a<I>e7fce<I>ad1
py
diff --git a/pdb.py b/pdb.py index <HASH>..<HASH> 100644 --- a/pdb.py +++ b/pdb.py @@ -125,8 +125,10 @@ class Pdb(pdb.Pdb, ConfigurableClass): self.print_stack_entry(self.stack[self.curindex]) self.print_hidden_frames_count() completer = fancycompleter.setup() + old_completer = complet...
issue 2 fixed re-enable the old readline completer before leaving the pdb prompt
py
diff --git a/ceph/test_ceph.py b/ceph/test_ceph.py index <HASH>..<HASH> 100644 --- a/ceph/test_ceph.py +++ b/ceph/test_ceph.py @@ -12,16 +12,6 @@ import simplejson as json from tests.checks.common import AgentCheckTest, Fixtures from checks import AgentCheck - -instance = { - 'host': 'localhost', - 'port': 26...
[ceph] cleanup test.
py
diff --git a/jira/exceptions.py b/jira/exceptions.py index <HASH>..<HASH> 100644 --- a/jira/exceptions.py +++ b/jira/exceptions.py @@ -24,13 +24,17 @@ def raise_on_error(r): if 'message' in response: # JIRA 5.1 errors error = response['message'] - ...
Fix for empty errorMessages, moved length check to main logic for deciding which error message to use and added check for 'errors' in the response.
py
diff --git a/jarn/mkrelease/mkrelease.py b/jarn/mkrelease/mkrelease.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/mkrelease.py +++ b/jarn/mkrelease/mkrelease.py @@ -316,8 +316,8 @@ class ReleaseMaker(object): def get_package(self): """Get the URL or sandbox to release. """ - scmtype ...
Change name of temp directory. Oh boy.
py
diff --git a/cherrypy/_cprequest.py b/cherrypy/_cprequest.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cprequest.py +++ b/cherrypy/_cprequest.py @@ -835,6 +835,9 @@ class Response(object): cookie = self.cookie.output() if cookie: for line in cookie.split("\n"): + if line....
Fix for #<I> (Problem with multiple cookies and Python <I>).
py
diff --git a/sksurv/setup.py b/sksurv/setup.py index <HASH>..<HASH> 100644 --- a/sksurv/setup.py +++ b/sksurv/setup.py @@ -56,7 +56,8 @@ def maybe_cythonize_extensions(top_path, config): exc.args += (message,) raise - config.ext_modules = cythonize(config.ext_modules) + config....
Set Cython language_level to 3
py
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py index <HASH>..<HASH> 100644 --- a/astrobase/lcproc.py +++ b/astrobase/lcproc.py @@ -3334,8 +3334,9 @@ def update_checkplotdict_nbrlcs( # get the light curve if not os.path.exists(lcfpath): - LOGERROR('neighbor: %s, lightcurve: %s not ...
lcproc: check if neighbor LC actually exists before processing it
py
diff --git a/gimmemotifs/plot.py b/gimmemotifs/plot.py index <HASH>..<HASH> 100644 --- a/gimmemotifs/plot.py +++ b/gimmemotifs/plot.py @@ -15,7 +15,7 @@ from gimmemotifs import mytmpdir # Matplotlib imports import matplotlib as mpl -mpl.use("Agg") +mpl.use("Agg", warn=False) import matplotlib.pyplot as plt import...
don't show matplotlib warning
py
diff --git a/salt/modules/win_system.py b/salt/modules/win_system.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_system.py +++ b/salt/modules/win_system.py @@ -341,7 +341,7 @@ def set_computer_name(name): salt 'minion-id' system.set_computer_name 'DavesComputer' ''' - if name: + if name and...
win_system: Fix python 3 issue in system.set_computer_name Python 3 no longer has a decode function for strings. Decode should not be called if the new name is already a string.
py
diff --git a/googletrans/constants.py b/googletrans/constants.py index <HASH>..<HASH> 100644 --- a/googletrans/constants.py +++ b/googletrans/constants.py @@ -108,7 +108,9 @@ LANGUAGES = { 'xh': 'xhosa', 'yi': 'yiddish', 'yo': 'yoruba', - 'zu': 'zulu' + 'zu': 'zulu', + 'fil': 'Filipino', + 'h...
Filipino && Hebrew support (#<I>)
py
diff --git a/master/buildbot/process/buildstep.py b/master/buildbot/process/buildstep.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/buildstep.py +++ b/master/buildbot/process/buildstep.py @@ -439,7 +439,6 @@ class BuildStep(object, properties.PropertiesMixin): def __new__(klass, *args, **kwargs): ...
Remove silly call of __init__ from __new__ in BuildStep.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ import platform from distutils.core import setup, Command -__version__ = '0.1.0' +__version__ = '0.1.1' __author__ = 'Taylor "Nekroze" Lawson' __email__ = 'nekroze@eturnilnetwork.com' SOURCE = 'librarian'
Updated version to <I>
py
diff --git a/cocaine/tools/cli.py b/cocaine/tools/cli.py index <HASH>..<HASH> 100644 --- a/cocaine/tools/cli.py +++ b/cocaine/tools/cli.py @@ -141,9 +141,10 @@ class CallActionCli(object): log.info('Service "{0}" provides following API:'.format(self.action.serviceName)) log.info('\n'.j...
Style and fashion over cocaine-tools.
py
diff --git a/pipeline/glob.py b/pipeline/glob.py index <HASH>..<HASH> 100644 --- a/pipeline/glob.py +++ b/pipeline/glob.py @@ -15,7 +15,7 @@ def glob(pathname): The pattern may contain simple shell-style wildcards a la fnmatch. """ - return list(iglob(pathname)) + return sorted(list(iglob(pathname))) ...
Ensure file globing is deterministic A small change to ensure the order of filenames returned from glob() is deterministic. This is required to provide consistant file order (and therefore minified file version hashs) when running collectstatic on multiple servers.
py
diff --git a/tests/examples/client.py b/tests/examples/client.py index <HASH>..<HASH> 100644 --- a/tests/examples/client.py +++ b/tests/examples/client.py @@ -1,4 +1,8 @@ from clearly.client import ClearlyClient +from clearly.server import start_server + +# uncomment to test internal server +# server = start_server('a...
test(examples) include internal server test
py
diff --git a/s3transfer/manager.py b/s3transfer/manager.py index <HASH>..<HASH> 100644 --- a/s3transfer/manager.py +++ b/s3transfer/manager.py @@ -588,11 +588,8 @@ class TransferCoordinatorController(object): # exception if transfer_coordinator: logger.debug( - ...
Remove extra detail in debug log statement The associated_futures property used a lock and that can cause deadlocks when debugging is enabled.
py
diff --git a/modopt/opt/proximity.py b/modopt/opt/proximity.py index <HASH>..<HASH> 100644 --- a/modopt/opt/proximity.py +++ b/modopt/opt/proximity.py @@ -465,10 +465,10 @@ class OrderedWeightedL1Norm(ProximityParent): def __init__(self, weights): - if any([weights_i < 0 for weights_i in np.squeeze(weig...
Squeezing the weights before starting
py
diff --git a/robot-server/robot_server/robot/calibration/constants.py b/robot-server/robot_server/robot/calibration/constants.py index <HASH>..<HASH> 100644 --- a/robot-server/robot_server/robot/calibration/constants.py +++ b/robot-server/robot_server/robot/calibration/constants.py @@ -73,4 +73,4 @@ POINT_THREE_ID: Fin...
fix(robot-server): correct move to deck safety buffer in y (#<I>)
py
diff --git a/integrations/node_js/my_first_test.py b/integrations/node_js/my_first_test.py index <HASH>..<HASH> 100755 --- a/integrations/node_js/my_first_test.py +++ b/integrations/node_js/my_first_test.py @@ -12,7 +12,7 @@ class MyTestClass(BaseCase): self.open('http://xkcd.com/1481/') title = self....
Update a click in a test
py
diff --git a/pavement.py b/pavement.py index <HASH>..<HASH> 100644 --- a/pavement.py +++ b/pavement.py @@ -60,6 +60,6 @@ options( author_email='christian@fobel.net', url=URL, license='GPLv2', - install_requires=['base-node-rpc>=0.12.post9'], + ...
Bump base-node-rpc version
py
diff --git a/src/python/grpcio_tests/tests/unit/_channel_args_test.py b/src/python/grpcio_tests/tests/unit/_channel_args_test.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio_tests/tests/unit/_channel_args_test.py +++ b/src/python/grpcio_tests/tests/unit/_channel_args_test.py @@ -13,6 +13,7 @@ # limitations unde...
Ensure thread_pool is not None for grpc.Server
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -481,7 +481,6 @@ class QueueTestCase(StateClearingTestCase): def test_timeout(self): - #FIXME: this test failing would actually end up in deadlock q = greenh...
this FIXME was already fixed by that timeout
py
diff --git a/tests/pipeline/test_blaze.py b/tests/pipeline/test_blaze.py index <HASH>..<HASH> 100644 --- a/tests/pipeline/test_blaze.py +++ b/tests/pipeline/test_blaze.py @@ -784,6 +784,7 @@ class BlazeToPipelineTestCase(WithAssetFinder, ZiplineTestCase): expr, loader=loader, no_d...
TEST/MAINT: Silence no_checkpoints warning.
py
diff --git a/gphoto2/backend.py b/gphoto2/backend.py index <HASH>..<HASH> 100644 --- a/gphoto2/backend.py +++ b/gphoto2/backend.py @@ -457,13 +457,6 @@ def logging_callback(level, domain, message, data): message = ffi.string(message) logger = _root_logger.getChild(domain) - # FIXME: This has got to be th...
Remove weird workaround for performance issues, seems to have resolved itself with the latest changes.
py
diff --git a/html2markdown.py b/html2markdown.py index <HASH>..<HASH> 100644 --- a/html2markdown.py +++ b/html2markdown.py @@ -6,6 +6,10 @@ import bs4 from bs4 import BeautifulSoup import re +import sys +if sys.version_info.major > 2: + unicode = str + _supportedTags = ( # NOTE: will be ignored if they have u...
WA to provide python 3.x compatibility
py
diff --git a/claripy/backends/backend_z3_parallel.py b/claripy/backends/backend_z3_parallel.py index <HASH>..<HASH> 100644 --- a/claripy/backends/backend_z3_parallel.py +++ b/claripy/backends/backend_z3_parallel.py @@ -117,11 +117,7 @@ class BackendZ3Parallel(BackendZ3): def call(self, *args, **kwargs): return sel...
oops, left some prints in :-)
py
diff --git a/test/002_test_zpool.py b/test/002_test_zpool.py index <HASH>..<HASH> 100644 --- a/test/002_test_zpool.py +++ b/test/002_test_zpool.py @@ -38,6 +38,7 @@ class Test_ZPool(_LibZFSHandleCase): assert len(config.keys()) > 0 assert len(oldconfig.keys()) > 0 assert config == oldconfig +...
-Add: Test if we can obtain the pool name.
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -97,7 +97,7 @@ if __name__ == "__main__": '--cov-report', 'xml', '--cov', - 'rest_framework'] + pytest_args + 'rest_framework_mongoen...
rest_framework -> rest_framework_mongoengine as coverage report target.
py
diff --git a/blog/management/commands/wordpress_to_wagtail.py b/blog/management/commands/wordpress_to_wagtail.py index <HASH>..<HASH> 100755 --- a/blog/management/commands/wordpress_to_wagtail.py +++ b/blog/management/commands/wordpress_to_wagtail.py @@ -151,7 +151,11 @@ class Command(BaseCommand): #format...
made sure multiple blog entries won't be created for each slug
py
diff --git a/tests/test_insertpdf.py b/tests/test_insertpdf.py index <HASH>..<HASH> 100644 --- a/tests/test_insertpdf.py +++ b/tests/test_insertpdf.py @@ -107,7 +107,14 @@ def test_issue1417_insertpdf_in_loop(): """Using a context manager instead of explicitly closing files""" f = os.path.join(resources, "1.p...
tests/test_insertpdf.py:test_issue<I>_insertpdf_in_loop(): explicitly check that fds are not being leaked. This test already repeatedly opens and closes a document; added an assert that checks os.open() returns the same integer each time. This directly checks that we are not leaking fds, rather than rely on running ou...
py
diff --git a/ripe/atlas/cousteau/__init__.py b/ripe/atlas/cousteau/__init__.py index <HASH>..<HASH> 100644 --- a/ripe/atlas/cousteau/__init__.py +++ b/ripe/atlas/cousteau/__init__.py @@ -7,8 +7,6 @@ from request import ( AtlasStopRequest ) -__version__ = "0.5" - __all__ = [ "Ping",
remove version from here; new location is in the version.py
py
diff --git a/pulsar/async/futures.py b/pulsar/async/futures.py index <HASH>..<HASH> 100644 --- a/pulsar/async/futures.py +++ b/pulsar/async/futures.py @@ -159,7 +159,7 @@ def task(function): else: def wrapper(*args, **kw): res = function(*args, **kw) - if res: + if is_as...
fix in task decorator for issue #<I>
py
diff --git a/telethon/client/auth.py b/telethon/client/auth.py index <HASH>..<HASH> 100644 --- a/telethon/client/auth.py +++ b/telethon/client/auth.py @@ -139,7 +139,7 @@ class AuthMethods(MessageParseMethods, UserMethods): code_callback(), first_name, last_name) else: ...
Keyword arg instead positional for sign_in (#<I>)
py
diff --git a/salt/modules/zpool.py b/salt/modules/zpool.py index <HASH>..<HASH> 100644 --- a/salt/modules/zpool.py +++ b/salt/modules/zpool.py @@ -179,9 +179,9 @@ def create(pool_name, *vdevs, **kwargs): ret[vdev] = '{0} not present on filesystem'.format(vdev) return ret m...
Adding ability to create pool using file vdevs
py
diff --git a/html5css3/postprocessors.py b/html5css3/postprocessors.py index <HASH>..<HASH> 100644 --- a/html5css3/postprocessors.py +++ b/html5css3/postprocessors.py @@ -30,7 +30,7 @@ def js_fullpath(path, embed=True): return html.Script(src=path) def js(path, embed=True): - js_fullpath(abspath(path), e...
add missing return, thanks to iyuan for noticing
py
diff --git a/pyqode/qt/QtWidgets.py b/pyqode/qt/QtWidgets.py index <HASH>..<HASH> 100644 --- a/pyqode/qt/QtWidgets.py +++ b/pyqode/qt/QtWidgets.py @@ -508,4 +508,7 @@ except ImportError: pass class QAction: + pass + + class QComboBox: pass \ No newline at end of file
Add missing QComboBox, needed to build the sphinx doc
py
diff --git a/kibana/manager.py b/kibana/manager.py index <HASH>..<HASH> 100644 --- a/kibana/manager.py +++ b/kibana/manager.py @@ -92,13 +92,13 @@ class KibanaManager(): def read_object_from_file(self, filename): self.pr_inf("Reading object from file: " + filename) obj = {} - with open(fil...
Py3 needs b flag for read that gets decoded
py
diff --git a/txaws/ec2/client.py b/txaws/ec2/client.py index <HASH>..<HASH> 100644 --- a/txaws/ec2/client.py +++ b/txaws/ec2/client.py @@ -177,10 +177,10 @@ class EC2Client(object): root = XML(xml_bytes) result = [] for security_group_info in root.findall("securityGroupInfo"): - ow...
In the interest of symmetry, updated the parsed user/group pairs to be appended to a list, not added to a dict.
py
diff --git a/src/resolvelib/__init__.py b/src/resolvelib/__init__.py index <HASH>..<HASH> 100644 --- a/src/resolvelib/__init__.py +++ b/src/resolvelib/__init__.py @@ -11,7 +11,7 @@ __all__ = [ "ResolutionTooDeep", ] -__version__ = "0.8.0" +__version__ = "0.8.1.dev0" from .providers import AbstractProvider,...
Prebump to <I>.dev0
py