P4Python is a programming component that allows developers to interact with the Perforce server by using Python applications. You can use this tool for extracting certain forms and data items by using Python scripts.
The API also allows you to edit Perforce forms and issue commands in order to manage the Perforce database.
What's New in This Release:
Bugs fixed:
· When using Python 3.X P4Python created a memory leak for every call. This has now been fixed. Note that the fix requires upgrading to Python 3.3. All previous version of Python 3.X are not supported and P4Python 2013.1 will not compile with these releases.
· Reformatted P4.py to use spaces instead of tabs, following the Python coding standard.
New functionality:
· P4Python is now compatible with Python 3.3 and will complete all test cases.
· Comments in forms are now preserved in the spec object when using P4.parse_spec. The comment can be accessed and changed through the P4.Spec.comment attribute. Comments are used by the P4.format_spec methods such as P4.format_client(). This is useful for form-out triggers.
· When decoding strings in Python 3 from a non-Unicode Perforce server, P4Python normally assumes that all strings are encoded in UTF8. P4.encoding can be set to a legal Python encoding to change the decoding of any content from the Perforce Server. If P4.encoding is set...