Re: Is unicode_escape broken?

2005-12-13 Thread Mark Mc Mahon
On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I also believe this is a bug.Here's an even shorter demonstration of the behavior:
>>> u"\\".encode("unicode_escape").decode("unicode_escape")Traceback (most recent call last):  File "", line 1, in ?UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in
position 0: \ at end of stringTo report a bug, follow the directions at the bottom of this page:http://www.python.org/2.4.2/bugs.html
Bug Logged: 
		1379994  (http://sourceforge.net/tracker/index.php?func=detail&aid=1379994&group_id=5470&atid=105470
)Thanks,   Mark
-- 
http://mail.python.org/mailman/listinfo/python-list

ANN: pywinauto 0.3.7 now released

2007-04-10 Thread Mark Mc Mahon
Hi,

0.3.7 release of pywinauto is now available.

pywinauto is an open-source (LGPL) package for using Python as a GUI
automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP/Vista?).

SourceForge project page:
http://sourceforge.net/projects/pywinauto

Download from SourceForge
http://sourceforge.net/project/showfiles.php?group_id=157379


Here is the list of changes from the previous release (0.3.6):

0.3.7 Merge of Wait changes and various bug fixes/improvements
--
10-April-2007

* Added Timings.WaitUntil() and Timings.WaitUntilPasses() which
  handle the various wait until something in the code. Also
  refactored existing waits to use these two methods.

* Fixed a major Handle leak in RemoteMemorBlock class (which is
  used extensively for 'Common' controls. I was using OpenHandle
  to open the process handle, but was not calling CloseHandle()
  for each corresponding OpenHandle().

* Added an active_() method to Application class to return the
  active window of the application.

* Added an 'active' option to WindowSpecification.Wait() and
  WaitNot().

* Some cleanup of the clipboard module. GetFormatName()
  was improved and GetData() made a little more robust.

* Added an option to findwindows.find_windows() to find only
  active windows (e.g. active_only = True). Default is False.

* Fixed a bug in the timings.Timings class - timing values are
  Now accessed through the class (Timings) and not through the
  intance (self).

* Updated ElementTree import in XMLHelpers so that it would work
  on Python 2.5 (where elementtree is a standard module) as well
  as other versions where ElementTree is a separate module.

* Enhanced Item selection for ListViews, TreeViews - it is now
  possible to pass strings and they will be searched for. More
  documentation is required though.

* Greatly enhanced Toolbar button clicking, selection, etc.
  Though more documentation is required.

* Added option to ClickInput() to allow mouse wheel movements
  to be made.

* menuwrapper.Menu.GetProperties() now returns a dict like all other
  GetProperties() methods. This dict for now only has one key
  'MenuItems' which contains the list of menuitems (which had been
  the previous return value).


Thanks
 Mark
--------
Mark Mc Mahon
Manchester, NH 03110, USA

http://sourceforge.net/projects/pywinauto";>pywinauto 0.3.7
Simple Windows GUI automation with Python. (10-Apr-07)
-- 
http://mail.python.org/mailman/listinfo/python-list