[PyPerforce] PyPerforce 0.4 released
Status: Beta
Brought to you by:
lewisbaker
From: Lewis B. <lew...@us...> - 2007-08-07 13:43:56
|
Hi All, A new release of PyPerforce is now available at http://pyperforce.sourceforge.net/. The 0.4 release introduces support for the KeepAlive functionality in the Perforce C++ API. You can now provide a Python function to a Connection obj= ect that will be called periodically during long-running commands to give you a= n opportunity to abort that operation. This allows you to write command-line scripts that are able to respond to Ctrl-C or GUI applications that have a cancel button. A Job class has been added to round out support for Perforce form-based objects. The form-based objects, such as Client, Job, Branch, etc, now also support iteration over their fields in a similar way to Form objects. For example: import perforce p4 =3D perforce.Connection() p4.connect() job =3D perforce.Job(p4, 'job1234') for fieldName in job: print fieldName, "=3D", job[fieldName] For a detailed list of other changes and bugfixes see the change notes here= : http://sourceforge.net/project/shownotes.php?group_id=3D162781&release_id= =3D529773 I hope that people find these new features useful and I look forward to any feedback, comments, thoughts or suggestions. Cheers, Lewis. -- Lewis Baker _________________________________________________________________ Connect to the next generation of MSN Messenger=A0 http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc= e=3Dwlmailtagline= |