instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
mdolab__baseclasses-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "baseclasses/utils.py:CaseInsensitiveDict.__repr__", "baseclasses/utils.py:CaseInsensitiveSet.__repr__" ], "edited_modules": [ "baseclasses/utils.py:CaseInsensitiveDict", ...
mdolab/baseclasses
df6d61b78d13d1ad792c6fedab0a82fa100a3dc0
CaseInsensitive containers do not work with pprint ## Description The `CaseInsensitive` containers are not properly formatted when printed with `pprint`. This bug was introduced with the ABC implementation in #51. I realized this because the ADflow options dictionary is now printed in one massive line instead of havin...
diff --git a/baseclasses/utils.py b/baseclasses/utils.py index 61a8044..598b6fb 100644 --- a/baseclasses/utils.py +++ b/baseclasses/utils.py @@ -1,5 +1,6 @@ from collections.abc import MutableMapping, MutableSet from typing import Any, Dict, Optional +from pprint import pformat class CaseInsensitiveDict(MutableM...
mdowds__python-mock-firestore-28
[ { "changes": { "added_entities": [ "mockfirestore/document.py:DocumentSnapshot.get" ], "added_modules": null, "edited_entities": [ "mockfirestore/document.py:DocumentSnapshot._get_by_field_path" ], "edited_modules": [ "mockfirestore/document.py:Documen...
mdowds/python-mock-firestore
3fe61b53ad0972d12ffc17e0bd22d262ec361789
DocumentSnapshot.get() missing The DocumentSnapshot has a get function, which seems to be missing here. Large sections of our source code uses the get function. It would be great if this could be added.
diff --git a/mockfirestore/document.py b/mockfirestore/document.py index 24c8a68..ccd3ba7 100644 --- a/mockfirestore/document.py +++ b/mockfirestore/document.py @@ -27,9 +27,15 @@ class DocumentSnapshot: timestamp = Timestamp.from_now() return timestamp + def get(self, field_path: str) -> Any: + ...
mdowds__python-mock-firestore-32
[ { "changes": { "added_entities": [ "mockfirestore/document.py:DocumentSnapshot.get" ], "added_modules": null, "edited_entities": [ "mockfirestore/document.py:DocumentSnapshot._get_by_field_path" ], "edited_modules": [ "mockfirestore/document.py:Documen...
mdowds/python-mock-firestore
3fe61b53ad0972d12ffc17e0bd22d262ec361789
Query._apply_cursor is not working for first element Hello, Got problem with `start_after` and after some digging I found that `Query._apply_cursor` is not working properly when first doc is passed. Let's take a look at problematic fragment: ``` for idx, doc in enumerate(doc_snapshot): inde...
diff --git a/mockfirestore/document.py b/mockfirestore/document.py index 24c8a68..ccd3ba7 100644 --- a/mockfirestore/document.py +++ b/mockfirestore/document.py @@ -27,9 +27,15 @@ class DocumentSnapshot: timestamp = Timestamp.from_now() return timestamp + def get(self, field_path: str) -> Any: + ...
mdowds__python-mock-firestore-34
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mockfirestore/query.py:Query._apply_cursor" ], "edited_modules": [ "mockfirestore/query.py:Query" ] }, "file": "mockfirestore/query.py" } ]
mdowds/python-mock-firestore
2e1ebb817ba98a5e34700940bdc285bf4c318662
Query._apply_cursor is not working for similar objects Following test will fail: ``` def test_collection_start_after_similar_objects(self): fs = MockFirestore() fs._data = {'foo': { 'first': {'id': 1, 'value': 1}, 'second': {'id': 2, 'value': 2}, 'third': {...
diff --git a/mockfirestore/query.py b/mockfirestore/query.py index 354df4b..2e94f07 100644 --- a/mockfirestore/query.py +++ b/mockfirestore/query.py @@ -103,6 +103,7 @@ class Query: index = idx else: index = None + break if index...
mdowds__python-mock-firestore-44
[ { "changes": { "added_entities": [ "mockfirestore/client.py:MockFirestore.collections" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "mockfirestore/client.py:MockFirestore" ] }, "file": "mockfirestore/client.py" }, { "c...
mdowds/python-mock-firestore
d45d09d94c28ea0fa2a6840c48ba2f965be8d2b7
`!=` operator is not supported in queries Firestore supports `!=` operators now: https://firebase.google.com/docs/firestore/query-data/queries#query_operators I get the following error (which goes away if I use the `==` operator instead). ``` doc_snapshots = [doc_snapshot for doc_snapshot in doc_snapshots > ...
diff --git a/README.md b/README.md index f4a7906..ea92013 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ mock_db.reset() mock_db = MockFirestore() # Collections +mock_db.collections() mock_db.collection('users') mock_db.collection('users').get() mock_db.collection('users').list_documents() diff --git a...
mdowds__python-mock-firestore-47
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mockfirestore/_helpers.py:get_by_path", "mockfirestore/_helpers.py:set_by_path" ], "edited_modules": [ "mockfirestore/_helpers.py:get_by_path", "mockfirestore/_helper...
mdowds/python-mock-firestore
d45d09d94c28ea0fa2a6840c48ba2f965be8d2b7
Updating fields for nested objects (dot notation) does not work Updating using the dot notation should update the nested field value ```python frank_ref = db.collection("users").document("frank") frank_ref.set( { "name": "Frank", "favorites": {"food": "Pizza", "color": "Blue", "subject": "Re...
diff --git a/README.md b/README.md index f4a7906..42dba75 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ mock_db.reset() mock_db = MockFirestore() # Collections +mock_db.collections() mock_db.collection('users') mock_db.collection('users').get() mock_db.collection('users').list_documents() @@ -52,6 +53...
mdowds__python-mock-firestore-6
[ { "changes": { "added_entities": [ "mockfirestore/main.py:DocumentReference.id", "mockfirestore/main.py:DocumentReference.delete", "mockfirestore/main.py:CollectionReference.list_documents", "mockfirestore/main.py:delete_by_path", "mockfirestore/main.py:generate_ran...
mdowds/python-mock-firestore
590a1684c7c073879d74240685fe5a304afacfdd
Deleting documents Hello again! I also noticed that the delete() function for `DocumentReference` wasn't added. I added the following to `main.py` as a quick fix but would love to hear your thoughts: ``` def delete(self): get_by_path(self._data, self._path).clear() ``` I also tried: ``` def ...
diff --git a/mockfirestore/main.py b/mockfirestore/main.py index b660af3..f028129 100644 --- a/mockfirestore/main.py +++ b/mockfirestore/main.py @@ -1,4 +1,6 @@ import operator +import random +import string from collections import OrderedDict from functools import reduce from itertools import islice @@ -28,11 +30,2...
medialab__casanova-62
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "casanova/namedrecord.py:namedrecord" ], "edited_modules": [ "casanova/namedrecord.py:namedrecord" ] }, "file": "casanova/namedrecord.py" } ]
medialab/casanova
443521862cb9b0dcc631f3d631735f30b65149cc
namedrecord plural fields should accept arbitrary iterables
diff --git a/casanova/namedrecord.py b/casanova/namedrecord.py index 7a1157f..bbe16e2 100644 --- a/casanova/namedrecord.py +++ b/casanova/namedrecord.py @@ -6,6 +6,7 @@ # from json import dumps from collections import OrderedDict +from collections.abc import Iterable from casanova._namedtuple import future_namedt...
medley56__space_packet_parser-107
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "space_packet_parser/definitions.py:UnrecognizedPacketTypeError.__init__", "space_packet_parser/definitions.py:XtcePacketDefinition._parse_header", "space_packet_parser/definitions.py:Xtc...
medley56/space_packet_parser
db14eda110af2441cc55ab1aa39dcecd283fc6f8
Avoid reading the header twice during packet parsing I was actually wondering about this check and whether we could avoid reading the first 7 items in the container definition and rely on the CCSDS header being correct. That way we could start the Packet class right away when we are doing the header above and then cont...
diff --git a/docs/source/changelog.md b/docs/source/changelog.md index c398afd..255f79c 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -8,6 +8,14 @@ Release notes for the `space_packet_parser` library ### v5.1.0 (unreleased) - BUGFIX: Fix kbps calculation in packet generator for showing progr...
medley56__space_packet_parser-115
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "space_packet_parser/definitions.py:XtcePacketDefinition.packet_generator" ], "edited_modules": [ "space_packet_parser/definitions.py:XtcePacketDefinition" ] }, "file": ...
medley56/space_packet_parser
aeeaad5c212eed20a68c581b0bd78f6e8eb69f7c
Add support for continuation packets # Context Continuation packets occur in CCSDS Packets when the data fields are too long for a single packet delivery, or if logically a team wants to break up the packets into smaller chunks. The packet data should be concatenated together when we encounter continuation packets i...
diff --git a/docs/source/changelog.md b/docs/source/changelog.md index 255f79c..9026bf6 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -16,6 +16,13 @@ Release notes for the `space_packet_parser` library streams as needed. - Add a ``ccsds_packet_generator()`` function that iterates through r...
medley56__space_packet_parser-63
[ { "changes": { "added_entities": [ "space_packet_parser/xtcedef.py:PacketData.read_as_bytes", "space_packet_parser/xtcedef.py:PacketData.read_as_int", "space_packet_parser/xtcedef.py:DataEncoding._calculate_size", "space_packet_parser/xtcedef.py:StringDataEncoding._calculat...
medley56/space_packet_parser
1568bf421ec997b52dec9c9568be15b3f76bcba7
Move Away from Bitstring Format Strings In all of our data encoding classes (e.g. `StringDataEncoding`), we have a standard interface method called `_get_format_string`, which returns a bitstring-style format string like "bytes:5" (for 5 bytes) or "uint:12" (for a 12-bit unsigned int). These were very convenient when a...
diff --git a/space_packet_parser/xtcedef.py b/space_packet_parser/xtcedef.py index c488ee1..1b18512 100644 --- a/space_packet_parser/xtcedef.py +++ b/space_packet_parser/xtcedef.py @@ -980,129 +980,47 @@ class PacketData: """The length of the full packet data object, in bits""" return self._nbits - ...
meejah__txtorcon-213
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "txtorcon/torcontrolprotocol.py:Event.got_update" ], "edited_modules": [ "txtorcon/torcontrolprotocol.py:Event" ] }, "file": "txtorcon/torcontrolprotocol.py" } ]
meejah/txtorcon
8139ebb8f48544121274aaa2892117f02862dc5f
What happens to an exception in event listener? If an event-handler for an event listener causes an exception, where does it end up going?
diff --git a/txtorcon/router.py b/txtorcon/router.py index 547c321..03b6163 100644 --- a/txtorcon/router.py +++ b/txtorcon/router.py @@ -200,8 +200,6 @@ class Router(object): ) returnValue(relay_data) - - # note that exit-policy is no longer included in the # microdescriptors by defaul...
meerk40t__svgelements-158
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "svgelements/svgelements.py:Text.property_by_values", "svgelements/svgelements.py:Image.render" ], "edited_modules": [ "svgelements/svgelements.py:Text", "svgelements/...
meerk40t/svgelements
57b8bda811b0b4112d1d47305f53ce43e82016e8
Parsing Inkscape text elements results in missing element IDs When trying to access text elements created in Inkscape, the parser does not get the element ids correctly. This might be due to ` id="text3785"><tspan` and a simple regular expression could solve the issue. ```py import svgelements # svgFileName = "p...
diff --git a/setup.cfg b/setup.cfg index 060baf4..ad41d40 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = svgelements -version = 1.6.5 +version = 1.6.6 description = Svg Elements Parsing long_description_content_type=text/markdown long_description = file: README.md diff --git a/svge...
meerk40t__svgelements-183
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "svgelements/svgelements.py:Arc.__init__", "svgelements/svgelements.py:SVG.parse" ], "edited_modules": [ "svgelements/svgelements.py:Arc", "svgelements/svgelements.py:...
meerk40t/svgelements
8faa1e1ac6c3d18f6756c9706106f32b3e7f71b0
Control Point Arc with Colinear Points Crashes in unhelpful way. An Arc with Colinear control points should be a line segment, this should crash with a better error than divide by zero.
diff --git a/setup.cfg b/setup.cfg index bf387e8..7b05ac3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = svgelements -version = 1.6.15 +version = 1.6.16 description = Svg Elements Parsing long_description_content_type=text/markdown long_description = file: README.md diff --git a/sv...
meerk40t__svgelements-216
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "svgelements/svgelements.py:CubicBezier._real_minmax" ], "edited_modules": [ "svgelements/svgelements.py:CubicBezier" ] }, "file": "svgelements/svgelements.py" } ]
meerk40t/svgelements
61ac29097a8435458f1c6b02bc2091bcc170b4b7
Cubic Bezier incorrect bounding box This may be related to #186, but thought I'd bring it up in case it isn't known about. The computed bounding box of certain cubic beziers seems to be incorrect sometimes. Here's an example: ```python from svgelements import CubicBezier cubic = CubicBezier(0, -2-3j, -1-4j, -3j) ...
diff --git a/svgelements/svgelements.py b/svgelements/svgelements.py index 45a0336..e89a99d 100644 --- a/svgelements/svgelements.py +++ b/svgelements/svgelements.py @@ -4787,7 +4787,12 @@ class CubicBezier(Curve): if 0 < r2 < 1: local_extremizers.append(r2) else: - ...
meerk40t__svgelements-221
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "svgelements/svgelements.py:CubicBezier._real_minmax" ], "edited_modules": [ "svgelements/svgelements.py:CubicBezier" ] }, "file": "svgelements/svgelements.py" } ]
meerk40t/svgelements
4e9922363c6ea9ce0a97079520975518dac38241
Numerical Instability above the 1e-12 level for cubic bounding box. ```python def test_bbox_failure(self): p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754)) p += CubicBezier(start=Point(-117.139521365,1480.99...
diff --git a/svgelements/svgelements.py b/svgelements/svgelements.py index e89a99d..804043e 100644 --- a/svgelements/svgelements.py +++ b/svgelements/svgelements.py @@ -4773,7 +4773,7 @@ class CubicBezier(Curve): local_extremizers = [0, 1] a = [c[v] for c in self] denom = a[0] - 3 * a[1] + 3 ...
meerk40t__svgelements-58
[ { "changes": { "added_entities": [ "svgelements/svgelements.py:CubicBezier._derivative", "svgelements/svgelements.py:CubicBezier._length_scipy", "svgelements/svgelements.py:CubicBezier._length_default" ], "added_modules": null, "edited_entities": [ "svgele...
meerk40t/svgelements
fcc436609dbda4eedbb72e03afc58d12a52b76a3
Use scipy if available for CubicBezier.length() While trying to benchmark bezier curves (#52), I ran into the issue that `CubicBezier.length()`is *extremely* slow, due to using a linearisation approach. When available, `svgpathtools` uses scipy for this task: ```python def length(self, t0=0, t1=1, error=LENGTH_...
diff --git a/svgelements/svgelements.py b/svgelements/svgelements.py index ed0e7a3..a1877c8 100644 --- a/svgelements/svgelements.py +++ b/svgelements/svgelements.py @@ -870,8 +870,6 @@ class Length(object): @staticmethod def str(s): - if s is None: - return "n/a" if isinstance(s, ...
melexis__warnings-plugin-52
[ { "changes": { "added_entities": [ "src/mlx/warnings.py:warnings_command", "src/mlx/warnings.py:warnings_logfile" ], "added_modules": [ "src/mlx/warnings.py:warnings_command", "src/mlx/warnings.py:warnings_logfile" ], "edited_entities": [ "sr...
melexis/warnings-plugin
0c7e730a491d32ad90f258439715fb6507be37f2
Parse output stream of command ``` warning-plugin <plugin-thresholds> <command> <arguments> ``` should disregard the command return value and parse stdout and stderr for warnings in plugin thresholds or in some special json formatted conf file in the root of the project. This will make it a lot more useable than ge...
diff --git a/README.rst b/README.rst index 139e744..e5af286 100644 --- a/README.rst +++ b/README.rst @@ -57,11 +57,16 @@ You can find more details in `Installation guide <docs/installation.rst>`_ Usage ===== -Since warnings plugin parses log messages (so far), you will need to redirect -your stderr to some text fil...
melexis__warnings-plugin-56
[ { "changes": { "added_entities": [ "src/mlx/warnings.py:WarningsPlugin.toggle_printout" ], "added_modules": null, "edited_entities": [ "src/mlx/warnings.py:WarningsPlugin.__init__", "src/mlx/warnings.py:WarningsPlugin.check", "src/mlx/warnings.py:warnings_...
melexis/warnings-plugin
1a913d2e8b2d770ed4ec98eeb4238893d69ef66d
Report command return value by default If command exists with non 0 value, we just check if there are no warnings and we might mark a field as passed. Confirm the return value of the command and use that as a default return value. Provide flag to disregard that.
diff --git a/.travis.yml b/.travis.yml index ecc0bf8..7df4c41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,19 @@ notifications: on_failure: always deploy: + # test pypi + - provider: pypi + distributions: sdist bdist_wheel + server: https://test.pypi.org/legacy/ + user: bavo.van.achte + ...
melexis__warnings-plugin-57
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mlx/warnings.py:warnings_wrapper", "src/mlx/warnings.py:warnings_logfile" ], "edited_modules": [ "src/mlx/warnings.py:warnings_wrapper", "src/mlx/warnings.py:warn...
melexis/warnings-plugin
f0767be9f616ff41982ee3858ffe99554882cee7
Check if we could open a file Now that we have a command option there is possibility that we missed the `--command` flag. In that moment plugin should tell us that files X, X, X do not exist and return non-0 value. Example that passes as it would be all ok (I assume also simpler stuff with empty and non existent lo...
diff --git a/src/mlx/warnings.py b/src/mlx/warnings.py index 894f799..165c447 100644 --- a/src/mlx/warnings.py +++ b/src/mlx/warnings.py @@ -359,7 +359,9 @@ def warnings_wrapper(args): if (not args.ignore) and (retval != 0): return retval else: - warnings_logfile(warnings, args.logfile...
melexis__warnings-plugin-75
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mlx/warnings.py:WarningsPlugin.__init__", "src/mlx/warnings.py:warnings_wrapper" ], "edited_modules": [ "src/mlx/warnings.py:WarningsPlugin", "src/mlx/warnings.py...
melexis/warnings-plugin
8bcf78bef257dc138b9aa2547b17eb74c40a6a5d
Apply warnings plugin on Coverity Defects We need another checker for increased Coverity Defects. Also in consideration we could use checker for cppcheck or any other static analysis tool.
diff --git a/README.rst b/README.rst index 8551b23..3e2376b 100644 --- a/README.rst +++ b/README.rst @@ -175,6 +175,37 @@ command: python -m mlx.warnings --doxygen --command <commandfordoxygen> +Parse for Coverity Defects +-------------------------- + +Coverity is a static analysis tool which has option to run...
melexis__warnings-plugin-77
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "docs/conf.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mlx/warnings.py:War...
melexis/warnings-plugin
68ada70dceadf9ac48c8b108ad0998f243d74f27
Plantuml not found I guess we missed the warning inside the CI (there we go for not dogfooding) for Sphinx ``` WARNING: plantuml command 'plantuml' cannot be run ``` We install sphinxcontrib-plantuml, but dont install plantuml itself I would assume. Needs investigation.
diff --git a/.travis.yml b/.travis.yml index 6b6f935..98f4853 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,6 +96,8 @@ install: - easy_install --version - pip --version - tox --version + - sudo apt-get install graphviz + - sudo apt-get install plantuml script: - tox -v diff --git a/docs/conf.py b/d...
melexis__warnings-plugin-88
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mlx/warnings.py:warnings_wrapper" ], "edited_modules": [ "src/mlx/warnings.py:warnings_wrapper" ] }, "file": "src/mlx/warnings.py" }, { "changes": { "...
melexis/warnings-plugin
c2b1b00a48c3ca4a74238fea4c4a3e4cbf0f5f5e
Add exact number of warnings parameter Now option is to have minimum and maximum number of warnings. If you use both parameters you can make the range, so that you get failure if number of warnings is different from what is expected. We could group this and use a `--expectedwarnings value` argument which would do this ...
diff --git a/README.rst b/README.rst index 00a7092..fa9f802 100644 --- a/README.rst +++ b/README.rst @@ -6,11 +6,11 @@ :target: https://travis-ci.org/melexis/warnings-plugin :alt: Build status -.. image:: https://badge.fury.io/py/mlx.warnings.png +.. image:: https://badge.fury.io/py/mlx.warnings.svg :t...
melexis__warnings-plugin-9
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null ...
melexis/warnings-plugin
63ce3d59b74e0cbd3d4b6795d57d0ce22d8ae112
Some RST warnings are not recognized Example of warning not recognized: ``` /path/to/file.rst:None: WARNING: Traceability: cannot link to XXX, item is not defined ``` Rumours say it is because of a missing line number, and more rumours say that this regex would work ``` ^(.+?:None): (DEBUG|INFO|WARNING|ERRO...
diff --git a/setup.py b/setup.py index 5672ae8..8f049c5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from os.path import basename, dirname, join, splitext from setuptools import find_packages, setup PROJECT_URL = 'https://github.com/melexis/warnings-plugin' -VERSION = '0.0.4' +VERSION = '0.0.5' def rea...
meraki-analytics__cassiopeia-288
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "cassiopeia/core/patch.py:Patch.__lt__" ], "edited_modules": [ "cassiopeia/core/patch.py:Patch" ] }, "file": "cassiopeia/core/patch.py" } ]
meraki-analytics/cassiopeia
df3317bfb75e86011b217689fb36a6dee83ef659
Patch comparison bug The bug is simply that this line `cass.Patch.from_str("9.9")<cass.Patch.from_str("9.10")` returns false. This is because the major and minor properties are strings and not integers, so the comparison `"9"<"10"` is false.
diff --git a/cassiopeia/core/patch.py b/cassiopeia/core/patch.py index 7963694..9ba9f76 100644 --- a/cassiopeia/core/patch.py +++ b/cassiopeia/core/patch.py @@ -146,7 +146,7 @@ class Patch(object): return self.name == other.name def __lt__(self, other: "Patch") -> bool: - if self.major < other.ma...
meraki-analytics__cassiopeia-429
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "cassiopeia/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modu...
meraki-analytics/cassiopeia
a34e46c86c9e0b3f80367d83b4c0aeca6ada93de
Pull match history for entire season 10 Hi! I wanted to run `match_history(seasons={Season.season_9}, queues={Queue.ranked_solo_fives})` for season 10 and I found that this only works up to season 9. I found that in `.../cassiopeia/transformers/data.py` the `Season` class is not updated for season 10 and I wanted to...
diff --git a/cassiopeia/__init__.py b/cassiopeia/__init__.py index 93b9568..2ec915b 100644 --- a/cassiopeia/__init__.py +++ b/cassiopeia/__init__.py @@ -82,7 +82,6 @@ from .data import ( MasteryTree, Tier, Division, - Season, GameType, Lane, Role, diff --git a/cassiopeia/cassiopeia.py b...
mercadona__rele-142
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "rele/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/client.py:Subs...
mercadona/rele
81d45ad5c7964274c10483056fe489d00f563624
Worker should not crash when a topic does not exist When a worker starts it tries to create subscriptions for all topics. If a topic does not exist the worker will crash. Proposed change: catch the `Rendezvous` exception (404 Resource not found), log an error but gracefully create and consume the rest of the define...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a99b266..1c24dc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +`0.9.1` (2020-1-2) +* Ack messages when data not json serializable (#141) +* Use ThreadScheduler instead of ThreadPoolExecutor (#145) + `0.9.0` (2019-12-20) * Flask su...
mercadona__rele-145
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/subscription.py:Callback.__call__" ], "edited_modules": [ "rele/subscription.py:Callback" ] }, "file": "rele/subscription.py" }, { "changes": { "adde...
mercadona/rele
56966a34d6e12209eb81f6b672dbe1bc1aa14278
'ThreadPoolExecutor' object has no attribute 'queue' On Relé 0.9.0 I get the following error when starting a worker: ``` Starting Rele Traceback (most recent call last): File "worker.py", line 12, in <module> worker.run_forever() File "/usr/local/lib/python3.7/site-packages/rele/worker.py", line 77, in ...
diff --git a/rele/subscription.py b/rele/subscription.py index 846618d..73f6b03 100644 --- a/rele/subscription.py +++ b/rele/subscription.py @@ -1,7 +1,6 @@ import json import logging import time -from concurrent import futures from .middleware import run_middleware_hook @@ -64,7 +63,19 @@ class Callback: ...
mercadona__rele-187
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/config.py:load_subscriptions_from_paths" ], "edited_modules": [ "rele/config.py:load_subscriptions_from_paths" ] }, "file": "rele/config.py" } ]
mercadona/rele
a0f4b98408e7f0e1631d282627d9e27bb69bcb00
Worker initialization should raise an error on duplicate subscriptions If two `subs` subscribe to the same topic and don't declare a suffix, stealing will happen where approximately half the messages will be processed by one subscription and half by the other. That's extremely difficult to test against and to debug in ...
diff --git a/rele/config.py b/rele/config.py index 67f97df..da3ae8e 100644 --- a/rele/config.py +++ b/rele/config.py @@ -87,7 +87,7 @@ def subscription_from_attribute(attribute): def load_subscriptions_from_paths(sub_module_paths, sub_prefix=None, filter_by=None): - subscriptions = [] + subscriptions = {} ...
mercadona__rele-188
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/config.py:load_subscriptions_from_paths" ], "edited_modules": [ "rele/config.py:load_subscriptions_from_paths" ] }, "file": "rele/config.py" }, { "changes"...
mercadona/rele
a0f4b98408e7f0e1631d282627d9e27bb69bcb00
Publishing without boilerplate ## Current Behaviour Right now, if you want to call `rele.publish()`, you must call `config.setup()` before. This is so that `init_global_publisher` is called and setup properly. Otherwise a `ValueError` is raised. ## Proposal I propose that a user should be able to call `rele.pu...
diff --git a/rele/config.py b/rele/config.py index 67f97df..da3ae8e 100644 --- a/rele/config.py +++ b/rele/config.py @@ -87,7 +87,7 @@ def subscription_from_attribute(attribute): def load_subscriptions_from_paths(sub_module_paths, sub_prefix=None, filter_by=None): - subscriptions = [] + subscriptions = {} ...
mercadona__rele-189
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/client.py:Publisher.publish" ], "edited_modules": [ "rele/client.py:Publisher" ] }, "file": "rele/client.py" }, { "changes": { "added_entities": null...
mercadona/rele
a0f4b98408e7f0e1631d282627d9e27bb69bcb00
Improve sub decorator The `sub` decorator can get some ease of use improvements 1. Use [functools.wraps](https://docs.python.org/3/library/functools.html#functools.wraps) to preserve `__name__` and `__doc__` of the original function 2. [Inspect](https://docs.python.org/3/library/functools.html#functools.wraps) call...
diff --git a/.travis.yml b/.travis.yml index a9fabde..5ad6106 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ python: - "3.6" - "3.7" - "3.8" + - "3.9-dev" install: - make install-requirements diff --git a/rele/client.py b/rele/client.py index 8ba1be1..bcb3af5 100644 --- a/rele/client.py ++...
mercadona__rele-190
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "rele/client.py:Publisher.publish" ], "edited_modules": [ "rele/client.py:Publisher" ] }, "file": "rele/client.py" }, { "changes": { "added_entities": [ ...
mercadona/rele
bed9ec31edc4f6d33f82dfefe7090016be1947cc
Rename post_publish hook to post_publish_success We want to be more explicit with this middleware hook, just like we do with`post_process_message_failure` and `post_process_message_success`. For backwards compatibility we'll Initially allow both `post_publish` and `post_publish_success` and eventually we'll deprecate...
diff --git a/rele/client.py b/rele/client.py index 8ba1be1..bcb3af5 100644 --- a/rele/client.py +++ b/rele/client.py @@ -167,6 +167,9 @@ class Publisher: if raise_exception: raise e else: + run_middleware_hook("post_publish_success", topic) + + # DEPRECATED ...
mercadona__rele-49
[ { "changes": { "added_entities": [ "rele/client.py:Subscriber.get_default_ack_deadline" ], "added_modules": null, "edited_entities": [ "rele/client.py:Subscriber.create_subscription" ], "edited_modules": [ "rele/client.py:Subscriber" ] }, ...
mercadona/rele
9db6037529309f81a8b13a1d980e4d7d3c316e4b
Parametrize subscription ack deadline For any message for a topic (rele's subscription), use a custom ack deadline value instead of default 10 seconds using `ack_deadline_seconds` parameter in `SubscriberClient.create_subscription()` when creating a subscription. It has been seen, that in some cases, there is a requ...
diff --git a/docs/index.rst b/docs/index.rst index 648a4cb..659092f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -42,18 +42,10 @@ _______ .. toctree:: :maxdepth: 2 - subscription + modules/subscription modules/client - -.. toctree:: - :maxdepth: 2 - - publish - -.. toctree:: - :maxdepth:...
mesonbuild__meson-12210
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/compilers/mixins/clike.py:CLikeCompiler._sort_shlibs_openbsd" ], "edited_modules": [ "mesonbuild/compilers/mixins/clike.py:CLikeCompiler" ] }, "file": "meson...
mesonbuild/meson
fb6fd5aa1770970e94968b302dfe3026aa08e245
wrong shared library 7.9, want 7.10 on OpenBSD **Describe the bug** Given versions x.9 and x.10 of a shared library on OpenBSD, Meson finds the wrong one. It picks x.9, but I want x.10. **To Reproduce** Meson has a test to find shared libraries on OpenBSD, so I added a failing case, ```diff diff --git a/unitte...
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index 61e671921..38af08c42 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -1084,6 +1084,10 @@ class CLikeCompiler(Compiler): @staticmethod def _sort_shlibs_openbsd(libs: ...
mesonbuild__meson-1342
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/coredata.py:CoreData.sanitize_dir_option_value", "mesonbuild/coredata.py:CoreData.set_builtin_option" ], "edited_modules": [ "mesonbuild/coredata.py:CoreData" ...
mesonbuild/meson
380b9157b8a282552e1463ca9a0e486e5b6319e2
AttributeError: 'module' object has no attribute 'commonpath' ```python Traceback (most recent call last): File "/builddir/build/BUILD/meson-0.38.0/mesonbuild/mesonmain.py", line 286, in run app.generate() File "/builddir/build/BUILD/meson-0.38.0/mesonbuild/mesonmain.py", line 160, in generate intr = i...
diff --git a/man/meson.1 b/man/meson.1 index 0b2a3e4d8..d721e89c2 100644 --- a/man/meson.1 +++ b/man/meson.1 @@ -1,4 +1,4 @@ -.TH MESON "1" "January 2017" "meson 0.38.0" "User Commands" +.TH MESON "1" "December 2016" "meson 0.37.1" "User Commands" .SH NAME meson - a high productivity build system .SH DESCRIPTION dif...
mesonbuild__meson-14291
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/options.py:OptionStore.get_value_object_for" ], "edited_modules": [ "mesonbuild/options.py:OptionStore" ] }, "file": "mesonbuild/options.py" } ]
mesonbuild/meson
4386e2afe17f8a399d7c202476261c760cdce1e3
Option refactor: Yielding option is broken when main project does not define it This breaks GStreamer: ``` subprojects/gst-plugins-good/meson.build:442:17: ERROR: Option asm does not exist for subproject gst-plugins-good. ``` That options is defined in `subprojects/gst-plugins-good/meson_options.txt` as follow: `option...
diff --git a/mesonbuild/options.py b/mesonbuild/options.py index 838ccb794..8cad1d1ca 100644 --- a/mesonbuild/options.py +++ b/mesonbuild/options.py @@ -810,7 +810,13 @@ class OptionStore: assert key.subproject is not None if potential is not None and potential.yielding: paren...
mesonbuild__meson-3860
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/mesonmain.py:create_parser", "mesonbuild/mesonmain.py:run" ], "edited_modules": [ "mesonbuild/mesonmain.py:create_parser", "mesonbuild/mesonmain.py:run" ...
mesonbuild/meson
8cfb8fd02c86e1667ded9a7841d77204f96a4a6d
Running `meson` in the source dir without any arguments takes the parent directory as the build dir This is a major regression over 0.46. The parent dir implicit selection should only be for finding the source directory, not the build directory.
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 1aca9c61a..011ac14b1 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -41,8 +41,8 @@ def create_parser(): help='Special wrap mode to use') p.add_argument('--profile-self', action='store_true', dest='profil...
mesonbuild__meson-3863
[ { "changes": { "added_entities": [ "mesonbuild/compilers/c.py:CCompiler._sort_shlibs_openbsd" ], "added_modules": null, "edited_entities": [ "mesonbuild/compilers/c.py:CCompiler._get_trials_from_pattern" ], "edited_modules": [ "mesonbuild/compilers/c.p...
mesonbuild/meson
09ad29ec560f2a05108694d909de30b5e3e58357
intel compiler doesn't implement link_whole Hi, I got an error when including PETSc as external dependency. Here is my `meson.build` ``` project('xxx', 'cpp', default_options : ['cpp_std=c++11']) pdep = dependency('PETSc') ``` this is what I get when I run meson ```The Meson build system Version: 0.47.0 So...
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index b62155b7b..af3e2c4a1 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -866,12 +866,29 @@ class CCompiler(Compiler): return patterns @staticmethod - def _get_trials_from_pattern(pattern, directory, libnam...
mesonbuild__meson-3975
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "__main__.py" }, { "changes": { "added_entities": [ "mesonbuild/environment.py:CrossBuildInfo.get_host_system" ], "added_modu...
mesonbuild/meson
c9aea4e11c648f1051454132626bcb4aef976d6d
gtkdoc-scangobj fails to find the shared library it scans (W32) For example: `Error in gtkdoc helper script:` `'mingw\\bin\\python.EXE' failed with status 3221225781` `WARNING:root:Running scanner failed: -1073741515, command: ./gtk4-scan.exe` This is because the shared library being scanned is not in library searc...
diff --git a/__main__.py b/__main__.py index c412e3718..27cd4c05a 100644 --- a/__main__.py +++ b/__main__.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import meson +from mesonbuild import mesonmain import sys -sys.exit(meson.main()) ...
mesonbuild__meson-4445
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/backend/backends.py:Backend.serialize_executable", "mesonbuild/backend/backends.py:Backend.get_mingw_extra_paths", "mesonbuild/backend/backends.py:Backend.write_test_serialisa...
mesonbuild/meson
3a6e2aeed9737f1082571e868ba50e72957f27c7
Separate parsing of cross file from downstream logic This picks up where #3993 left off, doing for the rest of the file what that did for `[host_machine]`. Firstly, it is good engineering practice to have a clean pipeline by separating parsing from other logic (in code, if not at run time as interleaving can still be a...
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index e8adc99de..22920f49b 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -343,8 +343,7 @@ class Backend: exe_is_native = True is_cross_built = (not exe_is_native) and \ ...
mesonbuild__meson-5577
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/backend/xcodebackend.py:XCodeBackend.generate_xc_build_configuration" ], "edited_modules": [ "mesonbuild/backend/xcodebackend.py:XCodeBackend" ] }, "file": "...
mesonbuild/meson
3f280a81fde8a7771924159d6e1bda7ec364970c
Introspection API: missing info about `install_subdir` `meson-info/intro-installed.json` does not contain any information about files/directories installed via `install_subdir`. PS: `meson-logs/install-log.txt` contains such info, so it probably could be used as a reference.
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index 66d090dbf..5abfdd452 100644 --- a/docs/markdown/Installing.md +++ b/docs/markdown/Installing.md @@ -115,3 +115,24 @@ command in the build tree: ```console $ meson install --no-rebuild --only-changed ``` + +## Finer control over install loca...
mesonbuild__meson-5921
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/mconf.py:Conf.print_conf" ], "edited_modules": [ "mesonbuild/mconf.py:Conf" ] }, "file": "mesonbuild/mconf.py" } ]
mesonbuild/meson
ad368cfc07b1bac1aa00e51038e749040cc2dea0
Running "meson configure" in source directory raises an exception (yet again) Yes, it's Taisei again. Ping @mensinda. If it helps, the taisei commit is https://github.com/taisei-project/taisei/commit/e68bfdb2ea86470fd138044af83af610de0b9d68 ``` [0] [akari@navi] [master ← /data/git/taisei] % c Unable to evalua...
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index cac9d61ce..4f8014014 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -181,7 +181,7 @@ class Conf: core_options = {k: o for k, o in self.coredata.builtins.items() if k in core_option_names} self.print_options('Core options', c...
mesonbuild__meson-7629
[ { "changes": { "added_entities": [ "mesonbuild/compilers/d.py:DCompiler.compiler_args" ], "added_modules": [ "mesonbuild/compilers/d.py:DCompilerArgs" ], "edited_entities": null, "edited_modules": [ "mesonbuild/compilers/d.py:DCompiler" ] }, ...
mesonbuild/meson
6fc067344d035c0c16fb33c11f5f0ace5c99c558
[possible regression in 0.55] New rpath must not be longer than the old one Several projects fail to build with meson with the error from the subject. For example devel/gnome-builder: http://package22.nyi.freebsd.org/data/113amd64-default-PR244008/2020-07-15_21h37m37s/logs/errors/gnome-builder-3.28.4_4.log See the li...
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index 32919e42a..a74dc957e 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -19,6 +19,7 @@ from ..mesonlib import ( EnvironmentException, MachineChoice, version_compare, ) +from ..arglist import CompilerArgs from .compi...
mesonbuild__meson-8154
[ { "changes": { "added_entities": [ "tools/regenerate_docs.py:generate_hotdoc_includes" ], "added_modules": [ "tools/regenerate_docs.py:generate_hotdoc_includes" ], "edited_entities": [ "tools/regenerate_docs.py:regenerate_commands", "tools/regenerate...
mesonbuild/meson
832bcac0a793d63f4bf093c12580b4a605155476
hotdoc module generates broken "Edit on github" links - Browse to https://mesonbuild.com/Hotdoc-module.html - Click "Edit on github" - Be redirected to https://github.com/mesonbuild/meson//edit/master/docs/builddir/markdown/Hotdoc-module.md - notice "builddir/" in the url /cc @thiblahute
diff --git a/docs/markdown_dynamic/Commands.md b/docs/markdown/Commands.md similarity index 82% rename from docs/markdown_dynamic/Commands.md rename to docs/markdown/Commands.md index a35b4da96..46bd21b87 100644 --- a/docs/markdown_dynamic/Commands.md +++ b/docs/markdown/Commands.md @@ -16,15 +16,11 @@ For the full lis...
mesonbuild__meson-919
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mesonbuild/backend/backends.py:Backend.serialise_executable" ], "edited_modules": [ "mesonbuild/backend/backends.py:Backend" ] }, "file": "mesonbuild/backend/backends.p...
mesonbuild/meson
ba578db0314aa85729ca13df734b2bd359d2aa35
mesonintrospect: Expose install_dir for targets Mentioned on the [gnome-builder issue](https://bugzilla.gnome.org/show_bug.cgi?id=743280) this would be useful information.
diff --git a/authors.txt b/authors.txt index 5931481af..f591d13db 100644 --- a/authors.txt +++ b/authors.txt @@ -53,3 +53,4 @@ Gautier Pelloux-Prayer Alexandre Foley Jouni Kosonen Aurelien Jarno +Mark Schulte diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index fd719241e..e91b44b8d 1006...
mesonbuild__meson-968
[ { "changes": { "added_entities": [ "mesonbuild/environment.py:search_version" ], "added_modules": [ "mesonbuild/environment.py:search_version" ], "edited_entities": [ "mesonbuild/environment.py:Environment.detect_c_compiler", "mesonbuild/environment....
mesonbuild/meson
36a0d162cb65ee6470ed3d6b5e610de8f93b7a9d
Error finding version of arm gcc When meson tries to recognize the version of arm-none-linux-gnueabi-gcc it finds the wrong version. the output of arm-none-linux-gnueabi-gcc --version is: ``` arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease) Copyright (C) 2013 Free Softw...
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index eb6f06da2..c8ee13fbb 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -216,6 +216,10 @@ builtin_options = { # uses that. Instead they always set it manually to /etc. This default # value is thus pointless and not really used...
metno__py-mms-26
[ { "changes": { "added_entities": [ "pymms/productevent.py:ProductEvent.refTime", "pymms/productevent.py:ProductEvent.counter", "pymms/productevent.py:ProductEvent.totalCount" ], "added_modules": null, "edited_entities": [ "pymms/productevent.py:ProductEven...
metno/py-mms
25f47af8327aef69405a1e1c8a78334234dd0122
Sync with go-mms api Py-mms hasn't been updated since before last sprint, should be updated to integrate the new functionality added in last sprint..
diff --git a/pymms/productevent.py b/pymms/productevent.py index f017152..11318f2 100644 --- a/pymms/productevent.py +++ b/pymms/productevent.py @@ -33,7 +33,8 @@ class ProductEvent(): """ def __init__( - self, jobName="", product="", productionHub="", productLocation="", eventInterval=0 + sel...
metoppv__improver-1667
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "improver/calibration/reliability_calibration.py:ConstructReliabilityCalibrationTables._create_reliability_table_cube" ], "edited_modules": [ "improver/calibration/reliability_calibra...
metoppv/improver
4ab412049342ff17da61eb583b500572a23a9495
Enable site cube input to `ConstructReliabilityCalibrationTables` First part of the work to add site & 'point_by_point' functionality to reliability calibration (as detailed elsewhere), similar to what's been done in EMOS: https://github.com/metoppv/improver/pull/1170. Work will be split into separate PRs to aid review...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b394ade..b1feb7b8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,6 +62,7 @@ below: * Caroline Sandford (Met Office, UK) * Victoria Smart (Met Office, UK) * Eleanor Smith (Met Office, UK) +* Marcus Spelman (Met Office, UK) * Belinda Trotta (Bureau of M...
mgaitan__sphinxcontrib-mermaid-71
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "sphinxcontrib/mermaid.py:render_mm" ], "edited_modules": [ "sphinxcontrib/mermaid.py:render_mm" ] }, "file": "sphinxcontrib/mermaid.py" } ]
mgaitan/sphinxcontrib-mermaid
07f9d4316f76d249f89d9b6fd289b8918b426344
some APIs are removed in Sphinx 4.0 version such as ``sphinx.util.osutil.ENOENT``: https://github.com/mgaitan/sphinxcontrib-mermaid/blob/07f9d4316f76d249f89d9b6fd289b8918b426344/sphinxcontrib/mermaid.py#L27 It was removed now and we can use `errno.ENOENT` instead of it. refs : https://github.com/sphinx-doc/sp...
diff --git a/sphinxcontrib/mermaid.py b/sphinxcontrib/mermaid.py index f941c21..d7eb959 100644 --- a/sphinxcontrib/mermaid.py +++ b/sphinxcontrib/mermaid.py @@ -24,7 +24,7 @@ from docutils.statemachine import ViewList import sphinx from sphinx.locale import _ from sphinx.util.i18n import search_image_for_language -f...
mgcth__mysgen-49
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mysgen/mysgen.py:MySGEN.find_and_parse", "src/mysgen/mysgen.py:MySGEN._format_metadata" ], "edited_modules": [ "src/mysgen/mysgen.py:MySGEN" ] }, "file": "s...
mgcth/mysgen
72621078c35fd6bd153158d45496b6a961cc1a6c
Allow image and data metadata to be false ## Description If the `data` or `image` metadata fields are present but empty mysgen expects there to be some data for that post. Allow them to be `false`.
diff --git a/src/mysgen/mysgen.py b/src/mysgen/mysgen.py index f6698c0..a230943 100644 --- a/src/mysgen/mysgen.py +++ b/src/mysgen/mysgen.py @@ -396,14 +396,14 @@ class MySGEN: meta, content = self._parse(item_path) if item_type == "pages": - if "data" in meta: + ...
mgcth__mysgen-53
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mysgen/mysgen.py:MySGEN.process" ], "edited_modules": [ "src/mysgen/mysgen.py:MySGEN" ] }, "file": "src/mysgen/mysgen.py" } ]
mgcth/mysgen
827a06bfd067e1df26451fe86d6cfc888a3bf5af
Forward all posts dict to pages template ## Description For more flexibility, forward all posts_dict to page template.
diff --git a/pyproject.toml b/pyproject.toml index fd5217a..7e57d98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mysgen" -version = "0.4.0" +version = "0.4.1" description = "My simple static site generator." license = { text = "MIT" } ...
mgcth__mysgen-59
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mysgen/mysgen.py:ImagePost.process" ], "edited_modules": [ "src/mysgen/mysgen.py:ImagePost" ] }, "file": "src/mysgen/mysgen.py" } ]
mgcth/mysgen
1dc0fa88ac5f4cb99d2bd0c18a90f168e3c1e55d
Mangle image names ## Description Add option to mangel image names and sort them by date. Requires that image name is the date, as the code expects images with stripped metadata.
diff --git a/README.md b/README.md index 0c5fd30..5ff2ff9 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,8 @@ The configuration file `config.json` should contain the following "fenced_code", "mdx_math" ], - "s3-bucket": "bucket" + "s3-bucket": "bucket", + "mangle_image_name": true ...
mgcth__mysgen-67
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/mysgen/mysgen.py:Item.__init__", "src/mysgen/mysgen.py:Item.abstract_process", "src/mysgen/mysgen.py:Item.copy", "src/mysgen/mysgen.py:Post.__init__", "src/mysgen/mys...
mgcth/mysgen
6572489441281458706965c813988e91c0fe3666
Local build in Windows is not working due to hard-coded / There is an issue in certain path splits and combines on my version of Windows; the problem seems to be that certain split and join statements have "/" hard coded in them. When I change that locally to "\\", it works (to a degree). Of course, this is no good sin...
diff --git a/src/mysgen/mysgen.py b/src/mysgen/mysgen.py index be7726f..68e8f19 100644 --- a/src/mysgen/mysgen.py +++ b/src/mysgen/mysgen.py @@ -2,7 +2,6 @@ from __future__ import annotations import os import json -import glob import boto3 import shutil import hashlib @@ -12,9 +11,10 @@ from PIL import Image fro...
mgedmin__check-manifest-106
[ { "changes": { "added_entities": [ "check_manifest.py:build_sdist" ], "added_modules": [ "check_manifest.py:build_sdist" ], "edited_entities": [ "check_manifest.py:is_package", "check_manifest.py:check_manifest" ], "edited_modules": [ ...
mgedmin/check-manifest
4695989f6646f4bd241324b4d838b2aee7e42f2d
Does not work with setup.py-less packaging? I use setuptools with declarative config (i.e. defined in [`setup.cfg`](https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files)) and build system in `pyproject.toml`: ``` [build-system] requires = [ "setuptools >= 40.6.0"...
diff --git a/CHANGES.rst b/CHANGES.rst index c68615b..1f50f51 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,10 @@ Changelog 0.41 (unreleased) ----------------- -- Nothing changed yet. +- Support `PEP 517`_, i.e. packages using pyproject.toml instead of a setup.py + (`#105 <https://github.com/mgedmin/check-...
mgedmin__check-manifest-114
[ { "changes": { "added_entities": [ "check_manifest.py:canonical_file_list", "check_manifest.py:IgnoreList._path" ], "added_modules": [ "check_manifest.py:canonical_file_list" ], "edited_entities": [ "check_manifest.py:get_sdist_file_list", "c...
mgedmin/check-manifest
cce344006b8669712e259e4e3ba40afce8ff7582
Ignoring dir/* does not ignore directory itself #90 seems to suggest that (for example) `.github/*` will ignore the whole `.github` folder, once version 0.38 is released. However, since `.github/*` does not match the `.github` folder added by [`add_directories`](https://github.com/mgedmin/check-manifest/blob/04bb71...
diff --git a/.gitignore b/.gitignore index c18f919..6966d94 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ tmp/ build/ tags coverage.xml +.mypy_cache/ diff --git a/.travis.yml b/.travis.yml index 0607880..480ca23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,10 @@ language: python cache: pip ...
mgedmin__dozer-8
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dozer/leak.py:Dozer.__call__", "dozer/leak.py:Dozer.index" ], "edited_modules": [ "dozer/leak.py:Dozer" ] }, "file": "dozer/leak.py" } ]
mgedmin/dozer
cd1f2b060362c4d962e69473e23609192f066038
Add UI for the `floor` option or document in README I only happened to realise there was an option to show the top X objects (eg `/_dozer/index?floor=1000`) after seeing the equivalent feature in https://github.com/munhitsu/django-dowser It would be great if there was UI for this, or alternatively a mention in the REA...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2f6a082..a2568d8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,10 @@ Dozer Changelog ---------------- - Add support for Python 3.8. +- Add UI input for existing "floor" query string parameter + (https://github.com/mgedmin/dozer/issues/2) +- Add UI input ...
mgedmin__ghcloneall-10
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ghcloneall.py:get_github_list", "ghcloneall.py:RepoWrangler.__init__", "ghcloneall.py:RepoWrangler.get_github_list", "ghcloneall.py:_main" ], "edited_modules": [ ...
mgedmin/ghcloneall
5dbe065908a4baaf7067b61e77a02e30e6151c77
clone private repositories In #6 you wrote... > No, I'm using anonymous access. This means, of course, that ghcloneall is only suitable for cloning open source repositories that are publicly available. 1. oh no! 2. how does this go together with the optional argument "--include-private include private rep...
diff --git a/CHANGES.rst b/CHANGES.rst index a128502..23c9f9f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,8 +5,8 @@ Changelog 1.9.3 (unreleased) ------------------ +- Allow authentication with github token - Add support for Python 3.9. - - Drop support for Python 3.5. diff --git a/README.rst b/README.rst...
mgerst__flag-slurper-19
[ { "changes": { "added_entities": [ "flag_slurper/autolib/exploit.py:get_file", "flag_slurper/autolib/exploit.py:can_sudo", "flag_slurper/autolib/exploit.py:run_sudo" ], "added_modules": [ "flag_slurper/autolib/exploit.py:get_file", "flag_slurper/autolib/...
mgerst/flag-slurper
fe4dca622d1a393844e2588056f9e8e535a9a5ad
Attempt sudo when looking for flags When attempting to grab a flag (like `/root/...`) as a non-root user, we should attempt to do privilege escalation with sudo in addition to grabbing it as-is. The exact method used to obtain the flag should be recorded for capture notes.
diff --git a/README.md b/README.md index 667cfb6..f10a106 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ You can specify as many flags as you want. All of the following fields are requi Here's an example of an Auto PWN run that obtained flags: -[![asciicast](https://asciinema.org/a/V1NNowGyb2wGmEnhcME...
mggg__GerryChain-316
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "gerrychain/partition/partition.py:Partition" ] }, "file": "gerrychain/partition/partition.py" } ]
mggg/GerryChain
0ac0c6ac09c618c6c834223c5aca6d8a192d7b75
Four of six default proposal functions require a `cut_edges` updater The `propose_chunk_flip`, `propose_random_flip`, `slow_reversible_propose_bi`, and `slow_reversible_propose` proposal functions all require that a `cut_edges` updater is present on the `partition` parameter passed to the function. Returns a `KeyErr...
diff --git a/gerrychain/partition/partition.py b/gerrychain/partition/partition.py index 83c4b9a..b893aee 100644 --- a/gerrychain/partition/partition.py +++ b/gerrychain/partition/partition.py @@ -6,6 +6,7 @@ from ..graph import Graph from ..updaters import compute_edge_flows, flows_from_changes from .assignment impo...
mhcomm__pypeman-60
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pypeman/channels.py:BaseChannel.subhandle" ], "edited_modules": [ "pypeman/channels.py:BaseChannel" ] }, "file": "pypeman/channels.py" }, { "changes": { "...
mhcomm/pypeman
d72c2b741e728edcc97920915046aba84a95f4d1
Dropnode breaks message generator When you use a node that return a message generator, appending a dropnode raise an exception that break the loop to consume all message generator. We should wait for the last message to reraise the exception.
diff --git a/pypeman/channels.py b/pypeman/channels.py index e02ca05..e448dec 100644 --- a/pypeman/channels.py +++ b/pypeman/channels.py @@ -312,8 +312,13 @@ class BaseChannel: if self.next_node: if isinstance(result, types.GeneratorType): - for res in result: - ...
mhe__pynrrd-103
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "nrrd/writer.py:write" ], "edited_modules": [ "nrrd/writer.py:write" ] }, "file": "nrrd/writer.py" } ]
mhe/pynrrd
b500fbce20b4c7126587714b4a3bcefe9fa1d645
Need to account for both 'datafile' and 'data file' We should account for both 'data file' and 'datafile' in [Ln 190](https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L190) and [Ln 211](https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L211) just like: https://github.com/mhe/pynrrd/blob/master/nrrd/read...
diff --git a/nrrd/writer.py b/nrrd/writer.py index b9187f7..24d78b0 100644 --- a/nrrd/writer.py +++ b/nrrd/writer.py @@ -180,6 +180,11 @@ def write(filename, data, header=None, detached_header=False, relative_data_path if 'encoding' not in header: header['encoding'] = 'gzip' + # If 'datafile' is spec...
mhe__pynrrd-104
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "nrrd/writer.py:write" ], "edited_modules": [ "nrrd/writer.py:write" ] }, "file": "nrrd/writer.py" } ]
mhe/pynrrd
6faf838d36094955adafc6c60c8e115dff2f2939
Modify 'data file' whenever detached_header=True We should omit the if-else below: https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L190 Omitting the condition should also address the TODO below: https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L210 I experienced this while modifying an NHDR and...
diff --git a/nrrd/writer.py b/nrrd/writer.py index 24d78b0..f459451 100644 --- a/nrrd/writer.py +++ b/nrrd/writer.py @@ -109,9 +109,9 @@ def write(filename, data, header=None, detached_header=False, relative_data_path .. note:: The following fields are automatically generated based on the :obj:`data...
mhe__pynrrd-157
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "nrrd/__init__.py" }, { "changes": { "added_entities": [ "nrrd/formatters.py:format_vector_list", "nrrd/formatters.py:format_opti...
mhe/pynrrd
bb38ec2323de8709a959ba8066e2dac69a196bf2
Confusing representation of "space direction" Hi, I've recently been working with MONAI that optionally uses pynrrd to read .nrrd and has an error when handling the space direction. The way the variable space direction is read by pynrrd (in the 3d case as a 3x3 matrix) makes it easy to misinterpret as the upper left...
diff --git a/docs/source/background/datatypes.rst b/docs/source/background/datatypes.rst index 75e08b6..0b13dfa 100644 --- a/docs/source/background/datatypes.rst +++ b/docs/source/background/datatypes.rst @@ -88,4 +88,22 @@ double matrix :Python Datatype: (M,N) :class:`numpy.ndarray` of :class:`float` :Python Example...
mhe__pynrrd-79
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "nrrd/writer.py:write" ], "edited_modules": [ "nrrd/writer.py:write" ] }, "file": "nrrd/writer.py" } ]
mhe/pynrrd
c1c42d97f74ff2230b50df019d033a010f797918
Print relative data file name in the header In the detached header, the data file name is printed with abspath. That means, if someone moves the data around, than data file location is invalid. Instead, how about we write the data file with basename? https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L186 and ...
diff --git a/nrrd/writer.py b/nrrd/writer.py index d8c0b1c..0a63f59 100644 --- a/nrrd/writer.py +++ b/nrrd/writer.py @@ -93,7 +93,7 @@ def _format_field_value(value, field_type): raise NRRDError('Invalid field type given: %s' % field_type) -def write(filename, data, header={}, detached_header=False, custom...
mherrmann__gitignore_parser-17
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "gitignore_parser.py:rule_from_pattern", "gitignore_parser.py:fnmatch_pathname_to_regex" ], "edited_modules": [ "gitignore_parser.py:rule_from_pattern", "gitignore_par...
mherrmann/gitignore_parser
43b39d04366038924239f7057ab5d8fcb0e24b42
Bug with matching paths within .gitignore directory Is this correct? It feels like a bug to me since it works when you specify the rule in `.gitignore`. Imagine `.gitignore` contents including ``` .venv/ ``` And a script evaluating this ``` gitignore_matcher('/path/to/repo/.venv/') True gitignore_m...
diff --git a/gitignore_parser.py b/gitignore_parser.py index c8a7771..5ce75f8 100644 --- a/gitignore_parser.py +++ b/gitignore_parser.py @@ -102,7 +102,7 @@ def rule_from_pattern(pattern, base_path=None, source=None): if striptrailingspaces: pattern = pattern[:i] i = i - 1 - regex = fnmatch_pathname_to_rege...
mherrmann__gitignore_parser-38
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "gitignore_parser.py:IgnoreRule.match" ], "edited_modules": [ "gitignore_parser.py:IgnoreRule" ] }, "file": "gitignore_parser.py" } ]
mherrmann/gitignore_parser
eeaeb72b0e376e74f01cfffbf1cb048ac99fc1bd
Unsafe string slicing in IgnoreRule.match method. It fails with Path type. ## Synopsis After upgrade from `0.1.0` to `0.1.1` I faced an issue with existing test. Looks like there is unsafe operation with `abs_path` which supposed to be a string only. That's a wrong assuming, because most libraries support the both typ...
diff --git a/gitignore_parser.py b/gitignore_parser.py index f78d86f..0c79c46 100644 --- a/gitignore_parser.py +++ b/gitignore_parser.py @@ -4,6 +4,7 @@ import re from os.path import dirname from pathlib import Path +from typing import Union def handle_negation(file_path, rules): matched = False @@ -132,7 +...
mhostetter__galois-206
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "galois/_codes/_bch.py:bch_valid_codes", "galois/_codes/_bch.py:BCH.__init__" ], "edited_modules": [ "galois/_codes/_bch.py:bch_valid_codes", "galois/_codes/_bch.py:BC...
mhostetter/galois
158f5ff81fad4aa89bf4d55d0e05d57a57d54b70
Error in `minimal_poly()` with large fields As discovered [here](https://github.com/mhostetter/galois/issues/185#issuecomment-969938384), `galois.minimal_poly()` fails for large extension fields. Here's a reproducible example: ```python In [1]: import galois In [2]: poly = galois.Poly.Degrees([256, 241, 178, ...
diff --git a/galois/_codes/_bch.py b/galois/_codes/_bch.py index 2278eae7e..48c95131c 100644 --- a/galois/_codes/_bch.py +++ b/galois/_codes/_bch.py @@ -89,7 +89,7 @@ def bch_valid_codes(n, t_min=1): while True: c = 1 roots = alpha**(c + np.arange(0, 2*t)) - powers = GF.characteristic**np....
mhostetter__galois-219
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "galois/_polys/_factor.py:square_free_factorization" ], "edited_modules": [ "galois/_polys/_factor.py:square_free_factorization" ] }, "file": "galois/_polys/_factor.py" ...
mhostetter/galois
a89fd868478949fe249ff5705d9acf6123441e3c
`Poly.Degrees` with duplicate degrees produces incorrect polynomial An issue was peripherally discovered in #212 where `Poly.Degrees` produces the wrong polynomial if duplicate degrees are provided. ```python # Wrong answer In [5]: galois.Poly.Degrees([256, 1, 1, 1, 0]) ...
diff --git a/galois/_polys/_factor.py b/galois/_polys/_factor.py index 6d25fd82d..693e271ae 100644 --- a/galois/_polys/_factor.py +++ b/galois/_polys/_factor.py @@ -129,8 +129,8 @@ def square_free_factorization(poly): # Step 2: Find all remaining factors (their multiplicities are divisible by p) if d != one...
mhostetter__galois-323
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "galois/_fields/_gf2m.py:GF2mMeta._add_calculate", "galois/_fields/_gf2m.py:GF2mMeta._negative_calculate", "galois/_fields/_gf2m.py:GF2mMeta._subtract_calculate", "galois/_fields/...
mhostetter/galois
1d30fb95c6881b8c216afeb4efe2446ffcd3089c
Better item assignment for "large" fields I may be able to remove the requirement to cast elements to ints before arithmetic. This is required because "large" fields, which use `dtype=object` and Python ints, can get `FieldArray` objects in their arrays through assignment. For example, `x[0] = GF(10)` would assign a 0-...
diff --git a/galois/_fields/_gf2m.py b/galois/_fields/_gf2m.py index 299b13362..833b2e3d6 100644 --- a/galois/_fields/_gf2m.py +++ b/galois/_fields/_gf2m.py @@ -58,13 +58,6 @@ class GF2mMeta(FieldClass, DirMeta): ############################################################################### # Arithmetic fu...
mhostetter__galois-324
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "galois/_prime.py:factors", "galois/_prime.py:pollard_p1", "galois/_prime.py:pollard_rho" ], "edited_modules": [ "galois/_prime.py:factors", "galois/_prime.py:...
mhostetter/galois
9a3849841a592bc100999e78fd51b89baea4d3e8
Replace optional return values with raising `ValueError`s There's no real reason to return `None` upon a function failing to find an answer. Instead, a `ValueError` may be raised. This way the type hints are more consistent. Currently, a user needs to `if ret is not None:`. With raising an error, the user would need t...
diff --git a/galois/_prime.py b/galois/_prime.py index b713298ec..490cfb652 100644 --- a/galois/_prime.py +++ b/galois/_prime.py @@ -791,10 +791,15 @@ def factors(n: int) -> Tuple[List[int], List[int]]: # Step 4 while n > 1 and not is_prime(n): - f = pollard_rho(n) # A non-trivial factor - wh...
mhostetter__galois-361
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "galois/_polys/_poly.py:Poly.degree" ], "edited_modules": [ "galois/_polys/_poly.py:Poly" ] }, "file": "galois/_polys/_poly.py" } ]
mhostetter/galois
c5d930dad1cddad7d708dbe39b8ebd7e245717af
galois.is_irreducible(poly) seems to return some false negatives in large odd exponent GFs Hi Matt, hope all is well. Even though it works fine for other groups (e.g. even groups likes GF(2^256) work well), still I 've been getting the following false negative result when using the galois.is_irreducible(poly) over o...
diff --git a/galois/_polys/_poly.py b/galois/_polys/_poly.py index 182703a7d..3d7c9bf76 100644 --- a/galois/_polys/_poly.py +++ b/galois/_polys/_poly.py @@ -1513,7 +1513,7 @@ class Poly: if self._nonzero_degrees.size == 0: self._degree = 0 else: - ...
mhostetter__galois-393
[ { "changes": { "added_entities": [ "galois/_fields/_array.py:FieldArrayMeta.__repr__" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "galois/_fields/_array.py:FieldArrayMeta" ] }, "file": "galois/_fields/_array.py" }, { ...
mhostetter/galois
d94c3b61dfb31127990d5811077e33861bc4953a
Allow serialization of Galois field I recently tried playing around with multithreading and noticed, that I can not pass the Galois field object to a thread, since the Galois class can not be pickled. An example error would be PicklingError: Can't pickle <class 'galois.GF(47)'>: attribute lookup GF(47) on galois faile...
diff --git a/docs/requirements.txt b/docs/requirements.txt index 73e0f1216..4fa65a650 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ sphinx==5 -git+https://github.com/jbms/sphinx-immaterial@5e70669e8f42bdd1dfa87c2a5f1879b7ba73d25a +git+https://github.com/jbms/sphinx-immaterial@bf169751f...
mhostetter__galois-436
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "docs/ipython_with_reprs.py:IPythonWithReprsDirective.run" ], "edited_modules": [ "docs/ipython_with_reprs.py:IPythonWithReprsDirective" ] }, "file": "docs/ipython_with_...
mhostetter/galois
5b593b2618c21bf79a0975fee6cb39bb0a1f358d
Rename `display` to `repr` Using `repr` seems more consistent with `repr_table()`. And "repr" is short for representation, and we are changing the element representation... ### Current ```python In [1]: import galois In [2]: GF = galois.GF(3**2, display="poly") In [3]: x = GF.Random(4); x Out[3]: GF([ α +...
diff --git a/README.md b/README.md index f8e9982df..b27c300be 100644 --- a/README.md +++ b/README.md @@ -150,28 +150,28 @@ See [Array Creation](https://mhostetter.github.io/galois/latest/basic-usage/arra ### Change the element representation -The display representation of finite field elements can be set to either...
mhostetter__galois-551
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/galois/_domains/_calculate.py:reciprocal_itoh_tsujii.set_calculate_globals" ], "edited_modules": [ "src/galois/_domains/_calculate.py:reciprocal_itoh_tsujii" ] }, "...
mhostetter/galois
058c8f1e42c2a7f20221035b5543894435bf2954
JIT alternative Hello, Galois package has been very useful but I am having issues with the JIT compiled code using numba. Is there a way to turn the JIT compiling off using numba easily? Also, could you point me to where you are using numba for calculating rref and rank in _linalg? Im aware i will be sacrificing ...
diff --git a/src/galois/_domains/_calculate.py b/src/galois/_domains/_calculate.py index 708a72234..c93cd68cd 100644 --- a/src/galois/_domains/_calculate.py +++ b/src/galois/_domains/_calculate.py @@ -464,7 +464,7 @@ class reciprocal_itoh_tsujii(_lookup.reciprocal_ufunc): ORDER = self.field.order MULT...
miLibris__flask-rest-jsonapi-122
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "flask_rest_jsonapi/schema.py:compute_schema" ], "edited_modules": [ "flask_rest_jsonapi/schema.py:compute_schema" ] }, "file": "flask_rest_jsonapi/schema.py" } ]
miLibris/flask-rest-jsonapi
268e94808573033e0232007a887982207f715e9a
Propagate marshmallow context to included schemas According to [marshmallow documentation](https://marshmallow.readthedocs.io/en/3.0/custom_fields.html#adding-context-to-method-and-function-fields) it is possible to add `context` to a schema. It's currently easy to add `context` via `flask-rest-jsonapi` using: ```...
diff --git a/.travis.yml b/.travis.yml index 15f8627..99c8a3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: install: - pip install -r requirements.txt - pip install coveralls coverage + - pip install -U setuptools - pip install pytest --upgrade script: - python setup.py install diff ...
miLibris__flask-rest-jsonapi-127
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "flask_rest_jsonapi/api.py:Api.has_permission" ], "edited_modules": [ "flask_rest_jsonapi/api.py:Api" ] }, "file": "flask_rest_jsonapi/api.py" }, { "changes": { ...
miLibris/flask-rest-jsonapi
268e94808573033e0232007a887982207f715e9a
[Need help] Exceptions not formatted as JSON in permission_manager > the exceptions module: you can import lot of exceptions from this module that helps you to raise exceptions that will be well formatted according to JSONAPI 1.0 specification ```python def permission_manager(view, view_args, view_kwargs, *args, **...
diff --git a/.travis.yml b/.travis.yml index 15f8627..99c8a3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: install: - pip install -r requirements.txt - pip install coveralls coverage + - pip install -U setuptools - pip install pytest --upgrade script: - python setup.py install diff ...
miLibris__flask-rest-jsonapi-131
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "flask_rest_jsonapi/resource.py:ResourceRelationship._get_relationship_data" ], "edited_modules": [ "flask_rest_jsonapi/resource.py:ResourceRelationship" ] }, "file": "f...
miLibris/flask-rest-jsonapi
268e94808573033e0232007a887982207f715e9a
Relationships containing hyphens in url Having endpoint definition containing hyphens as the last uri token such as `/persons/<int:person_id>/relationships/computers-owned` lead to error `PersonSchema has no attribute computers-owned`. Effectively, due to python language, Schema attribute name cannot contains hyphen...
diff --git a/flask_rest_jsonapi/resource.py b/flask_rest_jsonapi/resource.py index 0504c33..6136f20 100644 --- a/flask_rest_jsonapi/resource.py +++ b/flask_rest_jsonapi/resource.py @@ -514,7 +514,7 @@ class ResourceRelationship(with_metaclass(ResourceMeta, Resource)): def _get_relationship_data(self): "...
microcombustion__ctwrap-37
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "ctwrap/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules"...
microcombustion/ctwrap
5de1852a2b85887182b868852908ad2f09a2a28b
Make Parser more intuitive Currently `Parser` requires a list to to specify parameter values with dimensions and comments, i.e. ```yaml T: [300., kelvin, 'temperature'] P: [1., atmosphere, 'pressure'] phi: [.55, dimensionless, 'equivalence ratio'] oxidizer: 'O2:1,AR:5' ``` It would be more intuit...
diff --git a/ctwrap/__init__.py b/ctwrap/__init__.py index 3e67077..d78ea40 100644 --- a/ctwrap/__init__.py +++ b/ctwrap/__init__.py @@ -1,6 +1,6 @@ """Package exports.""" from .simulation import Simulation, SimulationHandler -from .parser import Parser, load_yaml, save_metadata +from .parser import parse, write, Par...
microcombustion__ctwrap-61
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ctwrap/simulation.py:Simulation.__init__", "ctwrap/simulation.py:Simulation.run", "ctwrap/simulation.py:Simulation._save" ], "edited_modules": [ "ctwrap/simulation.py...
microcombustion/ctwrap
9d8cf5f0afaad0995f38a0b670280465cd84b7a3
Parallel batch jobs fail silently While failing parallel jobs should not raise an error, some documentation needs to be generated
diff --git a/ctwrap/simulation.py b/ctwrap/simulation.py index ea81fb5..4048309 100644 --- a/ctwrap/simulation.py +++ b/ctwrap/simulation.py @@ -59,6 +59,7 @@ class Simulation(object): self._module = module self._output = output self.data = None + self._errored = False # ens...
microformats__mf2py-206
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mf2py/datetime_helpers.py:normalize_datetime" ], "edited_modules": [ "mf2py/datetime_helpers.py:normalize_datetime" ] }, "file": "mf2py/datetime_helpers.py" } ]
microformats/mf2py
15553777bb4835e6331dfb2e7043b3cd0bdaf8d0
VCP: implement timezone offset normalisation Per https://github.com/microformats/microformats2-parsing/issues/56
diff --git a/mf2py/datetime_helpers.py b/mf2py/datetime_helpers.py index 93032e3..9f4328b 100644 --- a/mf2py/datetime_helpers.py +++ b/mf2py/datetime_helpers.py @@ -58,5 +58,5 @@ def normalize_datetime(dtstr, match=None): tzstr = match.group("tz") if tzstr: - dtstr += tzstr + d...
microformats__mf2py-208
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mf2py/parse_property.py:embedded" ], "edited_modules": [ "mf2py/parse_property.py:embedded" ] }, "file": "mf2py/parse_property.py" }, { "changes": { "adde...
microformats/mf2py
70bbb6a215854b8657ab7d44209a7ab0c4e3b92e
expose BS4 tree for sanitation Given that for many use cases HTML is going to be sanitized after being extracted from a page (e.g. to be displayed as a comment), it could make sense to optionally return the nodes from the parsed beautifulsoup tree instead of turning them into HTML strings that'll immediately afterwards...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 996773a..387bd65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. - fix whitespace in plaintext conversion (#207) - add srcset support (#209) - add language support (#210) +- add extension ...
microsoft__debugpy-1004
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/adapter/clients.py:Client.launch_request" ], "edited_modules": [ "src/debugpy/adapter/clients.py:Client" ] }, "file": "src/debugpy/adapter/clients.py" }, ...
microsoft/debugpy
6b276e339cd850c5f8c93ff4bdbd305dd963d7bb
"argsExpansion" does not do what it says in VSCode See https://github.com/microsoft/vscode-python/issues/13264 The option might still be useful for other clients, but the issue highlights the fact that its current name is very client-behavior-specific, and doesn't accurately represent what it does: whether pass the ...
diff --git a/src/debugpy/adapter/clients.py b/src/debugpy/adapter/clients.py index 20a450a7..bc4bc50a 100644 --- a/src/debugpy/adapter/clients.py +++ b/src/debugpy/adapter/clients.py @@ -29,6 +29,7 @@ class Client(components.Component): "supportsVariablePaging": False, "supportsRunInTerminalRe...
microsoft__debugpy-103
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/adapter/clients.py:Client.launch_request", "src/debugpy/adapter/clients.py:Client.notify_of_subprocess" ], "edited_modules": [ "src/debugpy/adapter/clients.py:Cli...
microsoft/debugpy
32c00bc85c284791e9e55b74885b6825b9ef111e
multiprocessing triggers preLaunchTask and postDebugTask more than once ## Environment data - DEBUGPY version: 1.0.0b4 - OS and version: ubuntu18.04 - Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.9 - Using VS Code or Visual Studio:VS Code ## Actual behavior When I launch a simple...
diff --git a/src/debugpy/adapter/clients.py b/src/debugpy/adapter/clients.py index 9ece52da..0acc1e13 100644 --- a/src/debugpy/adapter/clients.py +++ b/src/debugpy/adapter/clients.py @@ -305,7 +305,9 @@ class Client(components.Component): raise request.cant_handle('"sudo":true is not supported on Windows.'...
microsoft__debugpy-1040
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/server/api.py:ensure_logging" ], "edited_modules": [ "src/debugpy/server/api.py:ensure_logging" ] }, "file": "src/debugpy/server/api.py" } ]
microsoft/debugpy
3272dace18537bf885eb556740f0fd2e709eacba
`debugpy.log_to()` should be able to customize pydevd logging too Right now `pydevd` only has the logging set through environment variables which are set at import time in `pydevd_constants`. The problem is that when the user sets the logging using `debugpy.log_to` if `pydevd` was already imported the logging in `py...
diff --git a/src/debugpy/server/api.py b/src/debugpy/server/api.py index 515ea060..e2a21e59 100644 --- a/src/debugpy/server/api.py +++ b/src/debugpy/server/api.py @@ -58,6 +58,7 @@ def ensure_logging(): ensure_logging.ensured = True log.to_file(prefix="debugpy.server") log.describe_environment("Initial e...
microsoft__debugpy-1052
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py:_create_default_type_map" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py:_create_default_...
microsoft/debugpy
a08da17302626bd4a059172c588dc283bf5e3f17
Debugger Does Not Enumerate ctypes Arrays **Describe the bug** The debugger in Visual Studio 2022 does not treat ctypes arrays as containers, and hovering over them or looking at them in the variables window does not show length or allow the items to be enumerated like a list or dict. This is a new problem in VS2022, ...
diff --git a/cgmanifest.json b/cgmanifest.json index aca38bd3..d23f3aa2 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/src/debugpy/_vendored/pydevd/_pyde...
microsoft__debugpy-1057
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:internal_evaluate_expression_json", "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:build_exception_info_response" ],...
microsoft/debugpy
1dc82718d18cfc99276033061ca66eff871023ca
Chained exception does not show cause message I'm not really sure if this is a bug or a feature request or if this should be raised in `vscode-python` instead but it appears related to https://github.com/microsoft/debugpy/issues/391 ## Environment data - debugpy version: 1.6.3 - OS and version: Windows 10 - Pytho...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py index 163fd7ab..8fd52229 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py @@ -1219,7 +1219,7 @@ def...
microsoft__debugpy-1067
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:internal_evaluate_expression_json", "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:build_exception_info_response" ],...
microsoft/debugpy
1dc82718d18cfc99276033061ca66eff871023ca
Is there any way to break the upper limit of the number of watch windows in debug At one time, the maximum number of variables was 300. Now it seems that the maximum number of variables has been cancelled, but the watch window still seems to be 300, and I can't find the .py file to modify this setting. Is there a way t...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py index 163fd7ab..8fd52229 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py @@ -1219,7 +1219,7 @@ def...
microsoft__debugpy-1141
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py:PyDevdAPI.request_exception_info_json" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py:PyD...
microsoft/debugpy
79b7c5634ed5179d193ae563c56ee25dcaed9c30
Test failure: AttributeError: 'NoneType' object has no attribute 'additional_info' Looks like some of the earlier issues we had - probably needs another null check? ``` 2022-11-16T22:29:19.8770109Z 0.00s - PyDB.do_wait_suspend 2022-11-16T22:29:19.8770889Z name: _thread1 (line: 17) 2022-11-16T22:29:19.8771735Z file...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py index 3c08fdca..0b21c59b 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py @@ -209,12 +209,13 @@ class P...
microsoft__debugpy-1147
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py:update_globals_and_locals" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py...
microsoft/debugpy
bf5c644bc39a1040d83ea74a40ef87b0d6ae9344
Set a variable from a different frame Is there a way to copy a local variable (in a function) to the global scope (module), in order to inspect it after debugging ? In my experience, sending a `setExpression` request with a global variable as expression does not create a global variable: ``` type: "request", co...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py index fa1a1252..c6bc3754 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals....
microsoft__debugpy-137
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/adapter/clients.py:Client.launch_request" ], "edited_modules": [ "src/debugpy/adapter/clients.py:Client" ] }, "file": "src/debugpy/adapter/clients.py" }, ...
microsoft/debugpy
011810aa420f751492395c7251cf6e730b945b74
Shell expansion is not working in "args" ## Environment data Version: 1.43.1 Commit: fe22a9645b44368865c0ba92e2fb881ff1afce94 Date: 2020-03-18T07:17:38.324Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Linux x64 5.5.8-1-MANJARO ## Expected behaviour On launch of a...
diff --git a/.vscode/launch.json b/.vscode/launch.json index 6a535701..eacf2a46 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,50 +5,71 @@ "version": "0.2.0", "configurations": [ { - "debugAdapterPath": "${workspaceFolder}/src/debugpy/adapter", - "name": "Launc...
microsoft__debugpy-1624
[ { "changes": { "added_entities": [ "src/debugpy/server/cli.py:consume_args", "src/debugpy/server/cli.py:parse_args", "src/debugpy/server/cli.py:parse_args_from_command_line", "src/debugpy/server/cli.py:parse_args_from_environment", "src/debugpy/server/cli.py:parse_a...
microsoft/debugpy
6e8e5becb251defdf4b7a878ec091ac7a91425d1
Terminal debug experience in Python Debbuger Extension We are implemented a debug terminal with shell integration, in order to do that we will need an extra implementation in debugpy side. In order to start debugging from the terminal, we need to specify a connect or listen port in the command: `python -m debugpy --...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d2bead8..b0121d12 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -74,9 +74,24 @@ On Linux or macOS: .../debugpy$ python3 -m tox -e py27,py37 --develop ``` +You can run all tests in a single file using a specified python version, like this: +``` +...\debug...
microsoft__debugpy-250
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py:SafeRepr._repr_str", "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py:SafeRepr._repr_obj", "src/debugpy/_v...
microsoft/debugpy
4715925a00337b567b45aa1103addb75a5c8a5cd
Debugger starts to paginate memory when getting the representation of big byte arrays <!-- Please search existing issues to avoid creating duplicates. --> ## Environment data - VS Code version: Version: 1.45.0 - Extension version (available under the Extensions sidebar): 2020.5.78807 - OS and version: Mac...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py index 512be7f1..be1e61e9 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py @@ -6...
microsoft__debugpy-340
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py" }, { "changes": { "added_entities": null, "added_modules": nu...
microsoft/debugpy
1bef8e5ffb293eea1e19802b869e1fd1dc47f80d
pp.Server() error Issue Type: <b>Bug</b> everytime I debug python code: import pp pp.Server It will raise the error message: Exception has occurred: RuntimeError Communication pipe read error Extension version: 2020.2.64397 VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-0...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py index 263f43fb..2afae09e 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py +++ b/src/debugpy/_vendored/pydevd/_pyd...
microsoft__debugpy-352
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py" }, { "changes": { "added_entities": null, "added_modules": null...
microsoft/debugpy
32ec4ba31b33ad32db940aab30458fba59d3371f
Add "pythonArgs" config property for interpreter arguments There's currently no way to specify interpreter command line arguments without also specifying the interpreter binary - both are done via "python". When used with VSCode, this means that there's no easy and obvious way to use the current selected interpreter in...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py index a8c53ca2..57dee526 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_fr...
microsoft__debugpy-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/debugpy/_vendored/force_pydevd.py" } ]
microsoft/debugpy
ecf0446d3fbe9c3f3041ca52d9c8f4372ab80a46
"logToFile" doesn't create pydevd logs pydevd logging has to be enabled using `PYDEV_DEBUG` and `PYDEV_DEBUG_FILE` at the moment. For "launch" scenarios, this is particularly inconvenient, since one has to set the variables before starting VSCode. Wiring up `--log-dir` in the server can be a bit tricky, but at leas...
diff --git a/src/debugpy/_vendored/force_pydevd.py b/src/debugpy/_vendored/force_pydevd.py index cb996ce4..c0b058f1 100644 --- a/src/debugpy/_vendored/force_pydevd.py +++ b/src/debugpy/_vendored/force_pydevd.py @@ -5,6 +5,7 @@ from __future__ import absolute_import, division, print_function, unicode_literals from i...
microsoft__debugpy-570
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py:SafeRepr._repr_dict" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py:SafeRepr"...
microsoft/debugpy
2ebc4e71b50a0dfb636bb0649417ee2d31697bcf
VS Code shows wrong order of dict The issue has been closed, but the bug is still not resolved: https://github.com/microsoft/vscode-python/issues/3236 https://github.com/microsoft/vscode-python/issues/7787 ## Environment data - VS Code version: 1.54.3 - Extension version (available under the Extensions sid...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py index be1e61e9..56b384a6 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py @@ -4...
microsoft__debugpy-683
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py:Reload.__init__" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py:Reload" ] ...
microsoft/debugpy
8aa184e0040dc1a1782e0a181795e20428ccfdda
Reloading modules with relative imports fails Structure to reproduce: ``` main.py package/ module.py module1.py ``` main.py: ----- ``` from package.module1 import add_more_text def main(): while True: s = input() print(add_more_text(s)) if __name__=="__main__": ...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py index b7b897c4..b279eda2 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py @@ -193,8 +193,16...
microsoft__debugpy-773
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/debugpy/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py" }, { "changes": { "added_entities": null, "added_modules": null, "...
microsoft/debugpy
ddb083cc25fbe5c7aa5d504130a451e907e777b1
Hide debugger threads from being returned in the threading module This code should go to end but in VS Code does not. In others IDE this run to the end. Is this BUG or? Code is: ``` import logging import random import threading import time logging.basicConfig( level=logging.DEBUG, format='(%(th...
diff --git a/src/debugpy/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py b/src/debugpy/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py index 9b01a651..3866e752 100644 --- a/src/debugpy/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py +++ b/src/debugpy/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py @...
microsoft__debugpy-829
[ { "changes": { "added_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py:_update_globals_and_locals" ], "added_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py:_update_globals_and_locals" ], "edited_entities": [ "...
microsoft/debugpy
0105bd92ce003457fb556d734fce94c79356955f
Comprehension list in Debug Console doesn't get updated ### VS Code version 1.63.2 ### Extension version v2021.7.1060902895 ### OS type Linux ### OS version 20.04 ### Python distribution Anaconda ### Python version 3.8 ### Language server Pylance ### Expected behaviour If I'...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py index 1af1a778..a50f302e 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py @@ -3,7 +3,7 @@ """ imp...
microsoft__debugpy-853
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:internal_evaluate_expression_json" ], "edited_modules": [ "src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py:inter...
microsoft/debugpy
6134532263fa046ae231c14bc8bcd3f2191f8c06
I see `print` outputs twice in Debug Console when launch config uses `"console": "internalConsole"` Issue Type: <b>Bug</b> Launch config: ```json { "name": "Python: Current File", "type": "python", "request": "launch", "program": "${file}", "console": "internalConsole", } ``` Then deb...
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py index 3cd4290f..6e41ae72 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py @@ -1161,7 +1161,7 @@ def...