[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 1449, Fri Nov 14 22:54:16 2003 UTC version 1452, Fri Nov 21 17:27:17 2003 UTC
Line 2 
Line 2 
   
  Changed, Enhanced, or Newly Deprecated Features   Changed, Enhanced, or Newly Deprecated Features
   
    - Added 'peak.running.commands.runMain()', a convenience function for starting
      an application's "main" command, that also makes it easy for forked child
      processes to exit and replace the parent process' "main".  The 'peak' script
      has now been shortened to::
   
          from peak.running import commands
          commands.runMain( commands.Bootstrap )
   
      so it's now much easier to create alternative startup scripts, if you need
      to, or to add an 'if __name__=="__main__"' clause to a module.
   
  - Added 'peak.util.mockdb', a "mock object" implementation of a DBAPI 2.0   - Added 'peak.util.mockdb', a "mock object" implementation of a DBAPI 2.0
    driver module.  'mockdb' connections can be told to 'expect()' queries     driver module.  'mockdb' connections can be told to 'expect()' queries
    and 'provide()' data to their callers, and will raise AssertionErrors when     and 'provide()' data to their callers, and will raise AssertionErrors when


Generate output suitable for use with a patch program
Legend:
Removed from v.1449  
changed lines
  Added in v.1452

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help