>> Monkey patching is a common practice in Python. test_os.py replaces
>> os.exec*() functions temporary for example.
>
> Perhaps for testing, but I don't think monkey-patching is common in
> production code. Perhaps you are thinking of Ruby :)

The gevent library does monkey-patch os.fork (and time.sleep and many
other functions), but gevent is maybe not ready for production? :-)

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to