Skip to content

Commit

Permalink
Merge branch 'hotfix/1.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhayen committed Jan 31, 2023
2 parents 3d5164b + b84afd0 commit 51084dc
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
nuitka (1.4.2+ds-1) unstable; urgency=medium

* New upstream hotfix release.

-- Kay Hayen <kay.hayen@gmail.com> Tue, 31 Jan 2023 07:17:15 +0100

nuitka (1.4.1+ds-1) unstable; urgency=medium

* New upstream hotfix release.
Expand Down
2 changes: 1 addition & 1 deletion nuitka/Version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"""

version_string = """\
Nuitka V1.4.1
Nuitka V1.4.2
Copyright (C) 2022 Kay Hayen."""


Expand Down
7 changes: 6 additions & 1 deletion nuitka/build/static_src/CompiledCodeHelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,11 @@ PyObject *BUILTIN_XRANGE1(PyObject *high) {
return NULL;
}

PyObject *length = getLengthOfRange(const_int_0, stop, const_int_pos_1);
if (unlikely(length == NULL)) {
return NULL;
}

struct _rangeobject3 *result = (struct _rangeobject3 *)PyObject_New(struct _rangeobject3, &PyRange_Type);
assert(result != NULL);

Expand All @@ -479,7 +484,7 @@ PyObject *BUILTIN_XRANGE1(PyObject *high) {
result->step = const_int_pos_1;
Py_INCREF(const_int_pos_1);

result->length = stop;
result->length = length;
Py_INCREF(stop);

return (PyObject *)result;
Expand Down
24 changes: 24 additions & 0 deletions nuitka/plugins/standard/standard.nuitka-package.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@
- 'ClrLoader'
when: 'win32 and arch_amd64'

- module-name: 'clvm.version'
anti-bloat:
- description: 'workaround buggy metadata usage'
replacements_plain:
'__version__ = get_distribution(__name__).version': 'raise DistributionNotFound'

- module-name: 'connexion'
data-files:
dirs:
Expand Down Expand Up @@ -1262,6 +1268,14 @@
support_info: 'error'
when: 'version("pyobjc") < (9,)'

- module-name: 'onnxruntime'
dlls:
- from_filenames:
relative_path: 'capi'
prefixes:
- 'onnxruntime'
when: 'win32'

- module-name: 'openapi_spec_validator'
data-files:
dirs:
Expand Down Expand Up @@ -3483,6 +3497,16 @@
patterns:
- 'data.bin'

- module-name: 'textual'
implicit-imports:
- depends:
- 'pygments.lexers.css'

- module-name: 'textual.widgets'
implicit-imports:
- depends:
- '._*'

- module-name: 'thinc.backends.cblas'
implicit-imports:
- depends:
Expand Down

0 comments on commit 51084dc

Please sign in to comment.