Release: PySyck 0.61.2

2006-03-29 Thread Kirill Simonov
A new version of PySyck is available at:

http://pyyaml.org/wiki/PySyck

PySyck is a Python binding to the Syck YAML parser and emitter.

Changes from 0.61.1 to 0.61.2:
 * fix a leak in the parser (thanks to Jeff Johnson).


-- 
xi
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


Reminder: Bug Day this Friday, 31st of March

2006-03-29 Thread Georg Brandl
Hello,

it's time for the 7th Python Bug Day, just before 2.5 alpha 1 is released.
The aim of the bug day is to close as many bugs, patches and feature requests
as possible, this time with a focus on small feature additions that can still go
into the upcoming 2.5 alpha release.

When?
^

The bug day will take place on Friday, March 31st, running from approximately
1PM to 8PM GMT (9AM to 4PM Eastern time). You don't need to be around all day;
feel free to stop by for a few hours and contribute.

Where and How?
^^

To join, stop by the IRC channel #python-dev on irc.freenode.net, where
efforts will be discussed and coordinated. We'll collaboratively go through
the Python bug database at SourceForge and fix things as they come up.

IMPORTANT: *No* prior knowledge of the Python source is necessary to
participate! You'll get all assistance the developers can offer for starting
up with helping, this is in fact a good opportunity to learn the basics.

Bug day participation helps the developers and makes Python 2.5 a better
release by reducing the backlog of bugs and patches.  Plus, it's fun!

More information


For instructions and more information, see the Wiki page at
http://www.python.org/cgi-bin/moinmoin/PythonBugDay


Cheers,
Georg





signature.asc
Description: OpenPGP digital signature
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANNOUNCE: wxPython 2.6.3.0

2006-03-29 Thread Robin Dunn
Announcing
--

The 2.6.3.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  There have been many enhancements
and fixes implemented in this version, many of which are listed
below and at http://wxpython.org/recentchanges.php.


What is wxPython?
-

wxPython is a GUI toolkit for the Python programming language. It
allows Python programmers to create programs with a robust, highly
functional graphical user interface, simply and easily. It is
implemented as a Python extension module that wraps the GUI components
of the popular wxWidgets cross platform library, which is written in
C++.

wxPython is a cross-platform toolkit. This means that the same program
will usually run on multiple platforms without modifications.
Currently supported platforms are 32-bit Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.2+, in most
cases the native widgets are used on each platform.


Changes in 2.6.3.0
--

Change the wx.ListCtrl InsertStringItem wrapper to use the form that
takes an imageIndex, and set the default to -1.  This ensures that on
wxMSW that if there is an image list but they don't specify an image,
the native control doesn't use one anyway.

wxMSW: wx.ListCtrl in report mode is now able to support images in
other columns besides the first one.  Simply pass an image index to
SetStringItem.  For virtual list controls you can specify the image to
use on the extra columns by overriding OnGetItemColumnImage in your
derived class.  It is passed the item number and the column number as
parameters, and the default version simply calls OnGetItemImage for
column zero, or returns -1 for other columns.

Switched to using SWIG 1.3.27 for generating the wrapper code.  There
are some small changes needed to SWIG to work around some bugs that
wxPython exposes, and to be able to generate code that matches that
which wxPython is using.  If you are building wxPython yourself and
need to modify any of the *.i files or to add your own, then you will
want to be sure to use a matching SWIG.  See wxPython/SWIG/README.txt
in the source tarball for details.

wx.Image.Copy now also copies the alpha channel.

wxMSW: Fixed problem in wx.TextCtrl where using SetValue and
wx.TE_RICH2 would cause the control to be shown if it was hidden.

wxMSW: Numpad special keys are now distinguished from normal keys in
key events.

wxMSW: Multiline notebook tab label change now resizes the control
correctly if an extra row is removed or added.

wxMSW: On XP fall back to unthemed wxNotebook if specified orientation
not available in the themed version.

Added wx.Toolbar.GetToolsCount.

Added wx.GridSizer.CalcRowsCols.

Added wx.OutputStream.LastWrite.

wxGTK: EVT_SET_CURSOR is now sent.

wxGTK: Fix RequestMore for idle events.

wxGTK: Implement user dashes for PS and GNOME printing.

wxGTK: Correct update region code. Don't always invalidate the whole
window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE
flag.  Also disable refreshing custom controls when focusing in and out.

wx.lib.pubsub: Publisher is now able to parse a dotted notation string
into a topic tuple.  For example: subscribing to "timer.clock.seconds"
is the same as subscribing to ("timer", "clock", "seconds").

Applied patch #1441370: lib.plot - allow passing in wx.Colour()

Added wx.CommandEvent.GetClientData.

Updated wxStyledTextCtrl to use version 1.67 of Scintilla.
NOTE: The STC_LEX_ASP and STC_LEX_PHP lexers have been deprecated,
you should use STC_LEX_HTML instead.

wxSTC: Implemented fix for SF Bug #1436503.  Delay the start of the
DnD operation in case the user just intended to click, not drag.

Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.

Added the wx.lib.mixins.listctrl.CheckListCtrlMixin class from Bruce
Who, which makes it easy to put checkboxes on list control items.

Applied a patch from Christian Kristukat to wx.lib.plot that adds
scrollbars when the plot is zoomed in, and also the ability to grab a
zoomed plot and move it around with a mouse drag.

XRCed updated to allow wxMenuBar to be created inside a wxFrame.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


introducing Construct

2006-03-29 Thread tomerfiliba
"Construct -- parsing made fun"

info, demos, and download at:
http://pyconstruct.sourceforge.net


about:

Construct is a library for declaratively defining parsers and builders
for arbitrary data structures. Constructs are symmetrical: they can do
both parsing and building. Using the vast number of provided
primitives, you can easily define your data structures, including
advanced concepts like meta-constructs, as shown below. And it's
declarative -- so you don't need to write any code for the common
cases. You can also easily subclass Construct and write user-defined
constructs.

Unlike most parsers, Construct works at the bit-level, which means you
can easily parse unaligned fields, or work with bit fields of arbitrary
lengths. The library supports Fields, Structs, Unions, and Repeaters;
Adapters and Validators;  Switches, Pointers and other Meta-constructs.

To show its power, I provided a fully functional ELF32 file parser,
WITHOUT ONE LINE OF PROCEDURAL CODE. It's all declerative. I used it to
parse python23.o (2.1MB), in 2.88 sec on my machine.

The library comes with a demos folder, an "inventory" of useful
ready-made protocols, and is fully documented with doc-strings, for
easy viewing with pydoc and the like.


examples:

from Construct import *

#
# simple structures
#
ethernet_header = Struct("ethernet_header",
Bytes("destination", 6),
Bytes("source", 6),
UInt16("type"),
)
print ethernet_header.parse("123456ABCDEF\x08\x00")

#
# meta constructs -- uses meta data
#
tlv = Struct("tlv",
Byte("type"),
Byte("length"),
MetaBytes("value", "_.length"),
)
print ethernet_header.parse("\x01\x05ABCDE")




-tomer

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: iTorrent alpha-1

2006-03-29 Thread Michael Hobbs
Announcing the first alpha release of iTorrent. iTorrent allows you to
download BitTorrent podcasts from iTunes. It transforms BitTorrent
podcasts so that you can update them just like any other podcast in
iTunes. Details can be found at http://www.itorrent.cc. iTorrent is
written in Python and is released under the GPL.

Since this is its first alpha release, iTorrent isn't pretty, but it
does work well -- for me. Please try it out on your own podcasts and let
me know what doesn't work. Also, since this is an early release, I am
only announcing it to a select group of knowledgeable Python users.
Please don't spread the word; I'm not ready yet to handle bug reports
from casual end users.

Technical Details: iTorrent runs as an RSS proxy on your local machine
and will fetch enclosures from a BitTorrent network on behalf of iTunes.
The BitTorrent content will then be fed to iTunes via a standard HTTP
loopback connection.

It uses the official BitTorrent 4.4.0 code to perform the actual
downloads from a BitTorrent network. (http://www.bittorrent.com)

Regards,
- Michael Hobbs  <[EMAIL PROTECTED]>


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


LDTP 0.4.0 released !!!

2006-03-29 Thread A Nagappan
Issue VII - 29 March 2006

Welcome to the seventh issue of LDTP Newsletter! We are now celebrating
our 0.4.0 release. This release features
exhaustive list of bug fixes. LDTP is now stable than ever
before.Useful references have been included at the end of this
article for those who wish to hack/use LDTP.

About LDTP
Linux Desktop Testing Project is aimed at producing high quality test
automation framework and cutting-edge tools
that can be used to test Linux Desktop and improve it. It uses the
"Accessibility" libraries to poke through the application's
user interface. Thanks to the Accessibility team. LDTP automation
framework helps in automatically executing test cases
for verifying the functionality of the software being tested.

This release includes

* Refined object search from the appmap table
* Data XML are now transmitted and received with in CDATA
* Reimplemented getwindowlist, getobjectlist,
getobjectinfo,getobjectproperty
* Memory leak fixed - Freed memory resources when client disconnects

And now take a deep breath and go through the exhaustive list of bug
fixes which makes this version of LDTP the most stable of the lot.
A special thanks to Patrick from Sun Microsystems who has actively
hacked LDTP and helped us identify and resolve many issues.

  * client-handler.c (add_item_to_list): A common function to
   generate XML object list.
   * client-handler.c (send_response):  If data sent in chunks
from
   server to client, then the peek code in client was not able to
   continue reading the next chunk as the recv with peek option
   always returns the first chunk.
   * client-handler.c (handle_request): Implemented
getwindowlist,
   getobjectlist, getobjectinfo, getobjectproperty. Modified
   initappmap to get the file name from gslist only once. Memory
leak
   fixed - Freed memory resources when client disconnects.
   * ldtp.c (ldtp_print): Indentation
   * ldtp-appmap.c (remove_appmap_entries): Memory leak fixed -
Freed
   memory resources when client disconnects.
   * ldtp-appmap.c (search_obj_after_stripping_space): Added new
   function to search for an object after stripping spaces.
   * ldtp-appmap.c (add_child_attributes): Modified it as static
   function.
   * ldtp-appmap.c (ldtp_appmap_free): If appmap is not NULL then
   only traverse the hash table. To avoid a critical warning.
   * ldtp-appmap.c (search_label_based): Modified the logic to
check
   for label or label_by and also, if under score is in value,
then
   remove it and then look for the match.
   * ldtp-command.c (ldtp_command_init_command_table): Added
   getwindowlist, getobjectlist, getobjectinfo, getobjectproperty
   commands to the list of commands.
   * ldtp-error.c (ldtp_error_get_error_message): Added new error
   messages.
   * ldtp-gui.c (ldtp_gui_get_gui_handle): If appmap is not
   initialized, then try to initialize it by updating the window
   handle.
   * ldtp-gui.c (update_cur_window_appmap_handle): Checked for
   argument NULL to avoid crash.
   * ldtp-logger.c (ldtp_log): vprintf also will be printed iff
   LDTP_DEBUG option is enabled.
   * ldtp-request.c (ldtp_request_fill_request): When XML packet
is
   NULL don't process further, which avoids a crash.
   * ldtp-utils.c (escape_character): Modified function name
   escape_under_score to escape_character and also added one
   parameter to make this function a generic one. Check if
argument
   is not NULL then continue else return immediately.
   * remap.c (get_keybinding, filter_appmap_data,
get_object_info,
   add_appmap_data): Checked for NULL arguments to avoid crash.
   * remap.c (accessible_object_handle): Avoided memory
fragmentation
   as the same data is allocated multiple times.


LDTP 0.4.0 is available is rpm package. Thanks to Damien Carbery and
Dave Lin of
Sun Microsystems for creating LDTP packages for solaris.

LDTP makes news
An article has been published in the German journal
"Software-Wydawnictwo Sp. z o.o" about LDTP.
If your in Germany, dont let this oppurtunity slip away. Grab a copy
and check out the simple article
which covers the length and breadth of LDTP.

Downloads...

You can download the latest version of LDTP from
http://ldtp.freedesktop.org/wiki/Downloads

LDTP is available as rpm package. LDTP is also available as deb package
for Debian and Ubuntu distributions. Thanks to Casanova
([EMAIL PROTECTED]) for the providing the same.

For a step by step instruction on setting up LDTP please refer
http://ldtp.freedesktop.org/wiki/How_20to_20setup_20pyldtp_20in_20GNU_2fLinux_20environment


References

For detailed information on LDTP framework and latest updates visit
http://ldtp.freedesktop.org

All the published newsletters including the current one can be
downloaded from http://ldtp.freedesktop.org/wiki/Newsletters

For release notes of every re

RELEASED Python 2.4.3, final.

2006-03-29 Thread Anthony Baxter

On behalf of the Python development team and the Python community,
I'm happy to announce the release of Python 2.4.3 (final).

Python 2.4.3 is a bug-fix release. See the release notes at the
website (also available as Misc/NEWS in the source distribution)
for details of the more than 50 bugs squished in this release,
including a number found by the Coverity Scan project.

Assuming no major bugs pop up, the next release of Python will
be Python 2.5 (alpha 1), with a final 2.4.4 release of Python 
shortly after the final version of Python 2.5. The release plan
for Python 2.5 is documented in PEP-0356.

For more information on Python 2.4.3, including download links for
various platforms, release notes, and known issues, please see:

http://www.python.org/2.4.3/

Highlights of this new release include:

  - Bug fixes. According to the release notes, at least 50
have been fixed.

  - A small number of bugs, regressions and reference leaks 
have been fixed since Python 2.4.3 release candidate 1. 
See NEWS.txt for more.

Highlights of the previous major Python release (2.4) are
available from the Python 2.4 page, at 

http://www.python.org/2.4/highlights.html

Enjoy this new release,
Anthony

Anthony Baxter
[EMAIL PROTECTED]
Python Release Manager
(on behalf of the entire python-dev team)


pgpZ62syGveBz.pgp
Description: PGP signature
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html