diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/urls.py b/tests/urls.py
index <HASH>..<HASH> 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -1,6 +1,6 @@
-from django.conf.urls.defaults import include, patterns, url
+from django.conf.urls.defaults import include, url
-urlpatterns = patterns('',
+urlpatterns = [
url(r'^', include('posts.... | upgrade test url patterns to list based syntax | py |
diff --git a/arctic/mixins.py b/arctic/mixins.py
index <HASH>..<HASH> 100755
--- a/arctic/mixins.py
+++ b/arctic/mixins.py
@@ -191,7 +191,7 @@ class FormMixin(ModalMixin):
view_from_url(action[1]), action[1]
)
allowed_action["modal"] = self.get_modal_li... | <I> passing object reference to dialog instead of view (#<I>) | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -1516,11 +1516,21 @@ class MainWindow(QMainWindow):
add_actions(self.plugins_menu, actions)
def create_toolbars_menu(self):
- actions = []
+ ord... | Main Window: Organize Toolbars menu entries according to a certain order | py |
diff --git a/boundary/event_list.py b/boundary/event_list.py
index <HASH>..<HASH> 100644
--- a/boundary/event_list.py
+++ b/boundary/event_list.py
@@ -31,7 +31,7 @@ class EventList(ApiCli):
def _handle_results(self):
# Only process if we get HTTP result of 200
- if self._api_result.status_code ==... | Incorrect use of HTTP codes from requests library | py |
diff --git a/ordering/__init__.py b/ordering/__init__.py
index <HASH>..<HASH> 100644
--- a/ordering/__init__.py
+++ b/ordering/__init__.py
@@ -16,16 +16,16 @@ class Ordering(Collection[T]):
_end = _Sentinel()
def __init__(self) -> None:
- self._labels = {
+ self._labels: Dict[_T, Fraction] = {... | Go full Python <I> with the type hints | py |
diff --git a/app/urls.py b/app/urls.py
index <HASH>..<HASH> 100644
--- a/app/urls.py
+++ b/app/urls.py
@@ -6,7 +6,6 @@ import django.contrib.auth.urls
from django.contrib import admin
from django.conf import settings
-from django.conf.urls.static import static
admin.autodiscover()
@@ -30,4 +29,4 @@ urlpatterns... | deleting old media files managing as statics | py |
diff --git a/pyrogram/types/user_and_chats/chat.py b/pyrogram/types/user_and_chats/chat.py
index <HASH>..<HASH> 100644
--- a/pyrogram/types/user_and_chats/chat.py
+++ b/pyrogram/types/user_and_chats/chat.py
@@ -868,3 +868,23 @@ class Chat(Object):
user_ids=user_ids,
forward_limit=forward_limit... | Add missing bound method Chat.mark_unread | py |
diff --git a/simuvex/s_unicorn.py b/simuvex/s_unicorn.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_unicorn.py
+++ b/simuvex/s_unicorn.py
@@ -33,6 +33,7 @@ class SimUnicorn(SimRun):
self.state.unicorn.destroy()
self.success = True
+ self.state.scratch.executed_block_count += self.state.u... | add the count of executed blocks to state.scratch | py |
diff --git a/tensorflow_probability/python/bijectors/real_nvp_test.py b/tensorflow_probability/python/bijectors/real_nvp_test.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/bijectors/real_nvp_test.py
+++ b/tensorflow_probability/python/bijectors/real_nvp_test.py
@@ -152,8 +152,8 @@ class RealNVPTest... | Tighten tolerances in conditional real nvp test asserts | py |
diff --git a/gandi/cli/modules/cert.py b/gandi/cli/modules/cert.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/modules/cert.py
+++ b/gandi/cli/modules/cert.py
@@ -79,12 +79,12 @@ class Certificate(GandiModule):
subj = '/' + '/'.join(['='.join(value) for value in params])
if private_key and os.path.e... | Quote subj in openssl command. | py |
diff --git a/nose2gae/__init__.py b/nose2gae/__init__.py
index <HASH>..<HASH> 100644
--- a/nose2gae/__init__.py
+++ b/nose2gae/__init__.py
@@ -87,8 +87,9 @@ class Nose2GAE(events.Plugin):
def testOutcome(self, event):
self._stopGaeTestbed()
- os.chdir(self._original_dir)
- self._original_d... | Handle the case gracefully where tests were never started (due to import errors for example) | py |
diff --git a/shellutils.py b/shellutils.py
index <HASH>..<HASH> 100644
--- a/shellutils.py
+++ b/shellutils.py
@@ -37,7 +37,7 @@ import subprocess
from invenio.config import CFG_MISCUTIL_DEFAULT_PROCESS_TIMEOUT
-__all__ = ['run_shell_command', 'run_process_with_timeout', 'Timeout', 'SmarterPopen']
+__all__ = ['run... | shellutils: remove non-existing 'SmarterPopen' * Removes explicitely added (though not existing) "SmarterPopen" from declared objects of the module (__all__). | py |
diff --git a/sftpman/model.py b/sftpman/model.py
index <HASH>..<HASH> 100644
--- a/sftpman/model.py
+++ b/sftpman/model.py
@@ -168,7 +168,7 @@ class SystemModel(object):
out['beforeMount'] = self.cmd_before_mount
out['authType'] = self.auth_method
out['sshKey'] = self.ssh_key
- return ... | Save configuration JSON files indented Save configuration JSON files indented, so they're human readable and easier to hand-edit, diff, etc. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ license: GNU-GPL2
from setuptools import setup
setup(name='arguments',
- version='14',
+ version='15',
description='Argument parser based on docopt',
url='https://github.com/erikdejonge... | pip Tuesday <I> March <I> (week:<I> day:<I>), <I>:<I>:<I> | py |
diff --git a/test/test_parser.py b/test/test_parser.py
index <HASH>..<HASH> 100644
--- a/test/test_parser.py
+++ b/test/test_parser.py
@@ -152,9 +152,6 @@ var = 1
# global section cannot have directive
self.assertRaises(ParsingError, SoS_Script,
'''input: 'filename' ''')
- # or unr... | Remove a test that works with the recent change that allows action in global section | py |
diff --git a/tests/test_clckru.py b/tests/test_clckru.py
index <HASH>..<HASH> 100644
--- a/tests/test_clckru.py
+++ b/tests/test_clckru.py
@@ -13,7 +13,7 @@ import responses
import pytest
s = Shortener(Shorteners.CLCKRU)
-shorten = 'http://senta.la/test'
+shorten = 'http://clck.ru/test'
expanded = 'http://www.test... | small change on clck.ru test | py |
diff --git a/synth.py b/synth.py
index <HASH>..<HASH> 100644
--- a/synth.py
+++ b/synth.py
@@ -26,11 +26,11 @@ common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(templates, excludes=[".github/CONTRIBUTING.md"])
-repository_url = "https://github.com/google/google-api-nodejs-c... | Do not generate libraries with synth (#<I>) | py |
diff --git a/beets/mediafile.py b/beets/mediafile.py
index <HASH>..<HASH> 100644
--- a/beets/mediafile.py
+++ b/beets/mediafile.py
@@ -1313,7 +1313,7 @@ class MediaFile(object):
try:
self.mgfile = mutagen.File(path)
except unreadable_exc as exc:
- log.debug(u'header parsing fai... | Convert beets core to lazy logging Original: beetbox/beets@e<I>f9a7 | py |
diff --git a/abydos/corpus/_corpus.py b/abydos/corpus/_corpus.py
index <HASH>..<HASH> 100644
--- a/abydos/corpus/_corpus.py
+++ b/abydos/corpus/_corpus.py
@@ -52,6 +52,7 @@ class Corpus(object):
sent_split='\n',
filter_chars='',
stop_words=None,
+ word_tokenizer=None
):
r... | added custom tokenizer option at the sub-sentence ("word") level | py |
diff --git a/xeddsa/xeddsa.py b/xeddsa/xeddsa.py
index <HASH>..<HASH> 100644
--- a/xeddsa/xeddsa.py
+++ b/xeddsa/xeddsa.py
@@ -22,12 +22,24 @@ class XEdDSA(object):
if not self._decryption_key:
raise MissingKeyException("Cannot sign using this XEdDSA instance, Montgomery decryption key missing")
... | Added conversion from strings to byte-arrays for convenience | py |
diff --git a/notedown/notedown.py b/notedown/notedown.py
index <HASH>..<HASH> 100644
--- a/notedown/notedown.py
+++ b/notedown/notedown.py
@@ -464,6 +464,7 @@ class MarkdownWriter(NotebookWriter):
attr.classes.remove('python')
attr.classes.remove('input')
#
+ attr.kvs =... | don't put caption in div attrs I'm not sure that k="v" with spaces in the v is allowed at all. | py |
diff --git a/sample_project/manage.py b/sample_project/manage.py
index <HASH>..<HASH> 100755
--- a/sample_project/manage.py
+++ b/sample_project/manage.py
@@ -1,14 +1,10 @@
#!/usr/bin/env python
-from django.core.management import execute_manager
-import imp
-try:
- imp.find_module('settings') # Assumed to be in t... | Updated sample_project's manage.py to post-Django<I> format. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,6 +16,14 @@
import sys
import os
+
+import os
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+if on_rtd:
+ html_theme = 'default'
+else:
+ html_theme = 'nature'
+
# If extensions (or mod... | modified conf.py according to RTD | py |
diff --git a/yangson/schema.py b/yangson/schema.py
index <HASH>..<HASH> 100644
--- a/yangson/schema.py
+++ b/yangson/schema.py
@@ -232,6 +232,10 @@ class InternalNode(SchemaNode):
res.update(c.data_children())
return res
+ def child_inst_names(self) -> Set[InstanceName]:
+ """Retur... | Add method InternalNode::child_inst_names. | py |
diff --git a/plexapi/playlist.py b/plexapi/playlist.py
index <HASH>..<HASH> 100644
--- a/plexapi/playlist.py
+++ b/plexapi/playlist.py
@@ -131,6 +131,9 @@ class Playlist(PlexPartialObject, Playable):
@classmethod
def _create(cls, server, title, items):
""" Create a playlist. """
+ if not items... | Playlist creation - check items are included, raise exception | py |
diff --git a/test_autoflake.py b/test_autoflake.py
index <HASH>..<HASH> 100755
--- a/test_autoflake.py
+++ b/test_autoflake.py
@@ -124,6 +124,20 @@ import os, \
os.foo()
"""))))
+ def test_filter_code_should_ignore_semicolons(self):
+ self.assertEqual(
+ r"""\
+import os
+import os; import math... | Add test with semicolon in it | py |
diff --git a/test/python/test_quantumprogram.py b/test/python/test_quantumprogram.py
index <HASH>..<HASH> 100644
--- a/test/python/test_quantumprogram.py
+++ b/test/python/test_quantumprogram.py
@@ -86,7 +86,7 @@ class TestQuantumProgram(QiskitTestCase):
"""
# pylint: disable=unused-argument
... | a more generic re expression (#<I>) | py |
diff --git a/tests/python/pants_test/base/test_source_root.py b/tests/python/pants_test/base/test_source_root.py
index <HASH>..<HASH> 100644
--- a/tests/python/pants_test/base/test_source_root.py
+++ b/tests/python/pants_test/base/test_source_root.py
@@ -53,6 +53,15 @@ class SourceRootTest(unittest.TestCase):
self... | Added unit tests for registering a source root path with no targets Testing Done: Added a unit test requested by Patrick. Passed CI @ <URL> | py |
diff --git a/tarbell/cli.py b/tarbell/cli.py
index <HASH>..<HASH> 100644
--- a/tarbell/cli.py
+++ b/tarbell/cli.py
@@ -255,8 +255,11 @@ def tarbell_publish(args):
creds = settings.config.get('s3_creds')
root_url = bucket_uri[5:]
+ s3_bucket = root_url.split("/")[0]
extra_context = {
... | add some new s3-related context variables when publishing site | py |
diff --git a/pingouin/effsize.py b/pingouin/effsize.py
index <HASH>..<HASH> 100644
--- a/pingouin/effsize.py
+++ b/pingouin/effsize.py
@@ -167,7 +167,7 @@ def convert_effsize(ef, input_type, output_type, nx=None, ny=None):
def compute_effsize(dv=None, group=None, data=None, x=None, y=None,
- eft... | default output type for effsize is cohen | py |
diff --git a/graphenebase/types.py b/graphenebase/types.py
index <HASH>..<HASH> 100644
--- a/graphenebase/types.py
+++ b/graphenebase/types.py
@@ -287,7 +287,7 @@ class Static_variant():
return varint(self.type_id) + bytes(self.data)
def __str__(self):
- return {self._type_id: str(self.data)}
+ ... | [types] fix static_variant str representation | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -115,6 +115,7 @@ setup(
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
],
... | misc: list Python <I> (sic!) in setup.py. This is a "bump" commit to force CircleCI picking up the new branch. Python <I> is known-to-work and regularly tested; it missing in setup.py is an oversight. Python <I> is not yet known to work, is just starting to get one module tested, - therefore not adding it here (yet)... | py |
diff --git a/auto_ml/predictor.py b/auto_ml/predictor.py
index <HASH>..<HASH> 100644
--- a/auto_ml/predictor.py
+++ b/auto_ml/predictor.py
@@ -571,7 +571,7 @@ class Predictor(object):
elif self.ml_for_analytics and model_name in ['RandomForestClassifier', 'RandomForestRegressor', 'XGBClassifier', 'XGBRegre... | Commited changes for pull request | py |
diff --git a/pymatgen/core/tests/test_structure.py b/pymatgen/core/tests/test_structure.py
index <HASH>..<HASH> 100644
--- a/pymatgen/core/tests/test_structure.py
+++ b/pymatgen/core/tests/test_structure.py
@@ -964,6 +964,10 @@ class StructureTest(PymatgenTest):
s2 = Structure.from_dict(d)
self.assert... | Add tests for default charge/spin mult | py |
diff --git a/tests/polls/tests/tigertest.py b/tests/polls/tests/tigertest.py
index <HASH>..<HASH> 100644
--- a/tests/polls/tests/tigertest.py
+++ b/tests/polls/tests/tigertest.py
@@ -16,7 +16,7 @@ class TigerTest(unittest.TestCase):
self.assertEqual(response.status_code, 200)
try:
etree.f... | fixed a try-except conditional | py |
diff --git a/gns3server/modules/virtualbox/virtualbox_vm.py b/gns3server/modules/virtualbox/virtualbox_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/virtualbox/virtualbox_vm.py
+++ b/gns3server/modules/virtualbox/virtualbox_vm.py
@@ -105,9 +105,10 @@ class VirtualBoxVM(BaseVM):
results = yield f... | Fix a crash when in some cases you can't access to VBOX state Fix #<I> | py |
diff --git a/trustar/models/phishing_submission.py b/trustar/models/phishing_submission.py
index <HASH>..<HASH> 100644
--- a/trustar/models/phishing_submission.py
+++ b/trustar/models/phishing_submission.py
@@ -10,20 +10,15 @@ class PhishingSubmission(ModelBase):
"""
Models a PhishingSubmission
+ ``conte... | fix formatting in phishing submission docstring | py |
diff --git a/phoebe/backend/universe.py b/phoebe/backend/universe.py
index <HASH>..<HASH> 100644
--- a/phoebe/backend/universe.py
+++ b/phoebe/backend/universe.py
@@ -657,6 +657,16 @@ class Body(object):
return False
@property
+ def is_misaligned(self):
+ """
+ TODO: add documentation
+... | fixed bug in is_misaligned for Envelopes | py |
diff --git a/models.py b/models.py
index <HASH>..<HASH> 100644
--- a/models.py
+++ b/models.py
@@ -728,10 +728,13 @@ class BibWorkflowObject(db.Model):
def save(self, version=None, task_counter=None, id_workflow=None):
"""Save object to persistent storage."""
if task_counter is not None:
- ... | workflows: task_counter value check * Checks if the task_counter parameter is a list when saving an BibWorkflowObject. It is required to avoid a problem with the underlying workflow engine. | py |
diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py
index <HASH>..<HASH> 100644
--- a/spacy/en/__init__.py
+++ b/spacy/en/__init__.py
@@ -126,7 +126,7 @@ class English(object):
return self._entity
def __call__(self, text, tag=True, parse=parse_if_model_present,
- entity=parse_if_mod... | * Disable merge_mwes by default | py |
diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py
index <HASH>..<HASH> 100755
--- a/MAVProxy/mavproxy.py
+++ b/MAVProxy/mavproxy.py
@@ -1798,7 +1798,7 @@ def master_callback(m, master):
def process_master(m):
'''process packets from the MAVLink master'''
try:
- s = m.recv()
+ s = m.recv(... | receive and process MAVLink packets in larger chunks | py |
diff --git a/src/com/dtmilano/android/viewclient.py b/src/com/dtmilano/android/viewclient.py
index <HASH>..<HASH> 100644
--- a/src/com/dtmilano/android/viewclient.py
+++ b/src/com/dtmilano/android/viewclient.py
@@ -3232,7 +3232,7 @@ class ViewClient:
print >>sys.stderr
print >>sys.stde... | Fixed incorrect uiautomator process killed detection | py |
diff --git a/troposphere/iot.py b/troposphere/iot.py
index <HASH>..<HASH> 100644
--- a/troposphere/iot.py
+++ b/troposphere/iot.py
@@ -30,12 +30,12 @@ class CloudwatchMetricAction(AWSProperty):
class DynamoDBAction(AWSProperty):
props = {
'HashKeyField': (basestring, True),
- 'HashKeyType': (bases... | Update required fields in IoT TopicRule DynamoDBAction | py |
diff --git a/pyes/facets.py b/pyes/facets.py
index <HASH>..<HASH> 100644
--- a/pyes/facets.py
+++ b/pyes/facets.py
@@ -357,3 +357,15 @@ class ANDFacetFilter(ANDFilter, FacetFilter):
pass
+class FacetQueryWrap(EqualityComparableUsingAttributeDictionary):
+ def __init__(self, wrap_object, **kwargs):
+ ... | add wrapper for query filter in facet_filter | py |
diff --git a/scripts/make_dist.py b/scripts/make_dist.py
index <HASH>..<HASH> 100644
--- a/scripts/make_dist.py
+++ b/scripts/make_dist.py
@@ -21,7 +21,7 @@ if sys.version_info[0] != 3:
pdir = os.path.dirname(os.getcwd())
# version info
version = [3, 3, 0, "alpha", 0]
-implementation = [3, 5, 1, "dev", 0]
+implement... | Chnage version to <I> | py |
diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -16,14 +16,15 @@ import shutil
import subprocess
import string # pylint: disable=deprecated-module
import logging
-import salt.ext.six as six
# Import third party libs
im... | Use `StringIO` from six | py |
diff --git a/vlermv/_s3.py b/vlermv/_s3.py
index <HASH>..<HASH> 100644
--- a/vlermv/_s3.py
+++ b/vlermv/_s3.py
@@ -45,8 +45,14 @@ class S3Vlermv(AbstractVlermv):
key.get_contents_to_filename(tmp.name)
except socket.timeout:
raise self.__class__.Timeout('Timeout... | raise timeout on FileNotFoundError | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,5 @@
from setuptools import setup, Command
import sys
-sys.path.insert(0, '.')
-import injector
class PyTest(Command):
@@ -19,8 +17,17 @@ class PyTest(Command):
raise SystemExit(errno)
-version = in... | Fix the package installation Broken in [1], I forgot that injector is imported in setup.py and the dependency format I used was incorrect. [1] 2b<I>aa<I>fcbfe0dbc<I>dd8caf<I>ef3d | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
setup(
name='django-core',
- version='1.1.1-dev',
+ version='1.2.0',
description='A core set of tools for django appl... | version bump for <I> release. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -132,7 +132,7 @@ class Mock(object):
#import mock
print "Mocking"
-MOCK_MODULES = ['sympy', 'scipy', 'scipy.linalg', 'scipy.linalg.lapack', 'scipy.special',
+MOCK_MODULES = ['sympy', 'scipy', 'scipy.linalg', 's... | More mocking for scipy, impossible to check without committing :( | py |
diff --git a/ignite/utils.py b/ignite/utils.py
index <HASH>..<HASH> 100644
--- a/ignite/utils.py
+++ b/ignite/utils.py
@@ -15,7 +15,7 @@ def convert_tensor(
"""Move tensors to relevant device."""
def _func(tensor: torch.Tensor) -> torch.Tensor:
- return tensor.to(device=device, non_blocking=non_block... | Fixed device conversion method (#<I>) | py |
diff --git a/qiskit/algorithms/optimizers/qnspsa.py b/qiskit/algorithms/optimizers/qnspsa.py
index <HASH>..<HASH> 100644
--- a/qiskit/algorithms/optimizers/qnspsa.py
+++ b/qiskit/algorithms/optimizers/qnspsa.py
@@ -44,6 +44,12 @@ class QNSPSA(SPSA):
increasing the number of ``resamplings``. This leads to a Monte C... | Add note on reproducibility to QNSPSA (#<I>) | py |
diff --git a/tests/test_potential.py b/tests/test_potential.py
index <HASH>..<HASH> 100644
--- a/tests/test_potential.py
+++ b/tests/test_potential.py
@@ -2566,7 +2566,7 @@ class mockFlatCosmphiDiskwBreakPotential(testplanarMWPotential):
def __init__(self):
testplanarMWPotential.__init__(self,
... | Slightly adjust break radius of Cosmphiwbreak test potential, so the liouville test orbit goes inside of the break | py |
diff --git a/cmsplugin_cascade/link/forms.py b/cmsplugin_cascade/link/forms.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_cascade/link/forms.py
+++ b/cmsplugin_cascade/link/forms.py
@@ -181,7 +181,8 @@ class LinkForm(EntangledModelFormMixin):
try:
cascade_page = get_related_object(instance.glossa... | fix: Editor for LinkPlugin doe not offer anchors to empty id-attributes | py |
diff --git a/pipenv/requirements.py b/pipenv/requirements.py
index <HASH>..<HASH> 100644
--- a/pipenv/requirements.py
+++ b/pipenv/requirements.py
@@ -583,9 +583,14 @@ class PipfileRequirement(object):
req_uri = self.uri
if self.path and not self.uri:
req_uri = path_to_url(os.path.abspath... | Hand 'file' key in Pipfile to requirements | py |
diff --git a/airflow/jobs.py b/airflow/jobs.py
index <HASH>..<HASH> 100644
--- a/airflow/jobs.py
+++ b/airflow/jobs.py
@@ -1029,9 +1029,6 @@ class SchedulerJob(BaseJob):
"with {open_slots} open slots and {num_queued} "
"task instances in queue".format(**locals... | [AIRFLOW-<I>] Log which pool when pool is full in scheduler Closes #<I> from saguziel/aguziel-logging-pool- scheduler | py |
diff --git a/projects/str.py b/projects/str.py
index <HASH>..<HASH> 100644
--- a/projects/str.py
+++ b/projects/str.py
@@ -73,7 +73,7 @@ def evidences(args):
draw_jointplot(outdir + "/C", "MeanCoverage", "HD.PEDP",
data=mf, color='m', xlim=xlim, ylim=ylim, format=format)
- ylim = (0, 50)
+... | [projects] Minor modifications in projects.str | 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
@@ -594,6 +594,8 @@ def _compound_follow_filter_clnsig(compound, compound... | Always show ClinSig flag partly affects compounds | py |
diff --git a/tests/parser/features/iteration/test_for_in_list.py b/tests/parser/features/iteration/test_for_in_list.py
index <HASH>..<HASH> 100644
--- a/tests/parser/features/iteration/test_for_in_list.py
+++ b/tests/parser/features/iteration/test_for_in_list.py
@@ -10,6 +10,7 @@ from vyper.exceptions import (
Nam... | test: Add test for loop var exceeding type bounds | py |
diff --git a/nacl/nacl.py b/nacl/nacl.py
index <HASH>..<HASH> 100644
--- a/nacl/nacl.py
+++ b/nacl/nacl.py
@@ -88,6 +88,9 @@ ffi.verifier = Verifier(ffi,
# We need to link to the sodium library
libraries=["sodium"],
+
+ # Our ext_package is nacl so look for it
+ ext_package="nacl",
) | Use an ext_package on the verifier call | py |
diff --git a/jax/interpreters/parallel.py b/jax/interpreters/parallel.py
index <HASH>..<HASH> 100644
--- a/jax/interpreters/parallel.py
+++ b/jax/interpreters/parallel.py
@@ -197,11 +197,15 @@ parallel_translation_rules[psum_p] = psum_parallel_translation_rule
def all_to_all(x, split_dim, concat_dim, **params):
ret... | Placeholder pmap rule for `all_to_all` | py |
diff --git a/gandi/cli/commands/ip.py b/gandi/cli/commands/ip.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/commands/ip.py
+++ b/gandi/cli/commands/ip.py
@@ -4,7 +4,7 @@ import click
from gandi.cli.core.cli import cli
from gandi.cli.core.utils import output_ip
-from gandi.cli.core.params import (option, pass_gandi... | Fixes bug when filtering ip list with datacenter, use correct call to module | py |
diff --git a/salt/fileclient.py b/salt/fileclient.py
index <HASH>..<HASH> 100644
--- a/salt/fileclient.py
+++ b/salt/fileclient.py
@@ -103,6 +103,18 @@ class Client(object):
yield dest
os.umask(cumask)
+ def get_file(self, path, dest='', makedirs=False, env='base'):
+ '''
+ Copies a... | define abstract methods for file client Force implementation to create methods by raising NotImplementedError exception | py |
diff --git a/virtualchain/lib/blockchain/bitcoin_blockchain/keys.py b/virtualchain/lib/blockchain/bitcoin_blockchain/keys.py
index <HASH>..<HASH> 100644
--- a/virtualchain/lib/blockchain/bitcoin_blockchain/keys.py
+++ b/virtualchain/lib/blockchain/bitcoin_blockchain/keys.py
@@ -121,6 +121,27 @@ def make_p2sh_address( s... | add tests to see if an address or script are p2sh | py |
diff --git a/py/testdir_hosts/test_exec_import_hosts_bigfiles.py b/py/testdir_hosts/test_exec_import_hosts_bigfiles.py
index <HASH>..<HASH> 100644
--- a/py/testdir_hosts/test_exec_import_hosts_bigfiles.py
+++ b/py/testdir_hosts/test_exec_import_hosts_bigfiles.py
@@ -22,7 +22,7 @@ exprList = [
'Result<n>.hex = ... | nosetest doesn't like 'test' in the def name? (if not the subtest) | py |
diff --git a/pam.py b/pam.py
index <HASH>..<HASH> 100644
--- a/pam.py
+++ b/pam.py
@@ -84,6 +84,10 @@ pam_start = libpam.pam_start
pam_start.restype = c_int
pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]
+pam_acct_mgmt = libpam.pam_acct_mgm... | Call pam_acct_mgmt after initial authentication to verify availability of account. | py |
diff --git a/bugwarrior/services/bitbucket.py b/bugwarrior/services/bitbucket.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/bitbucket.py
+++ b/bugwarrior/services/bitbucket.py
@@ -49,7 +49,10 @@ class BitbucketService(IssueService):
url = self.base_api + '/users/' + user + '/'
f = urllib2.u... | Only get bitbucket repos that actually have issues. | py |
diff --git a/benchmark/python/sparse/util.py b/benchmark/python/sparse/util.py
index <HASH>..<HASH> 100644
--- a/benchmark/python/sparse/util.py
+++ b/benchmark/python/sparse/util.py
@@ -24,7 +24,7 @@ def estimate_density(DATA_PATH, feature_size):
raise Exception("Data is not there!")
density = []
P ... | xrange(<I>) --> range(<I>) for Python 3 (#<I>) __xrange()__ was removed in Python 3 in favor of __range()__. For such a small number as <I> there is no difference between __xrange()__ and __range()__ in Python 2. | py |
diff --git a/glad/loader/wgl/c.py b/glad/loader/wgl/c.py
index <HASH>..<HASH> 100644
--- a/glad/loader/wgl/c.py
+++ b/glad/loader/wgl/c.py
@@ -16,10 +16,13 @@ int gladLoadWGL(HDC hdc) {
'''
_WGL_HEADER = '''
-#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN 1
+#ifndef WINAPI
+# ifndef WIN32_LEAN_AND_MEAN
+#... | Protect windows.h inclusion, as it doesn't do so itself | py |
diff --git a/src/diamond/collector.py b/src/diamond/collector.py
index <HASH>..<HASH> 100644
--- a/src/diamond/collector.py
+++ b/src/diamond/collector.py
@@ -392,7 +392,6 @@ class Collector(object):
# Collect Data
self.collect()
- self.collect_running = False
... | Ensure collection isn't stopped if a collector throws an exception. | py |
diff --git a/openquake/hazardlib/calc/filters.py b/openquake/hazardlib/calc/filters.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/calc/filters.py
+++ b/openquake/hazardlib/calc/filters.py
@@ -183,7 +183,7 @@ class IntegrationDistance(collections.Mapping):
return repr(self.dic)
-def split_sources... | [skip CI] Former-commit-id: <I>eaf8ca<I>f<I>b3d<I>e7c<I>fbc<I>d7 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,8 +36,8 @@ with open('README.rst') as f:
extras_require = {
'voice': ['PyNaCl>=1.3.0,<1.5'],
'docs': [
- 'sphinx==2.4.4',
- 'sphinxcontrib_trio==1.1.1',
+ 'sphinx==3.0.3',
+ 'sphinxco... | Bump Sphinx to <I> | py |
diff --git a/modelx/__init__.py b/modelx/__init__.py
index <HASH>..<HASH> 100644
--- a/modelx/__init__.py
+++ b/modelx/__init__.py
@@ -20,7 +20,7 @@ Attributes:
"""
-VERSION = (0, 13, 0, "dev")
+VERSION = (0, 13, 0)
__version__ = ".".join([str(x) for x in VERSION])
from modelx.core.api import * # must come afte... | DIST: Release <I> | py |
diff --git a/django_nopassword/views.py b/django_nopassword/views.py
index <HASH>..<HASH> 100644
--- a/django_nopassword/views.py
+++ b/django_nopassword/views.py
@@ -27,9 +27,8 @@ def login(request):
def login_with_code(request, login_code):
- code = get_object_or_404(LoginCode, code=login_code)
- user = ge... | remove a db query in login with code view | py |
diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -10,4 +10,4 @@ used from a setup script as
__revision__ = "$Id$"
-__version__ = "0.8"
+__version__ = "0.8.1" | Bumped version to <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,7 @@ setup(
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"D... | Update setup.py for py<I> and django<I> | py |
diff --git a/remi/server.py b/remi/server.py
index <HASH>..<HASH> 100644
--- a/remi/server.py
+++ b/remi/server.py
@@ -148,6 +148,9 @@ class WebSocketsHandler(socketserver.StreamRequestHandler):
def handle(self):
log.debug('ws handle')
+ #on some systems like ROS, the default socket timeout
+ ... | Fixed websocket timeout on systems where default socket timeout differs from None. | py |
diff --git a/huey/api.py b/huey/api.py
index <HASH>..<HASH> 100644
--- a/huey/api.py
+++ b/huey/api.py
@@ -373,7 +373,9 @@ class Huey(object):
self.put_result(task.id, Error({
'error': repr(exception),
'retries': task.retries,
- 'traceback': ... | Put task_id in the meta information of a TaskException | py |
diff --git a/pyplink/tests/test_pyplink.py b/pyplink/tests/test_pyplink.py
index <HASH>..<HASH> 100644
--- a/pyplink/tests/test_pyplink.py
+++ b/pyplink/tests/test_pyplink.py
@@ -461,3 +461,25 @@ class TestPyPlink(unittest.TestCase):
[i for i in self.pedfile.iter_acgt_geno_marker(markers)]
self.as... | Now tests the string representation of the PyPlink object | py |
diff --git a/thinc/layers/staticvectors.py b/thinc/layers/staticvectors.py
index <HASH>..<HASH> 100644
--- a/thinc/layers/staticvectors.py
+++ b/thinc/layers/staticvectors.py
@@ -58,14 +58,16 @@ def forward(
vectors = model.ops.as_contig(vectors)
assert vectors.shape[0] == ids.shape[0]
+ output = model.o... | multiply by drop_mask in staticvectors.backprop (#<I>) * multiply by drop_mask in staticvectors.backprop * fix formatting | py |
diff --git a/hebel/monitors.py b/hebel/monitors.py
index <HASH>..<HASH> 100644
--- a/hebel/monitors.py
+++ b/hebel/monitors.py
@@ -228,3 +228,18 @@ class SimpleProgressMonitor(object):
self.train_time.total_seconds() % 60)
print "Avg. time per epoch %.2fs" % self.avg_epoch_... | Added DummyProgressMonitor that doesn't report anything | py |
diff --git a/dumptruck/dumptruck.py b/dumptruck/dumptruck.py
index <HASH>..<HASH> 100644
--- a/dumptruck/dumptruck.py
+++ b/dumptruck/dumptruck.py
@@ -304,18 +304,17 @@ class DumpTruck:
self.execute(u'CREATE TABLE %s (`value` %s)' % (tmp, column_type), commit = False)
# This is ugly
- self.execute(u'INSE... | Correct save_var and refactor | py |
diff --git a/flatlib/object.py b/flatlib/object.py
index <HASH>..<HASH> 100644
--- a/flatlib/object.py
+++ b/flatlib/object.py
@@ -133,7 +133,7 @@ class Object(GenericObject):
or stationary.
"""
- if abs(self.lonspeed) < 0.001:
+ if abs(self.lonspeed) < 0.0003:
re... | Change stationary threshold Define that an object is stationary if its speed is less than 1 arc-second | py |
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/converter.py
+++ b/discord/ext/commands/converter.py
@@ -263,7 +263,7 @@ class MessageConverter(Converter):
3. Lookup by message URL
.. versionchanged:: 1.5
- Rai... | [commands] Added in missing channel links | py |
diff --git a/learn/pipeline.py b/learn/pipeline.py
index <HASH>..<HASH> 100644
--- a/learn/pipeline.py
+++ b/learn/pipeline.py
@@ -21,7 +21,23 @@ class Pipeline(object):
def __init__(self,datadir):
object.__init__(self)
- # the path to a directory where
- # all data for this pipeli... | Added comments to pipeline to get me thinking about what that implementation will look like | py |
diff --git a/zhaquirks/tuya/ts0041_zemismart.py b/zhaquirks/tuya/ts0041_zemismart.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/tuya/ts0041_zemismart.py
+++ b/zhaquirks/tuya/ts0041_zemismart.py
@@ -25,7 +25,7 @@ class TuyaZemismartSmartRemote0041(TuyaSmartRemote):
signature = {
# SizePrefixedSimpleDesc... | Added missing device model (#<I>) | py |
diff --git a/src/core/qt_b26_gui.py b/src/core/qt_b26_gui.py
index <HASH>..<HASH> 100644
--- a/src/core/qt_b26_gui.py
+++ b/src/core/qt_b26_gui.py
@@ -195,7 +195,7 @@ class ControlMainWindow(QMainWindow, Ui_MainWindow):
if isinstance(script, QThread):
script.updateProgress.connect(... | threads have to be started with .start() not .run() so that they run on their own thread Fixed that for the scripts in the gui | py |
diff --git a/project_generator/exporters/uvision_definitions.py b/project_generator/exporters/uvision_definitions.py
index <HASH>..<HASH> 100644
--- a/project_generator/exporters/uvision_definitions.py
+++ b/project_generator/exporters/uvision_definitions.py
@@ -20,9 +20,8 @@ class uVisionDefinitions():
try:
... | uvision def - error uncommented, mcu has to be defined, via board or mcu | py |
diff --git a/steam/core/msg_structs.py b/steam/core/msg_structs.py
index <HASH>..<HASH> 100644
--- a/steam/core/msg_structs.py
+++ b/steam/core/msg_structs.py
@@ -1,5 +1,6 @@
"""Classes to (de)serialize various struct messages"""
import struct
+import six
from steam.enums import EResult, EUniverse
from steam.enums.... | fix StructMessage metaclass compability | py |
diff --git a/pyked/chemked.py b/pyked/chemked.py
index <HASH>..<HASH> 100644
--- a/pyked/chemked.py
+++ b/pyked/chemked.py
@@ -188,7 +188,7 @@ class ChemKED(object):
app_index = valid_labels.index('apparatus')
valid_labels[app_index:app_index + 1] = ['apparatus:' + a for a in Apparatus._fields]
- ... | Disable line length check for a line that is one too long A foolish consistency is the hobgoblin of little minds :-) | py |
diff --git a/telethon/events/newmessage.py b/telethon/events/newmessage.py
index <HASH>..<HASH> 100644
--- a/telethon/events/newmessage.py
+++ b/telethon/events/newmessage.py
@@ -125,7 +125,6 @@ class NewMessage(EventBuilder):
if isinstance(ori.to_id, types.PeerUser):
if ori.from_id == ori.to_id.u... | Remove debugging print (#<I>) | py |
diff --git a/src/rabird/core/configparser.py b/src/rabird/core/configparser.py
index <HASH>..<HASH> 100777
--- a/src/rabird/core/configparser.py
+++ b/src/rabird/core/configparser.py
@@ -27,11 +27,11 @@ import re
class ConfigParser(configparser.ConfigParser):
- UNNAMED_SECTION = '#--ConfigParser--INTERNAL--U... | Changed for more readable additional key text | py |
diff --git a/tests/integration/modules/decorators.py b/tests/integration/modules/decorators.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/decorators.py
+++ b/tests/integration/modules/decorators.py
@@ -9,7 +9,7 @@ class DecoratorTest(integration.ModuleCase):
)
)
... | @jacksont, please take a look at these, they are failing sometimes | py |
diff --git a/flange/model.py b/flange/model.py
index <HASH>..<HASH> 100644
--- a/flange/model.py
+++ b/flange/model.py
@@ -1,4 +1,4 @@
-import url_scheme_python as pyurl
+from . import url_scheme_python as pyurl
import jsonschema
import datetime
import six | use relative import to fix test in another project | py |
diff --git a/taskw/warrior.py b/taskw/warrior.py
index <HASH>..<HASH> 100644
--- a/taskw/warrior.py
+++ b/taskw/warrior.py
@@ -465,6 +465,10 @@ class TaskWarriorExperimental(TaskWarriorBase):
return tasks['completed'][-1]
def task_update(self, task):
+
+ if 'uuid' not in task:
+ return... | If task does not have uuid, don't proceed with update | py |
diff --git a/taskforce/task.py b/taskforce/task.py
index <HASH>..<HASH> 100644
--- a/taskforce/task.py
+++ b/taskforce/task.py
@@ -1269,7 +1269,7 @@ Params are:
# Register with legion
self._legion.task_add(self, periodic=self._task_periodic)
- def __del__(self):
+ def close(self):
if self._legion:
try: ... | #6. removed __del__(). This class holds no resources and we can depend on the underlying object that do to clean up. Otherwise there is a race in python3 between the task cleanup and thw watch_files cleanup | py |
diff --git a/views.py b/views.py
index <HASH>..<HASH> 100644
--- a/views.py
+++ b/views.py
@@ -711,7 +711,8 @@ def switchArtist(request):
@login_required
def helpMe(request):
msg = request.POST.get('message')
- send_mail('Frog Help', msg, request.user.email, MANAGERS)
+ toAddr = [m[1] for m in MANAGERS]
+ ... | Fixed bug with helpMe and email addresses | py |
diff --git a/python/dllib/src/bigdl/dllib/utils/spark.py b/python/dllib/src/bigdl/dllib/utils/spark.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/utils/spark.py
+++ b/python/dllib/src/bigdl/dllib/utils/spark.py
@@ -18,13 +18,11 @@ import os
import glob
from pyspark import SparkContext
-
from zo... | Expose driver core in RayContext; polish ray docs (#<I>) * update doc * style | py |
diff --git a/eng/versioning/set_versions.py b/eng/versioning/set_versions.py
index <HASH>..<HASH> 100644
--- a/eng/versioning/set_versions.py
+++ b/eng/versioning/set_versions.py
@@ -184,6 +184,10 @@ def update_versions_file_for_nightly_devops(build_type, build_qualifier, artifac
else:
... | Version range needs the , at the end (#<I>) * Version range needs the , at the end * version range needs to be in braces Used override because nothing in this PR affects a core - ci run. The change had to be verified on a run that sets the dev version in a pipeline that has unreleased dependencies. | py |
diff --git a/pastml/ml.py b/pastml/ml.py
index <HASH>..<HASH> 100755
--- a/pastml/ml.py
+++ b/pastml/ml.py
@@ -897,7 +897,7 @@ def optimise_likelihood(forest, avg_br_len, tree_len, num_edges, character, stat
optimise_kappa=optimise_kappa, avg_br_len=avg_br_len,
... | preoptimise tau with sf (frequencies fixed) then fix it for further optimisations | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.