Ferenczi Viktor | 1 Apr 18:25
Picon
Favicon

python-cjson 1.0.3x3 released - important bugfix

This is an enhanced version of python-cjson, the fast JSON encoder/decoder 
supporting extension functions to encode/decode arbitrary objects.

Bugfix release: python-cjson-1.0.3x3

Bug #20070401a has been fixed:

When a decoder extension function was called after the failure of an 
internal decoder (for example after failing to interpret new Date(...) as 
null) the internal exception was propagated (not cleared) and could be 
incorrectly raised in the decoder extension function pointing to en 
otherwise correct statement in that function. This could cause severe 
confusion to the programmer and prevented execution of such extension 
functions. JSON encoding is not affected by this bug.

You can reproduce this bug with python-cjson-1.0.3x2:
http://python.cx.hu/python-cjson/bugs/bug.php?dt=20070401a

Download, examples and more information:
http://python.cx.hu/python-cjson
--

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

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

Ferenczi Viktor | 2 Apr 01:27
Picon
Favicon

python-cjson 1.0.3x4 released - new feature

This is an enhanced version of python-cjson, the fast JSON encoder/decoder
supporting extension functions to encode/decode arbitrary objects.

New feature: Optional automatic conversion of dict keys to string.

Since JSON specification does not allow non-string keys in objects, it's
very useful to add optional automatic conversion of dictionary keys. This
could be useful when porting code originally written for simplejson that
does this by default. The feature can be enabled by passing key2str=True
keyword argument to the encode() function. Default behaviour of python-cjson
has been preserved, so without this keyword argument encoding of non-string
dictionary keys will raise EncodeError.

Upgrade only if you need this new feature. This version includes new unit
tests for the above feature. All existing and new unit tests are passed with
python 2.3.5, 2.4.3 and 2.5.0 without problems. But silent bugs may exists.

Download, examples and more information:
http://python.cx.hu/python-cjson

--

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

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

Frank Niessink | 1 Apr 22:05
Gravatar

[ANN] Release 0.62.0 of Task Coach

Hi all,

I'm please to announce release 0.62.0 of Task Coach. This release
fixes a couple of bugs, and adds a number of features.

Bugs fixed:

* When saving timestamps in a task file, e.g. for effort start and
stop times, microseconds are no longer saved as part of the timestamp.
The microseconds caused problems when importing Task Coach data in
Excel.
* When exporting tasks to HTML or CSV format from the task tree
viewer, child tasks hidden by a filter would still be exported.

Features added:

* Added Slovak translation thanks to Viliam Búr
* Printing a selection is enabled (except on Mac OSX).
* The notebook that contains the different views allows for dragging
and dropping of tabs, enabling you to create almost any layout you
like. Unfortunately, this widget does not yet provide functionality to
store the layout in the TaskCoach.ini file.
* Whether the clock icon in the task bar blinks or not is now a
setting (see Edit -> Preferences -> Window behavior.
* The toolbar buttons for 'new item', 'new sub item', 'edit item' and
'delete item' now work for tasks, effort records and categories,
depending on what view is active.
* Added a category column for task viewers.
* Added an attachment column that shows whether a task has one or more
attachments.
(Continue reading)

Ali Gholami Rudi | 2 Apr 15:48
Favicon

Rope 0.5m4

Rope 0.5m4 has been released.  Get it from
http://sf.net/projects/rope/files.

================================================
 rope, a python refactoring IDE and library ...
================================================


Overview
========

`rope`_ is a python refactoring IDE and library.  The IDE uses the
library to provide features like refactoring, code assist, and
auto-completion.  It is written in python.  The IDE uses `Tkinter`
library.

.. _`rope`: http://rope.sf.net/


New Features
============

* Generating python elements
* Memorizing locations and texts
* Added `.ropeproject` folder
* Saving history across sessions
* Saving object data to disk
* Incremental ObjectDB validation
* Inlining `staticmethod`\s
* Setting ignored resources patterns

Maybe the most notable change in this release is the addition of a new
folder in projects for holding configurations and other informations
for a project.  Its default name is ``.ropeproject``, but it can be
changed in ``~/.rope`` or `Project` constructor (if using rope as a
library).  You can also force rope not to make such a folder by using
`None` instead of a `str`.

Currently it is used for these perposes:

* There is a ``config.py`` file in this folder in which you can change
  project configurations.  Look at the default ``config.py`` file,
  that is created when there is none available, for more information.
  When a project is open you can edit this file using ``"Edit Project
  config.py"`` action or ``C-x p c``.
* It can be used for saving project history, so that the next time you
  open the project you can see and undo past changes.  If you're new
  to rope use ``"Project History"`` (``C-x p h``) for more
  information.
* It can be used for saving object information.  Before this release
  all object information where kept in memory.  Saving them on disk
  has two advantages.  First, rope will need less memory and second,
  the calculated and collected information is not thrown away each
  time you close a project.

You can change what to save and what not to in the ``config.py`` file.

Since files on disk change overtime project object DB might hold
invalid information.  Currently there is a basic incremental object DB
validation that can be used to remove or fix out of date information.
Rope uses this feature by default but you can disable it by editing
``config.py``.  Other interesting features related to rope's object DB
and object inference are planned for ``0.5`` release.  So if you're
interested keep waiting!

The generate element actions make python elements.  You have to move
on an element that does not exist and perform one of these generate
actions.  For example::

  my_print(var=1)

Calling generate function on `my_print` (``C-c n f``) will result in::

  def my_print(var):
      pass


  my_print(var=1)

It handle methods, static methods, classes, variables, modules, and
packages, too.  Generate element actions use ``C-c n`` prefix.

Rope can now save locations or strings in memory.  These are similar
to emacs's bookmarks and registers.  These actions use ``C-x m``
prefix.

--

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

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html
Travis Oliphant | 3 Apr 06:16
Picon

NumPy 1.0.2 released

NumPy 1.0.2 has been released

NumPy is a Python extension that provides a multi-dimensional array and 
basic mathematical processing to Python.  NumPy also provides foundation 
for basic image and signal processing, linear algebra and Fourier 
transforms, and random number generation.  NumPy also includes easy 
integration with ctypes and Fortran allowing powerful extensions to be 
written.

This release is mainly a bug-fix release but includes a few new features 
and optimizations.  For full details see the release notes at 
http://www.scipy.org/ReleaseNotes/NumPy_1.0

Binary installers for Windows and Python 2.3, 2.4, and 2.5 are available 
at Sourceforge along with a gzipped tar-ball and source rpm:

http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103

Enjoy!!

NumPy developers
http://numpy.scipy.org

--

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

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

Michael Twomey | 4 Apr 15:28
Picon
Gravatar

Python Ireland 11th April 2007 Meeting

Hi,

The Python Ireland group will be having our next meeting soon:

Wednesday, 11th April at 7pm

Location:
OpenApp
55 Fitzwilliam Square
Dublin 2
More Info: http://openapp.biz/sections/contact/

We'll be giving the following talk:

* Developing Applications with Django - Vishal Vatsa

This will be followed by some friendly chat in the nearest pub.

Due to space limits please mention your interest on the python ireland
mailing list so we can get an idea of how many people are coming. See
http://groups.google.com/group/pythonireland

For more info and directions see
http://wiki.python.ie/moin.cgi/PythonMeetup/April2007

cheers,
 Michael

Python Ireland - http://python.ie/
--

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

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

Arjan Molenaar | 4 Apr 11:31
Picon

[ANN] Gaphor 0.10.0

Hi all,

I just released a new version of Gaphor: 0.10.0

Gaphor is an UML modeling tool written in Python. It utilizes GTK+ for  
it's graphical user interface.

Major enhancements include:

  - New undo management system
  - Setuptools is used for installation and also within Gaphor
  - Depends on zope.component 3.4 and gaphas 0.1.3 (installed on  
as-needed basis)
  - Installable as Python Egg

Check out the latest version at http://cheeseshop.python.org/pypi/gaphor

Regards,

Arjan Molenaar
--

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

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

Arjan Molenaar | 5 Apr 13:17
Picon

[ANN] Gaphor 0.10.1

Hi all,

Due to a critical bug in the 0.10.0 version I had to do another
release: 0.10.1.

Gaphor is an UML modeling tool written in Python. It utilizes GTK+ for
it's graphical user interface.

This is a bug fix release:

   - Fix Gaphor installation through easy_install
     You can now do `easy_install gaphor' and get the latest version
     of Gaphor built and installed on your system.

   - Fixed some issues with text placement and editing of attributes
     and operations.

0.10.0
------
Major enhancements include:

- New undo management system
- Setuptools is used for installation and also within Gaphor
- Depends on zope.component 3.4 and gaphas 0.1.3 (installed on
as-needed basis)
- Installable as Python Egg

Check out the latest version at http://cheeseshop.python.org/pypi/gaphor

Regards,

Arjan Molenaar

--

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

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

Francesc Altet | 4 Apr 21:13

[ANN] PyTables 2.0b2 released

===========================
 Announcing PyTables 2.0b2
===========================

PyTables is a library for managing hierarchical datasets and designed to
efficiently cope with extremely large amounts of data with support for
full 64-bit file addressing.  PyTables runs on top of the HDF5 library
and NumPy package for achieving maximum throughput and convenient use.

The PyTables development team is happy to announce the public
availability of the second *beta* version of PyTables 2.0. This will
hopefully be the last beta version of 2.0 series, so we need your
feedback if you want your issues to be solved before 2.0 final would be
out.

You can download a source package of the version 2.0b2 with
generated PDF and HTML docs and binaries for Windows from
http://www.pytables.org/download/preliminary/

For an on-line version of the manual, visit:
http://www.pytables.org/docs/manual-2.0b2
Please have in mind that some sections in the manual can be obsolete
(specially the "Optimization tips" chapter).  Other chapters should be
fairly up-to-date though (although still a bit in state of flux).

In case you want to know more in detail what has changed in this
version, have a look at ``RELEASE_NOTES.txt``.  Find the HTML version
for this document at:
http://www.pytables.org/moin/ReleaseNotes/Release_2.0b2

If you are a user of PyTables 1.x, probably it is worth for you to look
at ``MIGRATING_TO_2.x.txt`` file where you will find directions on how
to migrate your existing PyTables 1.x apps to the 2.0 version.  You can
find an HTML version of this document at
http://www.pytables.org/moin/ReleaseNotes/Migrating_To_2.x

Keep reading for an overview of the most prominent improvements in
PyTables 2.0 series.

New features of PyTables 2.0
============================

- NumPy is finally at the core!  That means that PyTables no longer
  needs numarray in order to operate, although it continues to be
  supported (as well as Numeric).  This also means that you should be
  able to run PyTables in scenarios combining Python 2.5 and 64-bit
  platforms (these are a source of problems with numarray/Numeric
  because they don't support this combination as of this writing).

- Most of the operations in PyTables have experimented noticeable
  speed-ups (sometimes up to 2x, like in regular Python table
  selections).  This is a consequence of both using NumPy internally and
  a considerable effort in terms of refactorization and optimization of
  the new code.

- Combined conditions are finally supported for in-kernel selections.
  So, now it is possible to perform complex selections like::

      result = [ row['var3'] for row in
                 table.where('(var2 < 20) | (var1 == "sas")') ]

  or::

      complex_cond = '((%s <= col5) & (col2 <= %s)) ' \
                     '| (sqrt(col1 + 3.1*col2 + col3*col4) > 3)'
      result = [ row['var3'] for row in
                 table.where(complex_cond % (inf, sup)) ]

  and run them at full C-speed (or perhaps more, due to the cache-tuned
  computing kernel of Numexpr, which has been integrated into PyTables).

- Now, it is possible to get fields of the ``Row`` iterator by
  specifying their position, or even ranges of positions (extended
  slicing is supported).  For example, you can do::

      result = [ row[4] for row in table    # fetch field #4
                 if row[1] < 20 ]
      result = [ row[:] for row in table    # fetch all fields
                 if row['var2'] < 20 ]
      result = [ row[1::2] for row in       # fetch odd fields
                 table.iterrows(2, 3000, 3) ]

  in addition to the classical::

      result = [row['var3'] for row in table.where('var2 < 20')]

- ``Row`` has received a new method called ``fetch_all_fields()`` in
  order to easily retrieve all the fields of a row in situations like::

      [row.fetch_all_fields() for row in table.where('column1 < 0.3')]

  The difference between ``row[:]`` and ``row.fetch_all_fields()`` is
  that the former will return all the fields as a tuple, while the
  latter will return the fields in a NumPy void type and should be
  faster.  Choose whatever fits better to your needs.

- Now, all data that is read from disk is converted, if necessary, to
  the native byteorder of the hosting machine (before, this only
  happened with ``Table`` objects).  This should help to accelerate
  applications that have to do computations with data generated in
  platforms with a byteorder different than the user machine.

- The modification of values in ``*Array`` objects (through __setitem__)
  now doesn't make a copy of the value in the case that the shape of the
  value passed is the same as the slice to be overwritten. This results
  in considerable memory savings when you are modifying disk objects
  with big array values.

- All the leaf constructors (except Array) have received a new
  ``chunkshape`` argument that lets the user to explicitly select the
  chunksizes for the underlying HDF5 datasets (only for advanced users).

- All the leaf constructors have received a new parameter called
  ``byteorder`` that lets the user specify the byteorder of their data
  *on disk*.  This effectively allows to create datasets in other
  byteorders than the native platform.

- Native HDF5 datasets with ``H5T_ARRAY`` datatypes are fully supported
  for reading now.

- The test suites for the different packages are installed now, so you
  don't need a copy of the PyTables sources to run the tests.  Besides,
  you can run the test suite from the Python console by using::

  >>> tables.tests()

Resources
=========

Go to the PyTables web site for more details:

http://www.pytables.org

About the HDF5 library:

http://hdf.ncsa.uiuc.edu/HDF5/

About NumPy:

http://numpy.scipy.org/

To know more about the company behind the development of PyTables, see:

http://www.carabos.com/

Acknowledgments
===============

Thanks to many users who provided feature improvements, patches, bug
reports, support and suggestions.  See the ``THANKS`` file in the
distribution package for a (incomplete) list of contributors.  Many
thanks also to SourceForge who have helped to make and distribute this
package!  And last, but not least thanks a lot to the HDF5 and NumPy
(and numarray!) makers. Without them PyTables simply would exists.

Share your experience
=====================

Let us know of any bugs, suggestions, gripes, kudos, etc. you may
have.

----

  **Enjoy data!**

  -- The PyTables Team

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"
--

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

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

John Clark | 4 Apr 21:45
Picon

New York City Python Users Group Meeting

Greetings!

The next New York City Python Users Group meeting is this Tuesday, April 10th, 6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd St. and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who are interested in Python to attend. However, we need a list of first and last names to give to building security to make sure you can gain access to the building. RSVP to clajo04 <at> mac.com to add your name to the list.

More information can be found on the yahoo group page:

http://tech.groups.yahoo.com/group/nycpython/

Hope to see you there!

-John

--

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

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

Gmane