instance_id
stringlengths
13
45
pull_number
int64
7
30.1k
repo
stringclasses
83 values
version
stringclasses
68 values
base_commit
stringlengths
40
40
created_at
stringdate
2013-05-16 18:15:55
2025-01-08 15:12:50
patch
stringlengths
347
35.2k
test_patch
stringlengths
432
113k
non_py_patch
stringlengths
0
18.3k
new_components
listlengths
0
40
FAIL_TO_PASS
listlengths
1
2.53k
PASS_TO_PASS
listlengths
0
1.7k
problem_statement
stringlengths
607
52.7k
hints_text
stringlengths
0
57.4k
environment_setup_commit
stringclasses
167 values
sympy__sympy-13345
13,345
sympy/sympy
1.1
19c75f32f62e1d8900520861261d5eccda243194
2017-09-25T10:24:00Z
diff --git a/sympy/printing/repr.py b/sympy/printing/repr.py index 132fff96f4d5..fe69c43ee5a8 100644 --- a/sympy/printing/repr.py +++ b/sympy/printing/repr.py @@ -199,6 +199,23 @@ def _print_FracElement(self, frac): denom = self._print(denom_terms) return "%s(%s, %s, %s)" % (frac.__class__.__name__, s...
diff --git a/sympy/printing/tests/test_repr.py b/sympy/printing/tests/test_repr.py index add77864bf0d..3fbe95003df1 100644 --- a/sympy/printing/tests/test_repr.py +++ b/sympy/printing/tests/test_repr.py @@ -213,6 +213,22 @@ def test_FracElement(): F, x, y = field("x,y", ZZ) assert srepr((3*x**2*y + 1)/(x - y*...
[ { "components": [ { "doc": "", "lines": [ 202, 205 ], "name": "ReprPrinter._print_FractionField", "signature": "def _print_FractionField(self, domain):", "type": "function" }, { "doc": "", "lines": [ ...
[ "test_FractionField", "test_PolynomialRingBase" ]
[ "test_printmethod", "test_Add", "test_Function", "test_Geometry", "test_Singletons", "test_Integer", "test_list", "test_Matrix", "test_empty_Matrix", "test_Rational", "test_Float", "test_Symbol", "test_Symbol_two_assumptions", "test_Symbol_no_special_commutative_treatment", "test_Wild", ...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> srepr of polynomial rings and fraction fields The old polynomial ring currently prints in the same way as the new one and its string representation only creates the new ring. ``` >>> A = ZZ.old_pol...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
sympy__sympy-13304
13,304
sympy/sympy
1.1
7e2f1b243e36ad0b5277b9b6f15cb79450c1f579
2017-09-13T07:54:49Z
diff --git a/sympy/polys/polyclasses.py b/sympy/polys/polyclasses.py index bbf078f34249..c194d4eb7d19 100644 --- a/sympy/polys/polyclasses.py +++ b/sympy/polys/polyclasses.py @@ -114,6 +114,7 @@ def _perify_factors(per, result, include): from sympy.polys.sqfreetools import ( dup_gff_list, + dmp_norm, dm...
diff --git a/sympy/polys/tests/test_polytools.py b/sympy/polys/tests/test_polytools.py index 0af574396244..0b5a94267893 100644 --- a/sympy/polys/tests/test_polytools.py +++ b/sympy/polys/tests/test_polytools.py @@ -2211,6 +2211,12 @@ def test_gff(): raises(NotImplementedError, lambda: gff(f)) +def test_norm():...
[ { "components": [ { "doc": "Computes ``Norm(f)``.", "lines": [ 754, 757 ], "name": "DMP.norm", "signature": "def norm(f):", "type": "function" } ], "file": "sympy/polys/polyclasses.py" }, { "components": [ { ...
[ "test_norm" ]
[ "test_Poly_from_dict", "test_Poly_from_list", "test_Poly_from_poly", "test_Poly_from_expr", "test_Poly__new__", "test_Poly__args", "test_Poly__gens", "test_Poly_zero", "test_Poly_one", "test_Poly__unify", "test_Poly_free_symbols", "test_PurePoly_free_symbols", "test_Poly__eq__", "test_Pure...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> polys: Norm of polynomial over a number field SymPy implements `sqf_norm`, the norm of a modified polynomial, for the construction of primitive elements of number fields. It is the same as `norm` if...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
sympy__sympy-13277
13,277
sympy/sympy
1.1
613373e31790f06b7324dd5ef887198538204bcc
2017-09-08T11:49:12Z
diff --git a/sympy/polys/polytools.py b/sympy/polys/polytools.py index ff6fedc17b71..c3ee2a0eafa9 100644 --- a/sympy/polys/polytools.py +++ b/sympy/polys/polytools.py @@ -4430,6 +4430,59 @@ def degree(f, gen=0): return Integer(p.degree(gen)) +@public +def total_degree(f, *gens): + """ + Return the total_...
diff --git a/sympy/polys/tests/test_polytools.py b/sympy/polys/tests/test_polytools.py index 0af574396244..42373289fa0d 100644 --- a/sympy/polys/tests/test_polytools.py +++ b/sympy/polys/tests/test_polytools.py @@ -4,6 +4,7 @@ Poly, PurePoly, poly, parallel_poly_from_expr, degree, degree_list, + total...
[ { "components": [ { "doc": "Return the total_degree of ``f`` in the given variables.\n\nExamples\n========\n>>> from sympy import total_degree, Poly\n>>> from sympy.abc import x, y, z\n\n>>> total_degree(1)\n0\n>>> total_degree(x + x*y)\n2\n>>> total_degree(x + x*y, x)\n1\n\nIf the expression is a...
[ "test_Poly_from_dict", "test_Poly_from_list", "test_Poly_from_poly", "test_Poly_from_expr", "test_Poly__new__", "test_Poly__args", "test_Poly__gens", "test_Poly_zero", "test_Poly_one", "test_Poly__unify", "test_Poly_free_symbols", "test_PurePoly_free_symbols", "test_Poly__eq__", "test_Pure...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> total_degree() implemented As suggested in [issue#13179](https://github.com/sympy/sympy/issues/13179). I will add docstring in the next commit. ping @smichr @asmeurer ---------- </request> Ther...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
joke2k__faker-580
580
joke2k/faker
null
aedf2246bf51a7a6c4d94484ed2e978c4c2abb96
2017-08-28T08:11:38Z
diff --git a/faker/providers/date_time/ko_KR/__init__.py b/faker/providers/date_time/ko_KR/__init__.py new file mode 100644 index 0000000000..f3333b7477 --- /dev/null +++ b/faker/providers/date_time/ko_KR/__init__.py @@ -0,0 +1,40 @@ +# coding: utf-8 +from __future__ import unicode_literals + +from .. import Provider a...
diff --git a/tests/providers/date_time.py b/tests/providers/date_time.py index 8371dc10cf..5c184bbd81 100644 --- a/tests/providers/date_time.py +++ b/tests/providers/date_time.py @@ -9,6 +9,7 @@ from faker import Factory from faker.generator import random from faker.providers.date_time import Provider as DatetimePro...
[ { "components": [ { "doc": "", "lines": [ 7, 40 ], "name": "Provider", "signature": "class Provider(DateTimeProvider): @classmethod", "type": "class" }, { "doc": "", "lines": [ 10, 21 ...
[ "tests/providers/date_time.py::TestKoKR::test_day", "tests/providers/date_time.py::TestKoKR::test_month", "tests/providers/date_time.py::TestDateTime::test_date_object", "tests/providers/date_time.py::TestDateTime::test_date_time_between_dates", "tests/providers/date_time.py::TestDateTime::test_date_time_be...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add ko_KR datetime added the datetime provider for ko_KR. ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITION...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
sympy__sympy-13200
13,200
sympy/sympy
1.1
83bcbc0f349ae0c90d47808327fedbc1c7c210d6
2017-08-26T15:37:39Z
diff --git a/sympy/codegen/approximations.py b/sympy/codegen/approximations.py new file mode 100644 index 000000000000..5cf0d60dc618 --- /dev/null +++ b/sympy/codegen/approximations.py @@ -0,0 +1,185 @@ +# -*- coding: utf-8 -*- +from __future__ import (absolute_import, division, print_function) + +import math +from ite...
diff --git a/sympy/codegen/tests/test_approximations.py b/sympy/codegen/tests/test_approximations.py new file mode 100644 index 000000000000..ebeaf46f1a52 --- /dev/null +++ b/sympy/codegen/tests/test_approximations.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +from __future__ import (absolute_import, division, print_fu...
[ { "components": [ { "doc": "Approximates sum by neglecting small terms\n\nIf terms are expressions which can be determined to be monotonic, then\nbounds for those expressions are added.\n\nParameters\n==========\nbounds : dict\n Mapping expressions to length 2 tuple of bounds (low, high).\nrelt...
[ "test_SumApprox_trivial", "test_SumApprox_monotone_terms" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add .codegen.approximations This PR introduced classes for approximative rewriting. TODO ---- - [x] try to deduce bounds of terms of `add` in `SumApprox.__call__` if the term is monotonic (given ...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
scikit-learn__scikit-learn-9597
9,597
scikit-learn/scikit-learn
0.22
58e8a43b6062990dddeb3246aede909f0934dc33
2017-08-21T18:22:56Z
diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst index c28231adbc1cd..918696cbc83d2 100644 --- a/doc/whats_new/v0.22.rst +++ b/doc/whats_new/v0.22.rst @@ -261,10 +261,11 @@ Changelog :mod:`sklearn.feature_selection` ................................ + - |Fix| Fixed a bug where :class:`VarianceThreshol...
diff --git a/sklearn/neighbors/tests/test_neighbors.py b/sklearn/neighbors/tests/test_neighbors.py index d22c0d1d9acac..3da1c2579700f 100644 --- a/sklearn/neighbors/tests/test_neighbors.py +++ b/sklearn/neighbors/tests/test_neighbors.py @@ -385,6 +385,7 @@ def test_radius_neighbors_classifier_outlier_labeling(): z...
diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst index c28231adbc1cd..918696cbc83d2 100644 --- a/doc/whats_new/v0.22.rst +++ b/doc/whats_new/v0.22.rst @@ -261,10 +261,11 @@ Changelog :mod:`sklearn.feature_selection` ................................ + - |Fix| Fixed a bug where :class:`VarianceThreshol...
[ { "components": [ { "doc": "Fit the model using X as training data and y as target values\n\nParameters\n----------\nX : {array-like, sparse matrix, BallTree, KDTree}\n Training data. If array or matrix, shape [n_samples, n_features],\n or [n_samples, n_samples] if metric='precomputed'.\n\ny...
[ "sklearn/neighbors/tests/test_neighbors.py::test_radius_neighbors_classifier_outlier_labeling", "sklearn/neighbors/tests/test_neighbors.py::test_radius_neighbors_predict_proba" ]
[ "sklearn/neighbors/tests/test_neighbors.py::test_unsupervised_kneighbors", "sklearn/neighbors/tests/test_neighbors.py::test_unsupervised_inputs", "sklearn/neighbors/tests/test_neighbors.py::test_n_neighbors_datatype", "sklearn/neighbors/tests/test_neighbors.py::test_not_fitted_error_gets_raised", "sklearn/n...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG+1] Add predict_proba(X) and outlier handler for RadiusNeighborsClassifier <!-- Thanks for contributing a pull request! Please ensure you have taken a look at the contribution guidelines: https:...
c96e0958da46ebef482a4084cdda3285d5f5ad23
sympy__sympy-13104
13,104
sympy/sympy
1.1
280a0115f0d2061e5308860b59b88dc180b62038
2017-08-10T00:59:27Z
diff --git a/sympy/combinatorics/homomorphisms.py b/sympy/combinatorics/homomorphisms.py index aa38e6224a5b..c94ddce4dc51 100644 --- a/sympy/combinatorics/homomorphisms.py +++ b/sympy/combinatorics/homomorphisms.py @@ -207,6 +207,39 @@ def is_trivial(self): ''' return self.image().order() == 1 + ...
diff --git a/sympy/combinatorics/tests/test_perm_groups.py b/sympy/combinatorics/tests/test_perm_groups.py index 56d4e461c9d0..87da3838a93b 100644 --- a/sympy/combinatorics/tests/test_perm_groups.py +++ b/sympy/combinatorics/tests/test_perm_groups.py @@ -460,6 +460,15 @@ def test_minimal_block(): assert P1.minimal...
[ { "components": [ { "doc": "Return the restriction of the homomorphism to the subgroup `H`\nof the domain.", "lines": [ 210, 220 ], "name": "GroupHomomorphism.restrict_to", "signature": "def restrict_to(self, H):", "type": "function" ...
[ "test_minimal_blocks", "test_sylow_subgroup" ]
[ "test_has", "test_generate", "test_order", "test_equality", "test_stabilizer", "test_center", "test_centralizer", "test_coset_rank", "test_coset_factor", "test_orbits", "test_is_normal", "test_eq", "test_derived_subgroup", "test_is_solvable", "test_rubik1", "test_direct_product", "te...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> group theory: Implemented Sylow Subgroups This PR adds the method `sylow_subgroup` to the `PermutationGroup` class for computing Sylow subgroups. As part of this: - Implemented orbit and block system...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
joke2k__faker-568
568
joke2k/faker
null
c12a23f112265bf051d720a3758f9919631734ab
2017-08-09T17:34:37Z
diff --git a/faker/providers/date_time/__init__.py b/faker/providers/date_time/__init__.py index f4d2626bc3..3bb3c28b32 100644 --- a/faker/providers/date_time/__init__.py +++ b/faker/providers/date_time/__init__.py @@ -26,6 +26,20 @@ def datetime_to_timestamp(dt): return timegm(dt.timetuple()) +def timestamp_t...
diff --git a/tests/providers/date_time.py b/tests/providers/date_time.py index c132384eeb..a4d405bc8a 100644 --- a/tests/providers/date_time.py +++ b/tests/providers/date_time.py @@ -231,6 +231,51 @@ def test_date_time_this_period_with_tzinfo(self): datetime.now(utc).replace(second=0, microsecond=0) ...
[ { "components": [ { "doc": "", "lines": [ 29, 36 ], "name": "timestamp_to_datetime", "signature": "def timestamp_to_datetime(timestamp, tzinfo):", "type": "function" }, { "doc": "", "lines": [ 39, ...
[ "tests/providers/date_time.py::TestDateTime::test_parse_timedelta", "tests/providers/date_time.py::TestDateTime::test_time_series" ]
[ "tests/providers/date_time.py::TestDateTime::test_date_object", "tests/providers/date_time.py::TestDateTime::test_date_time_between_dates", "tests/providers/date_time.py::TestDateTime::test_date_time_between_dates_with_tzinfo", "tests/providers/date_time.py::TestDateTime::test_date_time_this_period", "tests...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Close #159. Add `time_series` provider ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There are seve...
Here is the discussion in the issues of the pull request. <issues> is faking time series data in the scope of this project ? I wanted some fake time series data for a project and couldn't find anything suitable for my needs. Is something like [this](http://www.xaprb.com/blog/2014/01/24/methods-generate-realistic-time-s...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-561
561
joke2k/faker
null
3f6aec0b9be140cb0cdccf022cd459936a21c4e4
2017-07-23T09:01:29Z
diff --git a/faker/providers/person/pl_PL/__init__.py b/faker/providers/person/pl_PL/__init__.py index aef9f9d167..94d491509a 100644 --- a/faker/providers/person/pl_PL/__init__.py +++ b/faker/providers/person/pl_PL/__init__.py @@ -3,6 +3,24 @@ from .. import Provider as PersonProvider +def checksum_identity_card_n...
diff --git a/tests/providers/person.py b/tests/providers/person.py index 49732ae888..925fd3e7fc 100644 --- a/tests/providers/person.py +++ b/tests/providers/person.py @@ -2,11 +2,14 @@ from __future__ import unicode_literals +import re import unittest from faker import Factory from faker.providers.person.ne_N...
[ { "components": [ { "doc": "Calculates and returns a control digit for given list of characters basing on Identity Card Number standards.", "lines": [ 6, 21 ], "name": "checksum_identity_card_number", "signature": "def checksum_identity_card_numb...
[ "tests/providers/person.py::TestJaJP::test_person", "tests/providers/person.py::TestNeNP::test_names", "tests/providers/person.py::TestSvSE::test_gender_first_names", "tests/providers/person.py::TestPlPL::test_identity_card_number", "tests/providers/person.py::TestPlPL::test_identity_card_number_checksum" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding an implementation of `identity_card_number` for pl_PL person provider ---------- </request> There are several new functions or classes that need to be implemented, using the definitions belo...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
scikit-learn__scikit-learn-9424
9,424
scikit-learn/scikit-learn
0.21
4c2eb3a0d67cbdacdb9314f585b2f73590ff0ac8
2017-07-20T13:05:03Z
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index e09ca0422d8a7..86db1d361a639 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1400,6 +1400,7 @@ Low-level methods tree.export_graphviz tree.plot_tree + tree.export_text .. _utils_ref: diff --git a/doc/modules/tre...
diff --git a/sklearn/tree/tests/test_export.py b/sklearn/tree/tests/test_export.py index 6c765675faf76..65b0a201be369 100644 --- a/sklearn/tree/tests/test_export.py +++ b/sklearn/tree/tests/test_export.py @@ -4,13 +4,14 @@ import pytest from re import finditer, search +from textwrap import dedent from numpy.rand...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index e09ca0422d8a7..86db1d361a639 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1400,6 +1400,7 @@ Low-level methods tree.export_graphviz tree.plot_tree + tree.export_text .. _utils_ref: diff --git a/doc/modules/tre...
[ { "components": [ { "doc": "Returns the depth of the subtree rooted in node.", "lines": [ 785, 802 ], "name": "_compute_depth", "signature": "def _compute_depth(tree, node):", "type": "function" }, { "doc": "", ...
[ "sklearn/tree/tests/test_export.py::test_graphviz_toy", "sklearn/tree/tests/test_export.py::test_graphviz_errors", "sklearn/tree/tests/test_export.py::test_friedman_mse_in_graphviz", "sklearn/tree/tests/test_export.py::test_precision", "sklearn/tree/tests/test_export.py::test_export_text_errors", "sklearn...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG] Print Decision Trees in ASCII format #### What does this implement/fix? Explain your changes. I noticed that the only way to visually check the rules of a Decision Tree was to export the tree i...
66cc1c7342f7f0cc0dc57fb6d56053fc46c8e5f0
joke2k__faker-558
558
joke2k/faker
null
987337ac680019ad473f47c7687bd2eb41761d83
2017-07-17T22:33:47Z
diff --git a/faker/providers/company/pl_PL/__init__.py b/faker/providers/company/pl_PL/__init__.py index a8d81a4078..719d7e9b7c 100644 --- a/faker/providers/company/pl_PL/__init__.py +++ b/faker/providers/company/pl_PL/__init__.py @@ -38,6 +38,21 @@ def local_regon_checksum(digits): return check_digit +def com...
diff --git a/tests/providers/company.py b/tests/providers/company.py index 62c864d4f0..06450c0a11 100644 --- a/tests/providers/company.py +++ b/tests/providers/company.py @@ -9,7 +9,8 @@ from faker.providers.company.hu_HU import Provider as HuProvider from faker.providers.company.ja_JP import Provider as JaProvider ...
[ { "components": [ { "doc": "Calculates and returns a control digit for given list of digits basing on NIP standard.", "lines": [ 41, 53 ], "name": "company_vat_checksum", "signature": "def company_vat_checksum(digits):", "type": "function...
[ "tests/providers/company.py::TestJaJP::test_company", "tests/providers/company.py::TestPtBR::test_pt_BR_cnpj", "tests/providers/company.py::TestPtBR::test_pt_BR_company_id", "tests/providers/company.py::TestPtBR::test_pt_BR_company_id_checksum", "tests/providers/company.py::TestHuHU::test_company", "tests...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding an implementation of `company_vat` for pl_PL company provider. NIP is a tax identification number in Poland. ---------- </request> There are several new functions or classes that need to be i...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-554
554
joke2k/faker
null
76667a5695927cb1c44f753c1bf671df3937af73
2017-07-12T08:45:33Z
diff --git a/faker/providers/company/pl_PL/__init__.py b/faker/providers/company/pl_PL/__init__.py index af99b27b14..a8d81a4078 100644 --- a/faker/providers/company/pl_PL/__init__.py +++ b/faker/providers/company/pl_PL/__init__.py @@ -20,6 +20,24 @@ def regon_checksum(digits): return check_digit +def local_reg...
diff --git a/tests/providers/company.py b/tests/providers/company.py index 9ec0ca2934..62c864d4f0 100644 --- a/tests/providers/company.py +++ b/tests/providers/company.py @@ -9,7 +9,7 @@ from faker.providers.company.hu_HU import Provider as HuProvider from faker.providers.company.ja_JP import Provider as JaProvider ...
[ { "components": [ { "doc": "Calculates and returns a control digit for given list of digits basing on local REGON standard.", "lines": [ 23, 38 ], "name": "local_regon_checksum", "signature": "def local_regon_checksum(digits):", "type": "...
[ "tests/providers/company.py::TestJaJP::test_company", "tests/providers/company.py::TestPtBR::test_pt_BR_cnpj", "tests/providers/company.py::TestPtBR::test_pt_BR_company_id", "tests/providers/company.py::TestPtBR::test_pt_BR_company_id_checksum", "tests/providers/company.py::TestHuHU::test_company", "tests...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding an implementation of `local_regon` for pl_PL company provider. An extension of REGON. ---------- </request> There are several new functions or classes that need to be implemented, using the d...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-552
552
joke2k/faker
null
76667a5695927cb1c44f753c1bf671df3937af73
2017-07-10T20:57:35Z
diff --git a/faker/providers/automotive/__init__.py b/faker/providers/automotive/__init__.py new file mode 100644 index 0000000000..692d59db1c --- /dev/null +++ b/faker/providers/automotive/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 + +localized = True + +from .. import BaseProvider +from string import ascii_uppercas...
diff --git a/tests/utils/__init__.py b/tests/utils/__init__.py index cd84dead62..cfdfe9850c 100644 --- a/tests/utils/__init__.py +++ b/tests/utils/__init__.py @@ -60,6 +60,7 @@ def test_find_available_providers(self): expected_providers = list(map(str, [ 'faker.providers.address', + '...
[ { "components": [ { "doc": "", "lines": [ 9, 17 ], "name": "Provider", "signature": "class Provider(BaseProvider):", "type": "class" }, { "doc": "", "lines": [ 13, 17 ], "nam...
[ "tests/utils/__init__.py::UtilsTestCase::test_find_available_providers" ]
[ "tests/utils/__init__.py::UtilsTestCase::test_add_dicts", "tests/utils/__init__.py::UtilsTestCase::test_choice_distribution", "tests/utils/__init__.py::UtilsTestCase::test_find_available_locales" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> New Provider: Automotive This PR adds license plate generators for the following locales: `en_US`, `en_CA` and `en_GB`. ---------- </request> There are several new functions or classes that need to ...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
falconry__falcon-1079
1,079
falconry/falcon
null
72c634e8f752f83183791ee5a6edff070b701d4f
2017-07-04T00:24:24Z
diff --git a/falcon/routing/converters.py b/falcon/routing/converters.py index 51c6b271c..e6934cb04 100644 --- a/falcon/routing/converters.py +++ b/falcon/routing/converters.py @@ -12,6 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +from datetime im...
diff --git a/tests/test_uri_converters.py b/tests/test_uri_converters.py index 66a6f712d..536512a7b 100644 --- a/tests/test_uri_converters.py +++ b/tests/test_uri_converters.py @@ -1,3 +1,4 @@ +from datetime import datetime import string import pytest @@ -5,7 +6,7 @@ from falcon.routing import converters -@pyt...
[ { "components": [ { "doc": "Converts a field value to a datetime.\n\nKeyword Args:\n format_string (str): String used to parse the param value\n into a datetime. Any format recognized by strptime() is\n supported (default ``'%Y-%m-%dT%H:%M:%SZ'``).", "lines": [ 6...
[ "tests/test_uri_converters.py::test_datetime_converter[07-03-17-%m-%d-%y-expected0]", "tests/test_uri_converters.py::test_datetime_converter[07-03-17", "tests/test_uri_converters.py::test_datetime_converter[2017-07-03T14:30:01Z-%Y-%m-%dT%H:%M:%SZ-expected2]", "tests/test_uri_converters.py::test_datetime_conve...
[ "tests/test_uri_converters.py::test_int_converter[123-None-None-None-123]", "tests/test_uri_converters.py::test_int_converter[01-None-None-None-1]", "tests/test_uri_converters.py::test_int_converter[001-None-None-None-1]", "tests/test_uri_converters.py::test_int_converter[0-None-None-None-0]", "tests/test_u...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(routing): Add DateTimeConverter ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There are severa...
77d5e6394a88ead151c9469494749f95f06b24bf
scikit-learn__scikit-learn-9270
9,270
scikit-learn/scikit-learn
0.20
4d4116097deee37d9ea38c447401c29456000e78
2017-07-03T12:08:47Z
diff --git a/sklearn/base.py b/sklearn/base.py index 6f59cea3c7ab7..f62c0308fb566 100644 --- a/sklearn/base.py +++ b/sklearn/base.py @@ -524,6 +524,29 @@ def score(self, X, y=None): pass +class OutlierMixin(object): + """Mixin class for all outlier detection estimators in scikit-learn.""" + _estimato...
diff --git a/sklearn/utils/estimator_checks.py b/sklearn/utils/estimator_checks.py index b079c37f7bea2..15aa360f6146b 100644 --- a/sklearn/utils/estimator_checks.py +++ b/sklearn/utils/estimator_checks.py @@ -18,6 +18,7 @@ from sklearn.utils.testing import assert_raise_message from sklearn.utils.testing import assert...
[ { "components": [ { "doc": "Mixin class for all outlier detection estimators in scikit-learn.", "lines": [ 527, 547 ], "name": "OutlierMixin", "signature": "class OutlierMixin(object):", "type": "class" }, { "doc": "Pe...
[ "sklearn/utils/testing.py::sklearn.utils.testing.ignore_warnings" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG+1] Common tests for outlier detection estimators <!-- Thanks for contributing a pull request! Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn...
51407623e4f491f00e3b465626dd5c4b55860bd0
sympy__sympy-12827
12,827
sympy/sympy
1.1
d2c3800fd3aaa226c0d37da84086530dd3e5abaf
2017-06-28T14:49:46Z
diff --git a/sympy/combinatorics/fp_groups.py b/sympy/combinatorics/fp_groups.py index da43d335afc0..882bc10d6307 100644 --- a/sympy/combinatorics/fp_groups.py +++ b/sympy/combinatorics/fp_groups.py @@ -7,7 +7,8 @@ from sympy.printing.defaults import DefaultPrinting from sympy.utilities import public from sympy.util...
diff --git a/sympy/combinatorics/tests/test_homomorphisms.py b/sympy/combinatorics/tests/test_homomorphisms.py new file mode 100644 index 000000000000..f422ee6a75c7 --- /dev/null +++ b/sympy/combinatorics/tests/test_homomorphisms.py @@ -0,0 +1,32 @@ +from sympy.combinatorics import Permutation +from sympy.combinatorics...
[ { "components": [ { "doc": "", "lines": [ 57, 74 ], "name": "FpGroup.__init__", "signature": "def __init__(self, fr_grp, relators):", "type": "function" }, { "doc": "", "lines": [ 80, 81 ...
[ "test_orbits" ]
[ "test_has", "test_generate", "test_order", "test_equality", "test_stabilizer", "test_center", "test_centralizer", "test_coset_rank", "test_coset_factor", "test_is_normal", "test_eq", "test_derived_subgroup", "test_is_solvable", "test_rubik1", "test_direct_product", "test_orbit_rep", ...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implemented Group Homomorphisms This PR implements group homomorphisms from `FpGroup`s to `PermutationGroup`s (with plans to extend it too all group combinations in the future). `GroupHomomorphism`...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
joke2k__faker-538
538
joke2k/faker
null
64b83d83f9e24154a73e4d292b6e1a1a53b83474
2017-06-18T19:03:51Z
diff --git a/faker/providers/ssn/pl_PL/__init__.py b/faker/providers/ssn/pl_PL/__init__.py new file mode 100644 index 0000000000..378519e9da --- /dev/null +++ b/faker/providers/ssn/pl_PL/__init__.py @@ -0,0 +1,66 @@ +# coding=utf-8 + +from __future__ import unicode_literals +from .. import Provider as SsnProvider +from...
diff --git a/tests/providers/ssn.py b/tests/providers/ssn.py index fe559113d1..9e9e66277b 100644 --- a/tests/providers/ssn.py +++ b/tests/providers/ssn.py @@ -4,11 +4,14 @@ import unittest import re +from datetime import datetime from faker import Factory from faker.providers.ssn.et_EE import Provider as EtProv...
[ { "components": [ { "doc": "Calculates and returns a control digit for given list of digits basing on PESEL standard.", "lines": [ 8, 20 ], "name": "checksum", "signature": "def checksum(digits):", "type": "function" }, { ...
[ "tests/providers/ssn.py::TestEtEE::test_ssn", "tests/providers/ssn.py::TestEtEE::test_ssn_checksum", "tests/providers/ssn.py::TestHrHR::test_ssn", "tests/providers/ssn.py::TestHrHR::test_ssn_checksum", "tests/providers/ssn.py::TestPtBR::test_pt_BR_cpf", "tests/providers/ssn.py::TestPtBR::test_pt_BR_ssn", ...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding an implementation of `ssn` provider for the pl_PL locale. Reference: https://en.wikipedia.org/wiki/National_identification_number#Poland ---------- </request> There are several new functions ...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
sympy__sympy-12767
12,767
sympy/sympy
1.5
5b589f797d5e8a8ed7c9878f71af29256da79651
2017-06-18T00:10:58Z
diff --git a/sympy/physics/wigner.py b/sympy/physics/wigner.py index 4c41075c4a67..01d31aa4a320 100644 --- a/sympy/physics/wigner.py +++ b/sympy/physics/wigner.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- r""" Wigner, Clebsch-Gordan, Racah, and Gaunt coefficients @@ -12,9 +13,19 @@ References ~~~~~~~~~~ +.. [Reg...
diff --git a/sympy/physics/tests/test_clebsch_gordan.py b/sympy/physics/tests/test_clebsch_gordan.py index 4b8eae51ea9b..6f5d9d379902 100644 --- a/sympy/physics/tests/test_clebsch_gordan.py +++ b/sympy/physics/tests/test_clebsch_gordan.py @@ -1,6 +1,7 @@ -from sympy import S, sqrt, pi, Dummy, Sum, Ynm, symbols +from sy...
[ { "components": [ { "doc": "Return the small Wigner d matrix for angular momentum J.\n\nINPUT:\n\n- ``J`` - An integer, half-integer, or sympy symbol for the total angular\n momentum of the angular momentum space being rotated.\n\n- ``beta`` - A real number representing the Euler angle of rot...
[ "test_clebsch_gordan_docs", "test_clebsch_gordan1", "test_clebsch_gordan2", "test_clebsch_gordan3", "test_clebsch_gordan4", "test_clebsch_gordan5", "test_wigner", "test_gaunt", "test_racah", "test_dot_rota_grad_SH" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added Wigner D matrices Fixes #12766 Adding functions `wigner_d_small` and `wigner_d` to the module `physics.wigner`. Doctests are included. <!-- BEGIN RELEASE NOTES --> * physics.wigner * add...
Here is the discussion in the issues of the pull request. <issues> Add Wigner D matrices We should have [Wigner D matrices](https://en.wikipedia.org/wiki/Wigner_D-matrix) in sympy. They fit nicely in the physics.wigner module. I have functions `wigner_d_small` and `wigner_d` as defined in [1] that I would like to add. ...
c72f122f67553e1af930bac6c35732d2a0bbb776
joke2k__faker-526
526
joke2k/faker
null
68c30528959451af2bc27b76a51636dfaf266b41
2017-06-02T19:25:35Z
diff --git a/faker/providers/date_time/__init__.py b/faker/providers/date_time/__init__.py index a1e6fff3e6..f8d344ae1b 100644 --- a/faker/providers/date_time/__init__.py +++ b/faker/providers/date_time/__init__.py @@ -361,6 +361,62 @@ def date_time_between(cls, start_date='-30y', end_date='now', tzinfo=None): ...
diff --git a/tests/providers/date_time.py b/tests/providers/date_time.py index 20079207d1..f31e15a5b5 100644 --- a/tests/providers/date_time.py +++ b/tests/providers/date_time.py @@ -1,17 +1,18 @@ # coding: utf-8 - from __future__ import unicode_literals +from datetime import date, datetime import unittest + from...
[ { "components": [ { "doc": "Get a DateTime object based on a random date between now and a given date.\nAccepts date strings that can be recognized by strtotime().\n\n:param end_date Defaults to \"+30d\"\n:param tzinfo: timezone, instance of datetime.tzinfo subclass\n:example DateTime('1999-02-02 ...
[ "tests/providers/date_time.py::TestDateTime::test_future_date", "tests/providers/date_time.py::TestDateTime::test_future_datetime", "tests/providers/date_time.py::TestDateTime::test_past_date", "tests/providers/date_time.py::TestDateTime::test_past_datetime" ]
[ "tests/providers/date_time.py::TestDateTime::test_day", "tests/providers/date_time.py::TestDateTime::test_month", "tests/providers/date_time.py::TestDateTime::test_parse_date_time", "tests/providers/date_time.py::TestPlPL::test_day", "tests/providers/date_time.py::TestPlPL::test_month" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add `future_date`, `future_datetime`, `past_date` and `past_datetime` ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<N...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-520
520
joke2k/faker
null
0ee26313099392f8b347c323d3c8eb294505ab58
2017-05-29T07:27:56Z
diff --git a/faker/providers/date_time/pl_PL/__init__.py b/faker/providers/date_time/pl_PL/__init__.py new file mode 100644 index 0000000000..5d71a5c459 --- /dev/null +++ b/faker/providers/date_time/pl_PL/__init__.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +from __future__ import unicode_literals + +from .. import Provider...
diff --git a/tests/providers/date_time.py b/tests/providers/date_time.py index 99e02ea46f..c4910c2d00 100644 --- a/tests/providers/date_time.py +++ b/tests/providers/date_time.py @@ -6,6 +6,7 @@ from faker import Factory from .. import string_types + class TestHuHU(unittest.TestCase): """ Tests date_time in h...
[ { "components": [ { "doc": "", "lines": [ 8, 41 ], "name": "Provider", "signature": "class Provider(DateTimeProvider): @classmethod", "type": "class" }, { "doc": "", "lines": [ 11, 22 ...
[ "tests/providers/date_time.py::TestPlPL::test_day", "tests/providers/date_time.py::TestPlPL::test_month" ]
[ "tests/providers/date_time.py::TestHuHU::test_day", "tests/providers/date_time.py::TestHuHU::test_month" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> DateTime provider for pl_PL ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There are several new fun...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-518
518
joke2k/faker
null
0ee26313099392f8b347c323d3c8eb294505ab58
2017-05-28T16:03:29Z
diff --git a/README.rst b/README.rst index 32de05e492..ada799580f 100644 --- a/README.rst +++ b/README.rst @@ -136,6 +136,7 @@ Included localized providers: - `en\_US <https://faker.readthedocs.io/en/master/locales/en_US.html>`__ - English (United States) - `es\_ES <https://faker.readthedocs.io/en/master/locales/es...
diff --git a/tests/providers/ssn.py b/tests/providers/ssn.py index 37369aac9f..fe559113d1 100644 --- a/tests/providers/ssn.py +++ b/tests/providers/ssn.py @@ -6,10 +6,28 @@ import re from faker import Factory +from faker.providers.ssn.et_EE import Provider as EtProvider, checksum as et_checksum from faker.provider...
diff --git a/README.rst b/README.rst index 32de05e492..ada799580f 100644 --- a/README.rst +++ b/README.rst @@ -136,6 +136,7 @@ Included localized providers: - `en\_US <https://faker.readthedocs.io/en/master/locales/en_US.html>`__ - English (United States) - `es\_ES <https://faker.readthedocs.io/en/master/locales/es...
[ { "components": [ { "doc": "", "lines": [ 6, 190 ], "name": "Provider", "signature": "class Provider(PersonProvider):", "type": "class" }, { "doc": "", "lines": [ 161, 162 ], ...
[ "tests/providers/ssn.py::TestEtEE::test_ssn", "tests/providers/ssn.py::TestEtEE::test_ssn_checksum", "tests/providers/ssn.py::TestHrHR::test_ssn", "tests/providers/ssn.py::TestHrHR::test_ssn_checksum", "tests/providers/ssn.py::TestPtBR::test_pt_BR_cpf", "tests/providers/ssn.py::TestPtBR::test_pt_BR_ssn", ...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add et_EE (Estonian) provider: names and ssn Created the provider for Estonian language (et_EE). Providers implemented for names and ssn. ---------- </request> There are several new functions or cl...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
tornadoweb__tornado-2062
2,062
tornadoweb/tornado
null
c2c0f383f491215eaf8129c8ebc6625c441761bf
2017-05-27T23:18:17Z
diff --git a/tornado/ioloop.py b/tornado/ioloop.py index 5997cef667..f4d4642077 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -249,15 +249,7 @@ def configurable_base(cls): @classmethod def configurable_default(cls): - if hasattr(select, "epoll"): - from tornado.platform.epoll i...
diff --git a/tornado/test/twisted_test.py b/tornado/test/twisted_test.py index 10afebb7bc..4b88eca862 100644 --- a/tornado/test/twisted_test.py +++ b/tornado/test/twisted_test.py @@ -32,9 +32,8 @@ from tornado import gen from tornado.httpclient import AsyncHTTPClient from tornado.httpserver import HTTPServer -from t...
[ { "components": [ { "doc": "", "lines": [ 718, 719 ], "name": "PollIOLoop.configurable_base", "signature": "def configurable_base(cls):", "type": "function" }, { "doc": "", "lines": [ 722, 7...
[ "tornado/test/util_test.py::ConfigurableTest::test_config_multi_level" ]
[ "tornado/test/util_test.py::RaiseExcInfoTest::test_two_arg_exception", "tornado/test/util_test.py::ConfigurableTest::test_config_args", "tornado/test/util_test.py::ConfigurableTest::test_config_class", "tornado/test/util_test.py::ConfigurableTest::test_config_class_args", "tornado/test/util_test.py::Configu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ioloop: Make PollIOLoop separately configurable This makes it possible to construct a PollIOLoop even when the default IOLoop is configured to something else. ---------- </request> There are severa...
b5dad636aaba94f86a3c00ca6ec49c79ff4313b2
falconry__falcon-1067
1,067
falconry/falcon
null
fe1dfd0fad0685296db9a2dea8ccd380316bde64
2017-05-26T20:27:19Z
diff --git a/docs/api/api.rst b/docs/api/api.rst index c27887205..0d2e4c25a 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -21,3 +21,5 @@ standard-compliant WSGI server. .. autoclass:: falcon.ResponseOptions :members: +.. autoclass:: falcon.routing.CompiledRouterOptions + :noindex: diff --git a/docs...
diff --git a/tests/conftest.py b/tests/conftest.py index b6b17f247..b7d67747a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,7 +2,6 @@ import pytest - import falcon diff --git a/tests/test_default_router.py b/tests/test_default_router.py index e62ca7950..062e4e829 100644 --- a/tests/test_default...
diff --git a/docs/api/api.rst b/docs/api/api.rst index c27887205..0d2e4c25a 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -21,3 +21,5 @@ standard-compliant WSGI server. .. autoclass:: falcon.ResponseOptions :members: +.. autoclass:: falcon.routing.CompiledRouterOptions + :noindex: diff --git a/docs...
[ { "components": [ { "doc": "", "lines": [ 291, 292 ], "name": "API.router_options", "signature": "def router_options(self):", "type": "function" } ], "file": "falcon/api.py" }, { "components": [ { "doc"...
[ "tests/test_default_router.py::test_user_regression_versioned_url", "tests/test_default_router.py::test_user_regression_recipes", "tests/test_default_router.py::test_user_regression_special_chars[/serviceRoot/People|{field}-/serviceRoot/People|susie-expected_params0]", "tests/test_default_router.py::test_user...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(API): Foundational support for URI template field converters Provides an initial converter (int) along with relevant plumbing and tests. Additional converters and docs to come in future PRs. P...
77d5e6394a88ead151c9469494749f95f06b24bf
falconry__falcon-1066
1,066
falconry/falcon
null
ef03f4c8803dda415e8ed1e60aa8698b6a7d9956
2017-05-26T15:43:04Z
diff --git a/falcon/errors.py b/falcon/errors.py index 4457827d1..73a2c97a0 100644 --- a/falcon/errors.py +++ b/falcon/errors.py @@ -1250,6 +1250,57 @@ def __init__(self, title=None, description=None, **kwargs): description, **kwargs) +class HTTPNotImplemented(...
diff --git a/tests/test_error.py b/tests/test_error.py index 2d398fb99..73aefa9f2 100644 --- a/tests/test_error.py +++ b/tests/test_error.py @@ -20,8 +20,11 @@ (falcon.HTTPRequestHeaderFieldsTooLarge, status.HTTP_431), (falcon.HTTPUnavailableForLegalReasons, status.HTTP_451), (falcon.HTTPInternalServerEr...
[ { "components": [ { "doc": "501 Not Implemented.\n\nThe 501 (Not Implemented) status code indicates that the server does\nnot support the functionality required to fulfill the request. This\nis the appropriate response when the server does not recognize the\nrequest method and is not capable of s...
[ "tests/test_error.py::test_with_default_title_and_desc[HTTPBadRequest-400", "tests/test_error.py::test_with_default_title_and_desc[HTTPForbidden-403", "tests/test_error.py::test_with_default_title_and_desc[HTTPConflict-409", "tests/test_error.py::test_with_default_title_and_desc[HTTPLengthRequired-411", "te...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat: Add 5xx error classes Adds following error classes, together with tests: - [x] 501 Not Implemented - [x] 504 Gateway Timeout - [x] 505 HTTP Version Not Supported ---------- </request> The...
77d5e6394a88ead151c9469494749f95f06b24bf
falconry__falcon-1053
1,053
falconry/falcon
null
975565ba53355d8a563b698e1ca15f416f260f72
2017-05-21T06:40:53Z
diff --git a/falcon/request.py b/falcon/request.py index 8b8f972a7..40ed7e49f 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -1181,17 +1181,17 @@ def get_param_as_list(self, name, raise errors.HTTPMissingParam(name) - def get_param_as_date(self, name, format_string='%Y-%m-%d', - ...
diff --git a/tests/test_query_params.py b/tests/test_query_params.py index 4be4674b3..e90567d4b 100644 --- a/tests/test_query_params.py +++ b/tests/test_query_params.py @@ -1,4 +1,5 @@ -from datetime import date +from datetime import date, datetime + try: import ujson as json except ImportError: @@ -578,6 +579,5...
[ { "components": [ { "doc": "Return the value of a query string parameter as a datetime.\n\nArgs:\n name (str): Parameter name, case-sensitive (e.g., 'ids').\n\nKeyword Args:\n format_string (str): String used to parse the param value\n into a datetime. Any format recognized by strptim...
[ "tests/test_query_params.py::TestQueryParams::test_get_datetime_valid[simulate_request_get_query_params]", "tests/test_query_params.py::TestQueryParams::test_get_datetime_valid[simulate_request_post_query_params]", "tests/test_query_params.py::TestQueryParams::test_get_datetime_missing_param[simulate_request_ge...
[ "tests/test_query_params.py::TestQueryParams::test_none[simulate_request_get_query_params]", "tests/test_query_params.py::TestQueryParams::test_none[simulate_request_post_query_params]", "tests/test_query_params.py::TestQueryParams::test_blank[simulate_request_get_query_params]", "tests/test_query_params.py::...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added a get_param_as_datetime() method to fetch query param as datetime Solution to #1007. ---------- </request> There are several new functions or classes that need to be implemented, using the def...
77d5e6394a88ead151c9469494749f95f06b24bf
falconry__falcon-1040
1,040
falconry/falcon
null
e0abfcfc642b3b255f7803aff026f8ad60afbc3a
2017-05-03T18:08:08Z
diff --git a/falcon/routing/compiled.py b/falcon/routing/compiled.py index 01488932f..2c6a53fbe 100644 --- a/falcon/routing/compiled.py +++ b/falcon/routing/compiled.py @@ -18,7 +18,7 @@ import re -_FIELD_REGEX = re.compile('{([^}]*)}') +_FIELD_PATTERN = re.compile('{([^}]*)}') _TAB_STR = ' ' * 4 @@ -35,14 +3...
diff --git a/tests/test_custom_router.py b/tests/test_custom_router.py index 29b43a6ce..b0610aa12 100644 --- a/tests/test_custom_router.py +++ b/tests/test_custom_router.py @@ -5,7 +5,6 @@ class TestCustomRouter(testing.TestBase): def test_custom_router_add_route_should_be_used(self): - check = [] ...
[ { "components": [ { "doc": "", "lines": [ 55, 56 ], "name": "CompiledRouter.finder_src", "signature": "def finder_src(self):", "type": "function" }, { "doc": "Generates a coarse AST for the router.", "lines": [...
[ "tests/test_default_router.py::test_root_path", "tests/test_default_router.py::test_print_src" ]
[ "tests/test_custom_router.py::TestCustomRouter::test_can_pass_additional_params_to_add_route", "tests/test_custom_router.py::TestCustomRouter::test_custom_router_add_route_should_be_used", "tests/test_custom_router.py::TestCustomRouter::test_custom_router_find_should_be_used", "tests/test_custom_router.py::Te...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(CompiledRouter): Add an intermediate AST step to the compiler Rather than compiling the routing tree directly to Python code, first generate an AST and then use it to produce the code. This provi...
77d5e6394a88ead151c9469494749f95f06b24bf
joke2k__faker-494
494
joke2k/faker
null
d06d05f415e97b15f21683c991511c24e12c8304
2017-04-06T18:16:03Z
diff --git a/faker/providers/file/__init__.py b/faker/providers/file/__init__.py index b19a3c563c..4f4c14cef0 100644 --- a/faker/providers/file/__init__.py +++ b/faker/providers/file/__init__.py @@ -201,3 +201,16 @@ def file_extension(cls, category=None): """ category = category if category else cls.r...
diff --git a/tests/providers/file.py b/tests/providers/file.py new file mode 100644 index 0000000000..1a1617bac6 --- /dev/null +++ b/tests/providers/file.py @@ -0,0 +1,25 @@ +from __future__ import unicode_literals + +import unittest +import re + +from faker import Factory +from faker.providers.file import Provider as ...
[ { "components": [ { "doc": ":param category: audio|image|office|text|video\n:param extension: file extension\n:param depth: depth of the file (depth >= 0)", "lines": [ 206, 216 ], "name": "Provider.file_path", "signature": "def file_path(cls, dep...
[ "tests/providers/file.py::TestFile::test_file_path" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [close #493] adding_file_path_provider Issue #493 Adding a file path provider in file provider. ---------- </request> There are several new functions or classes that need to be implemented, usin...
Here is the discussion in the issues of the pull request. <issues> Add a file path provider In the file providers would be nice to have a file_path provider who would return a path like ```/lorem/ipsum/lorem.pdf```. ---------- -------------------- </issues>
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
conan-io__conan-1165
1,165
conan-io/conan
null
5b70b92f842dc1013ee7ab2577ea607a8fac3b20
2017-03-30T20:36:01Z
diff --git a/conans/client/build_requires.py b/conans/client/build_requires.py new file mode 100644 index 00000000000..a63a359d434 --- /dev/null +++ b/conans/client/build_requires.py @@ -0,0 +1,79 @@ +from conans.client.remote_registry import RemoteRegistry +from conans.client.printer import Printer +from conans.client...
diff --git a/conans/test/command/install_test.py b/conans/test/command/install_test.py index 0ccc2a937a2..cef9396fd79 100644 --- a/conans/test/command/install_test.py +++ b/conans/test/command/install_test.py @@ -52,6 +52,18 @@ def install_combined_test(self): self.assertIn("Hello1/0.1@lasote/stable: WARN: For...
[ { "components": [ { "doc": "", "lines": [ 10, 20 ], "name": "_apply_build_requires", "signature": "def _apply_build_requires(deps_graph, conanfile):", "type": "function" }, { "doc": "", "lines": [ 23,...
[ "conans/test/integration/profile_requires_test.py::ProfileRequiresTest::test_profile_requires" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature/new build requires - build_requires only applied when necessary to build a package, otherwise not installed - New pattern based scheme in profile for build_requires. Using lists. - Simplific...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
sympy__sympy-12455
12,455
sympy/sympy
1.0
8800fd2ab1553cd768ad743c44b3ed00c111c368
2017-03-29T22:36:07Z
diff --git a/sympy/combinatorics/fp_groups.py b/sympy/combinatorics/fp_groups.py index 7fd815fc190c..421334089bcf 100644 --- a/sympy/combinatorics/fp_groups.py +++ b/sympy/combinatorics/fp_groups.py @@ -842,8 +842,6 @@ def switch(self, beta, gamma): """ A = self.A A_dict = self.A_dict - ...
diff --git a/sympy/combinatorics/tests/test_perm_groups.py b/sympy/combinatorics/tests/test_perm_groups.py index 45f41a8cb822..182e062a668b 100644 --- a/sympy/combinatorics/tests/test_perm_groups.py +++ b/sympy/combinatorics/tests/test_perm_groups.py @@ -726,3 +726,24 @@ def test_is_group(): def test_PermutationGrou...
[ { "components": [ { "doc": "Return a transversal of the right cosets of self by its subgroup H\nusing the second method described in [1], Subsection 4.6.7", "lines": [ 683, 739 ], "name": "PermutationGroup.coset_transversal", "signature": "def co...
[ "test_coset_transvesal" ]
[ "test_has", "test_generate", "test_order", "test_equality", "test_stabilizer", "test_center", "test_centralizer", "test_coset_rank", "test_coset_factor", "test_orbits", "test_is_normal", "test_eq", "test_derived_subgroup", "test_is_solvable", "test_rubik1", "test_direct_product", "te...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> permutation groups: implemented coset transversal and coset table This adds a method `G.coset_transversal(H)` that returns a transversal of the right cosets of G by its subgroup H, and `G.coset_tabl...
820363f5b17cbe5809ef0911ea539e135c179c62
prometheus__client_python-152
152
prometheus/client_python
null
c2e4bdae72d4b48fa646a6a9438137986b9b06f3
2017-03-28T12:55:36Z
diff --git a/README.md b/README.md index 430dffae..443dc7c3 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,13 @@ other processes, for example: ProcessCollector(namespace='mydaemon', pid=lambda: open('/var/run/daemon.pid').read()) ``` +### Platform Collector + +The client also automatically exports some metad...
diff --git a/tests/test_platform_collector.py b/tests/test_platform_collector.py new file mode 100644 index 00000000..9eda5bb5 --- /dev/null +++ b/tests/test_platform_collector.py @@ -0,0 +1,69 @@ +from __future__ import unicode_literals + +import unittest + +from prometheus_client import CollectorRegistry, PlatformCol...
diff --git a/README.md b/README.md index 430dffae..443dc7c3 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,13 @@ other processes, for example: ProcessCollector(namespace='mydaemon', pid=lambda: open('/var/run/daemon.pid').read()) ``` +### Platform Collector + +The client also automatically exports some metad...
[ { "components": [ { "doc": "Collector for python platform information", "lines": [ 10, 53 ], "name": "PlatformCollector", "signature": "class PlatformCollector(object):", "type": "class" }, { "doc": "", "lines"...
[ "tests/test_platform_collector.py::TestPlatformCollector::test_python_info", "tests/test_platform_collector.py::TestPlatformCollector::test_system_info_java" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add PlatformCollector to collect information about the platform In the same vein as https://github.com/prometheus/client_java/commit/bdc6f2507a81029c1aec6cd8b5276661bb6c7ee1 and https://github.com/sii...
09a5ae30602a7a81f6174dae4ba08b93ee7feed2
conan-io__conan-1152
1,152
conan-io/conan
null
feff1011f7a3f51904a73747919c2683e3d6b5fd
2017-03-27T08:52:10Z
diff --git a/conans/client/command.py b/conans/client/command.py index c14a2284ff5..8fa06150d74 100644 --- a/conans/client/command.py +++ b/conans/client/command.py @@ -99,13 +99,16 @@ def new(self, *args): help='Create a package with embedded sources in "hello" folder, ' ...
diff --git a/conans/test/command/package_files_test.py b/conans/test/command/package_files_test.py new file mode 100644 index 00000000000..6c5427a1a5f --- /dev/null +++ b/conans/test/command/package_files_test.py @@ -0,0 +1,71 @@ +import unittest +from conans.paths import CONANFILE +from conans.test.utils.tools import ...
[ { "components": [ { "doc": "Creates a package binary from given precompiled artifacts in user folder, skipping\nthe package recipe build() and package() methods", "lines": [ 214, 246 ], "name": "Command.package_files", "signature": "def package_f...
[ "conans/test/command/package_files_test.py::PackageFilesTest::test_basic", "conans/test/command/package_files_test.py::PackageFilesTest::test_new", "conans/test/command/package_files_test.py::PackageFilesTest::test_paths" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> initial proposal for package_files command This would implement: https://github.com/conan-io/conan/issues/1112 ~~It might be ready, but conflicting with ongoing work by @lasote, so it could wait un...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
sympy__sympy-12417
12,417
sympy/sympy
1.0
6dd369352b0bda17c2dfef5a8faf0bfb794982ec
2017-03-25T07:42:04Z
diff --git a/sympy/vector/__init__.py b/sympy/vector/__init__.py index 8e484bf3a739..dfa5168cc802 100644 --- a/sympy/vector/__init__.py +++ b/sympy/vector/__init__.py @@ -8,7 +8,7 @@ from sympy.vector.functions import (express, matrix_to_vector, curl, divergence, gradient, ...
diff --git a/sympy/vector/tests/test_field_functions.py b/sympy/vector/tests/test_field_functions.py index 73946517324a..2d831cbdc489 100644 --- a/sympy/vector/tests/test_field_functions.py +++ b/sympy/vector/tests/test_field_functions.py @@ -7,7 +7,7 @@ from sympy import sin, cos from sympy.vector.functions import (...
[ { "components": [ { "doc": "Returns the directional derivative of a scalar field computed along a given vector\nin given coordinate system.\n\nParameters\n==========\n\nscalar : SymPy Expr\n The scalar field to compute the gradient of\n\nvect : Vector\n The vector operand\n\ncoord_sys : Coor...
[ "test_del_operator", "test_product_rules", "test_conservative", "test_solenoidal", "test_directional_derivative", "test_scalar_potential" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Addition of Directional derivatives Fixes #12416 ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> Ther...
Here is the discussion in the issues of the pull request. <issues> Addition of Directional Derivative Function Sympy, currently doesn't support the directional derivative function which is used for finding the components of a scalar field along a vector. Directional Derivative functions are of importance these are u...
820363f5b17cbe5809ef0911ea539e135c179c62
joke2k__faker-471
471
joke2k/faker
null
63a490b33381cfb5d66690d0e25c91f5b04824cd
2017-03-09T01:26:10Z
diff --git a/faker/providers/isbn/__init__.py b/faker/providers/isbn/__init__.py new file mode 100644 index 0000000000..ada84898fe --- /dev/null +++ b/faker/providers/isbn/__init__.py @@ -0,0 +1,72 @@ +# coding=utf-8 + +from __future__ import unicode_literals +from .. import BaseProvider +from .isbn import ISBN, ISBN10...
diff --git a/tests/__init__.py b/tests/__init__.py index 6026772255..3606e0fe53 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -134,6 +134,7 @@ def test_find_available_providers(self): 'faker.providers.date_time', 'faker.providers.file', 'faker.providers.internet', + ...
[ { "components": [ { "doc": "Generates fake ISBNs. ISBN rules vary across languages/regions\nso this class makes no attempt at replicating all of the rules. It\nonly replicates the 978 EAN prefix for the English registration\ngroups, meaning the first 4 digits of the ISBN-13 will either be\n978-0 o...
[ "tests/__init__.py::UtilsTestCase::test_add_dicts", "tests/__init__.py::UtilsTestCase::test_choice_distribution", "tests/__init__.py::UtilsTestCase::test_find_available_locales", "tests/__init__.py::UtilsTestCase::test_find_available_providers", "tests/__init__.py::FactoryTestCase::test_add_provider_gives_p...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement ISBN Per discussion in #469 this PR allows faker to support the generation of valid ISBNs. See [ISBN International](https://www.isbn-international.org/content/what-isbn) for an overview of t...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
sympy__sympy-12261
12,261
sympy/sympy
1.1
ba4c04ea457de64915b925c21047bc6b067ca75d
2017-03-06T20:57:01Z
diff --git a/sympy/vector/__init__.py b/sympy/vector/__init__.py index 7d30954b4583..fccb4e4d14a1 100644 --- a/sympy/vector/__init__.py +++ b/sympy/vector/__init__.py @@ -6,8 +6,9 @@ from sympy.vector.deloperator import Del from sympy.vector.coordsysrect import CoordSys3D, CoordSysCartesian from sympy.vector.functio...
diff --git a/sympy/vector/tests/test_field_functions.py b/sympy/vector/tests/test_field_functions.py index aad855df0fca..d8d95128c4ff 100644 --- a/sympy/vector/tests/test_field_functions.py +++ b/sympy/vector/tests/test_field_functions.py @@ -10,7 +10,7 @@ from sympy.vector.deloperator import Del from sympy.vector.fu...
[ { "components": [ { "doc": "Return the laplacian of the given field computed in terms of\nthe base scalars of the given coordinate system.\n\nParameters\n==========\n\nexpr : SymPy Expr or Vector\n expr denotes a scalar or vector field.\n\nExamples\n========\n\n>>> from sympy.vector import Coor...
[ "test_del_operator", "test_product_rules", "test_conservative", "test_solenoidal", "test_directional_derivative", "test_scalar_potential", "test_scalar_potential_difference", "test_differential_operators_curvilinear_system" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> vector : Add Laplacian function This PR adds the laplacian function for both vector and scalar fields in the vector module. https://en.wikipedia.org/wiki/Laplace_operator https://en.wikipedia.org/...
ec9e3c0436fbff934fa84e22bf07f1b3ef5bfac3
scikit-learn__scikit-learn-8478
8,478
scikit-learn/scikit-learn
0.20
312f64053d7249a326a19a07fa635ef5b5c6ed99
2017-02-28T22:55:57Z
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 2e7dcba82e846..243c63ab0c7e2 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -646,6 +646,7 @@ Kernels: :template: class.rst impute.SimpleImputer + impute.MICEImputer .. _kernel_approximation_ref: diff --git a/doc...
diff --git a/sklearn/tests/test_impute.py b/sklearn/tests/test_impute.py index f2bf5912e2213..954a016a835bb 100644 --- a/sklearn/tests/test_impute.py +++ b/sklearn/tests/test_impute.py @@ -1,14 +1,19 @@ +from __future__ import division + +import pytest import numpy as np from scipy import sparse -from sklearn.uti...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 2e7dcba82e846..243c63ab0c7e2 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -646,6 +646,7 @@ Kernels: :template: class.rst impute.SimpleImputer + impute.MICEImputer .. _kernel_approximation_ref: diff --git a/doc...
[ { "components": [ { "doc": "", "lines": [ 30, 80 ], "name": "get_results", "signature": "def get_results(dataset):", "type": "function" } ], "file": "examples/plot_missing_values.py" }, { "components": [ { ...
[ "sklearn/tests/test_impute.py::test_imputation_shape", "sklearn/tests/test_impute.py::test_imputation_mean_median", "sklearn/tests/test_impute.py::test_imputation_median_special_cases", "sklearn/tests/test_impute.py::test_imputation_most_frequent", "sklearn/tests/test_impute.py::test_imputation_pipeline_gri...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG+2] Basic version of MICE Imputation Reference Issue This is in reference to #7840, and builds on #7838. Fixes #7840. This code provides basic MICE imputation functionality. It currently ...
Here is the discussion in the issues of the pull request. <issues> MICE imputer Proceeding from https://github.com/scikit-learn/scikit-learn/pull/4844#issuecomment-253043238 is a suggestion that MICE imputation be included in scikit-learn. @sergeyf has implemented it [here](https://github.com/hammerlab/fancyimpute/blob...
51407623e4f491f00e3b465626dd5c4b55860bd0
conan-io__conan-1032
1,032
conan-io/conan
null
b0213d832650f92c0210d1b25f98b1f459441b50
2017-02-26T15:56:51Z
diff --git a/conans/client/command.py b/conans/client/command.py index 0236ca67cfd..401d61b9670 100644 --- a/conans/client/command.py +++ b/conans/client/command.py @@ -328,6 +328,11 @@ def info(self, *args): parser.add_argument("--file", "-f", help="specify conanfile filename") parser.add_argument("-...
diff --git a/conans/test/command/info_folders_test.py b/conans/test/command/info_folders_test.py new file mode 100644 index 00000000000..f3d54a16490 --- /dev/null +++ b/conans/test/command/info_folders_test.py @@ -0,0 +1,151 @@ +import unittest +import os +import platform + +from conans import tools +from conans.test.t...
[ { "components": [ { "doc": "", "lines": [ 47, 65 ], "name": "Printer._print_paths", "signature": "def _print_paths(self, ref, conan, path_resolver, show):", "type": "function" } ], "file": "conans/client/printer.py" } ]
[ "conans/test/command/info_folders_test.py::InfoFoldersTest::test_basic", "conans/test/command/info_folders_test.py::InfoFoldersTest::test_deps_basic", "conans/test/command/info_folders_test.py::InfoFoldersTest::test_deps_specific_information", "conans/test/command/info_folders_test.py::InfoFoldersTest::test_s...
[ "conans/test/command/info_folders_test.py::InfoFoldersTest::test_direct_conanfile", "conans/test/command/info_folders_test.py::InfoFoldersTest::test_short_paths" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> extend conan info command to show path information and filter by packages A new path_info command was added to conan, taking a user and optional reference, settings and options. Returns the export, ...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
sympy__sympy-12171
12,171
sympy/sympy
1.0
ca6ef27272be31c9dc3753ede9232c39df9a75d8
2017-02-13T18:20:56Z
diff --git a/sympy/printing/mathematica.py b/sympy/printing/mathematica.py index 4c2ffd81e158..ef61abb6af17 100644 --- a/sympy/printing/mathematica.py +++ b/sympy/printing/mathematica.py @@ -109,6 +109,9 @@ def _print_Integral(self, expr): def _print_Sum(self, expr): return "Hold[Sum[" + ', '.join(self.do...
diff --git a/sympy/printing/tests/test_mathematica.py b/sympy/printing/tests/test_mathematica.py index 8fd05ae544ad..d4fb90bd1e63 100644 --- a/sympy/printing/tests/test_mathematica.py +++ b/sympy/printing/tests/test_mathematica.py @@ -1,5 +1,5 @@ from sympy.core import (S, pi, oo, symbols, Function, - ...
[ { "components": [ { "doc": "", "lines": [ 112, 113 ], "name": "MCodePrinter._print_Derivative", "signature": "def _print_Derivative(self, expr):", "type": "function" } ], "file": "sympy/printing/mathematica.py" } ]
[ "test_Derivative" ]
[ "test_Integer", "test_Rational", "test_Function", "test_Pow", "test_Mul", "test_constants", "test_containers", "test_Integral" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added Mathematica printer for derivatives Fixes #12163 ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>>...
Here is the discussion in the issues of the pull request. <issues> matematica code printer does not handle floats and derivatives correctly In its current state the mathematica code printer does not handle Derivative(func(vars), deriver) e.g. Derivative(f(t), t) yields Derivative(f(t), t) instead of D[f[t],t] Also...
820363f5b17cbe5809ef0911ea539e135c179c62
conan-io__conan-915
915
conan-io/conan
null
83ad42139d4a61d5df09ce861dc75bd2a507ce3c
2017-01-27T12:50:55Z
diff --git a/conans/client/deps_builder.py b/conans/client/deps_builder.py index eb53e1916bc..38f33220f11 100644 --- a/conans/client/deps_builder.py +++ b/conans/client/deps_builder.py @@ -122,8 +122,12 @@ def propagate_info(self): indirect_reqs, ...
diff --git a/conans/test/integration/package_id_test.py b/conans/test/integration/package_id_test.py new file mode 100644 index 00000000000..e5b2cfca788 --- /dev/null +++ b/conans/test/integration/package_id_test.py @@ -0,0 +1,180 @@ +import unittest +from conans.test.tools import TestClient +from conans.util.files imp...
[ { "components": [ { "doc": "modify the conans info, typically to narrow values\neg.: conaninfo.package_references = []", "lines": [ 231, 232 ], "name": "ConanFile.package_id", "signature": "def package_id(self):", "type": "function" ...
[ "conans/test/integration/package_id_test.py::PackageIDTest::test_nameless_mode", "conans/test/integration/package_id_test.py::PackageIDTest::test_version_full_package_schema", "conans/test/integration/package_id_test.py::PackageIDTest::test_version_full_recipe_schema", "conans/test/integration/package_id_test...
[ "conans/test/integration/package_id_test.py::PackageIDTest::test_version_semver_schema", "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_basic", "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_basic_option", "conans/test/model/transitive_reqs_test.py::ConanRequi...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Renamed conan_info to package_id and tests added ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> Ther...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
falconry__falcon-991
991
falconry/falcon
null
8be7ff7057fc0f6f589353281730d6000dd17b0d
2017-01-27T00:18:06Z
diff --git a/docs/api/api.rst b/docs/api/api.rst index c3b72ac48..3b9a29fab 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -18,4 +18,6 @@ standard-compliant WSGI server. .. autoclass:: falcon.RequestOptions :members: +.. autoclass:: falcon.ResponseOptions + :members: diff --git a/docs/api/cookies....
diff --git a/tests/test_cookies.py b/tests/test_cookies.py index d2ceb1985..212259967 100644 --- a/tests/test_cookies.py +++ b/tests/test_cookies.py @@ -58,7 +58,7 @@ def on_get(self, req, resp): 'foostring', 'bar', max_age='15', secure=False, http_only=False) -@pytest.fixture(scope='module') +@pytest....
diff --git a/docs/api/api.rst b/docs/api/api.rst index c3b72ac48..3b9a29fab 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -18,4 +18,6 @@ standard-compliant WSGI server. .. autoclass:: falcon.RequestOptions :members: +.. autoclass:: falcon.ResponseOptions + :members: diff --git a/docs/api/cookies....
[ { "components": [ { "doc": "Defines a set of configurable response options.\n\nAn instance of this class is exposed via :any:`API.resp_options` for\nconfiguring certain :py:class:`~.Response` behaviors.\n\nAttributes:\n secure_cookies_by_default (bool): Set to ``False`` in development\n ...
[ "tests/test_cookies.py::test_response_disable_secure_globally" ]
[ "tests/test_cookies.py::test_response_base_case", "tests/test_cookies.py::test_response_complex_case", "tests/test_cookies.py::test_cookie_expires_naive", "tests/test_cookies.py::test_cookie_expires_aware", "tests/test_cookies.py::test_cookies_setable", "tests/test_cookies.py::test_cookie_max_age_float_an...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(Response): Add an option for disabling secure cookies for testing This should be a more practical approach vs. having to pass it every time to `set_cookie()`. ---------- </request> There are se...
77d5e6394a88ead151c9469494749f95f06b24bf
conan-io__conan-884
884
conan-io/conan
null
807e94065016ed121a06696efaa337b92b5aef60
2017-01-20T17:49:28Z
diff --git a/.codecov.yml b/.codecov.yml index 087f2d7b36d..43ef6a38928 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -8,8 +8,10 @@ coverage: range: "85...100" status: - project: yes - patch: yes + project: + default: + threshold: 3% + patch: no changes: no notify: diff --git...
diff --git a/conans/test/conan_trace_file_test.py b/conans/test/conan_trace_file_test.py new file mode 100644 index 00000000000..c17b613ef53 --- /dev/null +++ b/conans/test/conan_trace_file_test.py @@ -0,0 +1,54 @@ +import unittest +from conans import tools +from conans.test.utils.test_files import temp_folder +import ...
diff --git a/.codecov.yml b/.codecov.yml index 087f2d7b36d..43ef6a38928 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -8,8 +8,10 @@ coverage: range: "85...100" status: - project: yes - patch: yes + project: + default: + threshold: 3% + patch: no changes: no notify:
[ { "components": [ { "doc": "", "lines": [ 11, 14 ], "name": "ConanRunner.__init__", "signature": "def __init__(self, print_commands_to_output=False, generate_run_log_file=False, log_run_to_output=True):", "type": "function" }, ...
[ "conans/test/conan_trace_file_test.py::ConanTraceTest::testTraceActions" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature/conan logger - Create a log-trace with conan actions. Logged if ``CONAN_TRACE_FILE`` points to a file. - Improved runner to optionally log to file the "self.run" commands, controlled with tho...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
conan-io__conan-802
802
conan-io/conan
null
1a5eaec00d5f880190e32558b605314b6016d688
2016-12-26T11:39:48Z
diff --git a/conans/client/conf/__init__.py b/conans/client/conf/__init__.py index 7330cf80b76..152e2d6aa22 100644 --- a/conans/client/conf/__init__.py +++ b/conans/client/conf/__init__.py @@ -7,6 +7,7 @@ from conans.model.values import Values import urllib from conans.paths import conan_expand_user +from collection...
diff --git a/conans/test/client_conf_test.py b/conans/test/client_conf_test.py new file mode 100644 index 00000000000..006ef8fc51f --- /dev/null +++ b/conans/test/client_conf_test.py @@ -0,0 +1,80 @@ +import unittest +from conans.test.utils.test_files import temp_folder +from conans.client.conf import ConanClientConfig...
[ { "components": [ { "doc": "Reads CONAN_ENV_XXXX variables from environment\nand if it's defined uses these value instead of the default\nfrom conf file. If you specify a compiler with ENV variable you\nneed to specify all the subsettings, the file defaulted will be\nignored", "lines": [ ...
[ "conans/test/integration/settings_override_test.py::SettingsOverrideTest::test_override_setting_with_env_variables" ]
[ "conans/test/integration/settings_override_test.py::SettingsOverrideTest::test_non_existing_setting", "conans/test/integration/settings_override_test.py::SettingsOverrideTest::test_override", "conans/test/integration/settings_override_test.py::SettingsOverrideTest::test_override_in_non_existing_recipe" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Allow to define default settings as Environment variables #489 It allows to override default settings from environment variables. If a setting with subsettings like compiler is defined (CONAN_ENV_C...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
scikit-learn__scikit-learn-8075
8,075
scikit-learn/scikit-learn
0.20
beb2aa0395cdbc65843db9acf1a9fdfd25e18e7e
2016-12-18T10:10:43Z
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f217d7848c9b2..5a1d5fcda6d6e 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -656,7 +656,8 @@ Kernels: impute.SimpleImputer impute.ChainedImputer - + impute.MissingIndicator + .. _kernel_approximation_ref: :mod...
diff --git a/sklearn/tests/test_impute.py b/sklearn/tests/test_impute.py index b286c5006d431..7fb1b0ac3280b 100644 --- a/sklearn/tests/test_impute.py +++ b/sklearn/tests/test_impute.py @@ -13,6 +13,7 @@ from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing import assert_false +from ...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f217d7848c9b2..5a1d5fcda6d6e 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -656,7 +656,8 @@ Kernels: impute.SimpleImputer impute.ChainedImputer - + impute.MissingIndicator + .. _kernel_approximation_ref: :mod...
[ { "components": [ { "doc": "Binary indicators for missing values.\n\nParameters\n----------\nmissing_values : number, string, np.nan (default) or None\n The placeholder for the missing values. All occurrences of\n `missing_values` will be imputed.\n\nfeatures : str, optional\n Whether the...
[ "sklearn/tests/test_impute.py::test_imputation_shape", "sklearn/tests/test_impute.py::test_imputation_error_invalid_strategy[const]", "sklearn/tests/test_impute.py::test_imputation_error_invalid_strategy[101]", "sklearn/tests/test_impute.py::test_imputation_error_invalid_strategy[None]", "sklearn/tests/test...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG+1] MissingIndicator transformer MissingIndicator transformer for the missing values indicator mask. see #6556 #### What does this implement/fix? Explain your changes. The current implementa...
51407623e4f491f00e3b465626dd5c4b55860bd0
conan-io__conan-765
765
conan-io/conan
null
366eb7ac13c9e5cc09b7fbad7f6704bfb99ee7c1
2016-12-14T15:46:10Z
diff --git a/conans/client/generators/__init__.py b/conans/client/generators/__init__.py index 28a04b588bf..f808f5553eb 100644 --- a/conans/client/generators/__init__.py +++ b/conans/client/generators/__init__.py @@ -6,6 +6,7 @@ from .cmake import CMakeGenerator from .qmake import QmakeGenerator from .qbs import Qbs...
diff --git a/conans/test/generators/scons_test.py b/conans/test/generators/scons_test.py new file mode 100644 index 00000000000..fd2e577439a --- /dev/null +++ b/conans/test/generators/scons_test.py @@ -0,0 +1,27 @@ +import re +import unittest +from conans.model.settings import Settings +from conans.model.conan_file imp...
[ { "components": [ { "doc": "", "lines": [ 3, 37 ], "name": "SConsGenerator", "signature": "class SConsGenerator(Generator): @property", "type": "class" }, { "doc": "", "lines": [ 5, 6 ...
[ "conans/test/generators_test.py::GeneratorsTest::test_base" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add SCons generator Suggested usage in SConstruct file: conan = SConscript('SConscript-conan') completeEnv = Environment() completeEnv.MergeFlags(conan['conan']) completeEnv.Program("foo", "fo...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
scrapy__scrapy-2306
2,306
scrapy/scrapy
null
7b49b9c0f53396ac89cbd74930bc4c6e41d41901
2016-10-05T15:26:13Z
diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 3d110b02d76..67f8ec28599 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -307,6 +307,7 @@ Those are: * :reqmeta:`proxy` * ``ftp_user`` (See :setting:`FTP_USER` for more info) * ``ftp_passwor...
diff --git a/tests/test_spidermiddleware_referer.py b/tests/test_spidermiddleware_referer.py index bd7673efb8b..b1c81587670 100644 --- a/tests/test_spidermiddleware_referer.py +++ b/tests/test_spidermiddleware_referer.py @@ -1,21 +1,867 @@ +from six.moves.urllib.parse import urlparse from unittest import TestCase +imp...
diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 3d110b02d76..67f8ec28599 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -307,6 +307,7 @@ Those are: * :reqmeta:`proxy` * ``ftp_user`` (See :setting:`FTP_USER` for more info) * ``ftp_passwor...
[ { "components": [ { "doc": "", "lines": [ 32, 81 ], "name": "ReferrerPolicy", "signature": "class ReferrerPolicy(object):", "type": "class" }, { "doc": "", "lines": [ 36, 37 ], ...
[ "tests/test_spidermiddleware_referer.py::TestRefererMiddleware::test", "tests/test_spidermiddleware_referer.py::TestRefererMiddlewareDefault::test", "tests/test_spidermiddleware_referer.py::TestSettingsNoReferrer::test", "tests/test_spidermiddleware_referer.py::TestSettingsNoReferrerWhenDowngrade::test", "t...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG] Referrer policies in RefererMiddleware Fixes #2142 I've based the tests and implementation on https://www.w3.org/TR/referrer-policy/ By default, with this change, `RefererMiddleware` does ...
Here is the discussion in the issues of the pull request. <issues> Scrapy uses `file://` URL as referer If I use a local file in a request (e.g. ``` python def start_requests(self): yield Request(path_to_file_uri(filename)) def parse(self, response): for url in json.loads(response.text): yield Reques...
57a5460529ff71c42e4d0381265b1b512b1eb09b
docker__docker-py-1230
1,230
docker/docker-py
null
52c2cc845346884218f566eeaeee5a5ca3e714ab
2016-09-27T18:37:20Z
diff --git a/docker/api/swarm.py b/docker/api/swarm.py index 7481c67532..2fc877448a 100644 --- a/docker/api/swarm.py +++ b/docker/api/swarm.py @@ -69,6 +69,13 @@ def nodes(self, filters=None): return self._result(self._get(url, params=params), True) + @utils.minimum_version('1.24') + def update_node(...
diff --git a/tests/integration/swarm_test.py b/tests/integration/swarm_test.py index 8c62f2ec06..7f02c71170 100644 --- a/tests/integration/swarm_test.py +++ b/tests/integration/swarm_test.py @@ -1,3 +1,4 @@ +import copy import docker import pytest @@ -138,3 +139,26 @@ def test_inspect_node(self): node_data...
diff --git a/docs/api.md b/docs/api.md index 1699344a66..5cadb83081 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1129,6 +1129,11 @@ Update resource configs of one or more containers. **Returns** (dict): Dictionary containing a `Warnings` key. +## update_node + +Update a node. +See the [Swarm documentation](swarm...
[ { "components": [ { "doc": "", "lines": [ 73, 77 ], "name": "SwarmApiMixin.update_node", "signature": "def update_node(self, node_id, version, node_spec=None):", "type": "function" } ], "file": "docker/api/swarm.py" } ]
[ "tests/unit/swarm_test.py::SwarmTest::test_node_update" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> enable setting of node labels #1225 Added update_node function to enable setting labels on nodes. This exposes the Update a Node function from the Docker API and should enable promoting/demoting mana...
26753c81defff28a1a38a34788e9653c8eb87c3d
conan-io__conan-508
508
conan-io/conan
null
2167f1f59f670b87acb69efd117f79ff506ed99f
2016-09-27T16:24:01Z
diff --git a/conans/client/deps_builder.py b/conans/client/deps_builder.py index 341d1c41afb..83c9c88214f 100644 --- a/conans/client/deps_builder.py +++ b/conans/client/deps_builder.py @@ -416,7 +416,7 @@ def _config_node(self, conanfile, conanref, down_reqs, down_ref, down_options): def _create_new_node(self, cur...
diff --git a/conans/test/download_test.py b/conans/test/download_test.py index e1ed5a9861b..e41c6e29a2c 100644 --- a/conans/test/download_test.py +++ b/conans/test/download_test.py @@ -69,7 +69,7 @@ def complete_test(self): client2.remote_manager, ...
[ { "components": [ { "doc": "", "lines": [ 73, 130 ], "name": "ConanProxy.get_recipe", "signature": "def get_recipe(self, conan_reference):", "type": "function" }, { "doc": "", "lines": [ 76, ...
[ "conans/test/model/order_libs_test.py::ConanRequirementsTest::test_diamond_no_conflict", "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_basic_transitive_option", "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_conditional", "conans/test/model/transitive_reqs_te...
[ "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_basic", "conans/test/model/transitive_reqs_test.py::ConanRequirementsTest::test_basic_option", "conans/test/model/transitive_reqs_test.py::CoreSettingsTest::test_basic", "conans/test/model/transitive_reqs_test.py::CoreSettingsTest::test_c...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature/download to tmp Download recipes and packages to a tmp file (appending from network buffer). Fixes #501 ---------- </request> There are several new functions or classes that need to be impl...
Here is the discussion in the issues of the pull request. <issues> Memory error when download very big packages `conan install node/6.1.0@silkedit/stable -s compiler="Visual Studio" -s compiler.version=14` Downloader.download method keeps in memory too much data. ``` DEBUG :uploader_downloader.py[74]: <type 'exceptio...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
joke2k__faker-389
389
joke2k/faker
null
fb2878c5452965d5d89e3e7bf64a57eee0f5853e
2016-09-20T14:19:57Z
diff --git a/faker/providers/date_time/__init__.py b/faker/providers/date_time/__init__.py index d5fc3d6dec..3ffa68945e 100644 --- a/faker/providers/date_time/__init__.py +++ b/faker/providers/date_time/__init__.py @@ -287,6 +287,14 @@ def date(cls, pattern='%Y-%m-%d'): """ return cls.date_time().strf...
diff --git a/faker/tests/__init__.py b/faker/tests/__init__.py index 2b17711493..cd5240bd8d 100644 --- a/faker/tests/__init__.py +++ b/faker/tests/__init__.py @@ -333,6 +333,18 @@ def test_datetimes_with_and_without_tzinfo(self): self.assertFalse(provider.iso8601().endswith('+00:00')) self.assertTrue(...
[ { "components": [ { "doc": "Get a date object between January 1, 1970 and now\n:example datetime.date(2016, 9, 20)", "lines": [ 291, 296 ], "name": "Provider.date_object", "signature": "def date_object(cls):", "type": "function" }, ...
[ "faker/tests/__init__.py::FactoryTestCase::test_date_object", "faker/tests/__init__.py::FactoryTestCase::test_time_object" ]
[ "faker/tests/__init__.py::UtilsTestCase::test_add_dicts", "faker/tests/__init__.py::UtilsTestCase::test_choice_distribution", "faker/tests/__init__.py::UtilsTestCase::test_find_available_locales", "faker/tests/__init__.py::UtilsTestCase::test_find_available_providers", "faker/tests/__init__.py::FactoryTestC...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add date and time object providers ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There are several ...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
falconry__falcon-901
901
falconry/falcon
null
b36ffe6179e6fe3c8a7f4eae3c6070d282de7129
2016-09-17T22:50:41Z
diff --git a/.travis.yml b/.travis.yml index 081ee6f8c..1ac94eb07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,10 @@ matrix: include: - python: 2.7 # these are just to make travis's UI a bit prettier env: JYTHON=true - - python: pypy + - python: pypy-5.3 env:...
diff --git a/docs/api/testing.rst b/docs/api/testing.rst index c11007d5d..940edb50a 100644 --- a/docs/api/testing.rst +++ b/docs/api/testing.rst @@ -4,7 +4,7 @@ Testing ======= .. automodule:: falcon.testing - :members: Result, + :members: Result, Cookie, simulate_request, simulate_get, simulate_head...
diff --git a/.travis.yml b/.travis.yml index 081ee6f8c..1ac94eb07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,10 @@ matrix: include: - python: 2.7 # these are just to make travis's UI a bit prettier env: JYTHON=true - - python: pypy + - python: pypy-5.3 env:...
[ { "components": [ { "doc": "Always returns ``True``.", "lines": [ 101, 103 ], "name": "BoundedStream.readable", "signature": "def readable(self):", "type": "function" }, { "doc": "Always returns ``False``.", "l...
[ "tests/test_before_hooks.py::TestHooks::test_param_validator", "tests/test_before_hooks.py::TestHooks::test_parser", "tests/test_boundedstream.py::test_not_writeable" ]
[ "tests/test_access_route.py::test_remote_addr_only", "tests/test_access_route.py::test_rfc_forwarded", "tests/test_access_route.py::test_malformed_rfc_forwarded", "tests/test_access_route.py::test_x_forwarded_for", "tests/test_access_route.py::test_x_real_ip", "tests/test_access_route.py::test_remote_addr...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> test: Migrate several test modules away from the deprecated framework - Migrate additional test modules away from the deprecated framework, taking care to demonstrate both unittest- and pytest-style...
77d5e6394a88ead151c9469494749f95f06b24bf
conan-io__conan-463
463
conan-io/conan
null
18baa9739d738c286e38eb463dff6d7b948d54e8
2016-09-06T19:24:02Z
diff --git a/conans/client/command.py b/conans/client/command.py index cbe56b01132..5fc51819800 100644 --- a/conans/client/command.py +++ b/conans/client/command.py @@ -24,7 +24,7 @@ from conans.client.remote_registry import RemoteRegistry from conans.model.scope import Scopes import re -from conans.search import Di...
diff --git a/conans/server/test/service/service_test.py b/conans/server/test/service/service_test.py index a1efae49941..0cf94116b50 100644 --- a/conans/server/test/service/service_test.py +++ b/conans/server/test/service/service_test.py @@ -12,11 +12,10 @@ from conans.server.crypto.jwt.jwt_updown_manager import JWTUpD...
[ { "components": [ { "doc": "Methods that allows access to disk or s3 or whatever to make a search", "lines": [ 13, 31 ], "name": "SearchAdapterABC", "signature": "class SearchAdapterABC(object):", "type": "class" }, { ...
[ "conans/server/test/service/service_test.py::FileUploadDownloadServiceTest::test_file_download", "conans/server/test/service/service_test.py::FileUploadDownloadServiceTest::test_file_upload", "conans/server/test/service/service_test.py::ConanServiceTest::test_get_conanfile_download_urls", "conans/server/test/...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature/better search manager Prepared to use the same search manager with different storage types ---------- </request> There are several new functions or classes that need to be implemented, usin...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
falconry__falcon-890
890
falconry/falcon
null
c2cb7091e28680671cb9092bf5f8a1840f6e6308
2016-09-06T05:35:08Z
diff --git a/docs/api/middleware.rst b/docs/api/middleware.rst index f947b7fd6..b6e9036df 100644 --- a/docs/api/middleware.rst +++ b/docs/api/middleware.rst @@ -47,7 +47,7 @@ Falcon's middleware interface is defined as follows: method as keyword arguments. """ - def process_re...
diff --git a/tests/test_middleware.py b/tests/test_middleware.py index 652306fef..9d48c4cc7 100644 --- a/tests/test_middleware.py +++ b/tests/test_middleware.py @@ -11,8 +11,11 @@ class CaptureResponseMiddleware(object): - def process_response(self, req, resp, resource): + def process_response(self, req, res...
diff --git a/docs/api/middleware.rst b/docs/api/middleware.rst index f947b7fd6..b6e9036df 100644 --- a/docs/api/middleware.rst +++ b/docs/api/middleware.rst @@ -47,7 +47,7 @@ Falcon's middleware interface is defined as follows: method as keyword arguments. """ - def process_re...
[ { "components": [ { "doc": "", "lines": [ 61, 66 ], "name": "prepare_middleware.let", "signature": "def let(process_response=process_response): @wraps(process_response)", "type": "function" }, { "doc": "", "lin...
[ "tests/test_middleware.py::TestRequestTimeMiddleware::test_log_get_request", "tests/test_middleware.py::TestRequestTimeMiddleware::test_skip_process_resource", "tests/test_middleware.py::TestSeveralMiddlewares::test_generate_trans_id_and_time_with_request", "tests/test_middleware.py::TestSeveralMiddlewares::t...
[ "tests/test_middleware.py::TestRequestTimeMiddleware::test_add_invalid_middleware", "tests/test_middleware.py::TestRequestTimeMiddleware::test_response_middleware_raises_exception", "tests/test_middleware.py::TestTransactionIdMiddleware::test_generate_trans_id_with_request", "tests/test_middleware.py::TestSev...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(middleware): Pass a request status flag to process_request() Pass a flag to process_request() to indicate whether or not the request succeeded (i.e., no exceptions were raised by other middleware...
Here is the discussion in the issues of the pull request. <issues> Middleware post process error handling When middleware is added to the api and we have a post_process on it, any exceptions thrown in the responder are not aggregated to an appropriate response. Instead, they are ignored and the post_process attempts to...
77d5e6394a88ead151c9469494749f95f06b24bf
boto__boto3-739
739
boto/boto3
null
231c0ecade7787da1f6e6dc7c0725759c10b5a1d
2016-07-28T19:17:44Z
diff --git a/.changes/next-release/feature-Session-9354.json b/.changes/next-release/feature-Session-9354.json new file mode 100644 index 0000000000..c3a55c3402 --- /dev/null +++ b/.changes/next-release/feature-Session-9354.json @@ -0,0 +1,5 @@ +{ + "category": "Session", + "type": "feature", + "description": "Exp...
diff --git a/tests/unit/test_session.py b/tests/unit/test_session.py index f5892d8b3f..d7df5aad3c 100644 --- a/tests/unit/test_session.py +++ b/tests/unit/test_session.py @@ -22,6 +22,7 @@ class TestSession(BaseTestCase): + def test_repr(self): bc_session = self.bc_session_cls.return_value b...
diff --git a/.changes/next-release/feature-Session-9354.json b/.changes/next-release/feature-Session-9354.json new file mode 100644 index 0000000000..c3a55c3402 --- /dev/null +++ b/.changes/next-release/feature-Session-9354.json @@ -0,0 +1,5 @@ +{ + "category": "Session", + "type": "feature", + "description": "Exp...
[ { "components": [ { "doc": "The profiles available to the session credentials", "lines": [ 110, 114 ], "name": "Session.available_profiles", "signature": "def available_profiles(self):", "type": "function" } ], "file": "boto...
[ "tests/unit/test_session.py::TestSession::test_available_profiles" ]
[ "tests/unit/test_session.py::TestSession::test_arguments_not_required", "tests/unit/test_session.py::TestSession::test_bad_resource_name", "tests/unit/test_session.py::TestSession::test_bad_resource_name_with_no_client_has_simple_err_msg", "tests/unit/test_session.py::TestSession::test_can_access_region_name"...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Expose session.available_profiles from botocore to Session Implements https://github.com/boto/boto3/issues/704 Exposes Session.available_profiles from botocore to session in boto3 also my linter wante...
196a2da7490a1a661a0103b8770bd31e34e147f2
sympy__sympy-11431
11,431
sympy/sympy
1.0
17d046e8386fb4098d442b04f4b7bcf8a798f5b9
2016-07-25T17:47:23Z
diff --git a/doc/src/modules/physics/mechanics/api/system.rst b/doc/src/modules/physics/mechanics/api/system.rst new file mode 100644 index 000000000000..fb2da1898af2 --- /dev/null +++ b/doc/src/modules/physics/mechanics/api/system.rst @@ -0,0 +1,9 @@ +=========================== +SymbolicSystem (Docstrings) +=========...
diff --git a/sympy/physics/mechanics/tests/test_system.py b/sympy/physics/mechanics/tests/test_system.py new file mode 100644 index 000000000000..99d340241b0d --- /dev/null +++ b/sympy/physics/mechanics/tests/test_system.py @@ -0,0 +1,244 @@ +from sympy import symbols, Matrix, atan, simplify, zeros +from sympy.physics....
diff --git a/doc/src/modules/physics/mechanics/api/system.rst b/doc/src/modules/physics/mechanics/api/system.rst new file mode 100644 index 000000000000..fb2da1898af2 --- /dev/null +++ b/doc/src/modules/physics/mechanics/api/system.rst @@ -0,0 +1,9 @@ +=========================== +SymbolicSystem (Docstrings) +=========...
[ { "components": [ { "doc": "SymbolicSystem is a class that contains all the information about a\nsystem in a symbolic format such as the equations of motions and the bodies\nand loads in the system.\n\nThere are three ways that the equations of motion can be described for\nSymbolic System:\n\n\n ...
[ "test_form_1", "test_form_2", "test_form_3", "test_property_attributes" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added system.py to physics/mechanics Added a class called SymbolicSystem to physics/mechanics to act as a container class for the equations of motion and other details related to dynamic systems. I ha...
820363f5b17cbe5809ef0911ea539e135c179c62
python-hyper__h2-265
265
python-hyper/h2
null
9f0116fa5de42de81962dbaab0abf5edc54c9801
2016-07-25T09:54:32Z
diff --git a/HISTORY.rst b/HISTORY.rst index e3fcb6fe9..ef9090bab 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,6 +4,13 @@ Release History 2.5.0dev0 --------- +API Changes (Backward-Compatible) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Added a new ``H2Configuration`` object that allows rich configuration of + a `...
diff --git a/test/test_basic_logic.py b/test/test_basic_logic.py index a7778c91c..5afdf00f4 100644 --- a/test/test_basic_logic.py +++ b/test/test_basic_logic.py @@ -11,6 +11,7 @@ import hyperframe import pytest +import h2.config import h2.connection import h2.errors import h2.events @@ -65,6 +66,18 @@ def test_b...
diff --git a/HISTORY.rst b/HISTORY.rst index e3fcb6fe9..ef9090bab 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,6 +4,13 @@ Release History 2.5.0dev0 --------- +API Changes (Backward-Compatible) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Added a new ``H2Configuration`` object that allows rich configuration of + a `...
[ { "components": [ { "doc": "An object that controls the way a single HTTP/2 connection behaves.\n\nThis object allows the users to customize behaviour. In particular, it\nallows users to enable or disable optional features, or to otherwise handle\nvarious unusual behaviours.\n\nThis object has ver...
[ "test/test_basic_logic.py::TestBasicClient::test_begin_connection", "test/test_basic_logic.py::TestBasicClient::test_deprecated_properties", "test/test_basic_logic.py::TestBasicClient::test_sending_headers", "test/test_basic_logic.py::TestBasicClient::test_sending_data", "test/test_basic_logic.py::TestBasic...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add configuration object. As discussed in #246, this adds a basic configuration object. The goal here is to resist the proliferation of flags to the HTTP/2 connection object. ---------- </request> ...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
sympy__sympy-11400
11,400
sympy/sympy
1.0
8dcb12a6cf500e8738d6729ab954a261758f49ca
2016-07-15T21:40:49Z
diff --git a/sympy/printing/ccode.py b/sympy/printing/ccode.py index 30a07a7b5936..71eda1fecb0c 100644 --- a/sympy/printing/ccode.py +++ b/sympy/printing/ccode.py @@ -231,6 +231,20 @@ def _print_Symbol(self, expr): else: return name + def _print_Relational(self, expr): + lhs_code = sel...
diff --git a/sympy/printing/tests/test_ccode.py b/sympy/printing/tests/test_ccode.py index d8e449d85341..d36ae66ac7e9 100644 --- a/sympy/printing/tests/test_ccode.py +++ b/sympy/printing/tests/test_ccode.py @@ -120,6 +120,16 @@ def test_ccode_boolean(): assert ccode((x | y) & z) == "z && (x || y)" +def test_cc...
[ { "components": [ { "doc": "", "lines": [ 234, 238 ], "name": "CCodePrinter._print_Relational", "signature": "def _print_Relational(self, expr):", "type": "function" }, { "doc": "", "lines": [ 240, ...
[ "test_ccode_Relational", "test_ccode_sinc" ]
[ "test_printmethod", "test_ccode_sqrt", "test_ccode_Pow", "test_ccode_constants_mathh", "test_ccode_constants_other", "test_ccode_Rational", "test_ccode_Integer", "test_ccode_functions", "test_ccode_inline_function", "test_ccode_exceptions", "test_ccode_user_functions", "test_ccode_boolean", ...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add sinc to C codegen [rebase #11303] @kritkaran94 please let me know if this looks ok. ---------- </request> There are several new functions or classes that need to be implemented, using the defin...
Here is the discussion in the issues of the pull request. <issues> ccode(sinc(x)) doesn't work ``` In [30]: ccode(sinc(x)) Out[30]: '// Not supported in C:\n// sinc\nsinc(x)' ``` I don't think `math.h` has `sinc`, but it could print ``` In [38]: ccode(Piecewise((sin(theta)/theta, Ne(theta, 0)), (1, True))) Out[38]: '...
820363f5b17cbe5809ef0911ea539e135c179c62
conan-io__conan-370
370
conan-io/conan
null
fe9295f800f8080bc225ac6ce4ff3a85795fee09
2016-07-14T17:40:35Z
diff --git a/conans/client/command.py b/conans/client/command.py index 76748152845..250dfac04e4 100644 --- a/conans/client/command.py +++ b/conans/client/command.py @@ -300,6 +300,8 @@ def install(self, *args): help="update with new upstream packages") parser.add_argument("--scope"...
diff --git a/conans/test/compile_helpers_test.py b/conans/test/compile_helpers_test.py index 250ed449360..0df7e750be5 100644 --- a/conans/test/compile_helpers_test.py +++ b/conans/test/compile_helpers_test.py @@ -97,7 +97,16 @@ def configure_environment_test(self): '"path/to...
[ { "components": [ { "doc": "takes the exports from upper level and updates the imports\nright now also the imports are propagated, but should be checked\nE.g. Conan A, depends on B. A=>B\nB exports an include directory \"my_dir\", with root \"/...../0123efe\"\nA imports are the exports of B, plus...
[ "conans/test/model/order_libs_test.py::ConanRequirementsTest::test_diamond_no_conflict" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature/conan environ I'm not happy with the install method in manager. Now it creates in a tmp file a conanfile.txt file to emulate it when it receives a reference. It's necessary to process the refe...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
boto__boto3-605
605
boto/boto3
null
c0b2d38ccc9f09cbd4af5e05875b620ce2e581f7
2016-04-25T07:38:12Z
diff --git a/.changes/next-release/feature-DynamoDB.json b/.changes/next-release/feature-DynamoDB.json new file mode 100644 index 0000000000..e7c6841edc --- /dev/null +++ b/.changes/next-release/feature-DynamoDB.json @@ -0,0 +1,5 @@ +{ + "category": "DynamoDB", + "type": "feature", + "description": "Add request au...
diff --git a/tests/functional/docs/test_dynamodb.py b/tests/functional/docs/test_dynamodb.py index 6bc22ceafe..b751e1fe4e 100644 --- a/tests/functional/docs/test_dynamodb.py +++ b/tests/functional/docs/test_dynamodb.py @@ -27,7 +27,7 @@ def test_batch_writer_is_documented(self): self.assert_contains_lines_in_o...
diff --git a/.changes/next-release/feature-DynamoDB.json b/.changes/next-release/feature-DynamoDB.json new file mode 100644 index 0000000000..e7c6841edc --- /dev/null +++ b/.changes/next-release/feature-DynamoDB.json @@ -0,0 +1,5 @@ +{ + "category": "DynamoDB", + "type": "feature", + "description": "Add request au...
[ { "components": [ { "doc": "", "lines": [ 106, 111 ], "name": "BatchWriter._add_request_and_process", "signature": "def _add_request_and_process(self, request):", "type": "function" }, { "doc": "", "lines": [ ...
[ "tests/functional/docs/test_dynamodb.py::TestDynamoDBCustomizations::test_batch_writer_is_documented", "tests/unit/dynamodb/test_table.py::BaseTransformationTest::test_auto_dedup_for_dup_requests" ]
[ "tests/functional/docs/test_dynamodb.py::TestDynamoDBCustomizations::test_conditions_is_documented", "tests/functional/docs/test_dynamodb.py::TestDynamoDBCustomizations::test_document_interface_is_documented", "tests/unit/dynamodb/test_table.py::BaseTransformationTest::test_all_items_flushed_on_exit", "tests/...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> dynamodb: add request auto de-duplication for batch_writer # Motivation For scenarios like parsing some values from several sources like server log, user upload data which might contain value duplic...
196a2da7490a1a661a0103b8770bd31e34e147f2
python-hyper__h2-204
204
python-hyper/h2
null
2cdc7dde04a6ba42110841e1c843a4c7d2399eb6
2016-04-21T14:04:28Z
diff --git a/HISTORY.rst b/HISTORY.rst index 3d50672d2..b171ee811 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -24,6 +24,8 @@ Bugfixes ~~~~~~~~ - Correctly forbid pseudo-headers that were not defined in RFC 7540. +- Automatically ensure that all ``Authorization`` headers and short ``Cookie`` + headers are prevent...
diff --git a/test/test_header_indexing.py b/test/test_header_indexing.py index ea4fa5e01..10ff42670 100644 --- a/test/test_header_indexing.py +++ b/test/test_header_indexing.py @@ -311,3 +311,291 @@ def test_header_tuples_are_decoded_push_promise(self, assert isinstance(event, h2.events.PushedStreamReceived)...
diff --git a/HISTORY.rst b/HISTORY.rst index 3d50672d2..b171ee811 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -24,6 +24,8 @@ Bugfixes ~~~~~~~~ - Correctly forbid pseudo-headers that were not defined in RFC 7540. +- Automatically ensure that all ``Authorization`` headers and short ``Cookie`` + headers are prevent...
[ { "components": [ { "doc": "Certain headers are at risk of being attacked during the header compression\nphase, and so need to be kept out of header compression contexts. This\nfunction automatically transforms certain specific headers into HPACK\nnever-indexed fields to ensure they don't get adde...
[ "test/test_header_indexing.py::TestSecureHeaders::test_authorization_headers_never_indexed[auth_header0-headers0]", "test/test_header_indexing.py::TestSecureHeaders::test_authorization_headers_never_indexed[auth_header0-headers1]", "test/test_header_indexing.py::TestSecureHeaders::test_authorization_headers_nev...
[ "test/test_header_indexing.py::TestHeaderIndexing::test_sending_header_tuples[headers0]", "test/test_header_indexing.py::TestHeaderIndexing::test_sending_header_tuples[headers1]", "test/test_header_indexing.py::TestHeaderIndexing::test_sending_header_tuples[headers2]", "test/test_header_indexing.py::TestHeade...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Automatically prevent some headers from being indexed. Resolves #194. This change implements the final part of #194: automatically preventing certain header fields from being indexed. This specifical...
Here is the discussion in the issues of the pull request. <issues> [Discussion] What should we do about HPACK never-indexed header fields? This is a complex issue and I may fork it out into multiple places once we've identified work items (if any), but I'd like to briefly talk about the problem. [RFC 7541](https://too...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
boto__boto3-573
573
boto/boto3
null
9ffa82006b2f9c7eb55d57ae7ca632ed7adf3fa3
2016-03-29T17:32:59Z
diff --git a/boto3/session.py b/boto3/session.py index 554958e171..fe1f79a639 100644 --- a/boto3/session.py +++ b/boto3/session.py @@ -164,6 +164,16 @@ def get_available_regions(self, service_name, partition_name='aws', service_name=service_name, partition_name=partition_name, allow_non_region...
diff --git a/tests/unit/test_session.py b/tests/unit/test_session.py index 9ae03d434c..bb5f116c4c 100644 --- a/tests/unit/test_session.py +++ b/tests/unit/test_session.py @@ -61,6 +61,29 @@ def test_credentials_can_be_set(self): bc_session.set_credentials.assert_called_with( 'key', 'secret', 'toke...
[ { "components": [ { "doc": "Return the :class:`botocore.credential.Credential` object\nassociated with this session. If the credentials have not\nyet been loaded, this will attempt to load them. If they\nhave already been loaded, this will return the cached\ncredentials.", "lines": [ ...
[ "tests/unit/test_session.py::TestSession::test_can_get_credentials" ]
[ "tests/unit/test_session.py::TestSession::test_arguments_not_required", "tests/unit/test_session.py::TestSession::test_bad_resource_name", "tests/unit/test_session.py::TestSession::test_bad_resource_name_with_no_client_has_simple_err_msg", "tests/unit/test_session.py::TestSession::test_can_access_region_name"...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add method to get session credentials We expose this in botocore, but not boto3. cc @kyleknap @jamesls ---------- </request> There are several new functions or classes that need to be implemented...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-554
554
boto/boto3
null
a0333f70860d76f31fddac6b7e5649f26a64dbec
2016-03-18T23:06:44Z
diff --git a/boto3/resources/factory.py b/boto3/resources/factory.py index 800679e672..b627855288 100644 --- a/boto3/resources/factory.py +++ b/boto3/resources/factory.py @@ -248,6 +248,26 @@ def _load_has_relations(self, attrs, resource_name, resource_model, service_context=service_context ...
diff --git a/tests/functional/test_resource.py b/tests/functional/test_resource.py index f2656eb0ec..941bb8826f 100644 --- a/tests/functional/test_resource.py +++ b/tests/functional/test_resource.py @@ -39,7 +39,6 @@ def test_can_inject_method_onto_resource(self): self.assertEqual(resource.my_method('anything'...
[ { "components": [ { "doc": "", "lines": [ 254, 269 ], "name": "ResourceFactory._create_available_subresources_command", "signature": "def _create_available_subresources_command(self, attrs, subresources):", "type": "function" }, ...
[ "tests/functional/test_resource.py::TestGetAvailableSubresources::test_s3_available_subresources_exists", "tests/unit/resources/test_factory.py::TestServiceResourceSubresources::test_event_emitted_when_class_created", "tests/unit/resources/test_factory.py::TestServiceResourceSubresources::test_get_available_sub...
[ "tests/functional/test_resource.py::TestResourceCustomization::test_can_inject_method_onto_resource", "tests/functional/test_resource.py::TestSessionErrorMessages::test_has_good_error_message_when_no_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", ...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add get_available_subresources to Resources We currently have the ability to inspect what resources are available to a session, but not what subresources are available to a resource. This adds a metho...
Here is the discussion in the issues of the pull request. <issues> Question about introspection I can easily find the available service resources give a session: ``` >>> import boto3.session >>> session = boto3.session.Session(profile_name='prod') >>> session.available_resources ['cloudformation', 'dynamodb', 'ec2',...
196a2da7490a1a661a0103b8770bd31e34e147f2
docker__docker-py-956
956
docker/docker-py
null
7befe694bd21e3c54bb1d7825270ea4bd6864c13
2016-02-24T14:41:06Z
diff --git a/docker/__init__.py b/docker/__init__.py index 3844c81ac8..84d0734f51 100644 --- a/docker/__init__.py +++ b/docker/__init__.py @@ -17,4 +17,4 @@ __version__ = version __title__ = 'docker-py' -from .client import Client, AutoVersionClient # flake8: noqa +from .client import Client, AutoVersionClient, fro...
diff --git a/tests/unit/client_test.py b/tests/unit/client_test.py new file mode 100644 index 0000000000..1a173b5cc7 --- /dev/null +++ b/tests/unit/client_test.py @@ -0,0 +1,26 @@ +import os +from docker.client import Client +from .. import base + +TEST_CERT_DIR = os.path.join( + os.path.dirname(__file__), + 'tes...
diff --git a/docs/boot2docker.md b/docs/boot2docker.md deleted file mode 100644 index 4854e41425..0000000000 --- a/docs/boot2docker.md +++ /dev/null @@ -1,38 +0,0 @@ -# Using with Boot2docker - -For usage with boot2docker, there is a helper function in the utils package named `kwargs_from_env`, it will pass any environ...
[ { "components": [ { "doc": "", "lines": [ 35, 36 ], "name": "from_env", "signature": "def from_env(**kwargs):", "type": "function" }, { "doc": "", "lines": [ 92, 93 ], "name"...
[ "tests/unit/client_test.py::ClientTest::test_from_env" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add docker.from_env() shortcut A much neater way of getting started with docker-py. Also updated the boot2docker docs to reflect the current Toolbox/Machine world. A question: are the security concer...
26753c81defff28a1a38a34788e9653c8eb87c3d
python-hyper__h2-93
93
python-hyper/h2
null
5a6a70caf257d55a45af76412f475151435d7d27
2016-01-11T10:52:42Z
diff --git a/docs/source/api.rst b/docs/source/api.rst index 4b9ffd158..3e5f3c1c8 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -59,12 +59,15 @@ Exceptions ---------- .. autoclass:: h2.exceptions.H2Error + :show-inheritance: :members: .. autoclass:: h2.exceptions.NoSuchStreamError + :show...
diff --git a/test/test_utility_functions.py b/test/test_utility_functions.py new file mode 100644 index 000000000..d934c88f4 --- /dev/null +++ b/test/test_utility_functions.py @@ -0,0 +1,153 @@ +# -*- coding: utf-8 -*- +""" +test_utility_functions +~~~~~~~~~~~~~~~~~~~~~~ + +Tests for the various utility functions provi...
diff --git a/docs/source/api.rst b/docs/source/api.rst index 4b9ffd158..3e5f3c1c8 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -59,12 +59,15 @@ Exceptions ---------- .. autoclass:: h2.exceptions.H2Error + :show-inheritance: :members: .. autoclass:: h2.exceptions.NoSuchStreamError + :show...
[ { "components": [ { "doc": "Returns an integer suitable for use as the stream ID for the next\nstream created by this endpoint. For server endpoints, this stream ID\nwill be even. For client endpoints, this stream ID will be odd. If no\nstream IDs are available, raises :class:`NoAvailableStreamIDE...
[ "test/test_utility_functions.py::TestGetNextAvailableStreamID::test_returns_correct_sequence_for_clients", "test/test_utility_functions.py::TestGetNextAvailableStreamID::test_returns_correct_sequence_for_servers", "test/test_utility_functions.py::TestGetNextAvailableStreamID::test_does_not_increment_without_str...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add get_next_available_stream_id function. This function returns the next available stream ID for the given endpoint type, client or server. It makes it moderately easier to write a hyper-h2 server, e...
Here is the discussion in the issues of the pull request. <issues> Get next available stream_id to begin a new stream Hi, I want to create a new stream without knowing or generating a new stream_id myself. The current problem is that: - `begin_new_stream` - `get_or_create_stream` - `send_headers` all require a `stre...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
spec-first__connexion-95
95
spec-first/connexion
null
a695a3c6583398b798c2fa9e7fd0119a2b5cb4f6
2015-11-18T00:47:23Z
diff --git a/connexion/operation.py b/connexion/operation.py index 8a1d2fce2..7a04852bf 100644 --- a/connexion/operation.py +++ b/connexion/operation.py @@ -76,7 +76,11 @@ def __init__(self, method, path, operation, app_produces, app_security, self.validate_responses = validate_responses self.operat...
diff --git a/tests/test_operation.py b/tests/test_operation.py index 7a4396df7..6cb29b729 100644 --- a/tests/test_operation.py +++ b/tests/test_operation.py @@ -99,6 +99,29 @@ OPERATION5 = {'operationId': 'fakeapi.hello.post_greeting', 'parameters': [{'$ref': '/parameters/fail'}]} +OPERATION6 = {'desc...
[ { "components": [ { "doc": "", "lines": [ 92, 95 ], "name": "Operation.detect_controller", "signature": "def detect_controller(self, operation_id, router_controller):", "type": "function" } ], "file": "connexion/operation.py...
[ "tests/test_operation.py::test_detect_controller" ]
[ "tests/test_operation.py::test_operation", "tests/test_operation.py::test_non_existent_reference", "tests/test_operation.py::test_multi_body", "tests/test_operation.py::test_invalid_reference", "tests/test_operation.py::test_no_token_info", "tests/test_operation.py::test_parameter_reference", "tests/tes...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> added logic for detecting x-swagger-router-controller closes #94 adds logic for detecting `x-swagger-router-controller` and if set, will join the `operationId` with this value. ---------- </request...
Here is the discussion in the issues of the pull request. <issues> change use of `operationId` The spec field `operationId` is used for client generation method names. While connexion uses `operationId` for routing directly to a controller, it will make for some very ugly client SDK methods. For example: ``` yaml op...
ee399fbfe627f86c461b353132e4d710f7127440
joke2k__faker-300
300
joke2k/faker
null
3da7fd3109e317025e033fb95260c0032668ae0e
2015-11-12T06:14:19Z
diff --git a/faker/providers/internet/ja_JP/__init__.py b/faker/providers/internet/ja_JP/__init__.py new file mode 100644 index 0000000000..0229a10aed --- /dev/null +++ b/faker/providers/internet/ja_JP/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +from __future__ import unicode_literals +from .. import Provider as Inte...
diff --git a/faker/tests/ja_JP/__init__.py b/faker/tests/ja_JP/__init__.py index c0bd16e652..35af84fa94 100644 --- a/faker/tests/ja_JP/__init__.py +++ b/faker/tests/ja_JP/__init__.py @@ -6,6 +6,7 @@ import re from faker import Factory +from faker.utils import text from .. import string_types @@ -84,6 +85,23 @@...
[ { "components": [ { "doc": "", "lines": [ 7, 18 ], "name": "Provider", "signature": "class Provider(InternetProvider):", "type": "class" }, { "doc": "", "lines": [ 17, 18 ], ...
[ "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_internet", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_person" ]
[ "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_address", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_company", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_phone_number" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Update ja_JP for username and domain In order to get username and domain in ja_JP ・Add [Romanized Japanese](https://en.wikipedia.org/wiki/Romanization_of_Japanese) person name ・Add internet provider f...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
falconry__falcon-640
640
falconry/falcon
null
0fefca82a3e1f6f35f147af01c7daeebb0414d87
2015-10-27T00:17:50Z
diff --git a/falcon/request.py b/falcon/request.py index 0a2eb8d34..3312667f7 100644 --- a/falcon/request.py +++ b/falcon/request.py @@ -27,9 +27,9 @@ import mimeparse import six -from falcon.errors import * +from falcon.errors import * # NOQA from falcon import util -from falcon.util.uri import parse_query_strin...
diff --git a/tests/test_access_route.py b/tests/test_access_route.py new file mode 100644 index 000000000..90fa871f9 --- /dev/null +++ b/tests/test_access_route.py @@ -0,0 +1,74 @@ +from falcon.request import Request +import falcon.testing as testing + + +class TestAccessRoute(testing.TestBase): + + def test_remote_...
[ { "components": [ { "doc": "A list of all addresses from client to the last proxy server.\n\nInspired by werkzeug's ``access_route``.\n\nNote:\n The list may contain string(s) other than IPv4 / IPv6 address. For\n example the \"unknown\" identifier and obfuscated identifier defined\n by `...
[ "tests/test_access_route.py::TestAccessRoute::test_malformed_rfc_forwarded", "tests/test_access_route.py::TestAccessRoute::test_remote_addr", "tests/test_access_route.py::TestAccessRoute::test_remote_addr_only", "tests/test_access_route.py::TestAccessRoute::test_rfc_forwarded", "tests/test_access_route.py::...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add `access_route` and `remote_addr` to Request object which is similar to Werkzeug but more powerful Supported: 1. fetch from "Forwarded" header (defined by RFC7239) 2. fetch from "X-Forwarded-For" ...
77d5e6394a88ead151c9469494749f95f06b24bf
python-hyper__h2-23
23
python-hyper/h2
null
ba8ec4633014b0e2c77211ec59233c78ca5f42c6
2015-10-01T16:44:55Z
diff --git a/h2/connection.py b/h2/connection.py index ea6266a2d..484daf32c 100644 --- a/h2/connection.py +++ b/h2/connection.py @@ -13,7 +13,10 @@ ) from hpack.hpack import Encoder, Decoder -from .events import WindowUpdated, RemoteSettingsChanged, PingAcknowledged +from .events import ( + WindowUpdated, Remote...
diff --git a/test/test_basic_logic.py b/test/test_basic_logic.py index 59f654902..88c72beb2 100644 --- a/test/test_basic_logic.py +++ b/test/test_basic_logic.py @@ -335,6 +335,48 @@ def test_can_consume_partial_data_from_connection(self): assert len(c.data_to_send(10)) == 0 assert len(c.data_to_send()...
[ { "components": [ { "doc": "Update the local settings. This will prepare and emit the appropriate\nSETTINGS frame.\n\n:param new_settings: A dictionary of {setting: new value}", "lines": [ 447, 459 ], "name": "H2Connection.update_settings", "sign...
[ "test/test_basic_logic.py::TestBasicClient::test_we_can_update_settings", "test/test_basic_logic.py::TestBasicClient::test_settings_get_acked_correctly" ]
[ "test/test_basic_logic.py::TestBasicClient::test_begin_connection", "test/test_basic_logic.py::TestBasicClient::test_sending_headers", "test/test_basic_logic.py::TestBasicClient::test_sending_data", "test/test_basic_logic.py::TestBasicClient::test_closing_stream_sending_data", "test/test_basic_logic.py::Tes...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add logic for handling changes to local settings. This is another pillar in #5. ---------- </request> There are several new functions or classes that need to be implemented, using the definitions b...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
python-hyper__h2-22
22
python-hyper/h2
null
befef347d73af95aa68858bda6762fb1a687e059
2015-09-21T11:29:02Z
diff --git a/h2/connection.py b/h2/connection.py index 9c372d9e0..ea6266a2d 100644 --- a/h2/connection.py +++ b/h2/connection.py @@ -16,6 +16,7 @@ from .events import WindowUpdated, RemoteSettingsChanged, PingAcknowledged from .exceptions import ProtocolError, NoSuchStreamError, FlowControlError from .frame_buffer i...
diff --git a/test/test_settings.py b/test/test_settings.py new file mode 100644 index 000000000..fc1424aa4 --- /dev/null +++ b/test/test_settings.py @@ -0,0 +1,193 @@ +# -*- coding: utf-8 -*- +""" +test_settings +~~~~~~~~~~~~~ + +Test the Settings object. +""" +import pytest + +import h2.settings + +from hyperframe.fra...
[ { "components": [ { "doc": "An object that encapsulates HTTP/2 settings state.\n\nHTTP/2 Settings are a complex beast. Each party, remote and local, has its\nown settings and a view of the other party's settings. When a settings\nframe is emitted by a peer it cannot assume that the new settings va...
[ "test/test_settings.py::TestSettings::test_settings_defaults_client", "test/test_settings.py::TestSettings::test_settings_defaults_server", "test/test_settings.py::TestSettings::test_applying_value_doesnt_take_effect_immediately", "test/test_settings.py::TestSettings::test_acknowledging_values", "test/test_...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Remote settings handling This change introduces a Settings management object to handle adjustments in remote settings. It allows us to keep track of the difference between acknowledged settings and un...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
python-hyper__h2-15
15
python-hyper/h2
null
48d17d3d9ec51a537af845c877455e3b70b9b146
2015-09-18T13:16:40Z
diff --git a/h2/connection.py b/h2/connection.py index 03bcd59de..ff42476d1 100644 --- a/h2/connection.py +++ b/h2/connection.py @@ -14,7 +14,7 @@ from hpack.hpack import Encoder, Decoder from .events import WindowUpdated, RemoteSettingsChanged, PingAcknowledged -from .exceptions import ProtocolError, NoSuchStreamE...
diff --git a/test/test_flow_control_window.py b/test/test_flow_control_window.py new file mode 100644 index 000000000..3187be23e --- /dev/null +++ b/test/test_flow_control_window.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +""" +test_flow_control +~~~~~~~~~~~~~~~~~ + +Tests of the flow control management in h2 +""" +...
[ { "components": [ { "doc": "Returns the maximum amount of data that can be sent on stream\n``stream_id``.\n\nThis value will never be larger than the total data that can be sent on\nthe connection: even if the given stream allows more data, the\nconnection window provides a logical maximum to the ...
[ "test/test_flow_control_window.py::TestFlowControl::test_flow_control_initializes_properly", "test/test_flow_control_window.py::TestFlowControl::test_flow_control_decreases_with_sent_data", "test/test_flow_control_window.py::TestFlowControl::test_flow_control_is_limited_by_connection", "test/test_flow_control...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Local flow control tracking and enforcement. Resolves #4. This contains a system tracking flow control for the data we _emit_. It ensures that we do not send too much data, and that we make it possib...
Here is the discussion in the issues of the pull request. <issues> Complete local flow control handling. Right now we handle flow control locally by emitting a WindowUpdated event. That's not really enough, because we take no action to prevent users from sending more data than they should, and we don't provide the tool...
9df8f94ce983d44ef57c8f332463f7b3cbe0127b
boto__boto3-246
246
boto/boto3
null
314104da31ab09825d4d1d9289977b431ffa6048
2015-09-04T22:57:40Z
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d1c775c7e8..aa74844268 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Changelog ========= +Next Release - (TBD) +-------------------- + +* bugfix:Identifier: Make resource identifiers immutable. + (`issue 246 <https://github.com/boto/boto3/pull/246>...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index 2d9578f18f..5df0585f2e 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -648,6 +648,13 @@ def test_dangling_resource_raises_for_unknown_arg(self): with self.assertRaises...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d1c775c7e8..aa74844268 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Changelog ========= +Next Release - (TBD) +-------------------- + +* bugfix:Identifier: Make resource identifiers immutable. + (`issue 246 <https://github.com/boto/boto3/pull/246>...
[ { "components": [ { "doc": "Creates a read-only property for identifier attributes.", "lines": [ 197, 212 ], "name": "ResourceFactory._create_identifier", "signature": "def _create_identifier(factory_self, name):", "type": "function" ...
[ "tests/unit/resources/test_factory.py::TestResourceFactoryDanglingResource::test_dangling_resource_identifier_is_immutable" ]
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_dangling_resources", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_properties", "tests/unit/re...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Make resource identifiers immutable Before you could switch out the identifiers on a resource, which can have unintended affects if you switch the identifier and then make subsequent calls with the re...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-106
106
boto/boto3
null
fec3bf95b9a9bf8b3af37353aeee2baf03848c87
2015-04-29T17:47:48Z
diff --git a/boto3/dynamodb/conditions.py b/boto3/dynamodb/conditions.py new file mode 100644 index 0000000000..1f38724767 --- /dev/null +++ b/boto3/dynamodb/conditions.py @@ -0,0 +1,416 @@ +# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (t...
diff --git a/tests/unit/dynamodb/test_conditions.py b/tests/unit/dynamodb/test_conditions.py new file mode 100644 index 0000000000..f6e8c82913 --- /dev/null +++ b/tests/unit/dynamodb/test_conditions.py @@ -0,0 +1,473 @@ +# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the ...
[ { "components": [ { "doc": "", "lines": [ 25, 59 ], "name": "ConditionBase", "signature": "class ConditionBase(object):", "type": "class" }, { "doc": "", "lines": [ 31, 32 ], ...
[ "tests/unit/dynamodb/test_conditions.py::TestK::test_and", "tests/unit/dynamodb/test_conditions.py::TestK::test_begins_with", "tests/unit/dynamodb/test_conditions.py::TestK::test_between", "tests/unit/dynamodb/test_conditions.py::TestK::test_eq", "tests/unit/dynamodb/test_conditions.py::TestK::test_gt", "...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add condition expression builder This is an easy way to build conditional expressions for operations like query, scan, etc. It helps build both the conditional expression string and any placeholders t...
196a2da7490a1a661a0103b8770bd31e34e147f2
joke2k__faker-234
234
joke2k/faker
null
6c389615fa5975ff9458e67510bb89ef6c6e05ff
2015-04-26T15:44:08Z
diff --git a/faker/providers/address/ja_JP/__init__.py b/faker/providers/address/ja_JP/__init__.py index ec12a6884c..f268df50e3 100644 --- a/faker/providers/address/ja_JP/__init__.py +++ b/faker/providers/address/ja_JP/__init__.py @@ -1,9 +1,17 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +impor...
diff --git a/faker/tests/ja_JP/__init__.py b/faker/tests/ja_JP/__init__.py index b63fcb2620..c0bd16e652 100644 --- a/faker/tests/ja_JP/__init__.py +++ b/faker/tests/ja_JP/__init__.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals import unittest +import re from faker import Factory from .. import strin...
[ { "components": [ { "doc": ":example '東京都'", "lines": [ 90, 94 ], "name": "Provider.prefecture", "signature": "def prefecture(cls):", "type": "function" }, { "doc": ":example '台東区'", "lines": [ 97, ...
[ "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_address" ]
[ "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_company", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_person", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_phone_number" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Update ja_JP address. Changed address formats. Added the following method: - prefecture, city, town, chome, ban, gou, building_name, zipcode ---------- </request> There are several new functions o...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
boto__boto3-94
94
boto/boto3
null
cf2c2452eb0d8de58babf7e1db01a0f7e1e0a22c
2015-04-17T20:21:53Z
diff --git a/boto3/dynamodb/__init__.py b/boto3/dynamodb/__init__.py new file mode 100644 index 0000000000..c89416d7a5 --- /dev/null +++ b/boto3/dynamodb/__init__.py @@ -0,0 +1,12 @@ +# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "Lic...
diff --git a/tests/__init__.py b/tests/__init__.py index da171af2c6..f166ea16e4 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -15,6 +15,8 @@ import sys import time +from botocore.compat import six + # The unittest module got a significant overhaul # in 2.7, so if we're in 2.6 we can use the backport...
[ { "components": [ { "doc": "A class for representing Binary in dynamodb\n\nEspecially for Python 2, use this class to explicitly specify\nbinary data for item in DynamoDB. It is essentially a wrapper around\nbinary. Unicode and Python 3 string types are not allowed.", "lines": [ ...
[ "tests/unit/dynamodb/test_types.py::TestBinary::test_bytearray_input", "tests/unit/dynamodb/test_types.py::TestBinary::test_bytes_input", "tests/unit/dynamodb/test_types.py::TestBinary::test_integer_throws_error", "tests/unit/dynamodb/test_types.py::TestBinary::test_non_ascii_bytes_input", "tests/unit/dynam...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Dynamodb types This PR adds type serialization/deserialization for dynamodb. It works much like the `Dynamizer` class in boto. This interface is built specifically for botocore. So, stuff like base64 ...
196a2da7490a1a661a0103b8770bd31e34e147f2
falconry__falcon-502
502
falconry/falcon
null
73d9f4142ff9f04342f6abfe649c98dda409c477
2015-04-14T21:16:38Z
diff --git a/falcon/api.py b/falcon/api.py index ff61dc163..901e9c727 100644 --- a/falcon/api.py +++ b/falcon/api.py @@ -17,6 +17,7 @@ from falcon import api_helpers as helpers from falcon import DEFAULT_MEDIA_TYPE from falcon.http_error import HTTPError +from falcon.http_status import HTTPStatus from falcon.reques...
diff --git a/tests/test_httpstatus.py b/tests/test_httpstatus.py new file mode 100644 index 000000000..3569e6b26 --- /dev/null +++ b/tests/test_httpstatus.py @@ -0,0 +1,196 @@ +# -*- coding: utf-8 + +import falcon.testing as testing +import falcon +from falcon.http_status import HTTPStatus + + +def before_hook(req, res...
[ { "components": [ { "doc": "Composes a response for the given HTTPStatus instance.", "lines": [ 484, 493 ], "name": "API._compose_status_response", "signature": "def _compose_status_response(self, req, resp, http_status):", "type": "funct...
[ "tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_empty_body", "tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_in_before_hook", "tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_in_responder", "tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_runs_after_hooks", ...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(api) Add HTTPStatus exception for immediate response Add an HTTPStatus exception that is handled similarly to HTTPError in terms of hooks and middleware, but does not pass through error handling....
Here is the discussion in the issues of the pull request. <issues> How do I force an immediate response? In Falcon I can force an immediate error code response to return from anywhere in my code by raising a Falcon exception with the appropriate error code. Is there a way to force an immediate return of the response t...
77d5e6394a88ead151c9469494749f95f06b24bf
joke2k__faker-215
215
joke2k/faker
null
a40a4121db15d527fad8922dee3b8f889bb55be7
2015-03-30T06:46:38Z
diff --git a/faker/providers/address/ja_JP/__init__.py b/faker/providers/address/ja_JP/__init__.py new file mode 100644 index 0000000000..ec12a6884c --- /dev/null +++ b/faker/providers/address/ja_JP/__init__.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals +from .. import Provider a...
diff --git a/faker/tests/ja_JP/__init__.py b/faker/tests/ja_JP/__init__.py new file mode 100644 index 0000000000..b63fcb2620 --- /dev/null +++ b/faker/tests/ja_JP/__init__.py @@ -0,0 +1,96 @@ +# coding=utf-8 + +from __future__ import unicode_literals + +import unittest + +from faker import Factory +from .. import strin...
[ { "components": [ { "doc": "", "lines": [ 6, 32 ], "name": "Provider", "signature": "class Provider(AddressProvider):", "type": "class" } ], "file": "faker/providers/address/ja_JP/__init__.py" }, { "components": [ ...
[ "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_address", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_company", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_person", "faker/tests/ja_JP/__init__.py::ja_JP_FactoryTestCase::test_ja_JP_phone_number" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add localized providers ja_JP I added ja_JP(Japanese) provider, and tests. ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below:...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
boto__boto3-74
74
boto/boto3
null
ebc0f95261025aa02c474ec8ffa3e0a0604cb3c6
2015-03-20T20:39:55Z
diff --git a/boto3/docs.py b/boto3/docs.py index 9aace7848a..f5535f5e2d 100644 --- a/boto3/docs.py +++ b/boto3/docs.py @@ -52,6 +52,7 @@ def py_type_name(type_name): :rtype: string """ return { + 'blob': 'bytes', 'character': 'string', 'double': 'float', 'long': 'integer...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index 17b38b11cd..e2aec290f2 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -553,7 +553,7 @@ def test_resource_loads_waiters(self): } } } - ...
[ { "components": [ { "doc": "Document a nested structure (list or dict) parameter or return value as\na snippet of Python code with dummy placeholders. For example:\n\n {\n 'Param1': [\n STRING,\n ...\n ],\n 'Param2': BOOLEAN,\n 'Param3': {\n ...
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_dangling_resources", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_properties", "tests/unit/re...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Load reference data if a resource path is defined This change allows references with a JMESPath query set on the reference resource path attribute to be loaded with data at instantiation time if that ...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-67
67
boto/boto3
null
5cd57ce1785b950105d6d87dad28f40a17d06183
2015-02-23T19:19:29Z
diff --git a/boto3/docs.py b/boto3/docs.py index 02ab776d81..9aace7848a 100644 --- a/boto3/docs.py +++ b/boto3/docs.py @@ -177,6 +177,12 @@ def docs_for(service_name): for name, model in sorted(data['resources'].items(), key=lambda i:i[0]): resource_model = Resou...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index c320e875eb..6e4235bbd4 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language govern...
[ { "components": [ { "doc": "Load a name translation map given a shape. This will set\nup renamed values for any collisions, e.g. if the shape,\nan action, and a subresource all are all named ``foo``\nthen the resource will have an action ``foo``, a subresource\nnamed ``Foo`` and a property named `...
[ "tests/unit/resources/test_model.py::TestModels::test_resource_references", "tests/unit/resources/test_model.py::TestModels::test_waiter", "tests/unit/resources/test_model.py::TestRenaming::test_action_beats_reference", "tests/unit/resources/test_model.py::TestRenaming::test_collection_beats_waiter", "tests...
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_dangling_resources", "tests/unit/resources/test_factory.py::TestResourceFactory::test_factory_creates_properties", "tests/unit/re...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Move name collision logic to the model This change moves and formalizes the name collision logic from the factory to the resource model. The following has changed: - Documentation now better matches t...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-27
27
boto/boto3
null
65c797349e404a1a5f398463eca084caf29ce525
2014-11-24T21:09:26Z
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 50b095575f..9ce3bb3106 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,21 @@ Changelog ========= +0.0.3 - 2014-11-26 +------------------ + +* feature: Update to Botocore 0.76.0. + + * Add support for using AWS Data Pipeline templates to create + pipelin...
diff --git a/tests/integration/test_collections.py b/tests/integration/test_collections.py index 15c571158d..0574acde49 100644 --- a/tests/integration/test_collections.py +++ b/tests/integration/test_collections.py @@ -26,6 +26,7 @@ # or are very slow to run. BLACKLIST = { 'ec2': ['images'], + 'iam': ['signin...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 50b095575f..9ce3bb3106 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,21 @@ Changelog ========= +0.0.3 - 2014-11-26 +------------------ + +* feature: Update to Botocore 0.76.0. + + * Add support for using AWS Data Pipeline templates to create + pipelin...
[ { "components": [ { "doc": "An item which has parameters exposed via the ``params`` property.\nA request has an operation and parameters, while a waiter has\na name, a low-level waiter name and parameters.\n\n:type definition: dict\n:param definition: The JSON definition", "lines": [ ...
[ "tests/unit/resources/test_model.py::TestModels::test_resource_action_raw", "tests/unit/resources/test_model.py::TestModels::test_resource_action_response_resource", "tests/unit/resources/test_model.py::TestModels::test_resource_batch_action", "tests/unit/resources/test_model.py::TestModels::test_resource_col...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add batch actions and waiters to resource model. This adds definitions to the internal resource model to handle batch actions and waiters, both of which are recent additions to the resource JSON forma...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-11
11
boto/boto3
null
f0c07a858001ff38a1992d62bad589667ee49cd3
2014-10-31T22:07:42Z
diff --git a/boto3/resources/base.py b/boto3/resources/base.py index 42e7f0330a..274dac68d6 100644 --- a/boto3/resources/base.py +++ b/boto3/resources/base.py @@ -63,3 +63,16 @@ def __repr__(self): self.__class__.__name__, ', '.join(identifiers), ) + + def __eq__(self, other): + ...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index e9c2c38e3e..b04ea967a1 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -261,6 +261,39 @@ def test_dangling_resource_raises_for_unknown_arg(self): with self.assertRaises...
diff --git a/docs/source/guide/resources.rst b/docs/source/guide/resources.rst index fd2804bfe5..ab0b19e62b 100644 --- a/docs/source/guide/resources.rst +++ b/docs/source/guide/resources.rst @@ -56,6 +56,25 @@ Identifiers may also be passed as positional arguments:: # Raises exception, missing key! obj = s3.O...
[ { "components": [ { "doc": "", "lines": [ 67, 78 ], "name": "ServiceResource.__eq__", "signature": "def __eq__(self, other):", "type": "function" } ], "file": "boto3/resources/base.py" } ]
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_dangling_resource_equality", "tests/unit/resources/test_factory.py::TestResourceFactory::test_resource_action_clears_data" ]
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_resource_calls_load", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_service_calls_load", "tests/unit/resources/t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement resource equality based on identifiers. This pull request adds two related features. First, it adds resource instance equality by comparing the classes and identifiers of two resources. If t...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-10
10
boto/boto3
null
e9d22eff450f82192d7487eb643216ae1a014189
2014-10-29T23:03:46Z
diff --git a/boto3/__init__.py b/boto3/__init__.py index 18e1be7ff9..8c9b5d16ce 100644 --- a/boto3/__init__.py +++ b/boto3/__init__.py @@ -62,7 +62,7 @@ def _get_default_session(): """ Get the default session, creating one if needed. - :rtype: boto3.session.Sesssion + :rtype: :py:class:`~boto3.session...
diff --git a/tests/__init__.py b/tests/__init__.py index 5dc56bf5d1..1f29e89d0e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -36,9 +36,12 @@ class BaseTestCase(unittest.TestCase): any actual calls to Botocore. """ def setUp(self): - self.bc_session_patch = mock.patch('botocore.session...
[ { "components": [ { "doc": "", "lines": [ 18, 19 ], "name": "NoVersionFound", "signature": "class NoVersionFound(Exception):", "type": "class" } ], "file": "boto3/exceptions.py" }, { "components": [ { "...
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_dangling_resource_create_with_kwarg", "tests/unit/resources/test_factory.py::TestResourceFactory::test_dangling_resource_equality", "tests/unit/r...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Switch to Botocore data loader. This pull request changes Boto 3 to use the Botocore data loader for loading resource JSON description files instead of the custom loading logic that was in place. As a...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-9
9
boto/boto3
null
f0c07a858001ff38a1992d62bad589667ee49cd3
2014-10-28T22:41:45Z
diff --git a/boto3/data/resources/sqs-2012-11-05.resources.json b/boto3/data/resources/sqs-2012-11-05.resources.json index 08ebcb3b53..212ae1b0f7 100644 --- a/boto3/data/resources/sqs-2012-11-05.resources.json +++ b/boto3/data/resources/sqs-2012-11-05.resources.json @@ -169,16 +169,6 @@ ] } ...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index e9c2c38e3e..665c23950e 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -432,6 +432,7 @@ def test_resource_lazy_properties_missing_load(self, action_cls): def test_resource_...
diff --git a/boto3/data/resources/sqs-2012-11-05.resources.json b/boto3/data/resources/sqs-2012-11-05.resources.json index 08ebcb3b53..212ae1b0f7 100644 --- a/boto3/data/resources/sqs-2012-11-05.resources.json +++ b/boto3/data/resources/sqs-2012-11-05.resources.json @@ -169,16 +169,6 @@ ] } ...
[ { "components": [ { "doc": "Get a list of reverse reference resources. E.g. an S3 object has\na ``bucket_name`` identifier that can be used to instantiate a\nbucket resource instance.", "lines": [ 304, 343 ], "name": "ResourceModel.reverse_references", ...
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_resource_loads_references", "tests/unit/resources/test_model.py::TestModels::test_reverse_reference" ]
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_resource_calls_load", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_service_calls_load", "tests/unit/resources/t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add implicit reverse references. This pull request adds support for resources to reference their parents, for example: ``` python obj = s3.Object('boto3', 'sun.jpg') print(obj.bucket.name) ``` This ...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-8
8
boto/boto3
null
9e6bc37d2fb8acd8ee0d779f72276ca268f3e867
2014-10-23T20:09:50Z
diff --git a/boto3/resources/factory.py b/boto3/resources/factory.py index 8dc143fb93..8f5595bc5f 100644 --- a/boto3/resources/factory.py +++ b/boto3/resources/factory.py @@ -21,6 +21,7 @@ from .base import ServiceResource from .collection import CollectionManager from .model import ResourceModel +from .response imp...
diff --git a/tests/unit/resources/test_factory.py b/tests/unit/resources/test_factory.py index 89315ecd45..e9c2c38e3e 100644 --- a/tests/unit/resources/test_factory.py +++ b/tests/unit/resources/test_factory.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language govern...
[ { "components": [ { "doc": "Load references, which are related resource instances. For example,\nan EC2 instance would have a ``vpc`` reference, which is an instance\nof an EC2 VPC resource.", "lines": [ 255, 267 ], "name": "ResourceFactory._load_referen...
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_resource_loads_references", "tests/unit/resources/test_model.py::TestModels::test_resource_references" ]
[ "tests/unit/resources/test_factory.py::TestResourceFactory::test_can_instantiate_service_resource", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_resource_calls_load", "tests/unit/resources/test_factory.py::TestResourceFactory::test_create_service_calls_load", "tests/unit/resources/t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add references to resources. This change exposes `hasOne` and `hasSome` references on resources, such as an EC2 `instance.subnet` or `instance.vpc`. Both the subnet and VPC are resource instances that...
196a2da7490a1a661a0103b8770bd31e34e147f2
boto__boto3-7
7
boto/boto3
null
e47ef425ec8c32538c36c7b6ea417f2327050ba4
2014-10-22T23:04:00Z
diff --git a/boto3/resources/action.py b/boto3/resources/action.py index a4fd7252e8..22291c24d4 100644 --- a/boto3/resources/action.py +++ b/boto3/resources/action.py @@ -29,8 +29,8 @@ class ServiceAction(object): The action may construct parameters from existing resource identifiers and may return either a r...
diff --git a/tests/unit/resources/test_action.py b/tests/unit/resources/test_action.py index 5ba82a1ef6..05b6322edb 100644 --- a/tests/unit/resources/test_action.py +++ b/tests/unit/resources/test_action.py @@ -12,6 +12,7 @@ # language governing permissions and limitations under the License. from boto3.resources.ac...
diff --git a/docs/source/reference/core/resources.rst b/docs/source/reference/core/resources.rst index 4fc0cea325..f868487f02 100644 --- a/docs/source/reference/core/resources.rst +++ b/docs/source/reference/core/resources.rst @@ -4,6 +4,13 @@ Resources Reference =================== +Resource Model +-------------- ...
[ { "components": [ { "doc": "A resource identifier, given by its name.\n\n:type name: string\n:param name: The name of the identifier", "lines": [ 27, 36 ], "name": "Identifier", "signature": "class Identifier(object):", "type": "class" ...
[ "tests/unit/resources/test_action.py::TestServiceActionCall::test_service_action_calls_operation", "tests/unit/resources/test_action.py::TestServiceActionCall::test_service_action_calls_raw_handler", "tests/unit/resources/test_action.py::TestServiceActionCall::test_service_action_calls_resource_handler", "tes...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add a resource model abstraction. This change adds an abstraction over the raw JSON resource descriptions, similar to how Botocore has a `ServiceModel` which abstracts its JSON service descriptions. A...
196a2da7490a1a661a0103b8770bd31e34e147f2
falconry__falcon-329
329
falconry/falcon
null
22ae1fa1e15b3d6630386f1e76783f1c0450edf5
2014-10-06T10:28:00Z
diff --git a/falcon/api.py b/falcon/api.py index 122ddfca8..2ac328103 100644 --- a/falcon/api.py +++ b/falcon/api.py @@ -41,6 +41,21 @@ class API(object): after (callable, optional): A global action hook (or list of hooks) to call after each on_* responder, for all resources. Similar to ...
diff --git a/tests/test_middlewares.py b/tests/test_middlewares.py new file mode 100644 index 000000000..6591d6115 --- /dev/null +++ b/tests/test_middlewares.py @@ -0,0 +1,294 @@ +import falcon +import falcon.testing as testing +from datetime import datetime + +context = {'executed_methods': []} + + +class RequestTimeM...
[ { "components": [ { "doc": "Runs the process_request middleware and tracks", "lines": [ 418, 427 ], "name": "API._call_req_mw", "signature": "def _call_req_mw(self, stack_mw, req, resp, params):", "type": "function" }, { ...
[ "tests/test_middlewares.py::TestRequestTimeMiddleware::test_add_invalid_middleware", "tests/test_middlewares.py::TestRequestTimeMiddleware::test_log_get_request", "tests/test_middlewares.py::TestRequestTimeMiddleware::test_response_middleware_raises_exception", "tests/test_middlewares.py::TestTransactionIdMid...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(API): Add middlewares to falcon API Currently falcon provides hooks as a way to add logic to all "routed" requests. With this approach it's not possible to execute code when a request is not rout...
77d5e6394a88ead151c9469494749f95f06b24bf
falconry__falcon-285
285
falconry/falcon
null
040cea7564c6bfc293a2a2f9638a76fe1b030fcc
2014-06-30T16:51:38Z
diff --git a/falcon/api.py b/falcon/api.py index 02abc71b2..61bb7375b 100644 --- a/falcon/api.py +++ b/falcon/api.py @@ -88,7 +88,7 @@ def __call__(self, env, start_response): req = self._request_type(env) resp = self._response_type() - responder, params = self._get_responder( + respon...
diff --git a/tests/test_after_hooks.py b/tests/test_after_hooks.py index d64c8965b..0f89c6584 100644 --- a/tests/test_after_hooks.py +++ b/tests/test_after_hooks.py @@ -143,6 +143,12 @@ def on_options(self, req, resp): resp.status = falcon.HTTP_501 +class FaultyResource(object): + + def on_get(self, req...
[ { "components": [ { "doc": "Executes each of the global \"after\" hooks, in turn.", "lines": [ 331, 343 ], "name": "API._call_after_hooks", "signature": "def _call_after_hooks(self, req, resp, resource):", "type": "function" } ]...
[ "tests/test_after_hooks.py::TestHooks::test_global_after_hooks_run_after_exception" ]
[ "tests/test_after_hooks.py::TestHooks::test_customized_options", "tests/test_after_hooks.py::TestHooks::test_global_hook", "tests/test_after_hooks.py::TestHooks::test_global_hook_is_resource_aware", "tests/test_after_hooks.py::TestHooks::test_global_hook_wrap_default_405", "tests/test_after_hooks.py::TestHo...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(hooks): Run global "after" hooks even when an exception is raised ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<...
Here is the discussion in the issues of the pull request. <issues> Run "after" hooks even when an error is raised I suspect that most "after" hooks are used for formatting response bodies to fit a specific API structure. In my case, this also applies to any exceptions raised, so it would be helpful to have the "after"...
77d5e6394a88ead151c9469494749f95f06b24bf
sympy__sympy-2622
2,622
sympy/sympy
0.7
5e822eff91d14c188a3b50f9ead44c170432b9fc
2013-11-22T11:16:45Z
diff --git a/sympy/matrices/dense.py b/sympy/matrices/dense.py index 066c120fb4e9..6c767105af90 100644 --- a/sympy/matrices/dense.py +++ b/sympy/matrices/dense.py @@ -68,16 +68,28 @@ def __getitem__(self, key): >>> m[::2] [1, 3] """ - if type(key) is tuple: + if isinstance(key, ...
diff --git a/sympy/matrices/tests/test_matrices.py b/sympy/matrices/tests/test_matrices.py index c44561a41375..aa0bb46e7097 100644 --- a/sympy/matrices/tests/test_matrices.py +++ b/sympy/matrices/tests/test_matrices.py @@ -62,6 +62,50 @@ def test_addition(): assert a + b == a.add(b) == Matrix([[2, 4], [6, 1]]) ...
[ { "components": [ { "doc": "", "lines": [ 506, 535 ], "name": "SparseMatrix.extract", "signature": "def extract(self, rowsList, colsList):", "type": "function" } ], "file": "sympy/matrices/sparse.py" } ]
[ "test_fancy_index_matrix" ]
[ "test_args", "test_division", "test_sum", "test_addition", "test_multiplication", "test_power", "test_creation", "test_tolist", "test_as_mutable", "test_determinant", "test_det_LU_decomposition", "test_berkowitz_minors", "test_submatrix", "test_submatrix_assignment", "test_extract", "t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Issue 3656: Implementation of fancy indexing in matrix ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2616
2,616
sympy/sympy
0.7
ced4df31693f33d4ee9df4a569c77f59745e17c6
2013-11-20T10:58:43Z
diff --git a/sympy/series/order.py b/sympy/series/order.py index a981f487f1f4..7b99f639c6a9 100644 --- a/sympy/series/order.py +++ b/sympy/series/order.py @@ -281,6 +281,12 @@ def contains(self, expr): obj = Order(expr, *newargs) return self.contains(obj) + def __contains__(self, other): + ...
diff --git a/sympy/series/tests/test_order.py b/sympy/series/tests/test_order.py index bd1b2dc03ba8..32ea8ab9c6ef 100644 --- a/sympy/series/tests/test_order.py +++ b/sympy/series/tests/test_order.py @@ -123,6 +123,12 @@ def test_contains_3(): assert Order(x**2*y).contains(Order(x*y**2)) is None +def test_conta...
[ { "components": [ { "doc": "", "lines": [ 284, 288 ], "name": "Order.__contains__", "signature": "def __contains__(self, other):", "type": "function" } ], "file": "sympy/series/order.py" } ]
[ "test_contains" ]
[ "test_caching_bug", "test_simple_1", "test_simple_2", "test_simple_3", "test_simple_4", "test_simple_5", "test_simple_6", "test_simple_7", "test_simple_8", "test_as_expr_variables", "test_contains_0", "test_contains_1", "test_contains_2", "test_contains_3", "test_add_1", "test_ln_args"...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement membership test operator (method __contains__) for Order, just like Set ---------- </request> There are several new functions or classes that need to be implemented, using the definitions...
3555a90ee3ac3c7082df19d96a922630100c69cc
falconry__falcon-202
202
falconry/falcon
null
4961e6a1d22d9649feb8cb0ce7b2a99e38898c3c
2013-11-14T23:11:14Z
diff --git a/falcon/api.py b/falcon/api.py index 14acadd5a..14666e2ab 100644 --- a/falcon/api.py +++ b/falcon/api.py @@ -34,8 +34,8 @@ class API(object): """ - __slots__ = ('_after', '_before', '_media_type', '_routes', - '_default_route') + __slots__ = ('_after', '_before', '_error_handl...
diff --git a/falcon/tests/test_error_handlers.py b/falcon/tests/test_error_handlers.py new file mode 100644 index 000000000..b9712de34 --- /dev/null +++ b/falcon/tests/test_error_handlers.py @@ -0,0 +1,72 @@ +import falcon +import falcon.testing as testing + + +def capture_error(e, req, resp, params): + resp.status ...
[ { "components": [ { "doc": "Adds a handler for a given exception type\n\nArgs:\n exception: Whenever an exception occurs when handling a request\n that is an instance of this exception class, the given handler\n callable will be used to handle the exception.\n handler: Callable...
[ "falcon/tests/test_error_handlers.py::TestErrorHandler::test_caught_error", "falcon/tests/test_error_handlers.py::TestErrorHandler::test_error_order", "falcon/tests/test_error_handlers.py::TestErrorHandler::test_subclass_error", "falcon/tests/test_error_handlers.py::TestErrorHandler::test_uncaught_error" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(api): Adds an Exception Handler Mechanism An attempt at implementing #55. This currently fails the flake8 tests due to too much complexity in `falcon.api.API.__call__()`. How to use: ``` python...
77d5e6394a88ead151c9469494749f95f06b24bf
sympy__sympy-2577
2,577
sympy/sympy
0.7
a0e62084297c9427d75c9fd06e57f79e68147520
2013-11-09T13:34:00Z
diff --git a/sympy/functions/__init__.py b/sympy/functions/__init__.py index a4c872fee964..cb995f00d727 100644 --- a/sympy/functions/__init__.py +++ b/sympy/functions/__init__.py @@ -10,7 +10,7 @@ from sympy.functions.combinatorial.numbers import (fibonacci, lucas, harmonic, bernoulli, bell, euler, catalan) ...
diff --git a/sympy/functions/elementary/tests/test_miscellaneous.py b/sympy/functions/elementary/tests/test_miscellaneous.py index b217151aa454..c4099431a005 100644 --- a/sympy/functions/elementary/tests/test_miscellaneous.py +++ b/sympy/functions/elementary/tests/test_miscellaneous.py @@ -1,7 +1,7 @@ from sympy.core....
[ { "components": [ { "doc": "This function computes the principial cube root of `arg`, so\nit's just a shortcut for `arg**Rational(1, 3)`.\n\nExamples\n========\n\n>>> from sympy import cbrt, Symbol\n>>> x = Symbol('x')\n\n>>> cbrt(x)\nx**(1/3)\n\n>>> cbrt(x)**3\nx\n\nNote that cbrt(x**3) does not ...
[ "test_Min", "test_Max", "test_root" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Issue 4071: add cbrt function http://code.google.com/p/sympy/issues/detail?id=4071 ---------- </request> There are several new functions or classes that need to be implemented, using the definition...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2571
2,571
sympy/sympy
0.7
a5c88ab56e4ca06c3a1e83e1503a53c121cb42d1
2013-11-04T02:33:36Z
diff --git a/sympy/matrices/matrices.py b/sympy/matrices/matrices.py index ab16975bc0f8..690996b6986b 100644 --- a/sympy/matrices/matrices.py +++ b/sympy/matrices/matrices.py @@ -6,7 +6,7 @@ from sympy.core.expr import Expr from sympy.core.function import count_ops from sympy.core.power import Pow -from sympy.core.s...
diff --git a/sympy/matrices/tests/test_matrices.py b/sympy/matrices/tests/test_matrices.py index 5f000b087e18..33cb0c325380 100644 --- a/sympy/matrices/tests/test_matrices.py +++ b/sympy/matrices/tests/test_matrices.py @@ -13,7 +13,7 @@ rot_axis3, wronskian, zeros) from sympy.core.compatibility import long from ...
[ { "components": [ { "doc": "Calculate the Moore-Penrose pseudoinverse of the matrix.\n\nThe Moore-Penrose pseudoinverse exists and is unique for any matrix.\nIf the matrix is invertible, the pseudoinverse is the same as the\ninverse.\n\nExamples\n========\n\n>>> from sympy import Matrix\n>>> Matri...
[ "test_pinv_solve" ]
[ "test_args", "test_division", "test_sum", "test_addition", "test_multiplication", "test_power", "test_creation", "test_tolist", "test_as_mutable", "test_determinant", "test_det_LU_decomposition", "test_berkowitz_minors", "test_submatrix", "test_submatrix_assignment", "test_extract", "t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Matrices: partial implementation of the Moore-Penrose pseudoinverse. Added two methods: one to calculate the pseudoinverse, and another to apply it in the solution of Ax = B. The pseudoinverse calcul...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2556
2,556
sympy/sympy
0.7
3c450eee18dfe7bb97dfa5ef35a6db3e47e337eb
2013-10-28T20:36:57Z
diff --git a/sympy/printing/ccode.py b/sympy/printing/ccode.py index 0417d8325452..8e34538a63c5 100644 --- a/sympy/printing/ccode.py +++ b/sympy/printing/ccode.py @@ -15,7 +15,6 @@ from sympy.core.compatibility import string_types from sympy.printing.codeprinter import CodePrinter from sympy.printing.precedence impo...
diff --git a/sympy/printing/tests/test_fcode.py b/sympy/printing/tests/test_fcode.py index 96cb01b21e03..bb9a69570965 100644 --- a/sympy/printing/tests/test_fcode.py +++ b/sympy/printing/tests/test_fcode.py @@ -3,6 +3,8 @@ from sympy import Catalan, EulerGamma, E, GoldenRatio, I, pi from sympy import Function, Ration...
[ { "components": [ { "doc": "", "lines": [ 154, 157 ], "name": "CodePrinter._print_And", "signature": "def _print_And(self, expr):", "type": "function" }, { "doc": "", "lines": [ 159, 162 ...
[ "test_fcode_precedence", "test_fcode_Logical", "test_fcode_Xlogical", "test_fcode_Relational" ]
[ "test_printmethod", "test_fcode_Pow", "test_fcode_Rational", "test_fcode_Integer", "test_fcode_Float", "test_fcode_functions", "test_fcode_functions_with_integers", "test_fcode_NumberSymbol", "test_fcode_complex", "test_implicit", "test_not_fortran", "test_user_functions", "test_inline_funct...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Fortran code printing of logical and relational operators. Generalize the code printing of logical operators (And, Or, Not) and relational operators (==, !=, >=, etc.) to make them customizable by ove...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2551
2,551
sympy/sympy
0.7
8180bc8757fc43d17603f0e82148a4d0115d3e44
2013-10-26T18:16:31Z
diff --git a/AUTHORS b/AUTHORS index d847dced8f2f..a4dd96467161 100644 --- a/AUTHORS +++ b/AUTHORS @@ -290,6 +290,6 @@ Alkiviadis G. Akritas <akritas@uth.gr> Vinit Ravishankar <vinit.ravishankar@gmail.com> Mike Boyle <boyle@astro.cornell.edu> Heiner Kirchhoffer <Heiner.Kirchhoffer@gmail.com> -Pablo Puente <ppuedom@y...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 96b4c0edba53..d91d1c70fb4b 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1153,6 +1153,9 @@ def test_sympy__functions__elementary__piecewise__Piecewise(): def test_sympy__functions__elementary__trigonom...
diff --git a/AUTHORS b/AUTHORS index d847dced8f2f..a4dd96467161 100644 --- a/AUTHORS +++ b/AUTHORS @@ -290,6 +290,6 @@ Alkiviadis G. Akritas <akritas@uth.gr> Vinit Ravishankar <vinit.ravishankar@gmail.com> Mike Boyle <boyle@astro.cornell.edu> Heiner Kirchhoffer <Heiner.Kirchhoffer@gmail.com> -Pablo Puente <ppuedom@y...
[ { "components": [ { "doc": "Base class for reciprocal functions of trigonometric functions. ", "lines": [ 717, 819 ], "name": "ReciprocalTrigonometricFunction", "signature": "class ReciprocalTrigonometricFunction(TrigonometricFunction):", ...
[ "test_sec", "test_csc" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__combinatorics__subsets__Subset", "test_sympy__combinatorics__polyhedron__Polyhedron", "test_sympy__combinatorics__partitions__Partition", "test_sympy__concrete__...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> issue 1475: Add missing functions to sec() and csc() Previous implementation of csc() and sec() was missing most of the methods required to work with simplify(), eval(), rewrite(), series(). This imp...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2505
2,505
sympy/sympy
0.7
5e2ea80aedee445852fe075e1122488ac90d7fe0
2013-10-04T21:17:16Z
diff --git a/sympy/functions/special/error_functions.py b/sympy/functions/special/error_functions.py index c42bacce75b6..ded0fd3b2b07 100644 --- a/sympy/functions/special/error_functions.py +++ b/sympy/functions/special/error_functions.py @@ -1239,6 +1239,17 @@ def _eval_rewrite_as_Si(self, nu, z): _eval_rewrite_a...
diff --git a/sympy/functions/special/tests/test_error_functions.py b/sympy/functions/special/tests/test_error_functions.py index c8f650188a09..dbaba3746b3e 100644 --- a/sympy/functions/special/tests/test_error_functions.py +++ b/sympy/functions/special/tests/test_error_functions.py @@ -377,6 +377,17 @@ def test_expint(...
[ { "components": [ { "doc": "", "lines": [ 1242, 1251 ], "name": "expint._eval_nseries", "signature": "def _eval_nseries(self, x, n, logx):", "type": "function" } ], "file": "sympy/functions/special/error_functions.py" } ]
[ "test_expint" ]
[ "test_erf", "test_erf_series", "test_erf_evalf", "test__erfs", "test_erfc", "test_erfc_series", "test_erfc_evalf", "test_erfi", "test_erfi_series", "test_erfi_evalf", "test_erf2", "test_erfinv", "test_erfinv_evalf", "test_erfcinv", "test_erf2inv", "test_ei", "test__eis", "test_li",...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement missing series methods for exponential integrals (first part of the issue 2958) http://code.google.com/p/sympy/issues/detail?id=2958 ---------- </request> There are several new functions ...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2453
2,453
sympy/sympy
0.7
e96d4a8fc195987f158e1741fdc78815c380c1f1
2013-09-12T20:05:45Z
diff --git a/sympy/physics/mechanics/functions.py b/sympy/physics/mechanics/functions.py index 4a06a496531b..2704defd9915 100644 --- a/sympy/physics/mechanics/functions.py +++ b/sympy/physics/mechanics/functions.py @@ -12,6 +12,7 @@ 'mlatex', 'kinematic_equations', 'inertia_of_point_...
diff --git a/sympy/physics/mechanics/tests/test_functions.py b/sympy/physics/mechanics/tests/test_functions.py index 4b4435ce5d69..0660bfabc011 100644 --- a/sympy/physics/mechanics/tests/test_functions.py +++ b/sympy/physics/mechanics/tests/test_functions.py @@ -1,4 +1,4 @@ -from sympy import S, sin, cos, pi, sqrt, sym...
[ { "components": [ { "doc": "Calculates the three motion parameters - position, velocity and acceleration\nas vectorial functions of time in the given frame.\n\nIf a higher order order differential function is provided, the lower order\nfunctions are used as boundary conditions. The values of time ...
[ "test_dot", "test_dot_different_frames", "test_cross", "test_cross_different_frames", "test_operator_match", "test_express", "test_get_motion_methods", "test_inertia", "test_kin_eqs", "test_inertia_of_point_mass", "test_partial_velocity", "test_linear_momentum", "test_angular_momentum_and_li...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added get_motion_params function to mechanics core Added get_motion_params method to get accln, velocity and position as functions of time given a time-dependent vectorial function and boundary condit...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2431
2,431
sympy/sympy
0.7
8180bc8757fc43d17603f0e82148a4d0115d3e44
2013-09-02T06:38:52Z
diff --git a/doc/src/modules/calculus/index.rst b/doc/src/modules/calculus/index.rst new file mode 100644 index 000000000000..5ff24db89565 --- /dev/null +++ b/doc/src/modules/calculus/index.rst @@ -0,0 +1,5 @@ +======== +Calculus +======== + +.. automodule:: sympy.calculus diff --git a/doc/src/modules/index.rst b/doc/s...
diff --git a/sympy/calculus/tests/__init__.py b/sympy/calculus/tests/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sympy/calculus/tests/test_euler.py b/sympy/calculus/tests/test_euler.py new file mode 100644 index 000000000000..b44d06ba9fd3 --- /dev/null +++ b/sympy/calculus/tests/test_...
diff --git a/doc/src/modules/calculus/index.rst b/doc/src/modules/calculus/index.rst new file mode 100644 index 000000000000..5ff24db89565 --- /dev/null +++ b/doc/src/modules/calculus/index.rst @@ -0,0 +1,5 @@ +======== +Calculus +======== + +.. automodule:: sympy.calculus diff --git a/doc/src/modules/index.rst b/doc/s...
[ { "components": [ { "doc": "Find the Euler-Lagrange equations for a given Lagrangian.\n\nParameters\n==========\nL : Expr\n The Lagrangian that should be a function of the functions listed\n in the second argument and their first derivatives.\n\n For example, in the case of two functions ...
[ "test_euler_interface", "test_euler_pendulum", "test_euler_henonheiles", "test_euler_sineg" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Issue 3198: implement Euler-Lagrange equations ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There ...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2422
2,422
sympy/sympy
0.7
c4e3ddc4908eb71b75323995b10902a4bcad7630
2013-08-28T15:57:17Z
diff --git a/doc/src/modules/crypto.rst b/doc/src/modules/crypto.rst index 79163197b682..6af046326814 100644 --- a/doc/src/modules/crypto.rst +++ b/doc/src/modules/crypto.rst @@ -12,6 +12,7 @@ Included in this module are both block ciphers and stream ciphers. * RSA * Kid RSA * linear feedback shift registers (a s...
diff --git a/sympy/crypto/tests/test_crypto.py b/sympy/crypto/tests/test_crypto.py index f9f56a51bce9..a369194dcac4 100644 --- a/sympy/crypto/tests/test_crypto.py +++ b/sympy/crypto/tests/test_crypto.py @@ -8,8 +8,10 @@ decipher_kid_rsa, kid_rsa_private_key, kid_rsa_public_key, decipher_rsa, rsa_private_k...
diff --git a/doc/src/modules/crypto.rst b/doc/src/modules/crypto.rst index 79163197b682..6af046326814 100644 --- a/doc/src/modules/crypto.rst +++ b/doc/src/modules/crypto.rst @@ -12,6 +12,7 @@ Included in this module are both block ciphers and stream ciphers. * RSA * Kid RSA * linear feedback shift registers (a s...
[ { "components": [ { "doc": "Return three number tuple as private key.\n\nElgamal encryption is based on mathmatical problem\nDiscrete Logarithm Problem (DLP). For example,\n\n`a^{b} \\equiv c \\pmod p`\n\nIn general, if a and b are known, c is easily\ncalculated. If b is unknown, it is hard to use...
[ "test_alphabet_of_cipher", "test_cycle_list", "test_encipher_shift", "test_encipher_affine", "test_encipher_substitution", "test_encipher_vigenere", "test_decipher_vigenere", "test_encipher_hill", "test_decipher_hill", "test_encipher_bifid5", "test_bifid5_square", "test_decipher_bifid5", "te...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ElGamal encryption TODO: - [x] Detail algorithm in docstring - [x] Add more test case - [x] Use primitive_root in #2307 ---------- </request> There are several new functions or classes that need to...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2412
2,412
sympy/sympy
0.7
105bc84480bb77c757eb722f9ed7d1ca50178f96
2013-08-25T11:03:52Z
diff --git a/sympy/physics/mechanics/essential.py b/sympy/physics/mechanics/essential.py index 67c48c512df3..46e8e5b3c0b5 100644 --- a/sympy/physics/mechanics/essential.py +++ b/sympy/physics/mechanics/essential.py @@ -2,7 +2,7 @@ __all__ = ['ReferenceFrame', 'Vector', 'Dyadic', 'dynamicsymbols', 'Mechan...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 73cba10b55b3..bb0b1778b8be 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1968,6 +1968,11 @@ def test_sympy__matrices__expressions__factorizations__SofSVD(): def test_sympy__matrices__expressions__facto...
[ { "components": [ { "doc": "Class to represent the coordinate symbols associated wrt a Reference\nFrame\n\nUsers should not instantiate this class. Instances of this class must\nonly be accessed through the corresponding frame as 'frame[index]'\n\nExamples\n========\n\n>>> from sympy.physics.mecha...
[ "test_sympy__physics__mechanics__essential__CoordinateSym", "test_dyadic", "test_coordinate_vars", "test_ang_vel", "test_dcm", "test_Vector", "test_Vector_diffs", "test_vector_simplify", "test_dyadic_simplify" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__Predicate", "test_sympy__combinatorics__subsets__Subset", "test_sympy__combinatorics__polyhedron__Polyhedron", "test_sympy__combinatorics__partitions__Partition", "test_sympy__concrete__products__Product", "test_sympy__concrete__summations...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Modifying mechanics core Modified ReferenceFrame and Vector classes to incorporate coordinate variables. Base scalars are assigned to every ReferenceFrame. express, dt methods have been refactored (al...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2367
2,367
sympy/sympy
0.7
0ef741156ba8fc4d261d452301bf1753ef283730
2013-08-08T21:50:57Z
diff --git a/sympy/physics/quantum/circuitplot.py b/sympy/physics/quantum/circuitplot.py index f3b77fa433a9..ef67196b5178 100644 --- a/sympy/physics/quantum/circuitplot.py +++ b/sympy/physics/quantum/circuitplot.py @@ -19,7 +19,10 @@ from sympy import Mul from sympy.core.compatibility import u from sympy.external im...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index b95e1eb124aa..b8c9900ce75e 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -2262,7 +2262,6 @@ def test_sympy__physics__quantum__piab__PIABKet(): from sympy.physics.quantum.piab import PIABKet ass...
[ { "components": [ { "doc": "Slightly more flexible way to render labels.\n\n>>> from sympy.physics.quantum.circuitplot import render_label\n>>> render_label('q0')\n'$|q0\\\\rangle$'\n>>> render_label('q0', {'q0':'0'})\n'$|q0\\\\rangle=|0\\\\rangle$'", "lines": [ 309, 32...
[ "test_render_label", "test_Mz", "test_create1", "test_createc", "test_labeller", "test_qasm_readqasm", "test_qasm_ex1", "test_qasm_ex1_methodcalls", "test_qasm_swap", "test_qasm_ex2", "test_qasm_1q", "test_qasm_2q", "test_qasm_3q", "test_qasm_prod", "test_qasm_flip_index", "test_qasm_t...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__Predicate", "test_sympy__combinatorics__subsets__Subset", "test_sympy__combinatorics__polyhedron__Polyhedron", "test_sympy__combinatorics__partitions__Partition", "test_sympy__concrete__products__Product", "test_sympy__concrete__summations...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Pull request to integrate qasm parser This PR makes several changes centered around creating a circuit from the [qasm quantum circuit language](http://www.media.mit.edu/quanta/qasm2circ/). Examples of...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2363
2,363
sympy/sympy
0.7
0ef741156ba8fc4d261d452301bf1753ef283730
2013-08-08T15:22:22Z
diff --git a/sympy/polys/polyclasses.py b/sympy/polys/polyclasses.py index fd0f6c800cfa..95dba25db37b 100644 --- a/sympy/polys/polyclasses.py +++ b/sympy/polys/polyclasses.py @@ -504,7 +504,26 @@ def degree_list(f): def total_degree(f): """Returns the total degree of ``f``. """ - return max([sum(...
diff --git a/sympy/polys/tests/test_polytools.py b/sympy/polys/tests/test_polytools.py index 44e259e0e1f0..4b3f699e392c 100644 --- a/sympy/polys/tests/test_polytools.py +++ b/sympy/polys/tests/test_polytools.py @@ -1192,6 +1192,12 @@ def test_Poly_total_degree(): assert Poly(x**3 + x + 1).total_degree() == 3 +...
[ { "components": [ { "doc": "Return homogeneous polynomial of ``f``", "lines": [ 509, 526 ], "name": "DMP.homogenize", "signature": "def homogenize(f, s):", "type": "function" } ], "file": "sympy/polys/polyclasses.py" }, ...
[ "test_Poly_homogenize" ]
[ "test_Poly_from_dict", "test_Poly_from_list", "test_Poly_from_poly", "test_Poly_from_expr", "test_Poly__new__", "test_Poly__args", "test_Poly__gens", "test_Poly_zero", "test_Poly_one", "test_Poly__unify", "test_Poly_free_symbols", "test_PurePoly_free_symbols", "test_Poly__eq__", "test_Pure...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Homogeneous polynomial Convert a polynomial to homogeneous polynomial, modification including a new function and pyflakes. ---------- </request> There are several new functions or classes that need...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2355
2,355
sympy/sympy
0.7
e968bc7ab7d61413eab67bb662c5094ccd3f357f
2013-08-05T19:57:50Z
diff --git a/doc/src/modules/rewriting.rst b/doc/src/modules/rewriting.rst index 058d051a36bc..3318b0b08c77 100644 --- a/doc/src/modules/rewriting.rst +++ b/doc/src/modules/rewriting.rst @@ -84,9 +84,24 @@ in the ``cse`` function. Examples:: ⎝[(x₀, sin(x + 1) + cos(y))], ⎣╲╱ x₀ + 4 ⋅╲╱ x₀ + 5 ⎦⎠ >>> pprint(...
diff --git a/sympy/core/tests/test_expand.py b/sympy/core/tests/test_expand.py index 23051f04e36f..ab5829e3021f 100644 --- a/sympy/core/tests/test_expand.py +++ b/sympy/core/tests/test_expand.py @@ -133,12 +133,12 @@ def test_expand_frac(): def test_issue_3022(): eq = -I*exp(-3*I*pi/4)/(4*pi**(S(3)/2)*sqrt(x)) ...
diff --git a/doc/src/modules/rewriting.rst b/doc/src/modules/rewriting.rst index 058d051a36bc..3318b0b08c77 100644 --- a/doc/src/modules/rewriting.rst +++ b/doc/src/modules/rewriting.rst @@ -84,9 +84,24 @@ in the ``cse`` function. Examples:: ⎝[(x₀, sin(x + 1) + cos(y))], ⎣╲╱ x₀ + 4 ⋅╲╱ x₀ + 5 ⎦⎠ >>> pprint(...
[ { "components": [ { "doc": "Find optimization opportunities in Adds, Muls, Pows and negative\ncoefficient Muls\n\nParameters\n----------\nexprs : list of sympy expressions\n The expressions to optimize.\norder : string, 'none' or 'canonical'\n The order by which Mul and Add arguments are pro...
[ "test_issue_3022", "test_issue_3460", "test_multiple_expressions", "test_bypass_non_commutatives", "test_issues_1399", "test_issue_921", "test_issue_3164", "test_pow_invpow", "test_postprocess", "test_issue1400" ]
[ "test_expand_no_log", "test_expand_no_multinomial", "test_expand_negative_integer_powers", "test_expand_non_commutative", "test_expand_radicals", "test_expand_modulus", "test_issue_2644", "test_expand_frac", "test_expand_power_base", "test_expand_arit", "test_power_expand", "test_issues_2820_3...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Faster CSE Here is a proposal for a faster CSE. For small expressions the CSE computation time is the same, but there is a huge improvement on large expressions, e.g., http://nbviewer.ipython.org/598...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2340
2,340
sympy/sympy
0.7
92777896edfe8c30d8bb634ab316727c3a2485f5
2013-07-30T13:33:18Z
diff --git a/sympy/core/sets.py b/sympy/core/sets.py index 33be2bd71398..0ae429038481 100644 --- a/sympy/core/sets.py +++ b/sympy/core/sets.py @@ -228,6 +228,38 @@ def measure(self): """ return self._measure + def transform(self, *args): + """ Image of set under transformation ``f`` + + ...
diff --git a/sympy/core/tests/test_sets.py b/sympy/core/tests/test_sets.py index 66441286c2ba..272a790971ad 100644 --- a/sympy/core/tests/test_sets.py +++ b/sympy/core/tests/test_sets.py @@ -501,3 +501,33 @@ def test_universalset(): def test_Interval_free_symbols(): x = Symbol('x', real=True) assert set(Inte...
[ { "components": [ { "doc": "Image of set under transformation ``f``\n\n.. math::\n { f(x) | x \\in self }\n\nExamples\n========\n\n>>> from sympy import Interval, Symbol\n>>> x = Symbol('x')\n\n>>> Interval(0, 2).transform(x, 2*x)\n[0, 4]\n\n>>> Interval(0, 2).transform(lambda x: 2*x)\n[0, 4]\n...
[ "test_transform_interval", "test_transform_FiniteSet", "test_transform_Union", "test_transform_Intersection", "test_Min", "test_Max", "test_transform_is_TransformationSet" ]
[ "test_interval_arguments", "test_interval_symbolic_end_points", "test_union", "test_difference", "test_complement", "test_intersect", "test_intersection", "test_interval_subs", "test_interval_to_mpi", "test_measure", "test_subset", "test_contains", "test_interval_symbolic", "test_union_con...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Transform set Adds `transform` method to sets in the style of `union`, and `complement`. Adds methods for Union, Intersection, Interval, FiniteSet and defaults to the construction of a Transformati...
3555a90ee3ac3c7082df19d96a922630100c69cc
sympy__sympy-2327
2,327
sympy/sympy
0.7
6da418e1c87606c3ae16ea52c0754b9f59ddfa75
2013-07-26T09:48:50Z
diff --git a/sympy/functions/special/elliptic_integrals.py b/sympy/functions/special/elliptic_integrals.py index 82933f40f17c..034a0cfab7a8 100644 --- a/sympy/functions/special/elliptic_integrals.py +++ b/sympy/functions/special/elliptic_integrals.py @@ -32,6 +32,8 @@ class elliptic_k(Function): pi/2 >>> elli...
diff --git a/sympy/functions/special/tests/test_elliptic_integrals.py b/sympy/functions/special/tests/test_elliptic_integrals.py index 5bb0b1897186..4580f14245c5 100644 --- a/sympy/functions/special/tests/test_elliptic_integrals.py +++ b/sympy/functions/special/tests/test_elliptic_integrals.py @@ -1,5 +1,5 @@ from sym...
[ { "components": [ { "doc": "", "lines": [ 75, 77 ], "name": "elliptic_k._eval_nseries", "signature": "def _eval_nseries(self, x, n, logx):", "type": "function" }, { "doc": "", "lines": [ 238, ...
[ "test_K", "test_E", "test_hyperexpand_special" ]
[ "test_F", "test_branch_bug", "test_hyperexpand", "test_roach", "test_polynomial", "test_hyperexpand_bases", "test_hyperexpand_parametric", "test_shifted_sum", "test_formulae", "test_meijerg_formulae", "test_plan", "test_plan_derivatives", "test_reduction_operators", "test_shift_operators",...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement series expansion for elliptic_e(z) and elliptic_k(z) This pull also adds auto evaluation: hyper([a1,..,ap], [b1,..,bq], 0) = 1, see [this](http://functions.wolfram.com/HypergeometricFunction...
3555a90ee3ac3c7082df19d96a922630100c69cc