Skip to content

Conversation

@jayvdb
Copy link

@jayvdb jayvdb commented Oct 27, 2020

Creates SubstitutionStackError and trace recursion from
the beginning of substitution, allowing prevention of the
recursion to halt sooner, and avoid None in error message.

Related to #1716

Note this doesnt really fix anything that is user-facing, except inside the exception message that 90% of users will not read anyway.

So very low priority / optional. I dont have anything which depends on this area.

One reason to reject this is the amount of git blame changes is high for no actual benefit to the user, and very small benefit to developers.

Contribution checklist:

(also see CONTRIBUTING.rst for details)

  • wrote descriptive pull request text
  • added/updated test(s)
  • updated/extended the documentation
  • added relevant issue keyword
    in message body
  • added news fragment in changelog folder
    • fragment name: <issue number>.<type>.rst for example (588.bugfix.rst)
    • <type> is must be one of bugfix, feature, deprecation,breaking, doc, misc
    • if PR has no issue: consider creating one first or change it to the PR number after creating the PR
    • "sign" fragment with "by :user:<your username>"
    • please use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files - by :user:superuser."
    • also see examples
  • added yourself to CONTRIBUTORS (preserving alphabetical order)

Creates SubstitutionStackError and trace recursion from
the beginning of substitution, allowing prevention of the
recursion to halt sooner, and avoid None in error message.

Related to tox-dev#1716
@jayvdb jayvdb force-pushed the fix-sub-recursion-none branch from 8f89ff9 to a7c4be2 Compare October 27, 2020 05:15
Copy link
Member

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@webknjaz
Copy link
Contributor

webknjaz commented Jan 17, 2021

I think this broke the tox-run-command plugin: dstanek/tox-run-command#4

ssbarnea pushed a commit to ssbarnea/tox that referenced this pull request Apr 19, 2021
Creates SubstitutionStackError and trace recursion from
the beginning of substitution, allowing prevention of the
recursion to halt sooner, and avoid None in error message.

Related to tox-dev#1716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants