The Wayback Machine - https://web.archive.org/web/20250523212847/https://github.com/python/cpython/issues/113983
Skip to content

import requests bug #113983

Closed as not planned
Closed as not planned
@Scrapingar

Description

@Scrapingar

Bug report

Bug description:

import requests

def make_requests(url):
    import requests
    
    
    try:
        resp = requests.get(url, allow_redirects=True, timeout=10, verify=False)
    except:
        print('Error')
        
if __name__ == '__main__':
    
    make_requests('google.com')
    
    pass

CPython versions tested on:

3.11

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions