Next meeting: Tuesday 11th August

2009-07-28 Thread Richard Jones
The next meeting of the Melbourne Python Users Group will be on  
Tuesday the 11th of August starting at 6:30pm. We'll be meeting at  
Horse Bazaar again but this time we'll have use of their projector.  
We'll have time for several short presentations or lightning talks.


Meeting details, location and talks list are at:

  http://wiki.python.org/moin/MelbournePUG

If you've seen something cool or are doing something cool then we'd  
like you to tell everyone about it! Presentations could be 5 minutes  
or up to 15 minutes if you'd like to ramble for a bit longer. I'll be  
getting up to talk a bit about my experiences playing with IronPython  
- what's cool and what's downright odd :)


If you've got an idea for a talk just add it to the wiki page.


Richard

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

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


[ANN]: pyxser-1.1r --- python xml serialization

2009-07-28 Thread Daniel Molina Wegener
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hello,

I'm pleased to announce pyxser-1.1r, a Python-Object to XML
serializer and deserializer. This package it's completly
written in C and licensed under LGPLv3.

The tested Python versions are 2.5.X and 2.7.X.

* home page:
  http://coder.cl/software/pyxser

* hosted at:
  http://sourceforge.net/projects/pyxser/

The current ChangeLog is as follows:

- -8--8--8--8-
1.1r (2009.05.09):

Daniel Molina Wegener d...@coder.cl
* Removed bugs concerning XML schema declaration for output
documents.
* Removed bugs concerning XML schema design for C14N
serialization.
* Removed exc argument from C14N serialization functions,
because they have no sense.
* Code cleanup with function arguments (C code).
* All changes seems to be transparent for previous versions.
- -8--8--8--8-

Also, I need a little bit of feedback. I want it to be able to
serialize files and buffers: I've planned to allow the user
to have three options: ignore files, serialize them in base64
encoding and just put the file name as string. But my question
concerns how the files and buffers are deserialized: I must
allow the user to dump the files on a directory, put the complete
file on a buffer object, or just extract the base64 encoded
block?

Best regards and thanks in advance...
- -- 
 .O. | Daniel Molina Wegener   | FreeBSD  Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/| FOSS Developer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)

iQIcBAEBCgAGBQJKbmrBAAoJEHxqfq6Y4O5NUM4P/2+wdZDWkVWrfbg3DA68n4C7
Le4BTCHF9bZBahDXqIq46f2jT6hfNuh+y7nrk3q5V7MchJdHRZU+Sft99mVaBfrT
W7QCMg1JDs8ibOCTy+WN/j2L/gdjFWaez4jTfXU9qz6yBYd1drm6nRG1E36uiaF8
dLYDJgb+2Iykg3cYXnqYSKZqzlQxsmgun6+XlE1C0oWUknkSGqUdk4dPORXhbGAO
H+EJLClKmM9Xbg2B9XaGhwHmp73bKgDRj8+2RPN8oQXjNgawwo9gUTsGVwVPyOuI
UmbJkKSjkDcxwfLP/nGvIDchdZ+4hCDtFpuEuOUHuk52ga3K5WZXtuYaPU6kup+n
CgQZDMNA9qbKsplMuIkakTE3ahAfCCttBHj4PQRshKQkPzHmVxHlo9N0F3jJumI8
1YO17QjBiSmTjAy0XUTicXQd6xC5iF9XnrIMewNaAOt1EFK7Kj+P/Hckoqc/QQtL
ANX/wD3YfoyZJ+2a8a8t2Wz2xINZRfUvlyjv7lmogbjHcyeO4XcRoUGmSqrwYzE/
/dlviErz73eTkYdieQgXePKUeV8MvIscCYipfWFsHdUosjQBkIiecrCsI9vDwhNe
AZREgRDD9Eh5CWIWEwRfesUy6Kw30xbY+Bk9nSTryWTKB5KAhb3eLUx3h55XG3Bd
R9ukduTENnYcYFYRl/iP
=GeVp
-END PGP SIGNATURE-
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Python-URL! - weekly Python news and links (Jul 28)

2009-07-28 Thread Gabriel Genellina
QOTW:  But there's another principle at work here that's less well known, and
that was first articulated to me by Robert Dewar: You can remove linear
factors by profiling, but it's much harder to undo bad algorithmic decisions. 
In particular, whether a program runs in O(n) or O(n^2) sometimes depends on
decisions that have to be frozen fairly early in the design. - Andrew Koenig


Comparing the performance of the same algorithm using many compilers:
CPython, psyco, Cython, ShedSkin, Unladen Swallow, Java, C and D:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/8d793c46903cc0b6/

MRAB has written a new implementation of re module with many new
features, and he's looking for feedback:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/16c139b0a52ab023/

Importing two modules with the same name from different directories:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/3cb83a30e1b2c202/

Cleanly exiting an application, even if it gets killed by a signal:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/d60b8e0d93aeaaf9/

How can a child thread notify a parent thread of its status?

http://groups.google.com/group/comp.lang.python/browse_thread/thread/d1d7f55716aacedc/

How to attach a docstring to global constants/variables?

http://groups.google.com/group/comp.lang.python/browse_thread/thread/ac54186ad873036a/

In Python -unlike other languages- it does not make sense to treat
numbers (scalars) as vectors of length 1:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/3ef498c906bd7e2d/

isinstance may take a tuple of types as its second argument: why a
tuple, and not a list, or a set?
http://mail.python.org/pipermail/python-list/2009-July/721205.html

How to overcome the normal 2GB allocation limit of Windows XP, 32bits:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/59851df6e54f9ef0/

Distinguishing active generators from exhausted ones:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/9ff179e8cb5e9bc/

Peter Otten must be, undoubtedly, Sherlock Holmes reincarnated:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/838177c8a37d2b7c/

And Piet van Oostrum is not much behind him:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/d1f8627413cd3c4e/



Everything Python-related you want is probably one or two clicks away in
these pages:

Python.org's Python Language Website is the traditional
center of Pythonia
http://www.python.org
Notice especially the master FAQ
http://www.python.org/doc/FAQ.html

PythonWare complements the digest you're reading with the
marvelous daily python url
 http://www.pythonware.com/daily

Just beginning with Python?  This page is a great place to start:
http://wiki.python.org/moin/BeginnersGuide/Programmers

The Python Papers aims to publish the efforts of Python enthusiasts:
http://pythonpapers.org/
The Python Magazine is a technical monthly devoted to Python:
http://pythonmagazine.com

Readers have recommended the Planet sites:
http://planetpython.org
http://planet.python.org

comp.lang.python.announce announces new Python software.  Be
sure to scan this newsgroup weekly.
http://groups.google.com/group/comp.lang.python.announce/topics

Python411 indexes podcasts ... to help people learn Python ...
Updates appear more-than-weekly:
http://www.awaretek.com/python/index.html

The Python Package Index catalogues packages.
http://www.python.org/pypi/

Much of Python's real work takes place on Special-Interest Group
mailing lists
http://www.python.org/sigs/

Python Success Stories--from air-traffic control to on-line
match-making--can inspire you or decision-makers to whom you're
subject with a vision of what the language makes practical.
http://www.pythonology.com/success

The Python Software Foundation (PSF) has replaced the Python
Consortium as an independent nexus of activity.  It has official
responsibility for Python's development and maintenance.
http://www.python.org/psf/
Among the ways you can support PSF is with a donation.
http://www.python.org/psf/donations/

The Summary of Python Tracker Issues is an automatically generated
report summarizing new bugs, closed ones, and patch submissions. 

http://search.gmane.org/?author=status%40bugs.python.orggroup=gmane.comp.python.develsort=date

Although unmaintained since 2002, the Cetus collection of Python
hyperlinks retains a few 

[ANN] Pyjamas 0.6pre2 Python Web Widget Set and Javascript Compiler

2009-07-28 Thread Luke Kenneth Casson Leighton
http://pyjs.org

this is a pre-release announcement, 0.6pre2, of the pyjamas widget set
and python-to-javascript compiler.  there are over 110 entries in the
CHANGELOG since the last stable release, 0.5p1, and so it was deemed
sensible to invite people to test this version before its next stable
release, 0.6.

pyjamas, being a port of GWT to python, comprises four main components:
* a stand-alone python-to-javascript compiler
* a desktop-based wrapper around python-xpcom or pywebkitgtk
* a browser DOM model wrapper interface
* a widget set similar to pygtk2 / pyqt4, based on DOM manipulation

significantly in the 0.6 series, pyjamas-desktop has been incorporated
into the build: python Hello.py will start a stand-alone app (just
as you would with pygtk2 or pyqt4) and pyjsbuild Hello will compile
the javascript version(s).

the combination means that pyjamas can run python applications -
unmodified - in all major web browsers, or on the desktop (using gecko
or webkit) in a similar fashion to adobe AIR.

in the javascript version: somewhere along the line, a massive
performance hit was introduced by accident. this has now been fixed.
however, random desperate attempts to improve performance, before the
mistake was corrected, mean that the pyjamas 0.6pre2
python-to-javascript compiler produces code that is stunningly quick.

also in the 0.6pre2 release, strict python options have now been
introduced, so that developers can expect much more support for the
standard python 2.5 / 2.6 language semantics.  the -O option
disables many of these features, bringing a quite significant speed
increase, by sacrificing python compatibility.  that's just the way it
has to be.

downloads can be found by following the links from http://pyjs.org -
sourceforge, code.google.com, pypi, all the usual places.

lastly - thank you to everyone who's helped with pyjamas: bernd,
bernd, jurgen, christian, kees, ondrej and many more, and especially
thank you to the people who helped out by pointing out bugs in the
0.6pre1 release, please keep it up!

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

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