diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ else:
if os.path.exists(os.path.join(scipoptdir, "include")):
includedir = os.path.abspath(os.path.join(scipoptdir, "include"))
else:
- print("SCIPOPTDIR={scipoptdir} does not contain a... | Update setup.py add missing f-string marker | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,13 +4,11 @@ from __future__ import absolute_import
from __future__ import print_function
from setuptools import setup
-import sys
-sys.path.insert(0, '.')
-import version
+import si_prefix
setup(name='si-prefix',
-... | fix(setup): fix package version lookup | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -203,6 +203,7 @@ intersphinx_mapping = {
sphinx_gallery_conf = {
# path to your examples scripts
'examples_dirs': '../examples',
+ 'ignore_pattern': r'.*torus.*\.py',
# path where to save gallery... | Don't compute the torus/sphere example in the gallery | py |
diff --git a/goldman/resources/base.py b/goldman/resources/base.py
index <HASH>..<HASH> 100644
--- a/goldman/resources/base.py
+++ b/goldman/resources/base.py
@@ -35,3 +35,15 @@ class Resource(object):
if name not in disable:
setattr(self, name, func)
+
+ @property
+ def deserializ... | base resource helper properties for aggregating mimetypes | py |
diff --git a/remi/server.py b/remi/server.py
index <HASH>..<HASH> 100644
--- a/remi/server.py
+++ b/remi/server.py
@@ -26,7 +26,6 @@ import mimetypes
import webbrowser
import struct
import string
-import urlparse
import binascii
from base64 import b64encode
import hashlib | urlparse dependency removed because not used. | py |
diff --git a/plexapi/media.py b/plexapi/media.py
index <HASH>..<HASH> 100644
--- a/plexapi/media.py
+++ b/plexapi/media.py
@@ -350,8 +350,29 @@ class TranscodeSession(PlexObject):
@utils.registerPlexObject
+class TranscodeJob(PlexObject):
+ """ Represents an Optimizing job.
+ TrancodeJobs are the process... | Create TrancodeJob class Update docstring for Optimized class | py |
diff --git a/estnltk/layer/base_span.py b/estnltk/layer/base_span.py
index <HASH>..<HASH> 100644
--- a/estnltk/layer/base_span.py
+++ b/estnltk/layer/base_span.py
@@ -82,6 +82,9 @@ class EnvelopingBaseSpan(BaseSpan):
def __getitem__(self, item):
return self._spans[item]
+ def __iter__(self):
+ ... | added EnvelopingBaseSpan.__iter__ method | py |
diff --git a/mtools/mplotqueries/mplotqueries.py b/mtools/mplotqueries/mplotqueries.py
index <HASH>..<HASH> 100755
--- a/mtools/mplotqueries/mplotqueries.py
+++ b/mtools/mplotqueries/mplotqueries.py
@@ -135,7 +135,7 @@ class MPlotQueriesTool(LogFileTool):
logline = LogLine(line)
# ad... | fixed edge case where parsing loglines could break when they don't have datetime but do have duration. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ def read(fname):
requirements = read(fpath('requirements.txt'))
setup(name='scikit-dsp-comm',
- version='0.0.3',
+ version='0.0.4',
description='DSP and Comm package.',
long_descripti... | Adding version revision to <I> | py |
diff --git a/Purr/Purr/Purrer.py b/Purr/Purr/Purrer.py
index <HASH>..<HASH> 100644
--- a/Purr/Purr/Purrer.py
+++ b/Purr/Purr/Purrer.py
@@ -794,5 +794,5 @@ class Purrer (QObject):
policy = "copy";
dps.append(Purr.DataProduct(filename=filename,sourcepath=sourcepath,
... | Added sorting of new data products by name, so they're not added all jumbled up. | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -125,6 +125,12 @@ TESTS = {
'tags' : []
},
+ 'hashtag_umlaut': {
+ 'input': u'text #hash_tagüäö',
+ 'result': u'text <a href="http://search.twitter.com/search?q=%23hash_tag%C3%BC%C3%A4%... | Add test case for hashtags that contain umlaute. | py |
diff --git a/pysnmp/proto/secmod/rfc3414/service.py b/pysnmp/proto/secmod/rfc3414/service.py
index <HASH>..<HASH> 100644
--- a/pysnmp/proto/secmod/rfc3414/service.py
+++ b/pysnmp/proto/secmod/rfc3414/service.py
@@ -523,8 +523,11 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
raise error.... | return authoritative contextEngineId & contextName on phase one of discovery procedure | py |
diff --git a/tests/test_see_result.py b/tests/test_see_result.py
index <HASH>..<HASH> 100644
--- a/tests/test_see_result.py
+++ b/tests/test_see_result.py
@@ -12,7 +12,7 @@ def union(*sets):
return set(itertools.chain(*sets))
-SIGN_OPS = set(['+obj', '-obj'])
+SIGN_OPS = {'+obj', '-obj'}
NUMBER_OPS = set('+... | Rewrite unnecessary list literal as set literal | py |
diff --git a/helpers/urlutils.py b/helpers/urlutils.py
index <HASH>..<HASH> 100644
--- a/helpers/urlutils.py
+++ b/helpers/urlutils.py
@@ -58,7 +58,7 @@ def get_title(url):
else:
title = "Title Not Found"
except (timeout, HTTPError) as e:
- raise CommandFailedException(e)
+ ... | fix #<I> nytimes stupid | py |
diff --git a/radiotool/algorithms/retarget.py b/radiotool/algorithms/retarget.py
index <HASH>..<HASH> 100644
--- a/radiotool/algorithms/retarget.py
+++ b/radiotool/algorithms/retarget.py
@@ -67,12 +67,13 @@ def retarget_to_length(song, duration, start=True, end=True, slack=5,
fade_in_len=None, fade_out_len=Non... | bug fix in retarget_to_length... caused by a bad copy/paste job | py |
diff --git a/librosa/core/audio.py b/librosa/core/audio.py
index <HASH>..<HASH> 100644
--- a/librosa/core/audio.py
+++ b/librosa/core/audio.py
@@ -108,12 +108,12 @@ def load(path, sr=22050, mono=True, offset=0.0, duration=None,
with audioread.audio_open(os.path.realpath(path)) as input_file:
sr_native = i... | Fixed loading of audio files to make possible sample-accurate loading | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ from setuptools import setup
setup(
name='casscache',
- version='0.0.2',
+ version='0.0.3',
author='Matt Robenolt',
author_email='matt@ydekproductions.com',
url='https://github.com/m... | Bumping cassandra driver version | py |
diff --git a/scripts/version_update.py b/scripts/version_update.py
index <HASH>..<HASH> 100755
--- a/scripts/version_update.py
+++ b/scripts/version_update.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+
+def update_package(new_version: str):
+ pass
+
+
+def update_setup_py(new_version: str):
+ pass
+
+
+if __name... | Stubs, going to rename file | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -372,10 +372,10 @@ class API:
'auto_populate_reply_metadata', 'lat', 'long',
'place_id', 'display_coordinates'
"""
- headers, post_d... | Improve API.update_with_media file uploading Use files parameter of requests Session.request Allow Twitter's API to respond with error code <I> and message "One or more of the uploaded media is too large." instead of checking for file size prior to upload. Allow Twitter's API to respond with HTTP status code <I>, erro... | py |
diff --git a/blockstore/lib/operations/transfer.py b/blockstore/lib/operations/transfer.py
index <HASH>..<HASH> 100644
--- a/blockstore/lib/operations/transfer.py
+++ b/blockstore/lib/operations/transfer.py
@@ -132,8 +132,8 @@ def parse(bin_payload, recipient):
return {
'opcode': 'NAME_TRANSFER',
- ... | Hexlify the consensus and name hashes | py |
diff --git a/workalendar/tests/test_europe.py b/workalendar/tests/test_europe.py
index <HASH>..<HASH> 100644
--- a/workalendar/tests/test_europe.py
+++ b/workalendar/tests/test_europe.py
@@ -1618,6 +1618,17 @@ class RussiaTest(GenericCalendarTest):
self.assertTrue(self.cal.is_working_day(date(2021, 2, 19)))
... | Improve Russia coverage Covering cases when we're fetching the Labour day label refs #<I> | py |
diff --git a/pyqode/core/modes/outline.py b/pyqode/core/modes/outline.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/modes/outline.py
+++ b/pyqode/core/modes/outline.py
@@ -53,8 +53,12 @@ class OutlineMode(Mode, QtCore.QObject):
self._jobRunner.request_job(self._run_analysis)
def _run_analysis(self):
... | Fix runtime error if editor got deleted before running the analysis This happen in OpenCobolIDE if user quickly open and close the preferences dialog. | py |
diff --git a/adapt/intent.py b/adapt/intent.py
index <HASH>..<HASH> 100644
--- a/adapt/intent.py
+++ b/adapt/intent.py
@@ -126,7 +126,7 @@ class IntentBuilder(object):
"""
The intent parser should require one of the provided entity types to validate this clause.
:param args: *args notation li... | Updates to intent builder docs. | py |
diff --git a/pysat/_orbits.py b/pysat/_orbits.py
index <HASH>..<HASH> 100644
--- a/pysat/_orbits.py
+++ b/pysat/_orbits.py
@@ -332,12 +332,14 @@ class Orbits(object):
uniq_vals = self.sat[self.orbit_index].unique()
orbit_index = []
for val in uniq_vals:
- idx, = np.where(val == sel... | Fixed bug when using an orbit number provided by dataset. It should work now. | py |
diff --git a/mapillary_tools/uploader.py b/mapillary_tools/uploader.py
index <HASH>..<HASH> 100644
--- a/mapillary_tools/uploader.py
+++ b/mapillary_tools/uploader.py
@@ -512,7 +512,7 @@ def upload_file(filepath, root, url, permission, signature, key=None):
else:
s3_key = key + s3_filename
- paramete... | fix: update key for s3 upload | py |
diff --git a/raiden/tests/unit/fuzz/test_state_changes.py b/raiden/tests/unit/fuzz/test_state_changes.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/unit/fuzz/test_state_changes.py
+++ b/raiden/tests/unit/fuzz/test_state_changes.py
@@ -205,7 +205,7 @@ class ChainStateStateMachine(RuleBasedStateMachine):
... | Use mixin classes for hypothesis rules This will allow flexible testing with different subsets of rules | py |
diff --git a/src/holodeck/util.py b/src/holodeck/util.py
index <HASH>..<HASH> 100644
--- a/src/holodeck/util.py
+++ b/src/holodeck/util.py
@@ -164,10 +164,18 @@ def draw_point(env, loc, color=None, thickness=10.0):
def _windows_check_process_alive(pid):
+ import win32api
import win32process
import win... | Update Windows process checking based on findings | py |
diff --git a/examples/python_example.py b/examples/python_example.py
index <HASH>..<HASH> 100644
--- a/examples/python_example.py
+++ b/examples/python_example.py
@@ -1,7 +1,6 @@
# Steve Ivy <steveivy@gmail.com>
# http://monkinetic.com
-from __future__ import print_function
from random import random
from socket i... | examples: python: library should not print anything Acctually raising an exception in case of an error is very pythonish. | py |
diff --git a/saltapi/cli.py b/saltapi/cli.py
index <HASH>..<HASH> 100644
--- a/saltapi/cli.py
+++ b/saltapi/cli.py
@@ -3,20 +3,22 @@ CLI entry-point for salt-api
'''
# Import salt libs
from salt.utils.parsers import (
- ConfigDirMixIn,
- DaemonMixIn,
- LogLevelMixIn,
- OptionParser,
- ... | Update `cli` to use the new `MergeConfigMixIn`. The purpose of the above MixIn is to override the options on the configuration file with the options passed from the console. | py |
diff --git a/validator/testcases/javascript/spidermonkey.py b/validator/testcases/javascript/spidermonkey.py
index <HASH>..<HASH> 100644
--- a/validator/testcases/javascript/spidermonkey.py
+++ b/validator/testcases/javascript/spidermonkey.py
@@ -99,7 +99,9 @@ def _get_tree(code, shell=SPIDERMONKEY_INSTALLATION):
... | Update to allow E4X to run without throwing compilation errors (bug <I>) | py |
diff --git a/cltk/tests/test_test_middle_high_german.py b/cltk/tests/test_test_middle_high_german.py
index <HASH>..<HASH> 100644
--- a/cltk/tests/test_test_middle_high_german.py
+++ b/cltk/tests/test_test_middle_high_german.py
@@ -7,7 +7,7 @@ from cltk.corpus.middle_high_german.alphabet import normalize_middle_high_ger... | Update test_test_middle_high_german.py | py |
diff --git a/src/wormhole/server/cmd_usage.py b/src/wormhole/server/cmd_usage.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/server/cmd_usage.py
+++ b/src/wormhole/server/cmd_usage.py
@@ -68,9 +68,9 @@ def show_usage(args):
" ORDER BY `started` ASC LIMIT ?",
(args.n,))
fo... | `u"" cleanup on cmd_usage.py | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -21,7 +21,7 @@ import os
import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../flowcraft/templates"))
-
+import flowcraft
# -- General configuration -----------------... | Linked package version in docs | py |
diff --git a/holoviews/core/util.py b/holoviews/core/util.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/util.py
+++ b/holoviews/core/util.py
@@ -134,7 +134,7 @@ class sanitize_identifier(param.ParameterizedFunction):
name = name.replace(i, o)
for transform in transforms:
name = ... | Replacing any hyphens in unicode names with underscores | py |
diff --git a/pyvisa/highlevel.py b/pyvisa/highlevel.py
index <HASH>..<HASH> 100644
--- a/pyvisa/highlevel.py
+++ b/pyvisa/highlevel.py
@@ -48,7 +48,8 @@ class VisaLibraryBase(object):
derived class must/will implement all methods.
The default VisaLibrary class is :class:`pyvisa.ctwrapper.highlevel.NIVisaLib... | pyvisa/highlevel: changed commentary for class VisaLibraryBase(object) | py |
diff --git a/test/test_data.py b/test/test_data.py
index <HASH>..<HASH> 100644
--- a/test/test_data.py
+++ b/test/test_data.py
@@ -69,7 +69,11 @@ def test_pandas_dataframe():
def test_pandas_sparse_dataframe():
- G = build_graph(pd.DataFrame(data).astype(pd.SparseDtype(float, fill_value=0)))
+ try:
+ ... | tests should pass on pandas<<I> | py |
diff --git a/slither/detectors/statements/calls_in_loop.py b/slither/detectors/statements/calls_in_loop.py
index <HASH>..<HASH> 100644
--- a/slither/detectors/statements/calls_in_loop.py
+++ b/slither/detectors/statements/calls_in_loop.py
@@ -86,14 +86,11 @@ If one of the destinations has a fallback function which reve... | Quick cleanup on calls-loop to output result as a single line | py |
diff --git a/mutant/models/model/__init__.py b/mutant/models/model/__init__.py
index <HASH>..<HASH> 100644
--- a/mutant/models/model/__init__.py
+++ b/mutant/models/model/__init__.py
@@ -15,7 +15,7 @@ from django.utils.translation import ugettext_lazy as _
from picklefield.fields import PickledObjectField
from ... ... | Made sure not to use Field.rel on Django <I>+. | py |
diff --git a/ryu/ofproto/ofproto_v1_5.py b/ryu/ofproto/ofproto_v1_5.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/ofproto_v1_5.py
+++ b/ryu/ofproto/ofproto_v1_5.py
@@ -923,6 +923,7 @@ OFPBAC_BAD_SET_TYPE = 13 # Unsupported type in SET_FIELD action.
OFPBAC_BAD_SET_LEN = 14 # Length problem in SET_FIEL... | ofproto_v1_5: Add OFPBAC_BAD_METER OpenFlow <I> adds new error OFPBAC_BAD_METER for bad meter in flow-mod (EXT-<I>). | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ setup(
packages=['ABBYY',],
install_requires = [
'requests>=1.2.3',
- 'lxml>=3.2.1'
+ 'lxml>=3.1.0'
],
url='https://github.com/samueltc/ABBYY',
license='LICEN... | work with lower version of lxml | py |
diff --git a/pyvodb/load.py b/pyvodb/load.py
index <HASH>..<HASH> 100644
--- a/pyvodb/load.py
+++ b/pyvodb/load.py
@@ -21,7 +21,8 @@ def load_dir(session, directory):
def get_db(directory, engine=None):
directories = []
for dirpath, dirnames, filenames in os.walk(directory):
- dirnames[:] = [d for d i... | Make it possible to explicitly load the current directory | py |
diff --git a/exchangelib/ewsdatetime.py b/exchangelib/ewsdatetime.py
index <HASH>..<HASH> 100644
--- a/exchangelib/ewsdatetime.py
+++ b/exchangelib/ewsdatetime.py
@@ -304,6 +304,12 @@ class EWSTimeZone(object):
return res.replace(tzinfo=self.from_pytz(res.tzinfo))
return res
+ def fromutc(sel... | Let EWSTimeZone.fromutc() return EWSDateTime instances fromutc() is a documented datetime.tzinfo method that may be called by EWSDateTime.astimezone(). It needs to return the correct datetime type. See <URL> | py |
diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py
index <HASH>..<HASH> 100644
--- a/src/requirementslib/models/requirements.py
+++ b/src/requirementslib/models/requirements.py
@@ -3252,7 +3252,7 @@ class Requirement(object):
ireq_marker = ireq.markers
... | Don't try to make markers out of empty strings | py |
diff --git a/webwhatsapi/__init__.py b/webwhatsapi/__init__.py
index <HASH>..<HASH> 100755
--- a/webwhatsapi/__init__.py
+++ b/webwhatsapi/__init__.py
@@ -271,6 +271,13 @@ class WhatsAPIDriver(object):
os.close(fd)
return fn_png
+ def get_qr_base64(self):
+ if "Click to reload QR code" in ... | Create get_qr_base<I> to return in base<I> so as not to waste processing when sending it elsewhere | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ __DIR__ = os.path.abspath(os.path.dirname(__file__))
setup(
name = 'rawl',
- version = '0.2.0b1',
+ version = '0.2.1b1',
description = 'An ugly raw SQL postgresql db layer',
url = 'https://... | Version bump to <I>b1 | py |
diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -334,7 +334,7 @@ class CFG(ast.NodeVisitor):
Args:
function_node: is the node to create a CFG of
"""
- print(function_node.name)
+ self.module_definitions_stack.append(Modul... | Add stack when creating funciton as a cfg | py |
diff --git a/sensorimotor/sensorimotor/abstract_agent.py b/sensorimotor/sensorimotor/abstract_agent.py
index <HASH>..<HASH> 100644
--- a/sensorimotor/sensorimotor/abstract_agent.py
+++ b/sensorimotor/sensorimotor/abstract_agent.py
@@ -133,7 +133,9 @@ class AbstractAgent(object):
if sensorPattern is None:
... | Sort indices while pretty-printing sensorimotor sequence | py |
diff --git a/pygen/ecore.py b/pygen/ecore.py
index <HASH>..<HASH> 100644
--- a/pygen/ecore.py
+++ b/pygen/ecore.py
@@ -104,6 +104,11 @@ class EcoreGenerator(JinjaGenerator):
EcorePackageModuleTask(formatter=format_autopep8),
]
+ templates_path = os.path.join(
+ os.path.abspath(os.path.dirname(... | switched template loader from package to filesystem to fix lookup on Python <I> @ Linux | py |
diff --git a/tofu/version.py b/tofu/version.py
index <HASH>..<HASH> 100644
--- a/tofu/version.py
+++ b/tofu/version.py
@@ -1,2 +1,2 @@
# Do not edit, pipeline versioning governed by git tags!
-__version__ = '1.4.2b13-89-g45919172'
+__version__ = '1.4.2' | [<I>] Forcing version number by typing in tofu/version.py and using git commit --no-verify | py |
diff --git a/chaos/scheduler.py b/chaos/scheduler.py
index <HASH>..<HASH> 100644
--- a/chaos/scheduler.py
+++ b/chaos/scheduler.py
@@ -21,7 +21,7 @@ import threading, datetime, time, logging
class Scheduler(threading.Thread):
def __init__(self, delay, action, name, startNow=False, *args, **kwargs):
- self.logger ... | Do not expose own __name__ through logger | py |
diff --git a/irc/schedule.py b/irc/schedule.py
index <HASH>..<HASH> 100644
--- a/irc/schedule.py
+++ b/irc/schedule.py
@@ -14,7 +14,7 @@ class DelayedCommand(datetime.datetime):
manner, such as to use UTC or to have timezone-aware times.
"""
@classmethod
- def now(self, tzinfo=None):
+ def now(cls,... | Use 'cls' for classmethod param | py |
diff --git a/paramiko/_winapi.py b/paramiko/_winapi.py
index <HASH>..<HASH> 100644
--- a/paramiko/_winapi.py
+++ b/paramiko/_winapi.py
@@ -219,8 +219,8 @@ class SECURITY_ATTRIBUTES(ctypes.Structure):
@descriptor.setter
def descriptor(self, value):
- self._descriptor = descriptor
- self.lpSecur... | Typo causes failure if Putty Pageant is running. | py |
diff --git a/tests/models/test_taskinstance.py b/tests/models/test_taskinstance.py
index <HASH>..<HASH> 100644
--- a/tests/models/test_taskinstance.py
+++ b/tests/models/test_taskinstance.py
@@ -19,7 +19,6 @@
import datetime
import os
import signal
-import time
import urllib
from tempfile import NamedTemporaryFile... | Patch `utcnow` in retry delay test (#<I>) * Remove sleep from retry delay test * Change to use freezegun * Approximate smallest timedelta without numpy * Use pre-defined smallest timedelta It turns out `datetime.datetime.resolution` is already defined as the smallest possible timedelta (one microsecond). A... | py |
diff --git a/mongoctl/mongoctl.py b/mongoctl/mongoctl.py
index <HASH>..<HASH> 100644
--- a/mongoctl/mongoctl.py
+++ b/mongoctl/mongoctl.py
@@ -2820,7 +2820,7 @@ class ReplicaSetCluster(DocumentWrapper):
log_info("Executing the following command on the current primary:"
"\n%s" % docume... | executing repl reconfig command in a disconnecting command | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -123,7 +123,7 @@ def get_version_info():
vinfo = _version_helper.generate_git_version_info()
except:
vinfo = vdummy()
- vinfo.version = '1.15.1'
+ vinfo.version = '1.15.2'
vinfo.re... | Prepare for release (#<I>) | py |
diff --git a/python_modules/dagster/dagster_tests/daemon_tests/integration_tests/test_queued.py b/python_modules/dagster/dagster_tests/daemon_tests/integration_tests/test_queued.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster_tests/daemon_tests/integration_tests/test_queued.py
+++ b/python_modules/d... | Disable flaky daemon test Summary: We should investigate why this is segfaulting as it likely indicates a real issue, but skip for now. Test Plan: BK Reviewers: johann, prha, alangenfeld, catherinewu Reviewed By: catherinewu Differential Revision: <URL> | py |
diff --git a/aafig/sphinxcontrib/aafig.py b/aafig/sphinxcontrib/aafig.py
index <HASH>..<HASH> 100644
--- a/aafig/sphinxcontrib/aafig.py
+++ b/aafig/sphinxcontrib/aafig.py
@@ -131,7 +131,10 @@ def render_aafig_images(app, doctree):
# FIXME: find some way to avoid this hack in aafigure
if extra:
... | aafig: Don't override width and height for SVG images If width or height options are already present in the figure, don't override them with the width and height provided by the aafigure visitor. | py |
diff --git a/angr/simos.py b/angr/simos.py
index <HASH>..<HASH> 100644
--- a/angr/simos.py
+++ b/angr/simos.py
@@ -203,5 +203,6 @@ class SimCGC(SimOS):
os_mapping = {
'unix': SimLinux,
'unknown': SimOS,
+ 'windows': SimOS,
'cgc': SimCGC
} | simos: add mapping for windows os type Like unknown we use the general SimOS, it might be subclassed later on (like SimPosix) if needed, on the mean time let's provide the minimum required. | py |
diff --git a/tonnikala/languages/python/generator.py b/tonnikala/languages/python/generator.py
index <HASH>..<HASH> 100644
--- a/tonnikala/languages/python/generator.py
+++ b/tonnikala/languages/python/generator.py
@@ -435,6 +435,9 @@ class PyComplexExprNode(PyComplexNode):
class PyBlockNode(PyComplexNode):
def _... | fixed the name: needs to be utf8 for python 2 | py |
diff --git a/datasette/app.py b/datasette/app.py
index <HASH>..<HASH> 100644
--- a/datasette/app.py
+++ b/datasette/app.py
@@ -468,7 +468,9 @@ class TableView(BaseView):
display_columns = display_columns[1:]
rows = list(rows)
info = self.ds.inspect()
- table_rows = info[name]['tabl... | Fixed <I> on views page Bug introduced in a4af<I>a<I>ece<I>d<I>a1f5abb<I>ea<I>fe<I>f Refs <I> | py |
diff --git a/scripts/examples/pim-data-collection.py b/scripts/examples/pim-data-collection.py
index <HASH>..<HASH> 100644
--- a/scripts/examples/pim-data-collection.py
+++ b/scripts/examples/pim-data-collection.py
@@ -23,6 +23,7 @@ import mapper as mod_map
import bias as mod_bias
sys.path.append(pth + os.sep + 'to... | setup email collection via local script (ext to github) | py |
diff --git a/chatterbot/ext/sqlalchemy_app/models.py b/chatterbot/ext/sqlalchemy_app/models.py
index <HASH>..<HASH> 100644
--- a/chatterbot/ext/sqlalchemy_app/models.py
+++ b/chatterbot/ext/sqlalchemy_app/models.py
@@ -57,6 +57,11 @@ class Statement(Base, StatementMixin):
unique=True
)
+ created_at =... | Add created_at time to SQL Alchemy model | py |
diff --git a/airflow/models.py b/airflow/models.py
index <HASH>..<HASH> 100644
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -1202,6 +1202,7 @@ class DAG(Base):
TI = TaskInstance
tis = session.query(TI).filter(TI.dag_id == self.dag_id)
+ tis = tis.filter(TI.task_id.in_(self.task_ids))
... | Fixing task regex getting disregarded | py |
diff --git a/angr/path.py b/angr/path.py
index <HASH>..<HASH> 100644
--- a/angr/path.py
+++ b/angr/path.py
@@ -45,7 +45,7 @@ class Path(object):
# case. We should catch exceptions here.
try:
stack_ptr = self.state.se.any_int(self.state.regs.sp)
- except (simuvex.Sim... | Catch attribute errors about stack pointers and do the right thing | py |
diff --git a/pyemu/tests/la_tests.py b/pyemu/tests/la_tests.py
index <HASH>..<HASH> 100644
--- a/pyemu/tests/la_tests.py
+++ b/pyemu/tests/la_tests.py
@@ -258,7 +258,7 @@ def freyberg_verf_test():
import pyemu
import numpy as np
import pandas as pd
- wdir = os.path.join("..","..","verification","freyb... | case fix in la_tests for linux | py |
diff --git a/mtp_common/templatetags/mtp_common.py b/mtp_common/templatetags/mtp_common.py
index <HASH>..<HASH> 100644
--- a/mtp_common/templatetags/mtp_common.py
+++ b/mtp_common/templatetags/mtp_common.py
@@ -112,6 +112,30 @@ def stripwhitespace(parser, token):
return StripWhitespaceNode(node_list)
+class Ca... | Add captureoutput template tag … which is useful for including complex content into translated blocks, for example | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
import multiprocessing, logging
from setuptools import setup, find_packages
-version = '0.4.0'
+version = '0.4.1'
f = open('README.rst')
long_description = f.read().strip() | Version bump for task_get and task_update. | py |
diff --git a/tests/test_dict.py b/tests/test_dict.py
index <HASH>..<HASH> 100644
--- a/tests/test_dict.py
+++ b/tests/test_dict.py
@@ -2,6 +2,7 @@ import autograd.numpy as np
import autograd.numpy.random as npr
from autograd.test_util import check_grads
from autograd import grad
+import operator as op
npr.seed(0)... | ensure dict tests are sorted as needed | py |
diff --git a/xmpp_http_upload/views.py b/xmpp_http_upload/views.py
index <HASH>..<HASH> 100644
--- a/xmpp_http_upload/views.py
+++ b/xmpp_http_upload/views.py
@@ -91,7 +91,7 @@ class RequestSlotView(View):
# deny if file is to large
if 'max_file_size' in config and size > config['max_file_size... | return HTTP <I> as required by mod_http_upload | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -120,9 +120,9 @@ class build_ext(_build_ext):
opts.append("-DVERSION_INFO=\"{0:s}\""
.format(self.distribution.get_version()))
- flags = ["-stdlib=libc++", "-fvisibility=hidde... | fixing fvisibility compile bug | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -49,6 +49,12 @@ from openquake import hazardlib, risklib, commonlib
from openquake.commonlib import readinput, valid, datastore
+# patch datastore.ge... | Patched get_last_calc_id Former-commit-id: <I>fcec<I>eeeb8b7a<I>c8bb<I>af0fb5d | py |
diff --git a/PySimpleGUI.py b/PySimpleGUI.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUI.py
+++ b/PySimpleGUI.py
@@ -1,5 +1,5 @@
#!/usr/bin/python3
-version = __version__ = "4.1.0.18 Unreleased - Anniversary Edition"
+version = __version__ = "4.2.0.0 Unreleased"
# 888888ba .d88888b oo ... | Graph Element drag mouse button UP events changed. Returns key+UP for drag event when mouse is released | py |
diff --git a/src/wakawaka/models.py b/src/wakawaka/models.py
index <HASH>..<HASH> 100644
--- a/src/wakawaka/models.py
+++ b/src/wakawaka/models.py
@@ -35,7 +35,7 @@ class Revision(models.Model):
page = models.ForeignKey(WikiPage, related_name='revisions')
content = models.TextField(_('content'))
message ... | temporary fix for related_name (conflicts with django-reversion) | py |
diff --git a/tests/test__intersection_helpers.py b/tests/test__intersection_helpers.py
index <HASH>..<HASH> 100644
--- a/tests/test__intersection_helpers.py
+++ b/tests/test__intersection_helpers.py
@@ -474,7 +474,7 @@ class Test__newton_refine(utils.NumPyTestCase):
@unittest.skipIf(utils.WITHOUT_SPEEDUPS, 'No spe... | Renaming `Test_speedup_newton_refine`. Changed to `Test_speedup_newton_refine_intersect` to more closely describe the name of the function being tested. | py |
diff --git a/tilequeue/queue/sqs.py b/tilequeue/queue/sqs.py
index <HASH>..<HASH> 100644
--- a/tilequeue/queue/sqs.py
+++ b/tilequeue/queue/sqs.py
@@ -45,6 +45,7 @@ class VisibilityManager(object):
else:
state = VisibilityState(now, self.extend_secs)
self.handle_state_map[... | Correct invalid function call Remove the call to the "lookup" function, which doesn't exist. | py |
diff --git a/Pynac/Plotting.py b/Pynac/Plotting.py
index <HASH>..<HASH> 100644
--- a/Pynac/Plotting.py
+++ b/Pynac/Plotting.py
@@ -291,7 +291,7 @@ class PynPlt(object):
show(grid)
def parseEmitPlot():
- plotType = {
+ plotTypeDefs = {
1: 'EMITGR',
2: 'PROFGR',
3: 'ENVEL'
@@ ... | More work on newpynplt | py |
diff --git a/scour/scour.py b/scour/scour.py
index <HASH>..<HASH> 100644
--- a/scour/scour.py
+++ b/scour/scour.py
@@ -3301,8 +3301,8 @@ def start(options, input, output):
# GZ: not using globals would be good too
if not options.quiet:
- print(' File:', input.name, \
- os.linesep + ' Time taken:'... | Minor fix in console output (superfluous space) | py |
diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_integration.py
+++ b/tests/integration/test_integration.py
@@ -49,6 +49,7 @@ def test_double_create(b, user_pk):
@pytest.mark.usefixtures('inputs')
def test_get_owned_ids... | check validate_transaction raises DoubleSpend in integration test | py |
diff --git a/km3pipe/pumps/hdf5.py b/km3pipe/pumps/hdf5.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/hdf5.py
+++ b/km3pipe/pumps/hdf5.py
@@ -7,6 +7,7 @@ Pumps for the EVT simulation dataformat.
"""
from __future__ import division, absolute_import, print_function
+import os.path
import pandas as pd
from km... | Checks if file exists before opening the hdf5 store, otherwise an empty file will be created | py |
diff --git a/test_mnemonic.py b/test_mnemonic.py
index <HASH>..<HASH> 100755
--- a/test_mnemonic.py
+++ b/test_mnemonic.py
@@ -34,6 +34,7 @@ class MnemonicTest(unittest.TestCase):
for v in vectors:
code = mnemo.to_mnemonic(unhexlify(v[0]))
seed = hexlify(Mnemonic.to_seed(code, passphr... | use test vectors to verify Mnemonic.check() method as well | py |
diff --git a/cmdtool/base_script.py b/cmdtool/base_script.py
index <HASH>..<HASH> 100644
--- a/cmdtool/base_script.py
+++ b/cmdtool/base_script.py
@@ -60,6 +60,8 @@ class BaseScript:
if self.testmode:
print(self.format(command))
else:
+ if self.log.level == logging.DEBUG:
+ ... | all command are now logged in debug mode | py |
diff --git a/grimoire_elk/enriched/kitsune.py b/grimoire_elk/enriched/kitsune.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/kitsune.py
+++ b/grimoire_elk/enriched/kitsune.py
@@ -45,32 +45,17 @@ class Mapping(BaseMapping):
:returns: dictionary with a key, 'items', with the mapping
"... | [kitsune] Remove ES 2.x mappings This code removes the mappings for the enriched index. | py |
diff --git a/keyboard/_canonical_names.py b/keyboard/_canonical_names.py
index <HASH>..<HASH> 100644
--- a/keyboard/_canonical_names.py
+++ b/keyboard/_canonical_names.py
@@ -39,6 +39,7 @@ canonical_names = {
# Mac keys
'command': 'windows',
+ 'cmd': 'windows',
'control': 'ctrl',
'option': 'alt... | Added "cmd" abbreviation to canonical list | py |
diff --git a/screenlogger/screenlogger.py b/screenlogger/screenlogger.py
index <HASH>..<HASH> 100644
--- a/screenlogger/screenlogger.py
+++ b/screenlogger/screenlogger.py
@@ -8,14 +8,16 @@ import os
class Msg:
- def __init__(self, filename="error.log",
- mode=None):
+ def __init__(self, filename=... | added log file name and log path to the initialization of the Msg class | py |
diff --git a/asl/task/task_decorator.py b/asl/task/task_decorator.py
index <HASH>..<HASH> 100644
--- a/asl/task/task_decorator.py
+++ b/asl/task/task_decorator.py
@@ -1,5 +1,5 @@
'''
-:mod:`asl.task.task_decorator`
+:mod:`asl.task.task_decorator`
.. moduleauthor:: Martin Babka
'''
@@ -107,6 +107,8 @@ def json... | ked nemame callback tak vratime application/json | py |
diff --git a/simpl/cli.py b/simpl/cli.py
index <HASH>..<HASH> 100644
--- a/simpl/cli.py
+++ b/simpl/cli.py
@@ -14,6 +14,10 @@
"""Simpl's base module for its command line interface."""
+import functools
+import logging
+
+from simpl import server
from simpl.utils import cli as cli_utils
@@ -37,9 +41,18 @@ def ... | feat(simpl-cli): add 'server' subcommand This allows running a bottle-based webserver like so: `simpl server --app disruptive_technology.py` The `simpl server` interface is very similar to command line interface built-in to bottle: <URL> | py |
diff --git a/oandapyV20/oandapyV20.py b/oandapyV20/oandapyV20.py
index <HASH>..<HASH> 100644
--- a/oandapyV20/oandapyV20.py
+++ b/oandapyV20/oandapyV20.py
@@ -179,11 +179,6 @@ class API(object):
The endpoint parameter contains an instance of an APIRequest
containing the endpoint, method and op... | documentaion modified because of deleting params | py |
diff --git a/aiobotocore/endpoint.py b/aiobotocore/endpoint.py
index <HASH>..<HASH> 100644
--- a/aiobotocore/endpoint.py
+++ b/aiobotocore/endpoint.py
@@ -139,10 +139,12 @@ class AioEndpoint(Endpoint):
# https://forums.aws.amazon.com/message.jspa?messageID=215367
# aiohttp default timeout is... | ensure requests to verify ssl by verify value of client | py |
diff --git a/bokeh/models/tiles.py b/bokeh/models/tiles.py
index <HASH>..<HASH> 100644
--- a/bokeh/models/tiles.py
+++ b/bokeh/models/tiles.py
@@ -26,22 +26,15 @@ class TileSource(PlotObject):
the maximum zoom level for the tile layer. This is the most "zoomed-in" level.
""")
- x_origin_offset = Float(de... | Remove x_origin_offset, y_origin_offset, initial_resolution from TileSource We don't support abstract properties in a base class for now. | py |
diff --git a/cleverhans/torch/attacks/semantic.py b/cleverhans/torch/attacks/semantic.py
index <HASH>..<HASH> 100644
--- a/cleverhans/torch/attacks/semantic.py
+++ b/cleverhans/torch/attacks/semantic.py
@@ -21,6 +21,6 @@ def semantic(x, center=True, max_val=1.0):
Maximum value allowed in the input data.
... | Update semantic.py Correct errors. | py |
diff --git a/schema_branches.py b/schema_branches.py
index <HASH>..<HASH> 100644
--- a/schema_branches.py
+++ b/schema_branches.py
@@ -24,6 +24,7 @@ class Branch(Base):
}
# Columns
+ encodedKey = Column(String) # this MUST be declared before primary_key
encodedkey = Colum... | Camel case attributes were added to schema_branches | py |
diff --git a/check_manifest.py b/check_manifest.py
index <HASH>..<HASH> 100755
--- a/check_manifest.py
+++ b/check_manifest.py
@@ -30,7 +30,7 @@ import tarfile
import tempfile
import unicodedata
import zipfile
-from contextlib import closing, contextmanager
+from contextlib import contextmanager
from typing import ... | Remove unnecessary use of contextlib.closing() Since Python 3, the zipfile and tarfile APIs can be used as a context manager. <URL> | py |
diff --git a/fault/system_verilog_target.py b/fault/system_verilog_target.py
index <HASH>..<HASH> 100644
--- a/fault/system_verilog_target.py
+++ b/fault/system_verilog_target.py
@@ -319,7 +319,7 @@ class SystemVerilogTarget(VerilogTarget):
self.disable_ndarray
)
return f"dut.... | Use verilog_name in peek logic | py |
diff --git a/pyipmi/fru.py b/pyipmi/fru.py
index <HASH>..<HASH> 100644
--- a/pyipmi/fru.py
+++ b/pyipmi/fru.py
@@ -21,7 +21,7 @@ import os
from .errors import DecodingError, CompletionCodeError
from .msgs import constants
-from .utils import bcd_search, chunks
+from .utils import bcd_search, chunks, py3_array_tobyt... | fru: fix issue with array.tostring() | py |
diff --git a/test/test_path.py b/test/test_path.py
index <HASH>..<HASH> 100644
--- a/test/test_path.py
+++ b/test/test_path.py
@@ -1112,7 +1112,19 @@ class Test_ilength(unittest.TestCase):
(apath, 1.0, 87.81018330500885)]
for (c, t, s) in tests:
- self.assertAlmostEqual(c.ilength... | fixed false error raised when scipy not installed | py |
diff --git a/cnxarchive/tests.py b/cnxarchive/tests.py
index <HASH>..<HASH> 100644
--- a/cnxarchive/tests.py
+++ b/cnxarchive/tests.py
@@ -276,7 +276,7 @@ class DBQueryTestCase(unittest.TestCase):
from .database import DBQuery
return DBQuery(*args, **kwargs)
- def test_case_zero(self):
+ def t... | Rename tests to a more accurate naming scheme. | py |
diff --git a/simuvex/s_arch.py b/simuvex/s_arch.py
index <HASH>..<HASH> 100755
--- a/simuvex/s_arch.py
+++ b/simuvex/s_arch.py
@@ -183,7 +183,6 @@ class SimAMD64(SimArch):
( 'd', 1, False, None ),
( 'rsp', self.initial_sp, True, 'global' ),
( 'fs', 0x9000000000000000, True, 'globa... | fixed an annoying bug that sets RAX/EAX to an address 0x1c, and leads to bizarre problems in static analysis later. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ setup(
long_description_content_type='text/markdown',
url="https://github.com/Qiskit/qiskit",
author="Qiskit Development Team",
- author_email="qiskit@us.ibm.com",
+ author_email="hello@qisk... | Update email in setup.py (#<I>) Most other qiskit elements are updating their email from <EMAIL> to <EMAIL>, since the former is invalid. While <EMAIL> is valid, it's nice to have a single email address for all elements. | py |
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based_risk.py
+++ b/openquake/calculators/event_based_risk.py
@@ -68,7 +68,6 @@ def event_based_risk(riskinputs, riskmodel, param, monitor):
:returns:
... | Fighting against the 4GB limit in event based risk [skip hazardlib] Former-commit-id: 0c8c<I>be<I>d<I>bda<I>fc7d<I>fb<I>f<I> | py |
diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py
index <HASH>..<HASH> 100644
--- a/src/escpos/escpos.py
+++ b/src/escpos/escpos.py
@@ -574,7 +574,7 @@ class Escpos(object):
self._raw(LINESPACING_FUNCS[divisor] + six.int2byte(spacing))
- def cut(self, mode='FULL'):
+ def cut(self, mode='FULL',... | Optional feed for cut (closes #<I>) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.