Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
ReadMe.txt | 2012-01-09 | 1.5 kB | |
pyars-1.6.0.win32.exe | 2011-12-07 | 1.4 MB | |
pyars-1.6.0.zip | 2011-12-07 | 1.3 MB | |
Totals: 3 Items | 2.7 MB | 0 |
Changes in 1.6.0 (2011-12-05) * pyars.ars: Beginning support for 7.6.4 * pyars.erars: now supports python context managers (starting with Python 2.5); you can now write: from pyars.erars import erARS with erARS('server:port', 'user', 'password') as ars: schemas=ars.GetListSchema() and it will make sure that at the end of the context manager, an ars.Logoff() will be executed. * pyars.erars: improved the exception handling of own exceptions. If you now raise ARError with a session object as a parameter, the exception will retrieve the error information from the session status list (similar to what ars.statusText() gives you). The limitation is that the exception will take info only from the first entry in this status list. * pyars.ars: changed the exception from NotImplemented to pyARSNotImplemented as NotImplemented is a reserved type. * pyars.cars: Following up on the change in naming conventions with AR7.6, I had to change the way, how pyars tries to load the shared libs. This time, the solution should be flexible enough for future ideas from BMC... * pyars.erars: GetMultipleActiveLinks now allows for a python list/tuple as parameter for nameList. * pyars.erars: GetEntry now returns a tuple (name, origSize, compSize) for attachment fields (if there is an attachment); the name will be returned as unicode if you are logged in with charSet=’utf-8’. In addition, for coordinates, it now returns a list of (x, y) pairs. Basically the function convValueStruct2Value does this now properly.