[Python-Dev] Use function names instead of functions for os.supports_dir_fd?
Victor Stinner
victor.stinner at gmail.com
Wed Jul 18 02:26:14 CEST 2012
More information about the Python-Dev mailing list
Wed Jul 18 02:26:14 CEST 2012
- Previous message: [Python-Dev] Use function names instead of functions for os.supports_dir_fd?
- Next message: [Python-Dev] Use function names instead of functions for os.supports_dir_fd?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 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
- Previous message: [Python-Dev] Use function names instead of functions for os.supports_dir_fd?
- Next message: [Python-Dev] Use function names instead of functions for os.supports_dir_fd?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list