Other Library Enhancements

os module

  • More complete set of POSIX system calls
  • Functionality of the popen2 module now included
     popen(command [, mode [, bufsize]])
     popen2(command [, mode [, bufsize]])
     popen3(command [, mode [, bufsize]])
     popen4(command [, mode [, bufsize]])

re module

  • Support for Unicode strings
  • A few new regular expression patterns

random module

  • Extensive changes and cleanup of the API
  • Old whrandom module deprecated
<<< O'Reilly OSCON 2001, New Features in Python 2, Slide 69
July 26, 2001, beazley@cs.uchicago.edu
>>>