From amk at amk.ca Fri Dec 1 15:29:18 2006 From: amk at amk.ca (A.M. Kuchling) Date: Fri, 1 Dec 2006 09:29:18 -0500 Subject: PyCon: talks and tutorials announced Message-ID: <20061201142918.GD6349@localhost.localdomain> The slate of talks and tutorials for PyCon 2007 is now public. Talks: http://us.pycon.org/apps07/talks/ Tutorials: http://us.pycon.org/TX2007/Tutorials A first draft of the schedule is at . Caution: This schedule is still subject to change -- speakers may report conflicts that will require some rearrangement, and session times may still shift around a little. Be especially cautious if you're selecting what time to leave on Sunday; if the Sunday afternoon talks are shuffled, you might have to miss an interesting session. Note that the schedule has three -- count' em, *three* lightning talk sessions, so if you want to give a five-minute talk about a project or idea, there's lots of room available. See for more information. Andrew M. Kuchling amk at amk.ca Co-chair, PyCon 2007 Jeff Rush Co-chair, PyCon 2007 http://us.pycon.org From farcepest at gmail.com Sat Dec 2 20:22:33 2006 From: farcepest at gmail.com (Andy Dustman) Date: Sat, 2 Dec 2006 14:22:33 -0500 Subject: New home for adns-python Message-ID: <9826f3800612021122p4d03b9e8r98c8badf57dbb5cf@mail.gmail.com> I had been falling behind in patches for adns-python, so I thought it would be a good idea to have a public site where it was easier for people to contribute and report bugs. The new project page is: http://code.google.com/p/adns-python Eventually I will probably add an announcements group, but there is not likely to be much traffic here for the foreseeable future. For now, there is a general discussion group: http://groups-beta.google.com/group/adns-python/ I've applied one important patch since 1.1.0, and that fixes a memory leak. If you are reading this from the Groups Beta interface, you should see a tarball for 1.1.1 in the files section; otherwise, you cannot see it. Unfortunately, there is some name-mangling and referrer detection and so it's not really possible to distribute a URL to get the file release. Additionally, code.google.com currently doesn't support flie releases, so I can't put it there, either. If you are interested in becoming a project developer, let me know. -- Patriotism means to stand by the country. It does not mean to stand by the president. -- T. Roosevelt This message has been scanned for memes and dangerous content by MindScanner, and is believed to be unclean. From limodou at gmail.com Mon Dec 4 03:37:33 2006 From: limodou at gmail.com (limodou) Date: Mon, 4 Dec 2006 10:37:33 +0800 Subject: ANN: UliPad 3.6 released! Message-ID: <505f13c0612031837k7b9eaba7i2d5658f6d0d961de@mail.gmail.com> What's it? ======== It's an Editor based on wxPython. UliPad(NewEdit is the old name) uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class at creating the instance. So UliPad is very dynamic. You can write the new features in new files, and hardly need to modify the existing code. And if you want to extend the existing classes, you could write mixins and plugins, and this will be bound to the target class that I call "Slot Class". This technique will make the changes centralized and easily managed. What's new in 3.6 ============== New features and improvement: #. Improve definition jump, and if there is no ctag file exist, UliPad can jump in one source file, including: variable, class, method, etc #. Improve auto-completion: variable auto-detect, class structure detect, base class recognize, etc. And it can improve your typing. As you backspace something, auto-completion will also available. And you can also write parameter datatype in function docstring, UliPad will auto recognize the parameter datatype. #. Add range support for live regular expression search support #. Add pairprog plugin, it's a collaborative programming support. One instance can be a server, and others can be client. For server, you can share source file with all client, and both server and client can change the same document and move the caret. UliPad support multi-client. And it has a chatroom support, so developer can use it to talk with each other. #. Add fortran, and lua syntax support. For fortran you should enable fortran plugin. #. Improve the display structure and content of class browser #. Add css auto-completion support Changes: #. Improve class browser windown, and single-click on class icon will expand or collapse the children items #. Fix the bug of clicking on Cancel button on Python Parameter Input Dialog still running #. Fix reStructuredText syntax highlight processing bug #. Fix python syntax analysis bug #. Fix cann't restore the last directories entries as reopen the directory browser bug #. Fix if the filename or directory that you want to open command line window on it(on windows platform) is not the same hard driver, will open wrong path bug. #. Fix music plugin's bug #. Remove open recently-directory functionality #. Fix as changing the encode of the document, but the tab page title doesn't be changed bug Where to download it? ================ download lastest version 3.6: http://wiki.woodpecker.org.cn/moin/UliPad?action=AttachFile&do=get&target=ulipad_3.6.zip also have windows installer: http://wiki.woodpecker.org.cn/moin/UliPad?action=AttachFile&do=get&target=UliPad.3.6.exe wiki: http://wiki.woodpecker.org.cn/moin/UliPad svn: http://cvs.woodpecker.org.cn/svn/woodpecker/ulipad/trunk maillist: http://groups.google.com/group/ulipad If you have any problem as using UliPad, welcome to join the UliPad maillist to discuss. Hope you enjoy it. ;-) -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou From phd at phd.pp.ru Mon Dec 4 18:59:05 2006 From: phd at phd.pp.ru (Oleg Broytmann) Date: Mon, 4 Dec 2006 20:59:05 +0300 Subject: SQLObject release 0.7.2 Message-ID: <20061204175905.GC32211@phd.pp.ru> Hello! I'm pleased to announce the 0.7.2 release of SQLObject. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and Firebird. It also has newly added support for Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.7.2 News and changes: http://sqlobject.org/docs/News.html What's New ========== Features & Interface -------------------- * sqlbuilder.Select now supports JOINs exactly like SQLObject.select. * destroySelf() removes the object from related joins. Bug Fixes --------- * Fixed a number of unicode-related problems with newer MySQLdb. * If the DB API driver returns timedelta instead of time (MySQLdb does this) it is converted to time; but if the timedelta has days an exception is raised. * Fixed a number of bugs in InheritableSQLObject related to foreign keys. * Fixed a bug in InheritableSQLObject related to the order of tableRegistry dictionary. * A bug fix that allows to use SQLObject with DateTime from Zope. Documentation Added ------------------- * Added "How can I define my own intermediate table in my Many-to-Many relationship?" to FAQ. For a more complete list, please see the news: http://sqlobject.org/docs/News.html Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From chad at zetaweb.com Mon Dec 4 21:01:33 2006 From: chad at zetaweb.com (Chad Whitacre) Date: Mon, 04 Dec 2006 15:01:33 -0500 Subject: [ANN] lib537 1.0a1 -- httpy, mode, restarter Message-ID: <45747E9D.5010008@zetaweb.com> Greetings, program! This is to announce the 1.0a1 release of lib537, a Python library that bundles these utility modules: httpy Smooth out WSGI's worst warts mode Manage the application life-cycle restarter Automatically restart your program when module files change The first two were previously released separately; the third is released here for the first time. All can be used independently. Downloads and documentation are at: http://www.zetadev.com/software/lib537/ Thanks. Chad Whitacre From fredrik at pythonware.com Mon Dec 4 20:22:46 2006 From: fredrik at pythonware.com (Fredrik Lundh) Date: Mon, 4 Dec 2006 20:22:46 +0100 Subject: ANN: PIL 1.1.6 final (december 3, 2006) Message-ID: <368a5cd50612041122y31486b2fhcaa452449174bfdd@mail.gmail.com> The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities, including display support for Windows and Tkinter. The new 1.1.6 release provides, among other things: - a new ImageQt module for image display support for PyQt4 - numerous improvements to the TrueType renderer, including proper (and crash-free) handling of fonts with negative bearings, and support for kerning. - a new ImageMath module for applying arbitrary expressions to images - faster pixel access via separate "access" objects and many more tweaks and enhancements. For a complete list, see: http://effbot.org/zone/pil-changes-116.htm You can get PIL 1.1.6 source code and binaries from: http://www.pythonware.com/products/pil PIL 1.1.6 supports all Python versions from 1.5.2 and onwards, up to and including Python 2.5. However, development of the 1.1.X line will now switch to maintenance mode, and future main releases will most likely require Python 2.3 or later. enjoy! /F "Secret Labs -- makers of fine pythonware since 1997." From python-url at phaseit.net Mon Dec 4 20:12:02 2006 From: python-url at phaseit.net (Paul Boddie) Date: Mon, 4 Dec 2006 19:12:02 +0000 (UTC) Subject: Python-URL! - weekly Python news and links (Dec 4) Message-ID: QOTW: "We of all people should understand Worse Is Better. And I forgot to mention a little flash in the pan called Python, for which Tkinter (2+2 left as an exercise) is the GUI of choice." - Ken Tilton (on comp.lang.lisp, perhaps stretching the meaning of "of choice" somewhat) http://groups.google.com/group/comp.lang.lisp/msg/4d4945fb2706fc24 "It isn't that mobile platforms speak a different language to the web: they're perfectly capable of running AJAX software, from Python to JavaScript to full-blown Java and Flash." - Andrew Orlowski, The Register, "The mobile web: in praise of conv ... divergence" http://www.theregister.co.uk/2006/11/30/opera_mini_web/ Still, comp.lang.python manages to score a less than on-topic quote of the week: "> If you compare eclipse to VS, it is not that memory hungry. And if you compare Saturn to Jupiter, it's not that big." -- sjdevnull responding to hg http://groups.google.com/group/comp.lang.python/msg/13d0b24029b6e753 A provisional PyCon schedule has been made available with three... no, four lightning talk sessions: http://groups.google.com/group/comp.lang.python.announce/browse_frm/thread/7fd3fc7fbe4f7100 http://pycon.blogspot.com/2006/12/abundance-of-lightning-talks.html Python's "benevolent dictator" himself gave a talk recently, as previously mentioned in Python-URL!, and Niall Kennedy summarises the content for those not in attendance: http://www.niallkennedy.com/blog/archives/2006/11/google-mondrian.html Fof us who skimmed PEP 263 and thought that only "emacs-style" comments were allowed when telling Python about source file encodings, a careful re-reading is advised. Examples for vim users are provided in the context of a source code tidier, PythonTidy: http://groups.google.com/group/comp.lang.python/browse_frm/thread/c62220ff0f4cb30a Ravi Teja spells out communications architectures and mechanisms in the context of CORBA: http://groups.google.com/group/comp.lang.python/msg/3f056c5c87279aca The One Laptop Per Child developers and testers briefly consider Python development environments (in the context of things Alan Kay presented at EuroPython 2006): http://mailman.laptop.org/pipermail/devel/2006-November/003176.html ... while the "Python in education" special interest group mulls over the notion of a "view source" button for running programs: http://mail.python.org/pipermail/edu-sig/2006-November/007418.html E..and the best way to try the latest Python-related developments in the OLPC project: http://mail.python.org/pipermail/edu-sig/2006-December/007441.html Reconstructor is an Ubuntu Linux Live CD creator written in Python and licensed under the GNU General Public License (GPL): http://reconstructor.aperantis.com/ ======================================================================== 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 Mygale is a news-gathering webcrawler that specializes in (new) World-Wide Web articles related to Python. http://www.awaretek.com/nowak/mygale.html While cosmetically similar, Mygale and the Daily Python-URL are utterly different in their technologies and generally in their results. For far, FAR more Python reading than any one mind should absorb, much of it quite interesting, several pages index much of the universe of Pybloggers. http://lowlife.jp/cgi-bin/moin.cgi/PythonProgrammersWeblog http://www.planetpython.org/ http://mechanicalcat.net/pyblagg.html comp.lang.python.announce announces new Python software. Be sure to scan this newsgroup weekly. http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python.announce Python411 indexes "podcasts ... to help people learn Python ..." Updates appear more-than-weekly: http://www.awaretek.com/python/index.html Steve Bethard continues the marvelous tradition early borne by Andrew Kuchling, Michael Hudson, Brett Cannon, Tony Meyer, and Tim Lesher of intelligently summarizing action on the python-dev mailing list once every other week. http://www.python.org/dev/summary/ The Python Package Index catalogues packages. http://www.python.org/pypi/ The somewhat older Vaults of Parnassus ambitiously collects references to all sorts of Python resources. http://www.vex.net/~x/parnassus/ 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/python/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/donate.html Kurt B. Kaiser publishes a weekly report on faults and patches. http://www.google.com/groups?as_usubject=weekly%20python%20patch Although unmaintained since 2002, the Cetus collection of Python hyperlinks retains a few gems. http://www.cetus-links.org/oo_python.html Python FAQTS http://python.faqts.com/ The Cookbook is a collaborative effort to capture useful and interesting recipes. http://aspn.activestate.com/ASPN/Cookbook/Python Among several Python-oriented RSS/RDF feeds available are http://www.python.org/channews.rdf http://bootleg-rss.g-blog.net/pythonware_com_daily.pcgi http://python.de/backend.php For more, see http://www.syndic8.com/feedlist.php?ShowMatch=python&ShowStatus=all The old Python "To-Do List" now lives principally in a SourceForge reincarnation. http://sourceforge.net/tracker/?atid=355470&group_id=5470&func=browse http://www.python.org/dev/peps/pep-0042/ The online Python Journal is posted at pythonjournal.cognizor.com. editor at pythonjournal.com and editor at pythonjournal.cognizor.com welcome submission of material that helps people's understanding of Python use, and offer Web presentation of your work. del.icio.us presents an intriguing approach to reference commentary. It already aggregates quite a bit of Python intelligence. http://del.icio.us/tag/python *Py: the Journal of the Python Language* http://www.pyzine.com Archive probing tricks of the trade: http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python&num=100 http://groups.google.com/groups?meta=site%3Dgroups%26group%3Dcomp.lang.python.* Previous - (U)se the (R)esource, (L)uke! - messages are listed here: http://www.ddj.com/topic/python/ (requires subscription) http://groups-beta.google.com/groups?q=python-url+group:comp.lang.python*&start=0&scoring=d& http://purl.org/thecliff/python/url.html (dormant) or http://groups.google.com/groups?oi=djq&as_q=+Python-URL!&as_ugroup=comp.lang.python There is *not* an RSS for "Python-URL!"--at least not yet. Arguments for and against are occasionally entertained. Suggestions/corrections for next week's posting are always welcome. E-mail to should get through. To receive a new issue of this posting in e-mail each Monday morning (approximately), ask to subscribe. Mention "Python-URL!". Write to the same address to unsubscribe. -- The Python-URL! Team-- Phaseit, Inc. (http://phaseit.net) is pleased to participate in and sponsor the "Python-URL!" project. Watch this space for upcoming news about posting archives. From klappnase at web.de Mon Dec 4 18:52:04 2006 From: klappnase at web.de (klappnase) Date: 4 Dec 2006 09:52:04 -0800 Subject: Ann.: Updated TkTreectrl wrapper Message-ID: <1165254618.099746.63560@16g2000cwy.googlegroups.com> Hi, I have uploaded an updated version of the Tkinter wrapper for the Tk treectrl widget (http://tktreectrl.sourceforge.net). The major change in this release is the introduction of a few new widget classes: _MultiListbox_ is a Treectrl widget set up to work as a (more or less) full-featured and very flexible multi column listbox widget. The _ScrolledTreectrl_ and _ScrolledMultiListbox_ classes use ideas shamelessly stolen from Pmw.ScrolledListbox to add one or two static or automatic scrollbars to the widgets. They both inherit from the _ScrolledWidget_ class that is supposed to make it easy to add scrollbars to any other Listbox or Canvas alike Tkinter widget. Changes to the Treectrl widget: I added the second (optional) _last_ argument to column_delete() (new in treectrl-2.1.1) and fixed a few minor bugs. The url is: Regards Michael From erik at eriksmartt.com Tue Dec 5 16:08:19 2006 From: erik at eriksmartt.com (Erik Smartt) Date: Tue, 5 Dec 2006 09:08:19 -0600 Subject: Austin (TX) Python User Group meeting Dec. 7th Message-ID: <3077a17b0612050708l7eadd9bblbb5455f4907448c4@mail.gmail.com> Greetings! The next APUG meetup is this Thursday, Dec. 7th, 7pm at Enthought's offices in downtown Austin, TX. Eugene Oden will be talking about Pyro. Slightly more information, and directions, can be found on the APUG wiki page: http://wiki.python.org/moin/AustinPythonUserGroup Hope to see you there! -Erik From cfbolz at gmx.de Tue Dec 5 18:06:21 2006 From: cfbolz at gmx.de (Carl Friedrich Bolz) Date: Tue, 05 Dec 2006 18:06:21 +0100 Subject: PyPy Leysin Winter Sports Sprint (8-14th January 2007) Message-ID: <4575A70D.6020100@gmx.de> ===================================================================== PyPy Leysin Winter Sports Sprint (8-14th January 2007) ===================================================================== .. image:: http://www.ermina.ch/002.JPG The next PyPy sprint will be in Leysin, Switzerland, for the fourth time. This sprint will be the final public sprint of our EU-funded period, and a kick-off for the final work on the upcoming PyPy 1.0 release (scheduled for mid-February). The sprint is the last chance for students looking for a "summer" job with PyPy this winter! If you have a proposal and would like to work with us in the mountains please send it in before 15th December to "pypy-tb at codespeak.net" and cross-read this page: http://codespeak.net/pypy/dist/pypy/doc/summer-of-pypy.html ------------------------------ Goals and topics of the sprint ------------------------------ * Like previous winter, the main side goal is to have fun in winter sports :-) We can take a couple of days off for ski; at this time of year, ski days end before 4pm, which still leaves plenty of time to recover (er, I mean hack). * Progress on the JIT compiler, which we are just starting to scale to the whole of PyPy. `[1]`_ * Polish the code and documentation of the py lib, and eventually release it. * Work on prototypes that use the new features that PyPy enables: distribution `[2]`_ (based on transparent proxying `[3]`_), security `[4]`_, persistence `[5]`_, etc. `[6]`_. .. _[1]: http://codespeak.net/pypy/dist/pypy/doc/jit.html .. _[2]: http://codespeak.net/svn/pypy/dist/pypy/lib/distributed/ .. _[3]: http://codespeak.net/pypy/dist/pypy/doc/proxy.html .. _[4]: http://codespeak.net/pypy/dist/pypy/doc/project-ideas.html#security .. _[5]: http://codespeak.net/pypy/dist/pypy/doc/project-ideas.html#persistence .. _[6]: http://codespeak.net/pypy/dist/pypy/doc/project-ideas.html ----------------------- Location & Accomodation ----------------------- Leysin, Switzerland, "same place as before". Let me refresh your memory: both the sprint venue and the lodging will be in a very spacious pair of chalets built specifically for bed & breakfast: http://www.ermina.ch/. The place has a baseline ADSL Internet connexion (600Kb) with wireless installed. You can of course arrange your own lodging anywhere (so long as you are in Leysin, you cannot be more than a 15 minute walk away from the sprint venue), but I definitely recommend lodging there too -- you won't find a better view anywhere else (though you probably won't get much worse ones easily, either :-) I made pre-reservations in the Chalet, so please *confirm* quickly that you are coming so that we can adjust the reservations as appropriate. The rate so far has been 60 CHF a night all included in 2-person rooms, with breakfast. There are larger rooms too (less expensive, possibly more available too) and the possibility to get a single room if you really want to. Please register by svn: http://codespeak.net/svn/pypy/extradoc/sprintinfo/leysin-winter-2007/people.txt or on the pypy-sprint mailing list if you do not yet have check-in rights: http://codespeak.net/mailman/listinfo/pypy-sprint You need a Swiss-to-(insert country here) power adapter. There will be some Swiss-to-EU adapters around - bring a EU-format power strip if you have one. ----------- Exact times ----------- Officially, 8th-14th January 2007. Both dates are flexible, you can arrive or leave earlier or later, though it is recommended to arrive on the 7th (if many people arrive on the 6th we need to check for accomodation availability first). We will give introductions and tutorials on the 8th, in the morning if everybody is there, or in the afternoon otherwise. From steven.bethard at gmail.com Tue Dec 5 18:36:30 2006 From: steven.bethard at gmail.com (Steven Bethard) Date: Tue, 5 Dec 2006 10:36:30 -0700 Subject: [ANN] argparse 0.3 - Command-line parsing library Message-ID: Announcing argparse 0.3 ----------------------- argparse home: http://argparse.python-hosting.com/ argparse single module download: http://argparse.python-hosting.com/file/trunk/argparse.py?format=raw argparse bundled downloads at PyPI: http://www.python.org/pypi/argparse/ About this release ================== This release moves argparse's development status from Pre-Alpha to Alpha. The API is basically stable, though reasonable change requests will still be considered. New in this release =================== * The '--' pseudo-argument can now be used to terminate the arg list of an optional:: >>> parser = argparse.ArgumentParser() >>> parser.add_argument('-x', nargs='+') >>> parser.add_argument('y') >>> parser.parse_args('-x X1 X2 X3 -- Y'.split()) Namespace(x=['X1', 'X2', 'X3'], y='Y') About argparse ============== The argparse module is an optparse-inspired command line parser that improves on optparse by: * handling both optional and positional arguments * supporting parsers that dispatch to sub-parsers * producing more informative usage messages * supporting actions that consume any number of command-line args * allowing types and actions to be specified with simple callables instead of hacking class attributes like STORE_ACTIONS or CHECK_METHODS as well as including a number of other more minor improvements on the optparse API. To whet your appetite, here's a simple program that sums its command-line arguments and writes them to a file:: parser = argparse.ArgumentParser() parser.add_argument('integers', type=int, nargs='+') parser.add_argument('--log', type='outfile', default=sys.stdout) args = parser.parse_args() args.log.write('%s\n' % sum(args.integers)) args.log.close() From greg at cosc.canterbury.ac.nz Wed Dec 6 08:33:17 2006 From: greg at cosc.canterbury.ac.nz (greg) Date: Wed, 06 Dec 2006 20:33:17 +1300 Subject: ANN: Albow - A simple widget library for Pygame Message-ID: <4576723D.8040207@cosc.canterbury.ac.nz> ALBOW - A Little Bit of Widgetry for PyGame ------------------------------------------- Version 1.0 This is a very basic, no-frills widget set for creating a GUI using PyGame. It was originally developed for my PyWeek 3 competition entry, Sneak. I am documenting and releasing it as a separate package so that others may benefit from it, and so that it will be permissible for use in future PyGame entries. The download includes HTML documentation and an example program demonstrating most of the library's features. http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/ -- Gregory Ewing greg.ewing at canterbury.ac.nz From duncan-news at grisby.org Wed Dec 6 11:37:57 2006 From: duncan-news at grisby.org (Duncan Grisby) Date: Wed, 06 Dec 2006 10:37:57 GMT Subject: Announce: omniORB 4.1.0 and omniORBpy 3.0 Message-ID: <94xdh.252$1W1.111@newsfe4-win.ntli.net> I am pleased to announce that omniORB 4.1.0 and omniORBpy 3.0 are now available. omniORB is a robust, high performance CORBA implementation for C++; omniORBpy is a version for Python. You can download them in source and Windows binary forms from SourceForge here: http://sourceforge.net/project/showfiles.php?group_id=51138&package_id=44914&release_id=467312 http://sourceforge.net/project/showfiles.php?group_id=51138&package_id=48639&release_id=467315 These are major new stable releases. The following is a summary of the main new features: - Objects by value support. - Abstract interfaces support. - New simpler and more efficient Any implementation. - IPv6 support. - Flexible endpoint publishing. - New tracing options and more comprehensive logging. - C++ mapping updated to version 1.1. - New-style Python classes can now be used for servants and exception (required for Python 2.5). - Support for local interfaces (partial in Python) - New more scalable socket collection implementation. Many thanks to the people who have contributed to these releases by testing the betas and release candidates, and by contributing features and fixes. Enjoy! Duncan. -- -- Duncan Grisby -- -- duncan at grisby.org -- -- http://www.grisby.org -- From jeff at taupro.com Thu Dec 7 16:12:13 2006 From: jeff at taupro.com (Jeff Rush) Date: Thu, 07 Dec 2006 09:12:13 -0600 Subject: A Call to Arms for Python Advocacy Message-ID: <45782F4D.5060400@taupro.com> As the Python Advocacy Coordinator, I've put up some wiki pages on the Python website for which I'm soliciting ideas, writing and graphics. Some of the material exists scattered about and just needs locating and organizing. http://wiki.python.org/moin/Advocacy First there is a need for whitepapers and flyers - I've put up a list of suggested topics w/notes at: http://wiki.python.org/moin/AdvocacyWritingTasks And there are fields for signing up for specific documents. We also have a page of possible magazine articles if that's more your style: http://wiki.python.org/moin/ArticleIdeas. These works are to be formed into advocacy kits for various audiences. So far we have the following ideas for kits: - College Student's Python Advocacy Kit - IT Department Python Advocacy Kit - University Educator's Python Advocacy Kit - K-12 Educator's Python Advocacy Kit - Research Lab Python Advocacy Kit The table of contents for the various kits can be found at: http://wiki.python.org/moin/Advocacy#AdvocacyKits Did we miss your kit? And what would you include in any of these? Next, we are seeking reusable/retargetable teaching materials, such as those under a Creative Commons license. We need slide presentations and class handouts. Now I know there are a great many slide presentations on the web about Python. I can google them all but we're not looking for just any presentation, we're looking for the best of field. You can find the collection point at: http://wiki.python.org/moin/Advocacy#TeachingMaterials Last, perhaps you can dash off an idea or two for promotional merchandise. This could be the usuals like shirts but also posters, bumper stickers and buttons. What would you like to have? And with what graphics or slogans? We can reuse some of the slogans from the PyCon Slogan Contest, but are there others? Our collection point for promo item ideas is at: http://wiki.python.org/moin/Advocacy/WearablesGadgets All materials will be credited to the authors to the extent possible by the delivery media. Make your mark. Jeff Rush Python Advocacy Coordinator From anagappan at novell.com Thu Dec 7 18:51:56 2006 From: anagappan at novell.com (A Nagappan) Date: Thu, 07 Dec 2006 10:51:56 -0700 Subject: Linux Desktop Testing Project (LDTP) 0.7.0 released Message-ID: <4578A214020000440000887E@lucius.provo.novell.com> We are proud to announce the release of LDTP 0.7.0. This release features number of important breakthroughs in LDTP as well as in the field of Test Automation. This release note covers a brief introduction on LDTP followed by the list of new features and major bug fixes which makes this new version of LDTP the best of the breed. 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 (C/Python) 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. The framework also has tools to record test-cases based on user events in the interface of the application which is under testing. We strive to help in building a quality desktop. Whats new in this release... ==================== + Major performance enhancement In this release major contribution from Rodney Dawes . Valgrinded LDTP engine and fixed lot of memory leaks in LDTP and improved the performance. + Major rewritten of LDTP Error structure, LDTP Command structure. + Now LDTP uses python logging module. + Bug fixes This version includes loads of bug fixes to address important issues like memory leak, API functionality, accessibility compatible issues etc., For a detailed list please refer to release notes section of our project site hosted in http://ldtp.freedesktop.org. Thanks to all the developers for their contribution and Rodney Dawes (dobey) especially. Download source tarball - http://download.freedesktop.org/ldtp/0.x/0.7.x/ldtp-0.7.0.tar.gz LDTP news ========= * Accessibility test suite by Rodney Dawes (dobey) - http://webcvs.freedesktop.org/ldtp/a11y-test-suite/ * LDTP Presentation in FOSS.IN/2006 by Prashanth Mohan, Bangalore, India LDTP Recording demo ============= Record / Playback of scripts - http://people.freedesktop.org/~nagappan/ldtpguidemo.html References ========== For detailed information on LDTP framework and latest updates visit http://ldtp.freedesktop.org For information on various APIs in LDTP including those added for this release can be got from http://ldtp.freedesktop.org/user-doc/index.html To subscribe to LDTP mailing lists, visit http://ldtp.freedesktop.org/wiki/Mailing_20list IRC Channel - #ldtp on irc.freenode.net For suggestions to improve this newsletter, please write to jpremkumar at novell.com Nagappan A Linux Desktop Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com Novell, Inc. SUSE? Linux Enterprise 10 Your Linux is ready? http://www.novell.com/linux From wojciechowski_m at o2.pl Thu Dec 7 20:16:31 2006 From: wojciechowski_m at o2.pl (mwojc) Date: 7 Dec 2006 11:16:31 -0800 Subject: ffnet-0.5 (feed-forward neural network for python) released Message-ID: <1165518991.358339.37330@j72g2000cwa.googlegroups.com> ffnet is fast and easy to use feed-forward neural network training solution for python. Using it you are able to train/test/save/load and use artificial neural network with sigmoid activation functions. Unique features present in ffnet: 1. Any network connectivity without cycles is allowed (not only layered). 2. Training can be performed with use of several optimization schemes including genetic alorithm based optimization. 3. There is access to exact partial derivatives of network outputs vs. its inputs. 4. Normalization of data is handled automatically by ffnet. Examples with full description can be found in examples directory of the source distribution downloadable from: http://sourceforge.net/projects/ffnet Visit also home page of the project: http://ffnet.sourceforge.net Marek Wojciechowski From vivainio at gmail.com Thu Dec 7 21:00:37 2006 From: vivainio at gmail.com (Ville Vainio) Date: 7 Dec 2006 12:00:37 -0800 Subject: IPython 0.7.3 beta 2 is out! Message-ID: <1165521637.017647.126920@80g2000cwy.googlegroups.com> Yes, next version of IPython is closing in on final release around the years end, with lots of new exiting features (full list TBD, but it *does* include proper python 2.5 support if that's what you've been waiting for). Get the 0.7.3 beta 2 it at http://projects.scipy.org/ipython/ipython/wiki/Release/0.7.3 And remember to run %upgrade if you are already using an older version. From sh at defuze.org Sat Dec 9 00:03:14 2006 From: sh at defuze.org (Sylvain Hellegouarch) Date: Fri, 08 Dec 2006 23:03:14 +0000 Subject: ANN: bridge 0.2.0 Message-ID: <4579EF32.9070005@defuze.org> Hi all, I am pleased to announce the release of bridge 0.2.0, a general purpose XML library for Python and IronPython (and ultimately Jython). bridge is very simple and light. It basically let you load an XML document via a set of different parsers (xml.dom, Amara, lxml, System.Xml and ElementTree) and creates a tree of Elements and Attributes before releasing the parser resources. This means that once the document is loaded it is independent from the underlying parser. bridge then provides a straightforward interface to navigate through the tree and manipulate it. bridge does not try to replace underlying XML engines but offer a common API so that your applications are less dependent of those engines. bridge offers a couple of other goodies however to play with the tree of elements (see the documentation). == What's new? == This release is an important milestone for bridge: * it now supports ElementTree * it fixes major issues with namespace handling and should now work correctly * it adds a set of unit tests * it adds support for Comment and ProcessingInstruction == TODO == Potentially the IronPython implementation is not as up-to-date as the other parsers. This will be quickly fixed. All parsers will generate the same bridge structure. The only minor difference at the present time is coming from the lxml parser which does not preserve processing instructions and comments before the root element. bridge cannot therefore access them. Mind you ElementTree does not preserve either but I was able to workaround this behavior. Add more unit tests. == Download == * easy_install -U bridge * Tarballs http://www.defuze.org/oss/bridge/ * svn co https://svn.defuze.org/oss/bridge/ == Documentation == Wiki: http://trac.defuze.org/wiki/bridge (not yet updated for 0.2.0) API: http://www.defuze.org/oss/bridge/doc/html/ To see the implementation of the parsers you'll need to look at the private API. Have fun, -- Sylvain Hellegouarch http://www.defuze.org From msoulier at digitaltorque.ca Sat Dec 9 03:12:26 2006 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Fri, 8 Dec 2006 21:12:26 -0500 Subject: ANN: Tftpy 0.3 - Pure Python TFTP Library Message-ID: <20061209021226.GD16906@tigger.digitaltorque.ca> Copyright, Michael P. Soulier, 2006. About Release 0.3: ================== This release fixes a major RFC 1350 compliance problem with the remote TID. About Release 0.2: ================== This release adds variable block sizes, and general option support, implementing RFCs 2347 and 2348. This is accessible in the TftpClient class via the options dict, or in the sample client via the --blocksize option. About Release 0.1: ================== This is an initial release in the spirit of "release early, release often". Currently the sample client works, supporting RFC 1350. The server is not yet implemented, and RFC 2347 and 2348 support (variable block sizes) is underway, planned for 0.2. About Tftpy: ============ Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347 and 2348. This library was developed against Python 2.4.1. Project page: http://sourceforge.net/projects/tftpy/ License is the CNRI Python License. http://www.opensource.org/licenses/pythonpl.php See COPYING in this distribution. Author: ======= Michael P. Soulier -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/python-announce-list/attachments/20061208/526f4e63/attachment.pgp From catherine.devlin at gmail.com Sat Dec 9 05:57:35 2006 From: catherine.devlin at gmail.com (Catherine Devlin) Date: Fri, 8 Dec 2006 23:57:35 -0500 Subject: Press release: PyCon 2007 Message-ID: <6523e39a0612082057t56f8fc0ayc09c57d647290df7@mail.gmail.com> Press Release SOURCE: Python Software Foundation PYCON 2007 - FIFTH ANNUAL PYTHON COMMUNITY CONFERENCE ADDISON, TX, November 30, 2006 - PyCon 2007, the fifth annual conference of the Python community, will take place February 23-25 at the Dallas/Addison Marriott Quorum hotel. The keynote speakers will include Ivan Krsti?, from the One Laptop Per Child project; Adele Goldberg, a developer of Smalltalk; Robert M. Lefkowitz, an expert on the use of open source in business; and Guido van Rossum, the creator of Python. PyCon annually attracts hundreds of attendees interested in the open-source Python language, ranging from novice programmers to developers of the language core. This year's conference will include a record sixty-four sessions, covering the use of Python in a broad range of contexts, such as web development, testing, and cross-language integration; case studies in industry, science, and education; and Python implementations for the Java and .NET platforms. The program will also include intensive half-day tutorials, impromptu Open Space talks, Birds-of-a-Feather topical gatherings, and the ever-popular five-minute Lightning Talks. One new feature this year will be the Python Lab, a collaborative, hands-on problem-solving environment. Following the conference, many developers will stay for Sprints, extending the Python language and Python projects through several days of intense, cooperative coding. PyCon is organized by members of the Python community, and made possible by the Python Software Foundation and conference sponsors. For more information or to register, please visit the PyCon 2007 website: http://us.pycon.org/TX2007/ Information for members of the press is collected at http://us.pycon.org/TX2007/ForPress -- - Catherine http://catherinedevlin.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-announce-list/attachments/20061208/bc53dc89/attachment.html From chris.arndt at web.de Sun Dec 10 17:59:21 2006 From: chris.arndt at web.de (Christopher Arndt (no sig)) Date: Sun, 10 Dec 2006 17:59:21 +0100 Subject: [ANN] Next meeting of PUG Cologne 13.12.2006 Message-ID: <457C3CE9.2090909@web.de> Hello everybody, the next meeting of the new Python User Group K?ln (Cologne) takes place on: Date: 13.12.2006 Time: 18:30 h Location: Pool 0.14, computing centre (RRZK-B) of the University Cologne, Berrenrather Str. 136, 50937 K?ln Detailed information can be found on our page in the German Python Wiki: http://wiki.python.de/User_Group_K%C3%B6ln#Termine We invite everybody in the area who's interested in the Python programming language to join our meetings or take part in the discussions on our mailing list. If you are planning to come to this meeting, it would be sensible, though not strictly necessary, to drop us a line on our mailing list or via private email to me, because the room we have at the university has a limited capacity. Looking forward to see many of you! Christopher Arndt From mmueller at python-academy.de Sun Dec 10 23:05:35 2006 From: mmueller at python-academy.de (Mike =?iso-8859-1?Q?M=FCller?=) Date: Sun, 10 Dec 2006 23:05:35 +0100 Subject: Leipzig Python User Group - Meeting, December 12, 2006, 8:00pm Message-ID: <7.0.1.0.0.20061210230058.019c3d98@python-academy.de> ========================= Leipzig Python User Group ========================= Next Meeting Tuesday, December 12, 2006 ---------------------------------------- We will meet on December 12 at 8:00 pm at the training center of Python Academy in Leipzig, Germany (http://www.python-academy.com/center/find.html). We will talk about the workshop proceedings. Food and soft drinks are provided. Please send a short confirmation mail to info at python-academy.de, so we can prepare appropriately. Everybody who uses Python, plans to do so or is interested in learning more about the language is encouraged to participate. While the meeting language will be mainly German, English speakers are very welcome. We will provide English interpretation if needed. Current information about the meetings can always be found at http://www.python-academy.com/user-group/index.html ========================= Leipzig Python User Group ========================= Stammtisch am 12.12.2006 ------------------------- Wir treffen uns am 12.12.2006 um 20:00 Uhr wieder im im Schulungszentrum der Python Academy in Leipzig (http://www.python-academy.de/Schulungszentrum/anfahrt.html). Wir werden uns mit dem Tagungsband zum Workshop besch?ftigen. F?r das leibliche Wohl wird gesorgt. Wir bitten um kurze Anmeldung per e-mail an: info at python-academy.de An den Treffen der Python Anwendergruppe kann jeder teilnehmen, der Interesse an Python hat, die Sprache bereits nutzt oder nutzen m?chte. Die Arbeitssprachen des Treffens ist Deutsch. Englisch sprechende Python-Enthusiasten sind trotzdem herzlich eingeladen. Wir ?bersetzen gern. Aktuelle Informationen zu den Treffen sind immer unter http://www.python-academy.de/User-Group/index.html zu finden. From john.d.clark at mac.com Sun Dec 10 03:28:35 2006 From: john.d.clark at mac.com (John Clark) Date: Sat, 9 Dec 2006 21:28:35 -0500 Subject: New York City Python Users Group meeting is planned for Dec. 12th @ 6pm - please RSVP! Message-ID: <001101c71c02$e61f6d00$b601a8c0@haengma> Greetings! The next New York City Python Users Group meeting is this Tuesday, Dec. 12th, 6pm at at the Millennium Partners office at 666 Fifth Avenue 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. If you would please RSVP to clajo04ATmacDOTcom 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 From uche at ogbuji.net Mon Dec 11 05:16:51 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Sun, 10 Dec 2006 21:16:51 -0700 Subject: ANN: 4Suite XML 1.0.1 Message-ID: <457CDBB3.6060009@ogbuji.net> 4Suite XML 1.0.1 is now available from Sourceforge and ftp.4suite.org. Thanks to all the testers, there are a number of important fixes and improvements since 1.0, and we recommend upgrade from all previous versions. Changes include: * Fixed error handling the interactive Python sys.path entry of '' * Handle overridden default namespace properly in Ft.Xml.Domlette.ParseFragment * default namespace fix for Ft.Xml.Domlette.GetAllNs * Memory leak fixes * Documentation tweaks * Bug fixes, including installer fixes 4Suite consists of three separate packages: 4Suite XML - XML, XPath, XSLT, related technologies and support libraries 4Suite RDF - RDF processing libraries and stand-alone DBMS 4Suite Repository - XML and RDF repository This is a release of only the first component. 4Suite XML is a comprehensive library for XML processing. It is implemented in Python and C and supports XML (SAX-like and DOM-like), XPath, XSLT, RELAX NG, XUpdate, XInclude, XPointer, and more. Many users will be able to use easy_install. See the bottom of this announcement for more information. General information: http://4suite.org/ http://uche.ogbuji.net/tech/4Suite/ https://sourceforge.net/projects/foursuite/ Source code, Python eggs, Windows installers, and documentation: ftp://ftp.4suite.org/pub/4Suite/ (primary) http://sourceforge.net/project/showfiles.php?group_id=39954 (secondary) http://cheeseshop.python.org/pypi/4Suite-XML/ (alternative) You only need to download one distribution (source, egg, or .exe). Installation requirements and other details: http://4suite.org/docs/README Installation: You can install without any separate download using: easy_install 4Suite-XML For more information see: http://peak.telecommunity.com/DevCenter/EasyInstall Otherwise use one of the packages listed above, or one provided by your software distributor. Documentation: Documentation is distributed separately from the source and eggs. Windows installers come with documentation; no separate download needed. The 4Suite XML core manual is included in the documentation. It can be browsed online at http://4suite.org/docs/CoreManual.xml -- Uche Ogbuji Work: The Kadomo Group, Inc. http://uche.ogbuji.net http://kadomo.com http://copia.ogbuji.net Lead dev at http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From Eric_Dexter at msn.com Mon Dec 11 13:10:17 2006 From: Eric_Dexter at msn.com (edexter) Date: 11 Dec 2006 04:10:17 -0800 Subject: Dex Tracker .011 beta (tracker for csound) released Message-ID: <1165839017.922598.326910@f1g2000cwa.googlegroups.com> Dex Tracker beta .11 is out new features include a code generater for a simple sampler utilities for combing all files in a .csd/.orc A utility to remove all instruments from a orc/sco combination. The ability to place a help file in a .html or .txt file (other formats may be added later). The ability to use the old winsound from csound 4 (some assembly required). A handfull of instrumets that are already set up for use in the tracker. public domain tools Harmonise used to generate score files and space a file generator to be used with gen28 and to be used with csound opcode space are included in this version. csound command line help and csound utility list have been added as tools along with the command line. Files required to run the project are on the homepage. https://sourceforge.net/project/showfiles.php?group_id=156455&package... From python-url at phaseit.net Mon Dec 11 18:52:46 2006 From: python-url at phaseit.net (Paul Boddie) Date: Mon, 11 Dec 2006 17:52:46 +0000 (UTC) Subject: Python-URL! - weekly Python news and links (Dec 11) Message-ID: QOTW: "I still want to keep compile time type checking to make sure I don't make any mistakes." "Sounds like you want two wives, but I'm pretty sure polygamy gets a checkbox in the naughty category on Santa's list" -- George Jempty (commenting on "Dear Open Source Santa," by Paul Browne) http://www.oreillynet.com/onjava/blog/2006/12/dear_open_source_santa.html#comment-384244 "But if you care to give it a closer look, you may understand that Python's main advantage is not seizable by feature and performance charts." -- Soni Bergraj (on comp.lang.python, responding to a cross-posted Lisp vs. Python inquiry) http://groups.google.com/group/comp.lang.python/msg/3112282696d61bb8 "Have you programmed in Python ? The standard libraries are a bit disorganised but there is clear documentation, most things that one wants are provided, and if there is more than one of anything then all but one are explicitly deprecated with a reference to the preferred interface. (I'm not a fan of Python, by the way, but like any programmer in the larger world I deal with it occasionally.)" -- Ian Jackson (on comp.lang.lisp, showing that even Python's non-fans can say good things about the language) http://groups.google.com/group/comp.lang.lisp/msg/011ffd16e6364e8f "It would probably be fair to say that the more you know about a variety of languages, the more you appreciate Python." -- Harry George (on comp.lang.python, providing a quote of the week by "popular demand") http://groups.google.com/group/comp.lang.python/msg/7c41f6c78e882b6e It's the final public PyPy sprint in PyPy's EU-funded era: http://groups.google.com/group/comp.lang.python/browse_frm/thread/270d99cd4ca3d387 On another "performant Python" front, Shed Skin's author gets back to development on that particular Python-to-C++ compiler... http://shed-skin.blogspot.com/2006/12/shed-skin-0015.html ... and discovers an interesting Python-powered tool for subverting certain Apple-branded music devices: http://shuffle-db.sourceforge.net/ Employing the previously mentioned pyplus in a game development setting, "Galcon was originally created for the April 2006 Ludum Dare competition. It won the contest with first places in four categories and second place in the fifth." http://www.pygame.org/projects/20/340/ The industrious Martin v. L=F6wis reports back on possible Linux Standard Base (LSB) inclusion for Python: http://mail.python.org/pipermail/python-dev/2006-December/070186.html Although PyCon is still some time away (late February), lots of work has already been done reviewing talk proposals (as mentioned in the previous Python-URL!). Here are the hard-working reviewers: http://pycon.blogspot.com/2006/12/notes-on-proposal-selection.html And a recent Ron Stephens Python411 podcast seeks to prepare us for the event: http://www.awaretek.com/plf.html Meanwhile, a real Python-related event took place at the time of writing; that was OSDC 2006 in Melbourne, Australia: http://www.mechanicalcat.net/richard/log/Python/OSDC_2006_report_so_far http://www.mechanicalcat.net/richard/log/Python/OSDC_2006_wrapup Barry Warsaw's recent NASA-sited Python talk becomes generally available. http://isandtcolloq.gsfc.nasa.gov/webcasts.html Diez B. Roggisch talks CORBA, or at least takes issue with notions of its complexity, adding a link to an amusing imagined dialogue between a Web Services architect and a developer: http://groups.google.com/group/comp.lang.python/msg/cd31fafd0fdc8609 Contrary to popular belief, CORBA implementations remain vital - Duncan Grisby announces omniORB 4.1.0 and omniORBpy 3.0: http://groups.google.com/group/comp.lang.python.announce/browse_frm/thread/6fed82468151315c/ And for the obligatory Web programming item, awareness of the decentralised identity system OpenID seems to be growing in the different Web framework communities, with many mentions of the Python-OpenID libraries: http://www.openidenabled.com/openid/libraries/python/ Good luck to the many Users Groups focused on Python, including, in particular, nation-wide ones: http://groups.yahoo.com/group/iranianpythonprogrammers ======================================================================== 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 Mygale is a news-gathering webcrawler that specializes in (new) World-Wide Web articles related to Python. http://www.awaretek.com/nowak/mygale.html While cosmetically similar, Mygale and the Daily Python-URL are utterly different in their technologies and generally in their results. For far, FAR more Python reading than any one mind should absorb, much of it quite interesting, several pages index much of the universe of Pybloggers. http://lowlife.jp/cgi-bin/moin.cgi/PythonProgrammersWeblog http://www.planetpython.org/ http://mechanicalcat.net/pyblagg.html comp.lang.python.announce announces new Python software. Be sure to scan this newsgroup weekly. http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python.announce Python411 indexes "podcasts ... to help people learn Python ..." Updates appear more-than-weekly: http://www.awaretek.com/python/index.html Steve Bethard continues the marvelous tradition early borne by Andrew Kuchling, Michael Hudson, Brett Cannon, Tony Meyer, and Tim Lesher of intelligently summarizing action on the python-dev mailing list once every other week. http://www.python.org/dev/summary/ The Python Package Index catalogues packages. http://www.python.org/pypi/ The somewhat older Vaults of Parnassus ambitiously collects references to all sorts of Python resources. http://www.vex.net/~x/parnassus/ 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/python/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/donate.html Kurt B. Kaiser publishes a weekly report on faults and patches. http://www.google.com/groups?as_usubject=weekly%20python%20patch Although unmaintained since 2002, the Cetus collection of Python hyperlinks retains a few gems. http://www.cetus-links.org/oo_python.html Python FAQTS http://python.faqts.com/ The Cookbook is a collaborative effort to capture useful and interesting recipes. http://aspn.activestate.com/ASPN/Cookbook/Python Among several Python-oriented RSS/RDF feeds available are http://www.python.org/channews.rdf http://bootleg-rss.g-blog.net/pythonware_com_daily.pcgi http://python.de/backend.php For more, see http://www.syndic8.com/feedlist.php?ShowMatch=python&ShowStatus=all The old Python "To-Do List" now lives principally in a SourceForge reincarnation. http://sourceforge.net/tracker/?atid=355470&group_id=5470&func=browse http://www.python.org/dev/peps/pep-0042/ The online Python Journal is posted at pythonjournal.cognizor.com. editor at pythonjournal.com and editor at pythonjournal.cognizor.com welcome submission of material that helps people's understanding of Python use, and offer Web presentation of your work. del.icio.us presents an intriguing approach to reference commentary. It already aggregates quite a bit of Python intelligence. http://del.icio.us/tag/python *Py: the Journal of the Python Language* http://www.pyzine.com Archive probing tricks of the trade: http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python&num=100 http://groups.google.com/groups?meta=site%3Dgroups%26group%3Dcomp.lang.python.* Previous - (U)se the (R)esource, (L)uke! - messages are listed here: http://www.ddj.com/topic/python/ (requires subscription) http://groups-beta.google.com/groups?q=python-url+group:comp.lang.python*&start=0&scoring=d& http://purl.org/thecliff/python/url.html (dormant) or http://groups.google.com/groups?oi=djq&as_q=+Python-URL!&as_ugroup=comp.lang.python There is *not* an RSS for "Python-URL!"--at least not yet. Arguments for and against are occasionally entertained. Suggestions/corrections for next week's posting are always welcome. E-mail to should get through. To receive a new issue of this posting in e-mail each Monday morning (approximately), ask to subscribe. Mention "Python-URL!". Write to the same address to unsubscribe. -- The Python-URL! Team-- Phaseit, Inc. (http://phaseit.net) is pleased to participate in and sponsor the "Python-URL!" project. Watch this space for upcoming news about posting archives. From sh at defuze.org Mon Dec 11 20:50:31 2006 From: sh at defuze.org (Sylvain Hellegouarch) Date: Mon, 11 Dec 2006 19:50:31 +0000 Subject: ANN: amplee 0.3.6 - Atom Publishing Protocol implementation Message-ID: <457DB687.9070606@defuze.org> Hi all, I'm glad to announce the release of amplee in version 0.3.6 This release is a bug fixes but with a few new features as well: * Fixed the AtomMember class * Refactored most of the member internal code * Fixed a few issues with both the CherryPy and pure WSGI handlers * Added new examples but separated them from the main distribution. * Fixed the XHTML member class * Fixed the storage API issue when listing resources * Fixed a bug when checking for the existing of a resource * Moved to support bridge 0.2.1 * Started to add unit tests * Removed the genser dependency The API should not have changed a lot apart from specific cases. I hope this won't break too much code. I would like to thank David Turner for his great feedback. == Download == * easy_install -U amplee * Tarballs http://www.defuze.org/oss/amplee/ * svn co https://svn.defuze.org/oss/amplee/ == Documentation == http://trac.defuze.org/wiki/amplee http://www.defuze.org/oss/amplee/doc/html/ == Examples == You can get some source code examples at http://defuze.org/oss/amplee/amplee-examples-0.3.6.tgz == TODO == * Add more tests * Improve documentation Have fun, -- Sylvain Hellegouarch http://www.defuze.org Reply From daftspaniel at gmail.com Mon Dec 11 23:18:10 2006 From: daftspaniel at gmail.com (daftspaniel at gmail.com) Date: 11 Dec 2006 14:18:10 -0800 Subject: LDBackup Release 00.08.05 Message-ID: <1165875490.477735.300340@l12g2000cwl.googlegroups.com> Release 00.08.05 http://www.latedecember.com/sites/software/LDBackup/ Introduction Why another Backup tool? Simple, I wanted something that would suit a Home or Small office environment and that I could hand out to friends. A batch file and xcopy would probably be enough but friendly a GUI would be worthwhile for the non-techies. 11/12/06 - Release 00.08.50 - This is and early public release of LD Backup and it is not quite 'ready'. The purpose of this release is to get some feedback and maybe find a developer or two to contribute. It is a small project to encourage newbies to Python to take part in OSS software. The program has been tested on Windows XP SP2 and on Ubuntu Linux 6.06 so it may still need some work on other platforms. Cross-platform support is a high priority for version 1.0. Thanks, Davy Mitchell From dopal-annmail at sixtyten.org Tue Dec 12 00:12:28 2006 From: dopal-annmail at sixtyten.org (Allan Crooks) Date: Mon, 11 Dec 2006 23:12:28 +0000 Subject: [ANN] AzJython 0.3 - Jython plugin for Azureus Message-ID: <457DE5DC.5090702@sixtyten.org> AzJython is a plugin for Azureus which provides a Jython environment inside Azureus - it's currently useful as a debugging tool, and later versions will make it more useful as a plugin prototyping tool, as well as providing an environment to make it much easier to write scripts to provide additional functionality to Azureus. Version 0.3 is the first public release of AzJython. This is currently limited to providing a basic Jython interpreter inside Azureus - with some default values provided to allow investigation and experimentation through the plugin API. This version is still a bit rough around the edges, but later releases will improve the usability of the interpreter. This plugin will only work with recent betas of Azureus, so any version which 2.5.0.1 b32 or higher will work. You can install the plugin directly from Azureus, or download the JAR file directly from the plugin list page for Azureus. You need to install Jython separately for this plugin to work - if you find any problems with versions other than 2.1, please let me know. Website: http://dopal.sourceforge.net/jython.html Download: http://azureus.sourceforge.net/plugin_details.php?plugin=azjython From ask at cs.tut.fi Tue Dec 12 14:45:29 2006 From: ask at cs.tut.fi (Antti Kervinen) Date: 12 Dec 2006 15:45:29 +0200 Subject: ANN: rthread - distributed computing by remote threads Message-ID: Hello! I just wrote rthread library that makes distributed computing look like writing multi-threaded programs. Here is a simple example that runs print_hello function remotely and prints the name of the remote operating system. *** import rthread import time def print_hello(): import commands print "Hello from %s" % commands.getoutput("uname -o") return 10 r=rthread.start_remote_thread(print_hello,(), remotehost="hostname.domain") time.sleep(2) print "Finished: %s" % (r.status==rthread.status_finished) print "Returned: %s" % r.retval *** The only thing required from remote hosts is ssh server and executable rthread_server (included in the package) in PATH. (The library executes "ssh -C -c blowfish remotehost 'rthread_server'", and uses stdin and stdout of that process as a communication channel.) There is no need for interface definitions, no need to open communication ports, no need to copy remotely run function code to remote hosts. The library is working (three examples are included in the package), but it still lacks some features, especially related to serialisation of objects. If you are interested, please check: http://www.cs.tut.fi/~ask/rthread/index.html Yours, Antti Kervinen From sable.sungard at gmail.com Tue Dec 12 16:25:47 2006 From: sable.sungard at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Sabl=E9?=) Date: Tue, 12 Dec 2006 16:25:47 +0100 Subject: Sybase module 0.38pre1 released Message-ID: WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. MAJOR CHANGES SINCE 0.37: * This release works with python 2.5 * It also works with sybase 15 * It works with 64bits clients * It can be configured to return native python datetime objects * The bug "This routine cannot be called because another command structure has results pending." which appears in various cases has been corrected * It includes a unitary test suite based on the dbapi2.0 compliance test suite From hosalo at _NO_SPAM_gmail.com Tue Dec 12 17:21:33 2006 From: hosalo at _NO_SPAM_gmail.com (Heikki Salo) Date: Tue, 12 Dec 2006 16:21:33 GMT Subject: Release: "DirectPython 0.7" and "DirectX for comtypes 0.1" Message-ID: New versions of DirectPython and DirectX for comtypes are now available at http://directpython.sourceforge.net/ What are these? ----------- DirectPython is a C++ extension to the Python programming language which provides basic access to DirectX (9.0c) API, including Direct3D, DirectSound, DirectShow and DirectInput. The full distribution is very easy to install and it includes many samples and documentation which shows the basics of DirectPython programming. No additional packages are needed. DirectX for comtypes is a package which contains the COM interface definitions which can be used to call DirectX through comtypes. This package is still experimental and currently only supports Direct3D. Whats new in 0.7.0? ------------------ -Bug fixes -Features added -New samples -Better support for NumPy (and some other libraries, too). And much more. Check the release notes for further information. Requirements ------------- A Windows operating system with Python 2.4.x and DirectX 9.0c installed. From bray at sent.com Tue Dec 12 17:32:10 2006 From: bray at sent.com (bray at sent.com) Date: Tue, 12 Dec 2006 10:32:10 -0600 Subject: [ANN] ChiPy Monthly Meeting: Thurs. Dec. 14 2006. 7 pm. Message-ID: <1165941130.5652.280099861@webmail.messagingengine.com> Thurs. December 14 2006. 7 pm. Come join us for our December meeting. This might be our best one yet! Mark Ramm TurboGears expert will present. Here is Mark's blog entry: . We will then open the floor for discussion on Chicago's 2008 Bid to host PyCon. It will be nice to hear what updates those actively involved with finding a venue have to say. Also, it may be a good time to gather a team of volunteers for other tasks. Help us get PyCon in Chicago for 2008. This will be our first DePaul University sponsored meeting. A special thanks to Massimo Di Pierro, CTI DePaul University, mdipierro at cs.depaul.edu . No need to RSVP. When ---- Thurs. December 14 2006. 7 pm. What ---- Mark Ramm on ''Rapid Web Applications with TurboGears'' Ian Bicking might present on his ZjangoGears** metaphor PyCon 2008 Chicago Bid Updates ** presumable the current state of Python in Web Programming. Where ----- `DePaul CTI 243 S Wabash Ave. room 924 `_ About ChiPy ----------- ChiPy is a group of Chicago Python Programmers, l33t, and n00bs. Meetings are held monthly at various locations around Chicago. Also, ChiPy is a proud sponsor of many Open Source and Educational efforts in Chicago. Stay tuned to the mailing list for more info. ChiPy website: ChiPy Mailing List: Python website: --- From robin at alldunn.com Tue Dec 12 20:14:57 2006 From: robin at alldunn.com (Robin Dunn) Date: Tue, 12 Dec 2006 11:14:57 -0800 Subject: ANN: wxPython 2.8.0.1 Message-ID: <457EFFB1.2040907@alldunn.com> Announcing ---------- The 2.8.0.1 release of wxPython is now available for download at http://wxpython.org/download.php. This is the first of the new stable 2.8.x release series and is the culmination of the massive enhancement and stabalization effort done in the 2.7.x series. Source code is available, as well as binaries for both Python 2.4 and 2.5, for Windows and Mac, as well some pacakges for various Linux distributions. A summary of changes is listed below and also 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.3+, in most cases the native widgets are used on each platform to provide a 100% native look and feel for the application. Changes in 2.8.0.1 ------------------ Lots of fixes and updates to the AUI classes. Added wx.CollapsiblePane. On wxGTK it uses a native expander widget, on the other platforms a regular button is used to control the collapsed/expanded state. Added the wx.combo module, which contains the ComboCtrl and ComboPopup classes. These classes allow you to implement a wx.ComboBox-like widget where the popup can be nearly any kind of widget, and where you have a lot of control over other aspects of the combo widget as well. It works very well on GTK and MSW, using native renderers for drawing the combo button, but is unfortunatly still a bit klunky on OSX... Use system default paper size for printing instead of A4 by default. Added wx.combo.OwnerDrawnComboBox, which is a ComboCtrl that delegates the drawing of the items in the popup and in the control itself to overridden methods of a derived class, similarly to how wx.VListBox works. Added wx.combo.BitmapComboBox which is a combobox that displays a bitmap in front of the list items. Added the wx.lib.mixins.inspect module. It contains the InspectMixin class which can be mixed with a wx.App class and provides a PyCrust window that can be activated with a Ctrl-Alt-I keystroke (or Cmd-Alt-I on the Mac.) Added some modules from Riaan Booysen: * wx.lib.flagart: contains icons of the flags of many countries. * wx.lib.art.img2pyartprov: makes images embedded in a python file with img2py available via the wx.ArtProvider. * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language, which uses the country flag icons. * An I18N sample for the demo. wx.lib.masked: Patch from Will Sadkin. Includes Unicode fixes, plus more helpful exceptions and ability to designate fields in mask without intervening fixed characters. Added wx.SearchCtrl, which is a composite of a wx.TextCtrl with optional bitmap buttons and a drop-down menu. Controls like this can typically be found on a toolbar of applications that support some form of search functionality. On the Mac this control is implemented using the native HISearchField control, on the other platforms a generic control is used, although that may change in the future as more platforms introduce native search widgets. Added a set of button classes to wx.lib.buttons from David Hughes that uses the native renderer to draw the button. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! From steven.bethard at gmail.com Wed Dec 13 06:10:35 2006 From: steven.bethard at gmail.com (steven.bethard at gmail.com) Date: Wed, 13 Dec 2006 05:10:35 +0000 (GMT) Subject: python-dev Summary for 2006-11-16 through 2006-11-30 Message-ID: <20061213051036.A59BA1E400C@bag.python.org> python-dev Summary for 2006-11-16 through 2006-11-30 ++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: [The HTML version of this Summary is available at http://www.python.org/dev/summary/2006-11-16_2006-11-30] ============= Announcements ============= -------------------------- Python 2.5 malloc families -------------------------- Remember that if you find your extension module is crashing with Python 2.5 in malloc/free, there is a high chance that you have a mismatch in malloc "families". Fredrik Lundh's FAQ has more: http://effbot.org/pyfaq/why-does-my-c-extension-suddenly-crash-under-2.5.htm Contributing thread: - `2.5 portability problems `__ --------------------------------- Roundup tracker schema discussion --------------------------------- If you'd like to be involved in the discussion of the setup for the `new tracker`_, you can now file issues on the `meta tracker`_ or post to the `tracker-discuss mailing list`_. Be sure to sign up for an account so your comments don't show up as anonymous! .. _new tracker: http://psf.upfronthosting.co.za/roundup/tracker/ .. _meta tracker: http://psf.upfronthosting.co.za/roundup/meta/ .. _tracker-discuss mailing list: http://mail.python.org/mailman/listinfo/tracker-discuss Contributing thread: - `discussion of schema for new issue tracker starting `__ ========= Summaries ========= ---------------------------------------- Python and the Linux Standard Base (LSB) ---------------------------------------- Ian Murdock, the chair of the Linux Standard Base (LSB), explained that they wanted to add Python to `LSB 3.2`_. Martin v. Lowis promised to go to their meeting in Berlin and report back to python-dev. The discussion then turned to the various ways in which the different Linux variants package Python. A number of people had been troubled by Debian's handling of distutils. At one point, Debian had excluded distutils completely, requiring users to install the "python-dev" package to get distutils functionality. While current versions of Debian had put distutils back in the stdlib, they had excluded the ``config`` directory, meaning that distutils worked only for pure Python modules, not extension modules. And because Debian had no way of knowing that a computer with both gcc and Python installed would likely benefit from having the ``config`` directory installed, the user still had to install "python-dev" separately. There was also some discussion about how to handle third party modules so that updating a module didn't break some application which was expecting a different version. These kinds of problems were particularly dangerous on distributions like Gentoo and Ubuntu which relied heavily on their own system Python for the OS to work properly. Guido suggested introducing a vendor-packages directory for the third party modules required by the OS and Martin v. Lowis reopened an `earlier patch`_ suggesting this. A number of folks also thought that adding a ~/.local/lib/pythonX.X/site-packages directory for user specific (not site wide) packages could be useful. Phillip J. Eby pointed out that distutils and setuptools already allow you to install packages this way by putting:: [install] prefix = ~/.local into ./setup.cfg, ~/.pydistutils.cfg, or /usr/lib/python2.x/distutils/distutils.cfg. He also explained that setuptools could address some of the application-level problems: setuptools-generated scripts adjust their sys.path to include the specific eggs they need, and can specify these eggs with an exact version if necessary. Thus OS-level scripts would likely specify exact versions and then users could feel free to install newer eggs without worrying that the OS would try to use them instead. .. _LSB 3.2: http://www.freestandards.org/en/LSB_Roadmap .. _earlier patch: http://bugs.python.org/1298835 Contributing thread: - `Python and the Linux Standard Base (LSB) `__ ---------------------- Thread-safe operations ---------------------- Fredrik Lundh has been working on `cleaning up the Python FAQ`_ and asked about what kinds of operations could be considered "atomic" for the purposes of thread-safety. While almost any statement in Python can invoke an arbitrary special method (e.g. ``a = b`` can invoke ``a.__del__()``), Fredrik was interested in situations where the objects involved were either builtins or objects that didn't override special methods. In situations like these, you can be guaranteed things like:: * If two threads execute ``L.append(x)``, two items will be added to the list (though the order is unspecified) * If two threads execute ``x.y = z``, the field ``y`` on the ``x`` object will exist and contain one of the values assigned by one of the threads You get these guarantees mainly because the core operation in these examples involves only a single Python bytecode. However, Martin v. Lowis pointed out that even the above examples are not truly atomic in the strictest sense because they invoke bytecodes to load the values of the variables in addition to the bytecode to perform the operation. For example, if one thread does ``x = y`` while another thread does ``y = x``, at the end of the code in an "atomic" system, both ``x`` and ``y`` would have the same value. However, in Python, the values could get swapped if a context switch occurred between the loading of the values and the assignment operations. Much of this discussion was also posted to `the FAQ item`_. .. _cleaning up the Python FAQ: http://effbot.org/pyfaq/ .. _the FAQ item: http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm Contributing thread: - `PyFAQ: thread-safe interpreter operations `__ -------------------------------------------- >From an empty directory to a package on PyPI -------------------------------------------- Talin suggested that distutils/setuptools and their documentation should be updated so that new users could more easily answer the question: "What is the smoothest path from empty directory to a finished package on PyPI?" In particular, Talin thought that having to cross-reference between distutils/setuptools/unittest/etc. was confusing, and that a more stand-alone version of the documentation was necessary. A number of people agreed that the documentation could use some reorganization and the addition of some more tutorial-like sections. Mike Orr promised to put together an initial "Table of Contents" that would have links to the most important information for package distribution, and Talin made `his notes`_ available on the "baby steps" necessary to prepare a module for setuptools (e.g. create the directory structure, write a setup.py file, create source files in the appropriate directories, etc.) .. _his notes: http://wiki.python.org/moin/ExtensionTutorial Contributing thread: - `Distribution tools: What I would like to see `__ -------------------------------------------- Monitoring progress with urllib's reporthook -------------------------------------------- Martin v. Lowis looked at a `patch to urllib's reporthook`_ aimed at more accurate progress reporting. The original code in urllib was passing the ``read()`` block size as the second argument to the reporthook. The patch would have instead passed as the second argument the actual count of bytes read. Guido pointed out that the block size and the actual count would always be identical except for the last block because of how Python's ``file.read(n)`` works. Thus urllib was already giving the reporthook as accurate a progress report as possible given the implementation, and so the patch was rejected. .. _patch to urllib's reporthook: http://bugs.python.org/849407 Contributing thread: - `Passing actual read size to urllib reporthook `__ --------------------------- Infinity and NaN singletons --------------------------- Tomer Filiba asked about making the positive-infinity, negative-infinity and not-a-number (NaN) singletons available as attributes of the ``float`` type, e.g. ``float.posinf``, ``float.neginf`` and ``float.nan``. Bob Ippolito pointed him to `PEP 754`_ and the fpconst_ module which addressed some of these issues though in a separate module instead of the builtin ``float`` type. When Tomer asked why `PEP 754`_ had not been accepted, Martin v. Lowis explained that while people were interested in the feature, it was difficult to implement in general, e.g. on platforms where the double type was not IEEE-754. .. _PEP 754: http://www.python.org/dev/peps/pep-0754/ .. _fpconst: http://www.python.org/pypi/fpconst/ Contributing thread: - `infinities `__ ------------------------------------------ Line continuations and the tokenize module ------------------------------------------ Guido asked about modifying the tokenize module to allow a better round-tripping of code with line continuations. While the tokenize module was generating pseudo-tokens for things like comments and "ignored" newlines, it was not generating anything for line continuation backslashes. Adding the appropriate yield would have been trivial, but would have been a (minor) backwards incompatible change. Phillip J. Eby pointed Guido to `scale.dsl`_ which dealt with similar issues, and suggested that even though the change was small, it might cause problems for some existing tools. Guido proposed a somewhat more backwards compatible version, where a NL pseudo-token was generated with '\\\n' as its text value, and asked folks to try it out and see if it gave them any trouble. .. _scale.dsl: http://peak.telecommunity.com/DevCenter/scale.dsl#converting-tokens-back-to-text Contributing thread: - `Small tweak to tokenize.py? `__ ----------------------- Summer of Code projects ----------------------- Georg Brandl asked about the status of the Google Summer of Code projects and got a number of responses: * Nilton Volpato reported the completion of the new ziparchive_ module, which includes file-like access to zip members, support for BZIP2 compression, support for member file removal and support for encryption. He explained that he was still doing a little work to clean up the API, and that he would appreciate any feedback people had on the module. * Facundo Batista reported that the decimal Python-to-C transliteration was completed successfully, but that they learned in the process that a simple transliteration was not going to suffice and the decimal module was going to have to undergo a structural redesign to perform well in C. * Jim Jewett reported that the work to make more stdlib modules use the logging module was incomplete, and not ready for stdlib inclusion yet. .. _ziparchive: http://ziparchive.sourceforge.net/ Contributing threads: - `Summer of Code: zipfile? `__ - `Results of the SOC projects `__ - `Summer of Code: zipfile? `__ - `Results of the SOC projects `__ =============== Skipped Threads =============== - `Weekly Python Patch/Bug Summary `__ - `Python in first-year MIT core curriculum `__ - `POSIX Capabilities `__ - `[1593035] Re: readline problem with python-2.5 `__ - `DRAFT: python-dev summary for 2006-10-01 to 2006-10-15 `__ - `Suggestion/ feature request `__ - `DRAFT: python-dev summary for 2006-10-16 to 2006-10-31 `__ - `DRAFT: python-dev summary for 2006-11-01 to 2006-11-15 `__ - `ctypes and powerpc `__ - `(no subject) `__ - `Cloning threading.py using processes `__ - `Objecttype of 'locals' argument in PyEval_EvalCode `__ ======== Epilogue ======== This is a summary of traffic on the `python-dev mailing list`_ from November 16, 2006 through November 30, 2006. It is intended to inform the wider Python community of on-going developments on the list on a semi-monthly basis. An archive_ of previous summaries is available online. An `RSS feed`_ of the titles of the summaries is available. You can also watch comp.lang.python or comp.lang.python.announce for new summaries (or through their email gateways of python-list or python-announce, respectively, as found at http://mail.python.org). This python-dev summary is the 17th written by Steven Bethard. To contact me, please send email: - Steven Bethard (steven dot bethard at gmail dot com) Do *not* post to comp.lang.python if you wish to reach me. The `Python Software Foundation`_ is the non-profit organization that holds the intellectual property for Python. It also tries to advance the development and use of Python. If you find the python-dev Summary helpful please consider making a donation. You can make a donation at http://python.org/psf/donations.html . Every cent counts so even a small donation with a credit card, check, or by PayPal helps. -------------------- Commenting on Topics -------------------- To comment on anything mentioned here, just post to `comp.lang.python`_ (or email python-list at python.org which is a gateway to the newsgroup) with a subject line mentioning what you are discussing. All python-dev members are interested in seeing ideas discussed by the community, so don't hesitate to take a stance on something. And if all of this really interests you then get involved and join `python-dev`_! ------------------------- How to Read the Summaries ------------------------- This summary is written using reStructuredText_. Any unfamiliar punctuation is probably markup for reST_ (otherwise it is probably regular expression syntax or a typo :); you can safely ignore it. We do suggest learning reST, though; it's simple and is accepted for `PEP markup`_ and can be turned into many different formats like HTML and LaTeX. .. _python-dev: http://www.python.org/dev/ .. _python-dev mailing list: http://mail.python.org/mailman/listinfo/python-dev .. _comp.lang.python: http://groups.google.com/groups?q=comp.lang.python .. _PEP Markup: http://www.python.org/peps/pep-0012.html .. _reST: .. _reStructuredText: http://docutils.sf.net/rst.html .. _Python Software Foundation: http://python.org/psf/ .. _archive: http://www.python.org/dev/summary/ .. _RSS feed: http://www.python.org/dev/summary/channews.rdf From sable.sungard at gmail.com Wed Dec 13 11:12:53 2006 From: sable.sungard at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Sabl=E9?=) Date: Wed, 13 Dec 2006 11:12:53 +0100 Subject: Sybase module 0.38pre1 released In-Reply-To: References: Message-ID: By the way, I forgot to say that new releases can now be downloaded from this page: https://sourceforge.net/project/showfiles.php?group_id=184050 regards -- S?bastien Sabl? 2006/12/12, S?bastien Sabl? : > WHAT IS IT: > > The Sybase module provides a Python interface to the Sybase relational > database system. It supports all of the Python Database API, version > 2.0 with extensions. > > MAJOR CHANGES SINCE 0.37: > > * This release works with python 2.5 > > * It also works with sybase 15 > > * It works with 64bits clients > > * It can be configured to return native python datetime objects > > * The bug "This routine cannot be called because another command > structure has results pending." which appears in various cases has > been corrected > > * It includes a unitary test suite based on the dbapi2.0 compliance > test suite > From sdeibel at wingware.com Wed Dec 13 18:36:03 2006 From: sdeibel at wingware.com (sdeibel) Date: Wed, 13 Dec 2006 12:36:03 -0500 (EST) Subject: Please donate to the Python Software Foundation Message-ID: Hi, I'm writing to urge members of the Python community to please keep the Python Software Foundation in mind in your "year end giving". The PSF is the 501(c)3 non-profit organization that holds and protects the intellectual property rights behind Python. We deal with the licensing, contribution agreements, and legal requirements of copyright and trademark in order to keep Python open and free of legal claims. The PSF also: * Provides the financial backing that makes PyCon possible: http://us.pycon.org/ * Funds special projects such as the recent website redesign: http://python.org/ and the current Python Advocacy Coordinator experiment: http://python.org/psf/grants/advocacy/orig-proposal.pdf http://wiki.python.org/moin/PythonAdvocacyCoordinator * Funds grants: http://www.python.org/psf/grants/ * Responds to legal queries about the license, trademarks, or US export control registration, owns/renews the key Python domain names, and other such administrative chores. How to Donate ------------- We take credit cards, checks, wire transfers, and PayPal: http://www.python.org/psf/donations/ Donations are tax deductible for US citizens and for any business where donations or sponsorship can be considered pre-tax business expenses. Businesses can also consider becoming a sponsor member of the PSF: http://www.python.org/psf/sponsorship/ Or, become a sponsor of PyCon 2007: http://us.pycon.org/TX2007/HowToSponsor If you have any questions, please email me directly. Thanks! Stephan Deibel Chairman of the Board Python Software Foundation http://python.org/psf From jjinux at gmail.com Thu Dec 14 02:04:25 2006 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Wed, 13 Dec 2006 17:04:25 -0800 Subject: BayPiggies Dec. 14 Meeting "Programming Productivity: What Really Matters?" Message-ID: Thursday Dec. 14, 2006 7:30-8:50 p.m. Technical Program ------------------------------------ Title Programming Productivity: What Really Matters? Presenter Shannon -jj Behrens (Foxmarks) About the talk Are you fascinated by programmer productivity? Do you wish you could get more done in less time without sacrificing quality? This talk will cover a broad range of topics such as work environment, development environment, and programming language features. 8:50 p.m-... Mapping and Random Access ------------------------------------------ Mapping Moderator TBD Mapping is a rapid-fire audience announcement open to all of topic headings (one speaker at a time). Random Access session (everyone breaks up into self-organized small-group discussion) follows immediately after Mapping. More information: http://baypiggies.net From lutz at rmi.net Thu Dec 14 03:28:16 2006 From: lutz at rmi.net (lutz at rmi.net) Date: Wed, 13 Dec 2006 19:28:16 -0700 (GMT-07:00) Subject: Python training in Colorado, January 2007 Message-ID: <12785352.1166063296822.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> Python author and trainer Mark Lutz will be teaching another 3-day Python class at a conference center in Longmont, Colorado, on January 23-25, 2007. This is a public training session open to individual enrollments, and covers the same topics as the 3-day onsite sessions that Mark teaches, with hands-on lab work. For more information on this, and our other 2007 public classes, please visit these web pages: http://home.earthlink.net/~python-training/longmont-public-classes.htm http://home.earthlink.net/~python-training/public_classes.html Thanks for your interest. --Python Training Services, Inc. From amk at amk.ca Thu Dec 14 15:13:56 2006 From: amk at amk.ca (A.M. Kuchling) Date: Thu, 14 Dec 2006 09:13:56 -0500 Subject: Registration for PyCon 2007 now open Message-ID: <20061214141356.GD4946@localhost.localdomain> Online registration for PyCon 2007 is now open. Please go to: http://us.pycon.org/TX2007/Registration for instructions and a link to the registration form. Register before January 15th to get the lower early-bird rate. And don't forget to also book your hotel room before February 1st to get the conference rate; see http://us.pycon.org/Addison/Hotels for details. Pricing: Regular Student Early-bird registration (before Jan. 15 2007) US$195 $125 Online/mail registration (before Feb. 16 2007) US$260 $150 At the conference US$360 $250 Our apologies for the delays in getting registration open. Andrew M. Kuchling amk at amk.ca Co-chair, PyCon 2007 http://us.pycon.org Jeff Rush jeff at taupro.com Co-chair, PyCon 2007 http://us.pycon.org From rjgruet at yahoo.com Thu Dec 14 21:43:54 2006 From: rjgruet at yahoo.com (Richard Gruet) Date: Thu, 14 Dec 2006 21:43:54 +0100 Subject: [ANN] Python 2.5 Quick Reference Message-ID: <4581b78a$0$9749$426a34cc@news.free.fr> Hi all, An updated version of the Quick Reference for Python 2.5 is available in different formats at http://rgruet.free.fr/#QuickRef. Please report errors, inaccuracies and suggestions to Richard Gruet (pqr at rgruet.net). Richard From alberanid at libero.it Fri Dec 15 08:25:18 2006 From: alberanid at libero.it (Davide Alberani) Date: Fri, 15 Dec 2006 07:25:18 GMT Subject: IMDbPY 2.8 Message-ID: <0nu954-q66.ln1@snoopy.mio> IMDbPY 2.8 is available (tgz, deb, rpm, exe) from: http://imdbpy.sourceforge.net/ IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about both movies and people. With this release some major bugs were fixed, especially in the "http" and "sql" data access systems; moreover FAQs about movies and airing dates about tv series can be retrieved. Platform-independent and written in pure Python (and few C lines), it can retrieve data from both the IMDb's web server and a local copy of the whole database. IMDbPY package can be very easily used by programmers and developers to provide access to the IMDb's data to their programs. Some simple example scripts are included in the package; other IMDbPY-based programs are available from the home page. -- Davide Alberani [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ From michele.andreoli at katamail.com Fri Dec 15 22:13:01 2006 From: michele.andreoli at katamail.com (Michele Andreoli) Date: Fri, 15 Dec 2006 22:13:01 +0100 Subject: ANN pyfs: python shell+ftp for PC, Nokia and XBOX Message-ID: <45831070$0$4257$4fafbaef@reader1.news.tin.it> Pyfs is a (sort of) python replacement for shell+rsh+ftp+telnet, in a very alpha development stage. Pyfs works on every platforms supporting Python, with network connections in mind. Having the pyfs server running on the machine A (a PC, a Nokia phone with Symbian S60, an XBOX console), you can connect to A from another machine B (using the pyfs client), either via TCP/IP, either via Bluetooth. After the connection is established, you can interact with the remote python shell on A, or also start a form of UNIX-like shell on A, with commands like cp, rm, ls, mkdir, etc, and even transfer files, in both directions. Home page: http://mulinux.sunsite.dk/pyfs/ Thanks You, Michele From msoulier at digitaltorque.ca Sat Dec 16 07:54:50 2006 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat, 16 Dec 2006 01:54:50 -0500 Subject: ANN: Tftpy 0.4 - Pure Python TFTP Library Message-ID: <20061216065450.GS16906@tigger.digitaltorque.ca> Copyright, Michael P. Soulier, 2006. About Release 0.4: ================== This release adds a TftpServer class with a sample implementation in bin. The server uses a single thread with multiple handlers and a select() loop to handle multiple clients simultaneously. Only downloads are supported at this time. About Release 0.3: ================== This release fixes a major RFC 1350 compliance problem with the remote TID. About Release 0.2: ================== This release adds variable block sizes, and general option support, implementing RFCs 2347 and 2348. This is accessible in the TftpClient class via the options dict, or in the sample client via the --blocksize option. About Release 0.1: ================== This is an initial release in the spirit of "release early, release often". Currently the sample client works, supporting RFC 1350. The server is not yet implemented, and RFC 2347 and 2348 support (variable block sizes) is underway, planned for 0.2. About Tftpy: ============ Purpose: -------- Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347 and 2348. Dependencies: ------------- This library was developed against Python 2.3. Trifles: -------- Project page: http://sourceforge.net/projects/tftpy/ License is the CNRI Python License. http://www.opensource.org/licenses/pythonpl.php See COPYING in this distribution. Limitations: ------------ - Server only supports downloads. - Client only supports downloads. - Only 'octet' mode is supported - The only option supported is blksize -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/python-announce-list/attachments/20061216/f4698efa/attachment.pgp From tundra at tundraware.com Sat Dec 16 10:40:40 2006 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat, 16 Dec 2006 03:40:40 -0600 Subject: [ANN]: 'twander' 3.204 Released And Available Message-ID: 'twander' Version 3.204 is now released and available for download at: http://www.tundraware.com/Software/twander The last public release was 3.195. If you are unfamiliar with this program, see the end of this message for a brief description. --------------------------------------------------------------------- NEW FEATURES - A new boolean configuration option, CMDMENUSORT (default: False), has been added. This allows the user to force the Command Menu to appear in sorted order (as opposed to the default which is to display commands in the order they are defined). - It is now possible to temporarily assign the current directory to any of the Directory Shortcut keys. The user presses KEDIRSCSET (default: Control-8) and is presented with a dialog to enter which of the 12 Directory Shortcut keys to load with the current directory. This allows directory waypoints to be saved as shortcuts during the user's workflow. The shortcuts revert to the definitions found in the Configuration File if the program is exited and restarted or if a configuration reload (default: Control-r) is initiated within the running program. - A new configuration verb, ASSOC, has been added to implement file "Associations". Associations allow the user to define which program to start when the user selects a non-executable file and does a mouse doubleclick or presses "Enter". For example, this configuration statement associates files whose names end with the string ".text" with emacs: ASSOC .text emacs [SELECTION] There is also provision for a "default" association that is invoked if the user double-clicks or presses "Enter" on a non-executable file that has no specific association defined for it: ASSOC * MyFineEditor [SELECTION] The right-hand-side of association statements can make use of almost all of the 'twander' configuration language features such as runtime prompting, symbolic variable substitution, execution variables, and so forth. CHANGES & BUG FIXES - The default mouse assignment to popup the shortcut menu (MOUSESC) has been moved to Alt-Control-LeftButton. This was necessary because the previous assignment interfered with the mouse command to move up a directory level (MOUSEUP). - The "Shortcut Key" help menu has been removed. It was redundant with the identical menu on the menu bar and mouse popup menu. - The titlebar status strings have been shortened to keep to overall title length more reasonable. - Selected help menus have now been formatted into 3 columns (as opposed to the previous 2 column format) to make long help screens fit on the display better. - A new help menu, "Associations" has been added to display any user-defined Associations (as described above). - The order of the help menus has been changed to be slightly more intuitive (to the author anyway :). DOCUMENTATION - The new features and changes are reflected in the manual. - The example Configuration File (.twander) now contains examples of "Execution Variables". These were introduced in 3.193 but examples were not included in the example configuration. Complete details of all fixes, changes, and new features can be found in the WHATSNEW.txt and documentation files included in the distribution. Users are strongly encouraged to join the twander-users mailing list as described in the documentation. A FreeBSD port has been submitted as well. What Is 'twander'? ------------------ 'twander' is a macro-programmable Filesystem Browser that runs on both Unix-like systems as well as Win32 systems. It embraces the best ideas of both similar GUI-driven programs (Konqueror, Windows Explorer) as well as text-based interfaces (Midnight Commander, List, Sweep). Or, If You Prefer The "Elevator Pitch" -------------------------------------- 'twander' is: - A better file browser for Unix and Win32. (Tested on FreeBSD, Linux, Win32. Probably works on Mac OS/X, but not tested.) - A way to make browsing the same on all the OSs you use. - A macro-programmable tool that lets *you* define the features. - A GUI navigation front-end for your shell. - A way to "can" workflows for your technically-challenged colleagues. - A way to free yourself from the shackles of the mouse. - A way to significantly speed up your day-to-day workflow. - A Python/Tkinter application - about 5000 lines of code/comments - A RCT (Really Cool Tool) that will have you addicted in a day or two See the web page for more information, a screen shot, and the complete documentation. twander at tundraware.com From dwhall256 at gmail.com Sat Dec 16 18:20:05 2006 From: dwhall256 at gmail.com (dwhall) Date: 16 Dec 2006 09:20:05 -0800 Subject: ANN: PyMite release 04 Message-ID: <1166289605.838580.11840@j72g2000cwa.googlegroups.com> .. Hello, .. .. I would like to announce the fourth release of PyMite. .. PyMite is for 8-bit embedded developers wanting to code in Python, .. NOT for Python programmers wanting to develop for 8-bit systems . .. .. !!Dean ====== PyMite ====== :Author: Dean Hall :Copyright: Copyright 2002 Dean Hall. All of the source code for PyMite is licensed under the GNU General Public License v2. :Release: 04 :Site: http://pymite.python-hosting.com/ Purpose ------- PyMite is a flyweight Python interpreter written from scratch to execute on 8-bit and larger microcontrollers with resources as limited as 32 KiB of program memory (flash) and 4 KiB of RAM. PyMite supports a subset of the Python syntax and can execute a subset of the Python bytecodes. PyMite can also be compiled, tested and executed on a desktop computer. Thanks ------ My thanks go to these people for their contribution to PyMite: - Josh Lifton: Used PyMite in PhD work, donated many code fixes and tests. - Philipp Adelt: Enhancements to pmImgCreator.py, issues and fixes. - www.webfaction.com: for providing quality, free project hosting on www.python-hosting.com Release Notes ------------- This is PyMite release 04 * Release 04, 2006/12/14 - #62: Created Release 04 package - #51: Updated to Python 2.5 bytecodes - #57: Created doc showing what PyMite does [not] support - #60: Implemented heap_sweep - #59: Improved bytecode UNPACK_SEQUENCE - #58: Added support for keyword "in" - #26: Implemented more builtin functions - #49: Removed null check from object methods - #56: Implemented \*_POWER bytecodes - #17: Completed the implementation of obj_isEqual() - #54: Changed seglist API to encapsulate segnum & segindx - #10: Created sequence_getSubscript() - #33: Created new ARM target - #36: Deprecated dwh_types.h - #53: Fixed Win32/x86 build break - #38: Made use of pycscope.py conditional in Makefile - #37: Created PM_RAISE() - #34: Converted all "Py" to "Pm" - #50: Integrated __LINE__ into PM_RAISE - #48: Organized and deploy unit tests - #45: Finished interpret loop edits - #35: Macroized all operations on object descriptors - #42: Fixed misuse of PM_RAISE - #43: Fixed mem_getInt() - #40: Fixed heap chunk transfer .. :mode=rest: From goodger at python.org Sun Dec 17 18:07:43 2006 From: goodger at python.org (David Goodger) Date: Sun, 17 Dec 2006 12:07:43 -0500 Subject: Call for Nominations of PSF Directors Message-ID: <4335d2c40612170907yece7a31ja188d2bf2c208f28@mail.gmail.com> The Board of Directors of the Python Software Foundation is issuing this call for nominations of new Directors. Self-nominations are the norm, so don't wait for somebody else to nominate you. If you are interested in serving as a Director, please write to psf at python.org. Directors need not be PSF members. Since the PSF is a small organization, the Directors and Officers are the PSF's executive in more than name: we not only discuss the work to be done, we also initiate and oversee the work (through committees), and we get a lot of the work done ourselves. It is therefore beneficial to have a large number of active Directors. As Tim Peters eloquently put it, This is pragmatic: volunteer time is hard to come by for PSF busy work, and, overall, directors seem to feel more compelling obligation in this regard than non-director PSF members. So, the bigger the board, the more gets done. At the annual Members' Meeting in 2004 nine people stood for election to the Board, but there were only seven positions, so two candidates were not elected. This was a mistake; we cannot afford to turn away volunteers. In 2005, when eight people stood for election, the Board was first increased to eight positions, allowing all the candidates to serve. The size of the Board can change again. (Section 5.4 of the PSF bylaws states: "the number of directors shall be fixed by the members at each annual meeting of members.") The PSF's Directors and Officers conduct business via monthly meetings (one hour on IRC) and an active mailing list. We discuss the work being done and the work to be done, and Directors vote on resolutions. David Goodger, PSF Secretary On behalf of the PSF Board of Directors From kirklin.mcNOSPAMdonald at gNOSPAMmail.com Mon Dec 18 00:13:33 2006 From: kirklin.mcNOSPAMdonald at gNOSPAMmail.com (Kirk McDonald) Date: Sun, 17 Dec 2006 15:13:33 -0800 Subject: Pyd: Extending Python with D Message-ID: <4585c541$1@nntp0.pdx.net> This is not a release announcement per se, but I just got this library working on Linux, so I am prepared to show it to the Python community at large. http://pyd.dsource.org/ Pyd is a library for the D programming language. It is analogous to Boost.Python. It wraps the Python/C API with a much cleaner interface, allowing you to directly expose your D functions and classes to Python, without touching the C API. See the website for some simple examples. It's also pretty easy to build (it uses distutils for compilation) and compiles lightning fast (a strength of D's), at least compared to Boost.Python. D, if you're unfamiliar with it, is a systems programming language. It aims to be a successor to C++. It is multi-paradigm, statically-typed (but has many type inference features), compiles to native machine code, uses single inheritance plus interfaces and mixins, and is garbage collected. Dynamic arrays and hash tables are built-in language constructs. It is link-compatible with C, but doesn't bother to be syntax compatible (although it does use a C-style syntax). Linking against C libraries (like the Python/C API) is a usually simple matter of re-writing the header files in D. D is designed by Walter Bright, who has been writing C and C++ compilers for 20 years. D will be undergoing a 1.0 release on January 1st. There are two implementations of D: The reference implementation, written by Walter Bright, which is called DMD (http://digitalmars.com/d/), and the open-source implementation, which is called GDC (http://dgcc.sourceforge.net/). The former has a Windows bias, and the latter has a Linux bias, although both mostly work on both. It is my opinion, and the view of several others in the D community, that Python and D are a perfect fit for each other. With Pyd, it is very easy to code rapidly in Python, and drop into D when more speed is required. Pyd is still a relatively new library. I started development on it in June, and I could count the current number of users on one hand. I also haven't done a proper release, as I am still rapidly adding features. For all that, I am insterested in what people think of it. The library's deficiencies won't become clear until people start using it. -Kirk McDonald http://pyd.dsource.org/ From ianb at colorstudy.com Mon Dec 18 06:06:25 2006 From: ianb at colorstudy.com (Ian Bicking) Date: Sun, 17 Dec 2006 23:06:25 -0600 Subject: Paste 1.1 Message-ID: <458621D1.2000608@colorstudy.com> Paste 1.1 --------- This release includes a security fix, fixing a situation where you could escape the root when serving static files and running the Paste HTTP server publicly. If you used other WSGI servers or used the Paste HTTP server behind Apache this does not effect you. For an update of Paste 1.0 that includes *only* the security fix, use "easy_install Paste==1.0.1" What Is Paste? -------------- URL: http://pythonpaste.org Install: easy_install Paste PasteScript PasteDeploy News: http://pythonpaste.org/news.html http://pythonpaste.org/script/news.html http://pythonpaste.org/deploy/news.html Paste is a set of WSGI components, each of which can be used in isolation. But used together they form an unstoppable force. Team WSGI, unite! These components let you do things like create applications that proxy to other websites, mount multiple applications under different prefixes, catch exceptions and interactively inspect the environment, and much more. Paste Deploy is a configuration system for these components. Paste Script is a jack of all trades that builds new project file layouts, runs WSGI server stacks, and does application deployment. Interesting News ---------------- Paste ~~~~~ * Security fix for paste.urlparser.StaticURLParser. The problem allowed escaping the root (and reading files) when used with paste.httpserver (this does not effect other servers, and does not apply when proxying requests from Apache to paste.httpserver). * paste.httpserver and paste.fixture.TestApp url-unquote SCRIPT_NAME and PATH_INFO, as specified in the CGI spec. Thanks to Jon Nelson for pointing out both these issues. * paste.registry now works within the EvalException interactive debugger. * Added a __traceback_decorator__ magic local variable, to allow arbitrary manipulation of the output of paste.exceptions.collector before formatting. * Added unicorn power to paste.pony (from Chad Whitacre) * For paste.httpserver SSL support: add support loading an explicit certificate context, and using ssl_pem='*' create an unsigned SSL certificate (from Jason Kirtland). Paste Script ~~~~~~~~~~~~ * Allow variable assignments at the end of paster serve, like paster serve http_port=80; then you can use %(http_port)s in your config files (requires up-to-date Paste Deploy). Paste Deploy ~~~~~~~~~~~~ * Really nothing interesting. -- Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org From jdavid at itaapy.com Mon Dec 18 11:57:49 2006 From: jdavid at itaapy.com (=?UTF-8?B?IkouIERhdmlkIEliw6HDsWV6Ig==?=) Date: Mon, 18 Dec 2006 11:57:49 +0100 Subject: itools 0.14.7 released Message-ID: <4586742D.5000304@itaapy.com> itools is a Python library, it groups a number of packages into a single meta-package for easier development and deployment: itools.catalog itools.http itools.uri itools.cms itools.i18n itools.vfs itools.csv itools.ical itools.web itools.datatypes itools.rss itools.workflow itools.gettext itools.schemas itools.xhtml itools.handlers itools.stl itools.xliff itools.html itools.tmx itools.xml In this release a bunch of bugs have been fixed: - [itools.handlers] The method "acquire" works (#597). - [itools.catalog] Fix unindexing in some obscure conditions. Fix search for on-memory catalogs. - [itools.xml] Raise "NotImplementedError" when building a bare XML document from scratch, instead of failing later with an obscure error. - [itools.ical] Fix problem with CRLF in property values (#594). - [itools.http] Fix loading form values from multimart requests, when there is more than one value assigned to the same name. Loading request objects from files or strings works now (not just from sockets). - [itools.web] The response "304 Not Modified" is working again (#601). - [itools.cms] Now the calendar widget can show conflicts for the week and month views (#626). Credits: - Herv? Cauwelier fixed some bugs; - Nicolas Deram fixed some bugs; - J. David Ib??ez fixed some bugs; Resources --------- Download http://download.ikaaro.org/itools/itools-0.14.7.tar.gz Home http://www.ikaaro.org/itools Mailing list http://mail.ikaaro.org/mailman/listinfo/itools Bug Tracker http://bugs.ikaaro.org/ -- J. David Ib??ez Itaapy Tel +33 (0)1 42 23 67 45 9 rue Darwin, 75018 Paris Fax +33 (0)1 53 28 27 88 From python-url at phaseit.net Mon Dec 18 19:46:46 2006 From: python-url at phaseit.net (Paul Boddie) Date: Mon, 18 Dec 2006 18:46:46 +0000 (UTC) Subject: Python-URL! - weekly Python news and links (Dec 18) Message-ID: QOTW: "c.l.python is just a small speck at the outer parts of the python universe. most python programmers don't even read this newsgroup, except, perhaps, when they stumble upon it via a search engine." -- Fredrik Lundh (on comp.lang.python, prompting the editor to offer greetings to those of you who are not reading Python-URL! via that channel) http://groups.google.com/group/comp.lang.python/msg/4d73a2da72c87226 "That's the kind of features I have in mind, and the best thing is that conceptually a lot of the work consists of connecting dots that already out there. But as there are so many of them, a few extra pencils would be quite welcome " -- Willem Broekema (on comp.lang.python, referring to the ongoing CLPython - Python in Common Lisp - project) http://groups.google.com/group/comp.lang.python/msg/b72788cc5569d778 http://trac.common-lisp.net/clpython/ Registration for PyCon (the North American Python conference) is now open: http://pycon.blogspot.com/2006/12/registration-for-pycon-2007-is-now.html http://us.pycon.org/TX2007/Registration Meanwhile, the EuroPython planners get ahead of themselves, thinking about conference venues as far in the future as 2010, if not 20010! http://mail.python.org/pipermail/europython/2006-December/006158.html http://mail.python.org/pipermail/europython/2006-December/006161.html PyMite - the embedded Python interpreter - gets an update: http://groups.google.com/group/comp.lang.python.announce/msg/b335a476d4033292 http://pymite.python-hosting.com/ This week's Python advocacy discovery had to be the revelation that YouTube runs on Python, helping to diminish concerns about Python's suitability for large scale Internet applications and services: http://sayspy.blogspot.com/2006/12/youtube-runs-on-python.html http://www.python.org/about/quotes/#youtube-com Of related things "flexible and fast", development in the Cherokee Web server community produces the 100% Python implementation of SCGI: the logically named PySCGI. http://www.alobbs.com/news/1193 And on the advocacy front, volunteers are sought to write informative materials (flyers, whitepapers) promoting Python in different domains: http://wiki.python.org/moin/AdvocacyWritingTasks Video conferencing on the OLPC (One Laptop Per Child) prototype takes shape with a mixture of technologies and "a few lines of Python": http://www.robot101.net/2006/12/12/telepathy-and-olpc/ After an influx of competing XML technologies and now drifting free without an appointed maintainer, is the era of PyXML over? http://mail.python.org/pipermail/xml-sig/2006-December/011620.html On a more administrative level, the Python Software Foundation (PSF) invites nominations for new directors: http://pyfound.blogspot.com/2006/12/call-for-nominations-of-psf-directors.html The PSF also suggests that you might consider a donation towards their work of protecting the Python copyrights and trademarks: http://pyfound.blogspot.com/2006/12/remember-psf-in-your-year-end.html ======================================================================== 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 Mygale is a news-gathering webcrawler that specializes in (new) World-Wide Web articles related to Python. http://www.awaretek.com/nowak/mygale.html While cosmetically similar, Mygale and the Daily Python-URL are utterly different in their technologies and generally in their results. For far, FAR more Python reading than any one mind should absorb, much of it quite interesting, several pages index much of the universe of Pybloggers. http://lowlife.jp/cgi-bin/moin.cgi/PythonProgrammersWeblog http://www.planetpython.org/ http://mechanicalcat.net/pyblagg.html The Python Papers aims to publish "the efforts of Python enthusiats". http://pythonpapers.org/ comp.lang.python.announce announces new Python software. Be sure to scan this newsgroup weekly. http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python.announce Python411 indexes "podcasts ... to help people learn Python ..." Updates appear more-than-weekly: http://www.awaretek.com/python/index.html Steve Bethard continues the marvelous tradition early borne by Andrew Kuchling, Michael Hudson, Brett Cannon, Tony Meyer, and Tim Lesher of intelligently summarizing action on the python-dev mailing list once every other week. http://www.python.org/dev/summary/ The Python Package Index catalogues packages. http://www.python.org/pypi/ The somewhat older Vaults of Parnassus ambitiously collects references to all sorts of Python resources. http://www.vex.net/~x/parnassus/ 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/python/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/donate.html Kurt B. Kaiser publishes a weekly report on faults and patches. http://www.google.com/groups?as_usubject=weekly%20python%20patch Although unmaintained since 2002, the Cetus collection of Python hyperlinks retains a few gems. http://www.cetus-links.org/oo_python.html Python FAQTS http://python.faqts.com/ The Cookbook is a collaborative effort to capture useful and interesting recipes. http://aspn.activestate.com/ASPN/Cookbook/Python Among several Python-oriented RSS/RDF feeds available are http://www.python.org/channews.rdf http://bootleg-rss.g-blog.net/pythonware_com_daily.pcgi http://python.de/backend.php For more, see http://www.syndic8.com/feedlist.php?ShowMatch=python&ShowStatus=all The old Python "To-Do List" now lives principally in a SourceForge reincarnation. http://sourceforge.net/tracker/?atid=355470&group_id=5470&func=browse http://www.python.org/dev/peps/pep-0042/ The online Python Journal is posted at pythonjournal.cognizor.com. editor at pythonjournal.com and editor at pythonjournal.cognizor.com welcome submission of material that helps people's understanding of Python use, and offer Web presentation of your work. del.icio.us presents an intriguing approach to reference commentary. It already aggregates quite a bit of Python intelligence. http://del.icio.us/tag/python *Py: the Journal of the Python Language* http://www.pyzine.com Archive probing tricks of the trade: http://groups.google.com/groups?oi=djq&as_ugroup=comp.lang.python&num=100 http://groups.google.com/groups?meta=site%3Dgroups%26group%3Dcomp.lang.python.* Previous - (U)se the (R)esource, (L)uke! - messages are listed here: http://www.ddj.com/topic/python/ (requires subscription) http://groups-beta.google.com/groups?q=python-url+group:comp.lang.python*&start=0&scoring=d& http://purl.org/thecliff/python/url.html (dormant) or http://groups.google.com/groups?oi=djq&as_q=+Python-URL!&as_ugroup=comp.lang.python There is *not* an RSS for "Python-URL!"--at least not yet. Arguments for and against are occasionally entertained. Suggestions/corrections for next week's posting are always welcome. E-mail to should get through. To receive a new issue of this posting in e-mail each Monday morning (approximately), ask to subscribe. Mention "Python-URL!". Write to the same address to unsubscribe. -- The Python-URL! Team-- Phaseit, Inc. (http://phaseit.net) is pleased to participate in and sponsor the "Python-URL!" project. Watch this space for upcoming news about posting archives. From phd at phd.pp.ru Mon Dec 18 20:14:56 2006 From: phd at phd.pp.ru (Oleg Broytmann) Date: Mon, 18 Dec 2006 22:14:56 +0300 Subject: SQLObject 0.8.0b1 Message-ID: <20061218191456.GB8065@phd.pp.ru> Hello! I'm pleased to announce the 0.8.0b1 release of SQLObject. This is the first beta of the new branch. Taking into account that it is a result of rather large job the beta period will be prolonged. Meanwhile the stable 0.7 branch will be maintained, and there will be at least 0.7.3 release. What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and Firebird. It also has newly added support for Sybase, MSSQL and MaxDB (also known as SAPDB). Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: http://cheeseshop.python.org/pypi/SQLObject/0.8.0b1 News and changes: http://sqlobject.org/devel/News.html What's New ========== Features & Interface -------------------- * It is now possible to create tables that reference each other. Constraints (in the DBMSes that support constraints) are added after the tables have been created. * Added ``createSQL`` as an option for sqlmeta. Here you can add related SQL you want executed by sqlobject-admin create after table creation. createSQL expects a string, list, or dictionary. If using a dictionary the key should be a dbName value (ex. 'postgres') and the value should be a string or list. Examples in sqlobject/tests/test_sqlobject_admin.py or at * Added method ``sqlhub.doInTransaction(callable, *args, **kwargs)``, to be used like:: sqlhub.doInTransaction(process_request, os.environ) This will run ``process_request(os.environ)``. The return value will be preserved. * Added method ``.getOne([default])`` to ``SelectResults`` (these are the objects returned by ``.select()`` and ``.selectBy()``). This returns a single object, when the query is expected to return only one object. The single argument is the value to return when zero results are found (more than one result is always an error). If no default is given, it is an error if no such object exists. * Added a WSGI middleware (in ``sqlobject.wsgi_middleware``) for configuring the database for the request. Also handles transactions. Available as ``egg:SQLObject`` in Paste Deploy configuration files. * New joins! ManyToMany and OneToMany; not fully documented yet, but still more sensible and smarter. * SELECT FOR UPDATE * New module dberrors.py - a hierarchy of exceptions. Translation of DB API module's exceptions to the new hierarchy is performed for SQLite and MySQL. * SQLiteConnection got a new keyword "factory" - a name or a reference to a factory function that returns a connection class; useful for implementing functions or aggregates. See test_select.py and test_sqlite_factory.py for examples. * SQLObject now disallows columns with names that collide with existing variables and methods, such as "_init", "expire", "set" and so on. Small Features -------------- * Configurable client character set (encoding) for MySQL. * Added a close option to .commit(), so you can close the transaction as you commit it. * DecimalValidator. * Added .expireAll() methods to sqlmeta and connection objects, to expire all instances in those cases. * String IDs. * FOREIGN KEY for MySQL. * Support for sqlite3 (a builtin module in Python 2.5). * SelectResults cannot be queried for truth value; in any case it was meaningless - the result was always True; now __nonzero__() raises NotImplementedError in case one tries bool(MyTable.select()) or "if MyTable.select():..." Bug Fixes --------- * Fixed problem with sqlite and threads; connections are no longer shared between threads for sqlite (except for :memory:). * The reference loop between SQLObject and SQLObjectState eliminated using weak references. For a more complete list, please see the news: http://sqlobject.org/devel/News.html Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From richard at commonground.com.au Tue Dec 19 04:16:15 2006 From: richard at commonground.com.au (Richard Jones) Date: Tue, 19 Dec 2006 14:16:15 +1100 Subject: Roundup Issue Tracker release 1.3.2 Message-ID: <90306BCE-CE13-46D5-9D66-2D4D68D16625@commonground.com.au> I'm proud to release version 1.3.2 of Roundup. Fixed in 1.3.2: - relax rules for required fields in form_parser.py (sf bug 1599740) - documentation cleanup from Luke Ross (sf patch 1594860) - updated Spanish translation from Ramiro Morales (sf patch 1594718) - handle 8-bit untranslateable messages in tracker templates - handling of required for boolean False and numeric 0 (sf bug 1608200) - removed bogus args attr of ConfigurationError (sf bug 1608056) - implemented start_response in roundup.cgi (sf bug 1604304) - clarified windows service documentation (sf patch 1597713) - HTMLClass fixed to work with new item permissions check (sf bug 1602983) - support POP over SSL (sf patch 1597703) - clean up input field generation and quoting of values (sf bug 1615616) - allow use of roundup-server pidfile without forking (sf bug 1614753) - allow translation of status/priority menu options (sf bug 1613976) New Features in 1.3.0: - WSGI support via roundup.cgi.wsgi_handler If you're upgrading from an older version of Roundup you *must* follow the "Software Upgrade" guidelines given in the maintenance documentation. Roundup requires python 2.3 or later for correct operation. To give Roundup a try, just download (see below), unpack and run:: roundup-demo Release info and download page: http://cheeseshop.python.org/pypi/roundup Source and documentation is available at the website: http://roundup.sourceforge.net/ Mailing lists - the place to ask questions: http://sourceforge.net/mail/?group_id=31577 About Roundup ============= Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. It is based on the winning design from Ka-Ping Yee in the Software Carpentry "Track" design competition. Note: Ping is not responsible for this project. The contact for this project is richard at users.sourceforge.net. Roundup manages a number of issues (with flexible properties such as "description", "priority", and so on) and provides the ability to: (a) submit new issues, (b) find and edit existing issues, and (c) discuss issues with other participants. The system will facilitate communication among the participants by managing discussions and notifying interested parties when issues are edited. One of the major design goals for Roundup that it be simple to get going. Roundup is therefore usable "out of the box" with any python 2.3+ installation. It doesn't even need to be "installed" to be operational, though a disutils-based install script is provided. It comes with two issue tracker templates (a classic bug/feature tracker and a minimal skeleton) and five database back-ends (anydbm, sqlite, metakit, mysql and postgresql). From frpythoneers at gmail.com Tue Dec 19 18:39:14 2006 From: frpythoneers at gmail.com (frpythoneers at gmail.com) Date: 19 Dec 2006 09:39:14 -0800 Subject: Front Range Pythoneers Meeting: Wed, Dec 20, in Boulder, Colorado Message-ID: <1166549954.872257.63060@73g2000cwn.googlegroups.com> Important Change: we will be meeting at bivio Software instead of Jill's to better accommodate this month's demos. == Meeting: December 20, 2006 == * Time: 6-8 PM * Location: bivio Software, Inc., 28th and Iris. Above Hair Elite in Suite S. * BoulderSprint. Eric Dobbs proposed we adopt Jython, and this looks like we have enough momentum to actually get some useful work done in our upcoming sprints. * Tom Churchill and Vinny will demo Churchill Navigation's earth-rendering engine (which looks like Google Earth, only apparently even better and faster ;) ). Vinny (their main Python guy) will explain how they built the glue logic (and why they decided against SWIG) and perhaps some of the implications of using Python as a scripting language in a real-time (60 fps) environment, and the techniques they employed to keep the graphics pipeline from stalling when making an expensive call into their engine from Python. * Brian Granger from Tech-X will help us think more deeply about concurrent Python programming, especially as seen in a new version of IPython. We will have food & drink available. Did I mention the free beer? Hope to see you there. For more information: http://wiki.python.org/moin/FrontRangePythoneers From fuzzyman at gmail.com Tue Dec 19 19:35:51 2006 From: fuzzyman at gmail.com (Fuzzyman) Date: 19 Dec 2006 10:35:51 -0800 Subject: [ANN] rest2web 0.5.1 Message-ID: <1166553351.723796.26480@79g2000cws.googlegroups.com> `rest2web 0.5.1 `_ is now available. This is a minor feature enhancement release. * `Download rest2web-0.5.1.zip `_ * `Download rest2web-0.5.1.tar.gz `_ What Is rest2web? ============= Maintaining websites or project documentation in HTML is a pain. **rest2web** takes out the pain, and brings back the joy. {sm;:wink:} **rest2web** is a simple tool that lets you build your website from a single template (or as many as you want), and keep the contents in `ReStructured Text `_. (You can still keep pages in HTML if needed.) It has an easy to us templating system, with embedded Python for unlimited flexibility and no new templating language to learn. It has built in functions or creating sidebars and navigation elements of a site. What's New in 0.5.1 ? ================ Added some extra debugging info to syntax errors in the templates. Fixed odict and pathutils for Python 2.5 compatibility. Added the 'promote_headers' option to the `config file `_. Added the ``sortpages`` method to the ``sections``. This sorts the pages in a section (or all sections) alphabetically. You can also pass in a custom sort function. From tundra at tundraware.com Tue Dec 19 23:02:12 2006 From: tundra at tundraware.com (Tim Daneliuk) Date: Tue, 19 Dec 2006 16:02:12 -0600 Subject: [ANN]: 'twander' 3.210 Released And Available Message-ID: <45886164.3050008@tundraware.com> (Apologies for two releases in less than a week. It was, um... necessary. This should be it for quite a while barring any notable bug reports.) 'twander' Version 3.210 is now released and available for download at: http://www.tundraware.com/Software/twander The last public release was 3.204. If you are unfamiliar with this pure-Python program, see the end of this message for a brief description or see the website above. --------------------------------------------------------------------- NEW FEATURES - Implemented Association exclusions. You can now exclude the named file types from being associated with an application: ASSOC ! *.txt *.ps *.pdf This is handy if you want to use a default association for most things, but have a select group of files not be affected by the default and thereby passed down to the OS for normal processing. - Any association (normal, default, exclusion) can be removed by leaving the right-hand-side blank: ASSOC *.foo ASSOC * ASSOC ! This is useful within conditional blocks when you want to define 'twander' behavior differently based on some condition you're checking. Another use is to undefine an Association that was put in place in a global configuration you .included into your setup. CHANGES - All association checks are now case-insensitive under Windows. - Association "types" now support filename "globbing" meta- characters. This means that association statements supported in the previous release need to be changed slightly. This: ASSOC .txt ... Need to be changed to this: ASSOC *.txt .... This feature enables far more complete filename type specification than was previously possible with just the "filename ends with .." semantic. - If a file is selected and the user double-clicks or hits "Enter", and that file is not executable AND has no applicable association defined, 'twander' will present an error message. It does this only on the Unix-like systems. On Windows, the request is handed down to the underlying OS without comment because Windows itself may have an applicable association. DOCUMENTATION - The manual has been updated and corrected in several places. - Documentation for the new features has been added. ------------------------------------------------------------------------ Complete details of all fixes, changes, and new features can be found in the WHATSNEW.txt and documentation files included in the distribution. Users are strongly encouraged to join the twander-users mailing list as described in the documentation. A FreeBSD port has been submitted as well. What Is 'twander'? ------------------ 'twander' is a macro-programmable Filesystem Browser that runs on both Unix-like systems as well as Win32 systems. It embraces the best ideas of both similar GUI-driven programs (Konqueror, Windows Explorer) as well as text-based interfaces (Midnight Commander, List, Sweep). Or, If You Prefer The "Elevator Pitch" -------------------------------------- 'twander' is: - A better file browser for Unix and Win32. (Tested on FreeBSD, Linux, Win32. Probably works on Mac OS/X, but not tested.) - A way to make browsing the same on all the OSs you use. - A macro-programmable tool that lets *you* define the features. - A GUI navigation front-end for your shell. - A way to "can" workflows for your technically-challenged colleagues. - A way to free yourself from the shackles of the mouse. - A way to significantly speed up your day-to-day workflow. - A Python/Tkinter application - about 5000 lines of code/comments - A RCT (Really Cool Tool) that will have you addicted in a day or two See the web page for more information, a screen shot, and the complete documentation. twander at tundraware.com From tomerfiliba at gmail.com Tue Dec 19 23:42:23 2006 From: tomerfiliba at gmail.com (sebulba) Date: 19 Dec 2006 14:42:23 -0800 Subject: Construct 2.00 (RC1) released Message-ID: <1166568143.167044.278950@48g2000cwx.googlegroups.com> http://pyconstruct.wikispaces.com Construct is a library for parsing and building (AKA packing and unpacking) of data structures such as in-memory structures, file formats, or network protocols. Unlike other libraries, Construct is _declarative_, meaning you define the data structure, and not the code that parses/builds it. As a result, constructs can do both parsing and building, with no extra code. The library comes with many built-in primitives, and a large inventory of protocols and file formats. A full tutorial can be found on the site. Note: the docs are work-in-progress until the final 2.0 release will be made in the next two weeks. If you wish to get a quick taste of the library, consider the following snippet: >>> from construct import * >>> >>> >>> ethernet_header = Struct("ethernet_header", ... Bytes("dest", 6), ... Bytes("source", 6), ... Enum(UBInt16("type"), ... IP = 0x0800, ... ARP = 0x0806, ... X25 = 0x0805 ... ) ... ) >>> >>> >>> print ethernet_header.parse("ABCDEF123456\x08\x00") Container: dest = 'ABCDEF' source = '123456' type = 'IP' >>> >>> >>> ethernet_header.build(Container(dest = "aaabbb", source = "333444", type = "X25")) 'aaabbb333444\x08\x05' -tomer From johann at browsershots.org Wed Dec 20 01:07:53 2006 From: johann at browsershots.org (Johann C. Rocholl) Date: Wed, 20 Dec 2006 01:07:53 +0100 Subject: ANN: pep8.py 0.2.0 - Python style guide checker Message-ID: <8233478f0612191607x3cb3fc1cyd516e4f11d843f98@mail.gmail.com> Announcing the first public release of pep8.py, a tool to check your Python code against some of the style conventions in `PEP 8`_. .. _PEP 8: http://www.python.org/dev/peps/pep-0008/ Features -------- * Plugin architecture: Adding new checks is easy. * Parseable output: Jump to error location in your editor. * Small: Just one Python file, requires only stdlib. Download -------- The file pep8.py (and a regression test suite) is available from the Browsershots subversion repository, under the Expat license: http://svn.browsershots.org/trunk/devtools/pep8/ You can look at the source code and change history online: http://trac.browsershots.org/browser/trunk/devtools/pep8/pep8.py Example usage and output ------------------------ :: $ pep8.py optparse.py optparse.py:69:11: E401 multiple imports on one line optparse.py:77:1: E302 expected 2 blank lines, found 1 optparse.py:88:5: E301 expected 1 blank line, found 0 optparse.py:222:34: W602 deprecated form of raising exception optparse.py:347:31: E211 whitespace before '(' optparse.py:357:17: E201 whitespace after '{' optparse.py:472:29: E221 multiple spaces before operator optparse.py:544:21: W601 .has_key() is deprecated, use 'in' You can also make pep8.py show the source code for each error, and even the relevant text from PEP 8:: $ pep8.py --show-source --show-pep8 testsuite/E111.py testsuite/E111.py:2:3: E111 indentation is not a multiple of four print x ^ Use 4 spaces per indentation level. For really old code that you don't want to mess up, you can continue to use 8-space tabs. Or you can display how often each error was found:: $ pep8.py --statistics -qq --filename=*.py Python-2.5/Lib 232 E201 whitespace after '[' 599 E202 whitespace before ')' 631 E203 whitespace before ',' 842 E211 whitespace before '(' 2531 E221 multiple spaces before operator 4473 E301 expected 1 blank line, found 0 4006 E302 expected 2 blank lines, found 1 165 E303 too many blank lines (4) 325 E401 multiple imports on one line 3615 E501 line too long (82 characters) 612 W601 .has_key() is deprecated, use 'in' 1188 W602 deprecated form of raising exception Quick help is available on the command line:: $ pep8.py -h usage: pep8.py [options] input ... options: -h, --help show this help message and exit -v, --verbose print status messages, or debug with -vv -q, --quiet report only file names, or nothing with -qq --exclude=patterns skip matches (default .svn,CVS,*.pyc,*.pyo) --filename=patterns only check matching files (e.g. *.py) --ignore=errors skip errors and warnings (e.g. E4,W) --repeat show all occurrences of the same error --show-source show source code for each error --show-pep8 show text of PEP 8 for each error --statistics count errors and warnings --benchmark measure processing speed --testsuite=dir run regression tests from dir --doctest run doctest on myself Feedback -------- Your feedback is more than welcome. Write email to johann at browsershots.org or post bugs and feature requests here: http://trac.browsershots.org/newticket?component=devtools From vivainio at gmail.com Wed Dec 20 09:16:09 2006 From: vivainio at gmail.com (Ville Vainio) Date: 20 Dec 2006 00:16:09 -0800 Subject: IPython 0.7.3 is out Message-ID: <1166602569.023281.15520@t46g2000cwa.googlegroups.com> Hi all, The IPython team is happy to release version 0.7.3, with a lot of new enhancements, as well as many bug fixes (including full Python 2.5 support). We hope you all enjoy it, and please report any problems as usual. WHAT is IPython? ---------------- 1. An interactive shell superior to Python's default. IPython has many features for object introspection, system shell access, and its own special command system for adding functionality when working interactively. 2. An embeddable, ready to use interpreter for your own programs. IPython can be started with a single call from inside another program, providing access to the current namespace. 3. A flexible framework which can be used as the base environment for other systems with Python as the underlying language. 4. A shell for interactive usage of threaded graphical toolkits. IPython has support for interactive, non-blocking control of GTK, Qt and WX applications via special threading flags. The normal Python shell can only do this for Tkinter applications. Where to get it --------------- IPython's homepage is at: http://ipython.scipy.org and downloads are at: http://ipython.scipy.org/dist We've provided: - Source download (.tar.gz) - A Python Egg (http://peak.telecommunity.com/DevCenter/PythonEggs). - A native win32 installer. We note that IPython is now officially part of most major Linux and BSD distributions, so packages for this version should be coming soon, as the respective maintainers have the time to follow their packaging procedures. Many thanks to Jack Moffit, Norbert Tretkowski, Andrea Riciputi, Dryice Liu and Will Maier for the packaging work, which helps users get IPython more conveniently. Many thanks to Enthought for their continued hosting support for IPython. Release notes ------------- See http://projects.scipy.org/ipython/ipython/wiki/Release/0.7.3/Features for notable new features in this release. Enjoy, and as usual please report any problems. The IPython team. From vivainio at gmail.com Wed Dec 20 11:18:46 2006 From: vivainio at gmail.com (Ville Vainio) Date: 20 Dec 2006 02:18:46 -0800 Subject: IPython 0.7.3 upgrade notes Message-ID: <1166609926.837178.45950@73g2000cwn.googlegroups.com> Something I forgot to emphasize in the announcement, knowing that not everyone reads the release notes - if you are upgrading from a previous version of IPython, you must either: - Delete your ~/ipython (or ~/_ipython) directory OR - Run %upgrade once IPython starts. From noway at ask.me Wed Dec 20 11:41:39 2006 From: noway at ask.me (Giovanni Bajo) Date: Wed, 20 Dec 2006 11:41:39 +0100 Subject: [ANN] PyInstaller 1.3 released Message-ID: Hello, PyInstaller 1.3 is out! Grab latest version at: http://pyinstaller.python-hosting.com/ Description ----------- PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux and Irix. Its main advantages over similar tools are that PyInstaller works with any version of Python since 1.5, it builds smaller executables thanks to transparent compression, it is multi-platform (so you can build one-file binaries also under Linux), and use the OS support to load the dynamic libraries, thus ensuring full compatibility. Features -------- * Packaging of Python programs into standard executables, that work on computers without Python installed. * Multiplatform: works under Windows, Linux and Irix. (Mac port in development. See /branches/mac on SVN) * Multiversion: works under any version of Python since 1.5. * Dual packaging mode: o Single directory: build a directory containing an executable plus all the external binary modules (.dll, .pyd, .so) used by the program. o Single file: build a single executable file, totally self-contained, which runs without any external dependency. * Support for automatic binary packing through the well-known UPX compressor. * Optional console mode (see standard output and standard error at runtime). * Selectable executable icon (Windows only). * Fully configurable version resource section in executable (Windows only). * Support for building COM servers (Windows only). ChangeLog --------- + Fix bug with user-provided icons disappearing from built executables when these were compressed with UPX. + Fix problems with packaging of applications using PIL (that was broken because of a bug in Python's import machinery, in recent Python versions). Also add a workaround including Tcl/Tk with PIL unless ImageTk is imported. + (Windows) When used under Windows XP, packaged programs now have the correct look & feel and follow user's themes (thanks to the manifest file being linked within the generated executable). This is especially useful for applications using wxPython. + Fix a buffer overrun in the bootloader (which could lead to a crash) when the built executable is run from within a deep directory (more than 70-80 characters in the pathname). * Bootstrap modules are now compressed in the executable (so that they are not visible in plaintext by just looking at it with a hex editor). * Fixed a regression introduced in 1.1: under Linux, the bootloader does not depend on libpythonX.X.so anymore. We've moved ----------- PyInstaller has a new home: http://pyinstaller.python-hosting.com/ (thanks to the guys at webfaction.com for top-notch free hosting!) We also own a domain name (http://pyinstaller.org) which can be used as a permanent redirector to our home. The mailing list moved as well, it's now at http://groups.google.com/group/PyInstaller. Join us for discussion! -- Giovanni Bajo From jdavid at itaapy.com Wed Dec 20 17:14:02 2006 From: jdavid at itaapy.com (=?UTF-8?B?IkouIERhdmlkIEliw6HDsWV6Ig==?=) Date: Wed, 20 Dec 2006 17:14:02 +0100 Subject: itools 0.15.0 released Message-ID: <4589614A.1000501@itaapy.com> itools is a Python library, it groups a number of packages into a single meta-package for easier development and deployment: itools.catalog itools.http itools.uri itools.cms itools.i18n itools.vfs itools.csv itools.ical itools.web itools.datatypes itools.rss itools.workflow itools.gettext itools.schemas itools.xhtml itools.handlers itools.stl itools.xliff itools.html itools.tmx itools.xml The template language STL has seen the most important change since its inception. A new method for variable substitution has been implemented, it replaces "stl:attributes" and "stl:content". To illustrate this change, while before we wrote: Now we will write: ${object_title} This new approach produces more compact and readable templates. It will also make easier to build some user interfaces. And will help translators since the messages extracted from the templates will be more easy to read. This release is also the first to include some C code. We have rewritten the XML parser ("itools.xml.parser") in C for performance. The programming interface is mostly the same (see the UGRADE.txt file for the incompatible changes). For those who wonder... Why yet-another-xml-parser? Because its programming interface is much much simpler (that means better) than the parsers based in back-calls. See the itools documentation to know more [1]. The other big changes in this release are in "itools.cms", one is for disk usage, the other is functional. The code that implements transactions has been rewritten. From a brute force technique we have moved to a refined one that takes advantage of the extensibility of the "itools.vfs" layer. The visibile change is that we don't need anymore a backup database, so the size of an instance has been reduced to (almost) the half. The functional change has to do with user management. Now we use the email address to identify users, instead of a username. The user must confirm the registration sending an email, this way the application can be certain the email address is valid. There have been also some smaller improvements to the programming interface of other packages, most notably "itools.vfs", "itools.catalog", "itools.web" and "itools.cms". See the file UPGRADE.txt file for the incompatible changes. [1] http://download.ikaaro.org/doc/itools/itools.html Credits: - Herv? Cauwelier wrote the new database code and made other important changes in "itools.cms" (metadata stored roles); - J. David Ib??ez did almost everything else; - Norman Khine helped testing. Resources --------- Download http://download.ikaaro.org/itools/itools-0.15.0.tar.gz Home http://www.ikaaro.org/itools Mailing list http://mail.ikaaro.org/mailman/listinfo/itools Bug Tracker http://bugs.ikaaro.org/ -- J. David Ib??ez Itaapy Tel +33 (0)1 42 23 67 45 9 rue Darwin, 75018 Paris Fax +33 (0)1 53 28 27 88 From ahaas at airmail.net Wed Dec 20 17:38:32 2006 From: ahaas at airmail.net (Art Haas) Date: Wed, 20 Dec 2006 10:38:32 -0600 Subject: [ANNOUNCE] Thirty-fifth release of PythonCAD now available Message-ID: <20061220163832.GC15224@artsapartment.org> Hi. I'm pleased to announce the thirty-fifth development release of PythonCAD, a CAD package for open-source software users. As the name implies, PythonCAD is written entirely in Python. The goal of this project is to create a fully scriptable drafting program that will match and eventually exceed features found in commercial CAD software. PythonCAD is released under the GNU Public License (GPL). PythonCAD requires Python 2.2 or newer. The interface is GTK 2.0 based, and uses the PyGTK module for interfacing to GTK. The design of PythonCAD is built around the idea of separating the interface from the back end as much as possible. By doing this, it is hoped that both GNOME and KDE interfaces can be added to PythonCAD through usage of the appropriate Python module. Addition of other PythonCAD interfaces will depend on the availability of a Python module for that particular interface and developer interest and action. The thirty-fifth release contains several improvements dealing with the storage and adjustment of user preferences and image settings. The global user preferences are now saved into a file kept in the user home directory, so the settings are now preserved between PythonCAD sessions. Individual drawing settings can be examined and adjusted via a new set of menus and dialogs. These new dialogs are more complete than the single dialog previously used as well as easier to use. In addition to the preference and setting changes, a variety of bug fixes and miscellaneous code improvements are also present in this new release. A mailing list for the development and use of PythonCAD is available. Visit the following page for information about subscribing and viewing the mailing list archive: http://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Wed Dec 20 18:01:53 2006 From: ahaas at airmail.net (Art Haas) Date: Wed, 20 Dec 2006 11:01:53 -0600 Subject: [PythonCAD] [ANNOUNCE] Thirty-fifth release of PythonCAD now available In-Reply-To: <20061220163832.GC15224@artsapartment.org> References: <20061220163832.GC15224@artsapartment.org> Message-ID: <20061220170153.GD15224@artsapartment.org> Hi again. In addition to the thirty-fifth release of PythonCAD finally seeing the light of day, the PythonCAD website was given a long overdue makeover. I'd like to thank Jose Antonio Martin for doing the stylesheet and artwork. The new look is an vast improvement from the plain text layout the site has always had. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From bcannon at gmail.com Wed Dec 20 19:26:46 2006 From: bcannon at gmail.com (bcannon at gmail.com) Date: 20 Dec 2006 10:26:46 -0800 Subject: new Python-Ideas mailing list Message-ID: <1166639206.609852.119850@t46g2000cwa.googlegroups.com> At Guido's suggestion, a new mailing list has been created named Python-Ideas (http://mail.python.org/mailman/listinfo/python-ideas). This list is meant as a place for speculative, pie-in-the-sky language design ideas to be discussed and honed to the point of practically being a PEP before being presented to python-dev or python-3000. This allows both python-dev and python-3000 to focus more on implementation work or final approval/denial of ideas instead of being flooded with long threads where people discuss ideas that are too nebulous to be considered for inclusion into Python. Like python-dev and python-3000, Python-Ideas requires you subscribe before you can post, but there is no moderator approval required to subscribe. If you are interested in helping me out by being an administrator or moderator for the list, please let me know. -Brett From g.brandl-nospam at gmx.net Wed Dec 20 23:05:45 2006 From: g.brandl-nospam at gmx.net (Georg Brandl) Date: Wed, 20 Dec 2006 23:05:45 +0100 Subject: ANN: Pygments 0.6 "Zimtstern" released Message-ID: <4589B3B9.9090907@gmx.net> I'm happy to announce the second public release of Pygments, the generic Python syntax highlighter. Download it from , or look at the demonstration at . News ---- The new features since 0.5.1 include: * New lexers: Scheme, Bash, Apache configs, Myghty templates, Groff. * New RTF formatter. * Added option for the HTML formatter to write the CSS to an external file in "full document" mode. * Improved guessing methods for various lexers. * Support for guessing input encoding added. * Encoding support added: all processing is now done with Unicode strings, input and output are converted from and optionally to byte strings. * License change to BSD. In other news, the Trac 0.11 trunk already includes support for Pygments as the default highlighting library. About ----- Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are: * a wide range of common languages and markup formats is supported * special attention is paid to details increasing quality by a fair amount * support for new languages and formats are added easily * a number of output formats is available, presently HTML, LaTeX, RTF and ANSI sequences * it is usable as a command-line tool and as a library * ... and it highlights even Brainf*ck! The home page is at . Read more in the FAQ list or look at the documentation . regards, Georg Brandl From heikki at osafoundation.org Thu Dec 21 06:40:47 2006 From: heikki at osafoundation.org (Heikki Toivonen) Date: Wed, 20 Dec 2006 21:40:47 -0800 Subject: ANN: M2Crypto 0.17 Message-ID: M2Crypto is the most complete Python wrapper for OpenSSL. Homepage: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto Changes in 0.17: - setup.py has new test command to run unit tests (requires setuptools) - Added m2urllib2, by James Bowes (python 2.4 and later, at least for now) - Added CONNECT proxy for httpslib and m2urllib2, by James Bowes - Added PKey.get_modulus, X509.get_fingerprint, X509_Name.as_der and m2.bn_to_hex, by Thomas Uram - Prevent Connection.makefile from freeing bio redundantly, by Thomas Uram - Added Err.peek_error_code, by Thomas Uram - Fixed m2urllib.open_https to return the response headers, otherwise code that relied on that would break (for example msnlib-3.5), by Arno Bakker - Fixed twisted wrapper to work with >16kb BIO buffers, by Martin Paljak - Added support for remaining ECs, by Larry Bugbee - Fixed DSA.save_key and DSA_.save_pub_key, by Larry Bugbee - SSL.Context.load_verify_locations raises ValueError if cafile and capath are both None - Fixed X509.check_purpose() (was always raising exceptions) - smime_read_pkcs7 was changed to automatically call BIO_set_mem_eof_return on memory BIOs because otherwise the read would fail with "SMIME_Error: not enough data" - X509.new_extension('subjectKeyIdentifier', 'hash') raises ValueError instead of crashing Python -- Heikki Toivonen From cavada at irst.itc.it Thu Dec 21 18:25:17 2006 From: cavada at irst.itc.it (Roberto Cavada) Date: Thu, 21 Dec 2006 18:25:17 +0100 Subject: [ANN] pygtkmvc version 1.0.0 has been released Message-ID: <458AC37D.2090802@irst.itc.it> Hi all, I'm proud to announce that the first stable release 1.0.0 of pygtkmvc has been released. -------------------------------- ** pygtkmvc version 1.0.0 ** -------------------------------- pygtkmvc is a fully Python-based implementation of the Model-View-Controller (MVC) and Observer patterns for the PyGTK2 toolkit. MVC is a pattern that can be successfully used to design and develop well structured GUI applications. The MVC pattern basically helps in separating semantics and data of the application from their representation. The Observer pattern helps to weaken dependencies among parts that should be separated, but need to be connected each other. pygtkmvc provides a powerful and still simple infrastructure to help designing and implement GUI applications based on the MVC and Observer patterns. -------------------------------- ** Features ** -------------------------------- The framework has been designed to be: - Essential and small, it does only what it was designed for. - Not an external dependency for your application: it fits in 80KB and can be released along with it. - Easy to understand and to use; fully documented. - Portable: straightly runs under many platforms. Version 1.0.0 is the first stable release. Main features are: - Observer pattern supports pythonian containers and user-defined classes. - Support for multi-threading in models. - Support for gtk models like TreeModel and TextBuffer. - Bug fixes. - Documentation and several examples are provided. -------------------------------- ** Get it! ** -------------------------------- Latest version and information can be found at the project home page: License is LGPL. -------------------------------- ** Credits ** -------------------------------- Many thanks to: - Baruch Even for providing useful feedback and a pretty example. - Johannes Jordens and Robert Jordens for depeloping and maintaining Debian packages. -- Roberto Cavada From faltet at carabos.com Thu Dec 21 18:55:25 2006 From: faltet at carabos.com (Francesc Altet) Date: Thu, 21 Dec 2006 18:55:25 +0100 Subject: ANN: PyTables 1.4 (A Hierarchical Database) released! Message-ID: <200612211855.25547.faltet@carabos.com> =========================== Announcing PyTables 1.4 =========================== 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. It is based on the HDF5 library for doing the I/O and leverages the numarray/NumPy/Numeric packages so as to deliver the data to the end user in convenient in-memory containers. This is a new major release of PyTables, and probably the last major one of the 1.x series (i.e. with numarray at the core). On it, we have implemented better code to deal with table buffers, enhanced the capability for reading native HDF5 files, enhanced support for 64-bit platforms (but not with Python 2.5: see ``Special Warning`` section below), better support for AIX, optional automatic parent creation and the traditional amount of bug fixes. Go to the PyTables web site for downloading the beast: http://www.pytables.org/ or keep reading for more info about the new features and bugs fixed. Changes more in depth ===================== Improvements: - Table buffers code refactored: now each Row read iterator has its own buffers, completely independent of their table (although write iterators still share a single buffer in the same table). This separation makes the logic of buffering much more clear and less prone to errors (in fact, some of them have been solved). Performance and memory consumption are more or less equal than before. - When flushing the complete file (i.e. when calling File.flush()), only the buffers of those nodes that are alive (i.e. referenced from user code) are actually flushed. This brings much better efficiency (and also stability) to situations where one has to flush (and hence, close) files with many nodes on it. - Better support for AIX by renaming the internal LONLONG_MAX C constant (it was used internally by the xlc compiler). Thanks to Brian Granger for the report. - Added optional automatic parent creation support during node creation, copying and moving operations. See the release notes for more information. - Improved support for Python2.4 and 64-bit platforms (but beware, there are still known issues when using Python2.5 in combination with 64-bit platforms). Thanks to Gerard Vermeulen for his patches for Win64 platforms. - Implemented a workaround for a leak present in numarray --> Numeric conversions when using the array protocol, as can be seen in: http://comments.gmane.org/gmane.comp.python.numeric.general/12563 The workaround can potentially be far slower than the array protocol (because a copy of the arrays is always made), but at least the new code doesn't leak anymore. Bug fixes: - Previously, when the size for memory compounds type was less than the size of the type on disk (for example, when one have padding or aligned fields), PyTables was unable to read info on them. This has been fixed. This allows reading general compound types in HDF5 files written with other tools than PyTables. - When many tables with indexed columns were created simultaneously, a bug make PyTables to crash. This has been fixed (for more info, see bug #26). - Fixed a typo in the code that prevented recognizing complex data in non-PyTables files. - Table.createIndex() now refuses to index complex columns. - Now, it is possible to index several nested columns that hangs from the same column parent. Fixes bug #24. - Fixed a typo in nctoh5 utility that prevented using filters properly. Thanks to Lou Wicker for reporting this. - When setting/appending an array in-memory to an Array (or descendant) object and they have mismatched byteorders, the array was set/appended without being byteswapped first. This has been fixed. Thanks to Elias Collas for the report. Deprecated features: - None Backward-incompatible changes: - Please, see ``RELEASE-NOTES.txt`` file. Special Warning for Python 2.5 and 64-bit platforms users ========================================================= Unfortunately, and due to problems with the combination numarray 1.5.2, Python2.5 and 64-bit platforms, PyTables cannot be safely used yet in such scenario. This will be solved either when numarray can address this issue (hopefully with numarray 1.5.3), or when PyTables 2.x series (with NumPy at its core) will be out. Important note for Windows users ================================ If you are willing to use PyTables with Python 2.4 or 2.5 in Windows platforms, you will need to get the HDF5 library compiled for MSVC 7.1, aka .NET 2003. It can be found at: ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/bin/windows/5-165-win-net.ZIP Users of Python 2.3 on Windows will have to download the version of HDF5 compiled with MSVC 6.0 available in: ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/bin/windows/5-165-win.ZIP Platforms ========= This version has been extensively checked on quite a few platforms, like Linux on Intel32 (Pentium), Win on Intel32 (Pentium), Linux on Intel64 (Itanium2), FreeBSD on AMD64 (Opteron), Linux on PowerPC (and PowerPC64) and MacOSX on PowerPC. For other platforms, chances are that the code can be easily compiled and run without further issues. Please, contact us in case you are experiencing problems. 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 numarray: http://www.stsci.edu/resources/software_hardware/numarray About NumPy: http://numpy.scipy.org/ To know more about the company behind the PyTables development, see: http://www.carabos.com/ Acknowledgments =============== Thanks to various the 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, a big thank you to Acusim (http://www.acusim.com/) for sponsoring many of the job done for releasing this version of PyTables. Share your experience ===================== Let us know of any bugs, suggestions, gripes, kudos, etc. you may have. ---- **Enjoy data!** -- The PyTables Team From detlev at die-offenbachs.de Sat Dec 23 13:30:33 2006 From: detlev at die-offenbachs.de (Detlev Offenbach) Date: Sat, 23 Dec 2006 13:30:33 +0100 Subject: ANN: eric3 3.9.3 released Message-ID: Hi, this is to inform you about the availability of eric3 version 3.9.3. This release fixes a few bugs and enhances compatibility with subversion 1.4. It is available via http://sourceforge.net/project/showfiles.php?group_id=119070. What is eric3? -------------- eric3 is an IDE for Python and Ruby. It is written using Python, PyQt and QScintilla. eric3 includes debuggers for the a.m. languages, interfaces to subversion and cvs, integration of the Qt tools and many more. For details please see the eric home page at http://www.die-offenbachs.de/detlev/eric.html. Regards, Detlev -- Detlev Offenbach detlev at die-offenbachs.de From sschwarzer at sschwarzer.net Mon Dec 25 00:48:12 2006 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Sun, 24 Dec 2006 23:48:12 +0000 (UTC) Subject: [ANN] ftputil 2.2 released Message-ID: <20061224234804.GA15720@warpy.sschwarzer.net> ftputil 2.2 is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.1 ------------------------- - Results of stat calls (also indirect calls, i. e. listdir, isdir/isfile/islink, exists, getmtime etc.) are now cached and reused. This results in remarkable speedups for many use cases. Thanks to Evan Prodromou for his permission to add his lrucache module under ftputil's license. - The current directory is also locally cached, resulting in further speedups. - It's now possible to write and plug in custom parsers for directory formats which ftputil doesn't support natively. - File-like objects generated via ``FTPHost.file`` now support the iterator protocol (for line in some_file: ...). - The documentation has been updated accordingly. Read it under http://ftputil.sschwarzer.net/trac/wiki/Documentation . Possible incompatibilities: - This release requires at least Python 2.3. (Previous releases worked with Python versions from 2.1 up.) - The method ``FTPHost.set_directory_format`` has been removed, since the directory format (Unix or MS) is set automatically. (The new method ``set_parser`` is a different animal since it takes a parser object to parse "foreign" formats, not a string.) What is ftputil? ---------------- ftputil is a high-level FTP client library for the Python programming language. ftputil implements a virtual file system for accessing FTP servers, that is, it can generate file-like objects for remote files. The library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional uploads and downloads, and handles FTP clients and servers in different timezones. License ------- ftputil 2.2 is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). Stefan -- Dr.-Ing. Stefan Schwarzer SSchwarzer.com - Softwareentwicklung f??r Technik und Wissenschaft http://sschwarzer.com From christian at dowski.com Tue Dec 26 19:20:06 2006 From: christian at dowski.com (Christian Wyglendowski) Date: Tue, 26 Dec 2006 13:20:06 -0500 Subject: ANN: CherryPy 3.0.0 Message-ID: Greetings! Just in time for the holidays and on behalf of the CherryPy team I am happy to announce the release of CherryPy 3.0.0. Here are some highlights of the new version: * As much as 3 times faster than CherryPy 2. * Much improved WSGI support. * Powerful enhanced configuration system. * Even easier to explore in the interactive interpreter. * Customizable dispatching (even includes a Routes dispatcher). For more details on those features and more, see: http://www.cherrypy.org/wiki/WhatsNewIn30 To download the new release, visit http://www.cherrypy.org/wiki/CherryPyDownload. Thanks to everyone who contributed to this release by reporting a bug, contributing code or even just giving feedback on the mailing list and IRC. Christian Wyglendowski CherryPy Team From thomas at thomas-lotze.de Tue Dec 26 16:56:25 2006 From: thomas at thomas-lotze.de (Thomas Lotze) Date: Tue, 26 Dec 2006 16:56:25 +0100 Subject: ANN: Phebe 0.1 Message-ID: Phebe 0.1 has been released and uploaded to the Python package index. >From README.txt: ========================================================================= Phebe comprises a Python package and a number of executable scripts to operate a mobile phone connected to your computer. The implementation follows the Sony-Ericsson developer guidelines for using AT commands as of December 7, 2006, see . It has been tested only on a SE K750i, using Debian and Gentoo Linux distributions with a 2.6 kernel so far. The current status of Phebe is "works for me", i.e. it provides the functionality the author immediately needs: get usage stats of the phone, back-up the phonebook, dump and delete short messages. See ROADMAP.txt and TODO.txt for prospective further developments. While neither talking through the AT command interface nor the higher-level data structures implemented by Phebe are operating system specific, communication with the device is. Phebe currently does this by using a Python module only available on Unix. The author is not going to port Phebe to non-Unix systems any time soon, so if you want it to support your OS, you have to supply an appropriate patch. Phebe was written by Thomas Lotze. Please contact the author at to provide feedback or suggestions on or contributions to Phebe. ========================================================================= Phebe requires Python 2.5. The Phebe code base is maintained in a subversion repository at . There is a ViewCVS view on the repository available at . -- Thomas From uche at ogbuji.net Tue Dec 26 20:37:48 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Tue, 26 Dec 2006 12:37:48 -0700 Subject: ANN: 4Suite XML 1.0.2 Message-ID: <45917A0C.9060907@ogbuji.net> 4Suite XML 1.0.2 is now available from Sourceforge and ftp.4suite.org. Thanks to all the testers, there are a number of important fixes and improvements since 1.0.1, and we recommend upgrade from all previous versions. Changes include: * Fixed TypeError when multiple interpreters are used (should help with mod-python) * Memory leak fix in Saxlette: freeing any parsing contexts left on the parser when it is freed. * Fix bug where extension functions are not properly passed on in context * Fix build error when Python is configured with `--enable-shared` * Fix bug with xi:include element's orphaning element state thus causing an error with xsl:strip-elements. * Fix error in nodeset comparisons with booleans 4Suite consists of three separate packages: 4Suite XML - XML, XPath, XSLT, related technologies and support libraries 4Suite RDF - RDF processing libraries and stand-alone DBMS 4Suite Repository - XML and RDF repository This is a release of only the first component. 4Suite XML is a comprehensive library for XML processing. It is implemented in Python and C and supports XML (SAX-like and DOM-like), XPath, XSLT, RELAX NG, XUpdate, XInclude, XPointer, and more. Many users will be able to use easy_install. See the bottom of this announcement for more information. General information: http://4suite.org/ https://sourceforge.net/projects/foursuite/ Source code, Python eggs, Windows installers, and documentation: ftp://ftp.4suite.org/pub/4Suite/ (primary) http://sourceforge.net/project/showfiles.php?group_id=39954 (secondary) http://cheeseshop.python.org/pypi/4Suite-XML/ (alternative) You only need to download one distribution (source, egg, or .exe). Installation requirements and other details: http://4suite.org/docs/README Installation: You can install without any separate download using: easy_install 4Suite-XML For more information see: http://peak.telecommunity.com/DevCenter/EasyInstall Otherwise use one of the packages listed above, or one provided by your software distributor. Documentation: Documentation is distributed separately from the source and eggs. Windows installers come with documentation; no separate download needed. The 4Suite XML core manual is included in the documentation. It can be browsed online at http://4suite.org/docs/CoreManual.xml -- Uche Ogbuji Work: The Kadomo Group, Inc. http://uche.ogbuji.net http://kadomo.com http://copia.ogbuji.net Lead dev at http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From uniomni at internode.on.net Thu Dec 28 06:06:42 2006 From: uniomni at internode.on.net (Ole Nielsen) Date: Thu, 28 Dec 2006 16:06:42 +1100 Subject: First Public Release of ANUGA - Hydrodynamic Modelling. Message-ID: <12p6k74sfcmpf81@corp.supernews.com> I am pleased to announce the first release of ANUGA which is a implements a computational model for simulation of shallow water flows. ANUGA is available at https://sourceforge.net/projects/anuga/. The user manual can also be viewed direcly at http://datamining.anu.edu.au/~ole/anuga/user_manual/anuga_user_manual.pdf. That and other documentation such as papers are available at https://datamining.anu.edu.au/anuga ANUGA is a software implementation of a hydrodynamic model which is specifically designed to model wetting and drying processes. ANUGA implements a Finite-Volumes technique for solving the Shallow Water Wave Equations. ANUGA is a joint development project between Geoscience Australia (GA) and the Australian National University (ANU) and is being used to simulate the impact from natural disasters such as tsunami and storm-surge on coastal communities. ANUGA is also suitable for detailed dam-break simulations. Best regards Ole Nielsen From python at openlight.com Fri Dec 29 05:58:29 2006 From: python at openlight.com (George Belotsky) Date: Thu, 28 Dec 2006 23:58:29 -0500 Subject: FlightFeather Social Networking Platform + site for office politics, etc. Message-ID: <20061229045829.GB2839@localhost> FlightFeather's goal is "social networking for everyone". This means that *anyone* should have a chance to run a *popular* social networking site -- on minimal hardware, and without wasting bandwidth. Although the project is in its early stages, it is functional, and supports the "BoSStats" web application. BoSStats is a site dedicated to improving the world of work: you can discuss what makes a good boss, or share your experiences of office politics. You can also comment and vote on the posts made by others. The application does not set cookies, and no registration is required for anything except voting. http://www.bosstats.com/ Follow the "Platform" link on the above site to download the FlightFeather source code (released under the GPL). BoSStats is a good testbed for FlightFeather, and has value of its own, since meaningful advice about work-related problems is very hard to find. A "Wisdom of Crowds" solution -- particularly with strong privacy protection (see below) -- is a necessary addition to this field. The major design focus for FlightFeather are responsiveness and performance; the system should eventually support very high traffic volumes. In addition, FlightFeather allows for a great deal of user privacy -- a critical, rapidly emerging problem in the social networking realm. FlightFeather's most important feature is that all write requests generate (or modify) HTML files. In consequence, a pure read (the most common operation) merely serves static pages. This architecture strongly favors the use of Python, because of the complex logic required to manipulate an entire tree of text files. Expressing this logic clearly and succinctly is the key to maintainability of the code. The Python 2.5 "with" statement has proved to be particularly valuable for FlightFeather development. The implementation started with Python 2.4, and switched to Python 2.5 once that release became stable. Rewriting parts of FlightFeather using the "with" statement immediately simplified the system's file handling logic. This feature alone is reason enough to use Python 2.5. Everyone feel free to try out FlightFeather/BoSStats, and give me feedback either on the site itself, or by email. You can post any appropriate content to the site, as the system is live. Best Wishes for the Holidays, George Belotsky From ryan at rfk.id.au Fri Dec 29 07:12:44 2006 From: ryan at rfk.id.au (Ryan Kelly) Date: Fri, 29 Dec 2006 17:12:44 +1100 Subject: ANN: PyEnchant 1.3.0 Message-ID: <1167372764.4727.14.camel@mango> Hi All, I'm pleased to announce the release of PyEnchant version 1.3.0. This version reverts the tokenization routines to their pre-1.2.0 behaviour, after several functionality regressions were reported. In the process it introduces some very minor API changes (hence the big version jump) which will affect users who directly create their own tokenization objects. The high-level interfaces - Dict, Broker, SpellChecker - have not changed since the 1.2.0 release. Cheers, Ryan About: ------ Enchant (http://www.abisource.com/enchant/) is the spellchecking package behind the AbiWord word processor, is being considered for inclusion in the KDE office suite, and is proposed as a FreeDesktop.org standard. It's completely cross-platform because it wraps the native spellchecking engine to provide a uniform interface. PyEnchant brings this simple, powerful and flexible spellchecking engine to Python: http://pyenchant.sourceforge.net/ It also provides extended functionality including classes for tokenizing text and iterating over the spelling errors in it, as well as a ready-to-use text interface and wxPython dialog. Current Version: 1.3.0 Licence: LGPL with exemptions, as per Enchant itself ChangeLog for 1.3.0: -------------------- * Re-worked the tokenization API to allow filters but still remove non-alpha-numeric characters from words by default. This introduces some minor backward-incompatabilities to the API: * 'fallback' argument to get_tokenizer() was removed, just catch the Error and re-try with whatever is appropriate for your application. * filters should be passed into get_tokenizer() as the second argument, rather than applied as seperate functions. * Basic whitespace-and-punctuation tokenization seperated from the language-specific parts. * Internal details of Filter classes expanded and generalized * English tokenization rules reverted to 1.1.5 version -- Ryan Kelly http://www.rfk.id.au | This message is digitally signed. Please visit ryan at rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-announce-list/attachments/20061229/a6236237/attachment.pgp From aross at parakeetprintquota.org Sat Dec 30 07:46:17 2006 From: aross at parakeetprintquota.org (Andrew Ross) Date: Sat, 30 Dec 2006 17:46:17 +1100 Subject: parakeet 0.1.0 - web-based reporting for PyKota Message-ID: <45960B39.9060405@parakeetprintquota.org> Parakeet is a TurboGears (http://www.turbogears.org) application intended to provide a rich web interface for reporting on print quotas managed by PyKota (http://www.pykota.org) and CUPS (http://www.cups.org). The 0.1.0 release is aimed solely at developers already familiar with PyKota, LDAP and TurboGears. It allows end-users to log in and view their current balance, as well as a list of recently printed jobs. Parakeet is licensed under the GPL, and is available for download from http://cheeseshop.python.org/pypi/parakeet Cheers Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/python-announce-list/attachments/20061230/bf03e75e/attachment.pgp From frank at niessink.com Sat Dec 30 22:59:58 2006 From: frank at niessink.com (Frank Niessink) Date: Sat, 30 Dec 2006 22:59:58 +0100 Subject: [ANN] Release 0.61.4 of Task Coach Message-ID: <4596E15E.8090405@niessink.com> Hi all, Release 0.61.4 of Task Coach is a bug-fix release that hopefully fixes the following issues: * Make Task Coach work with Python 2.5. * Cancel reminders when marking a task completed. * Unchecking a reminder would cause an exception. * Column resizing is now less jumpy. * MSVCP71.DLL was missing from the Windows distribution. * Marking a task completed while completed tasks are hidden wouldn't immediately hide the completed task. * The category filter was not applied correctly on launch; showing categories as filtered but not hiding the associated tasks. * Turning on filtering for a category didn't mark the task file as changed. In addition, RPM and Debian distributions of Task Coach are now available. What is Task Coach? Task Coach is a simple task manager that allows for hierarchical tasks, i.e. tasks in tasks. Task Coach is open source (GPL) and is developed using Python and wxPython. You can download Task Coach from: http://www.taskcoach.org https://sourceforge.net/projects/taskcoach/ In addition to the source distribution, packaged distributions are available for Windows XP, Mac OSX, and Linux (Debian and RPM format). Note that Task Coach is alpha software, meaning that it is wise to back up your task file regularly, and especially when upgrading to a new release. Cheers, Frank From jimmy at retzlaff.com Sun Dec 31 14:27:27 2006 From: jimmy at retzlaff.com (Jimmy Retzlaff) Date: Sun, 31 Dec 2006 05:27:27 -0800 Subject: py2exe 0.6.6 released Message-ID: py2exe 0.6.6 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation. Console and Windows (GUI) applications, Windows NT services, exe and dll COM servers are supported. Changes in 0.6.6: * Better support for Python 2.5. * Experimental support for 64-bit builds of Python on win64. * Better ISAPI support. * New samples for ISAPI and COM servers. * Support for new "command-line styles" when building Windows services. Changes in 0.6.5: * Fixed modulefinder / mf related bugs introduced in 0.6.4. This will be most evident when working with things like win32com.shell and xml.xpath. * Files no longer keep read-only attributes when they are copied as this was causing problems with the copying of some MS DLLs. Changes in 0.6.4: * New skip-archive option which copies the Python bytecode files directly into the dist directory and subdirectories - no archive is used. * An experimental new custom-boot-script option which allows a boot script to be specified (e.g., --custom-boot-script=cbs.py) which can do things like installing a customized stdout blackhole. See py2exe's boot_common.py for examples of what can be done. The custom boot script is executed during startup of the executable immediately after boot_common.py is executed. * Thomas Heller's performance improvements for finding needed modules. * Mark Hammond's fix for thread-state errors when a py2exe created executable tries to use a py2exe created COM DLL. Changes in 0.6.3: * First release assembled by py2exe's new maintainer, Jimmy Retzlaff. Code changes in this release are from Thomas Heller and Gordon Scott. * The dll-excludes option is now available on the command line. It was only possible to specify that in the options argument to the setup function before. The dll-excludes option can now be used to filter out dlls like msvcr71.dll or even w9xpopen.exe. * Fix from Gordon Scott: py2exe crashed copying extension modules in packages. Changes in 0.6.2: * Several important bugfixes: - bundled extensions in packages did not work correctly, this made the wxPython single-file sample fail with newer wxPython versions. - occasionally dlls/pyds were loaded twice, with very strange effects. - the source distribution was not complete. - it is now possible to build a debug version of py2exe. Changes in 0.6.1: * py2exe can now bundle binary extensions and dlls into the library-archive or the executable itself. This allows to finally build real single-file executables. The bundled dlls and pyds are loaded at runtime by some special code that emulates the Windows LoadLibrary function - they are never unpacked to the file system. This part of the code is distributed under the MPL 1.1, so this license is now pulled in by py2exe. * By default py2exe now includes the codecs module and the encodings package. * Several other fixes. Homepage: Download from the usual location: Enjoy, Jimmy