Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

UrlFetchRpcHandler error #448

Copy link
Copy link
Closed
Closed
Copy link
@smorodsky

Description

@smorodsky
Issue body actions

I used in the project slightly modifying class UrlFetchRpcHandler (file /appengine/standard/urlfetch/async/rpc.py)
Approximately once every 100,000 requests to receive an unexpected error:

UnboundLocalError: local variable 'result' referenced before assignment

It looks like the problem of garbage collection. Completely solve the problem by adding at the beginning define of the line

global result

I hope it will be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.