Skip to content
Myr

temporary

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4452934 · Browse files · 1 file+14 added−14 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−14 removed

  • other:+14 added−14 removed

1 file+14 added−14 removed

modified:requests/core.py+14 added-14 removed
10 unmodified lines
11"""1213import urllib14import urllib215#16#try:17# import eventlet18## eventlet.monkey_patch()19#except ImportError:20# pass21#22#if not 'eventlet' in locals():23# try:24# from gevent import monkey25# monkey.patch_all()26# except ImportError:27# pass28#2916try:17 import eventlet18 eventlet.monkey_patch()19except ImportError:20 pass2122if not 'eventlet' in locals():23 try:24 from gevent import monkey 25 monkey.patch_all()26 except ImportError:27 pass28 2930from .packages.poster.encode import multipart_encode31from .packages.poster.streaminghttp import register_openers3233
414 unmodified lines