This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author EliRibble
Recipients EliRibble
Date 2018-02-08.15:28:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518103707.85.0.467229070634.issue32799@psf.upfronthosting.co.za>
In-reply-to
Content
We've had about 200 occurrences of this error in various parts of our code. I have captured stack traces using sentry so I may be able to provide more detail if requested. The ultimate problem is that a SystemError is raised from within contextlib. The message of the SystemError is:

"<class 'contextlib._GeneratorContextManager'> returned a result with an error set"

The code, according to sentry, that is emitting this error is:

python3.6/contextlib.py in helper at line 159
            <cleanup>
    """
    @wraps(func)
    def helper(*args, **kwds):
>        return _GeneratorContextManager(func, args, kwds)
    return helper

I'm reporting this bug primarily because of the documentation at https://docs.python.org/3/library/exceptions.html#SystemError and I'm using CPython
History
Date User Action Args
2018-02-08 15:28:27EliRibblesetrecipients: + EliRibble
2018-02-08 15:28:27EliRibblesetmessageid: <1518103707.85.0.467229070634.issue32799@psf.upfronthosting.co.za>
2018-02-08 15:28:27EliRibblelinkissue32799 messages
2018-02-08 15:28:27EliRibblecreate