Well, looks like it's PyCon weekend in DC, folks, and here we are amid the
cherry blossom (sadly not a feature of this year's cherry blossom festival).
The registrations have been smoothly handled by our colleagues of Yet
Another Society, for which we thank them. Those who have had to request a
refund should expect a formal response shortly before or after PyCon ends.
If you do not receive such a response by email, please contact me to ensure
your details have been received.
I look forward to putting faces to many names, and extend the hand of
friendship to all pythonistas, whether attending PyCon or not.
There's a goodly crowd attending, barring any travel-related problems such
as weather (which featured in my missing the first Python conference I
booked). The sprinters are already converging to begin work on Monday, and
if you aren't sprinting then think about coming in on TUESDAY AFTERNOON to
register early and avoid the morning rush on Wednesday.
PyCon's organizers are all interested in hearing your feedback on the
conference, and this will be the theme of a session late in the agenda,
where your feedback (negative and, hopefully, ;positive)can be made more
Over all we are trying to provide an interesting week with access to Python
talent, humor, conceit, and all else that we consider positive about the
language. If you aren't already registered then it will cost you $250 at the
door (again, if you want to register AT THE CONFERENCE we recommend that you
register ON SITE TUESDAY AFTERNOON with your credit card).
There has apparently been a good response to our call for gophers, and I'd
like to thank all our volunteer gophers in advance for helping to keep the
Ladies and gentlemen, welcome to PyCon DC 2003 week
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Register for PyCon Tuesday March 25 at GWU's Cafritz Conference Center
Changes since 0.0.5:
* Empty TEXTAREA case fixed.
* Exception is no longer raised for INPUT TYPE=FILE -- instead, FILE
controls are just ignored (they will be handled properly in 0.1.x).
* Documentation improvements to web page (note that the web page is
more up to date than the copy of same in the package -- sorry).
Requires Python >= 1.5.2.
ClientForm is a Python module for handling HTML forms on the client
side, useful for parsing HTML forms, filling them in and returning the
completed forms to the server. It has developed from a port of Gisle
Aas' Perl module HTML::Form, from the libwww-perl library, but the
interface is not the same.
from urllib2 import urlopen
from ClientForm import ParseResponse
forms = ParseResponse(urlopen("http://www.acme.com/form.html"))
first_form = forms
form["author"] = "Gisle Aas"
# form.click returns a urllib2.Request object
# (use the items argument to this method if you're not using urllib2)
response = urlopen(form.click("Thanks"))
Announcement of the 2003 Python UK Conference
The UK Python conference 2003 will take place in Oxford, on Wednesday
April 2nd and Thursday 3rd. The conference will be held in the
pleasant surroundings of
Holiday Inn Oxford
Pear Tree Roundabout,
Oxford, OX2 8JD
We are very excited to be working once again with the ACCU to bring
the UK Python conference to life. The conference last year was a big
success with all attendees, and we hope to repeat that success with a
bigger and better line up of speakers, including the Python language
founder Guido van Rossum, who will deliver the keynote on Wednesday
Other speakers include:
Alex Martelli, Andy Todd, Andy Robinson, Anthony Eden, Chris Withers,
Duncan Booth, Duncan Grisby, Greg Colvin, Hamish Lawson, Jacob
Hallén, Marc-André Lemburg, and Paul Brian.
As a taster of the conference we have conducted a series of short
interviews with Python luminaries including Guido van Rossum and Eric
Raymond. The interviews will be appearing on the conference website.
To sign up please go to here:
And to view the schedule, please go here:
John Precedo (johnp(a)reportlab.com) Developer
Reportlab Europe Ltd (http://www.reportlab.com)
I've just released the (standalone) email package version 2.5. This is
identical to the version that is in the current cvs development tree for
Python 2.3. I've also backported it to what will be Python 2.2.3.
email 2.5 is made available as a distutils package for installing in
earlier versions of Python. It is compatible with Python 2.1
Python 2.2, and Python 2.3. See below for a summary of changes.
The email package is a library for parsing, handling, and generating
email messages and other RFC 2822 style documents. It conforms to
most of the email related RFCs including 2045-2047 (the MIME RFCs) and
2231. It is intended to replace several older modules in the standard
distribution, such as rfc822, mimetools, multifile, mimify, and
MIMEWriter, and such non-standard modules as mimecntl.
email-2.5.tar.gz is available from the mimelib project on SourceForge:
More information, as well as on-line documentation is available on the
- Message.get_payload() now recognizes various uuencoded
Content-Transfer-Encodings (e.g. x-uuencode).
When passing decode=True to Message.get_payload() and a
low-level decoding error occurs, the payload is returned as-is
instead of raising an exception.
- Header.__init__() and Header.append() now accept an optional
argument `errors' which is passed through to the unicode() and
ustr.encode() calls. You can use this to prevent conversion
errors by e.g. passing 'replace' or 'ignore'.
RFC 2822 specifies that long headers should be split at the
"highest level syntactic break" possible. This can only really
be determined by the application, and the current API doesn't
support arbitrary break points. As a compromise,
Header.encode() grew a `splitchars' argument which provides some
control over splitting at higher level syntactic breaks.
Header.decode_header() now transforms binascii.Errors into
email.Errors.HeaderParseErrors when bogus base64 data appears in
The header splitting and folding algorithms were completely
reimplemented, especially when dealing with ASCII headers.
We now preserve spaces between encoded and non-encode parts in
RFC 2047 headers when converting the header to Unicode. While
the RFC is technically ambiguous on this point, this is the
behavior most people expect.
- email.Iterators.body_line_iterator() now takes an optional
decode argument, which is passed through to Message.get_payload().
- The MIMEText constructor used to append a newline to the _text
argument if it didn't already end in a newline. Now it doesn't.
- The quopriMIME.header_encode() maxlinelen argument now accepts
None, which inhibits line breaking.
- Support for Korean charsets was added to Charset.py. Also the
Charset class grew a __repr__() method.
- Various and sundry bug fixes, improved RFC conformance, and
improved lax parsing.
This is the final reminder that today (Friday) is the last day
to register online for PyCon DC. Still only $200! The conference
starts next Wednesday (March 26):
After today, you'll have to pay $250 on-site (credit cards only).
--Guido van Rossum (home page: http://www.python.org/~guido/)
The Sydney Python Interest Group is on this Monday. Apologies that I've
been a week late getting it off the ground.
This month, Malcolm Tredinnick will talk about "Python in Production
Environments", in particular, things that come up in business scenarios
that aren't obvious from comp.lang.python or even Open Source projects.
The talk will have some technical content and a bunch of "lessons
learnt" and generalisations.
Date: Monday March 24th (this Monday)
Location: University of Technology, Sydney (UTS) Broadway campus,
building 10, room 2.440 (computer lab, on the entrance level).
Sydney Python Interest Group meetings are announced on:
- comp.lang.python.announce and python-announce-list(a)python.org
- the Australasian Python users list
- The Sydney Linux User's Group announce list
The Sydney Python Interest Group is, while not restricted to Python on
Linux, a Special Interest Group of the Sydney Linux Users Group (SLUG),
and would like to thank SLUG for its support.
See the PIG webpage: http://pig.slug.org.au/ for previous talks.
Boost version 1.30.0 has been released. The highlights include:
* Updates for Boost.Python, including better support for C++
polymorphism, and introducing Pyste, a front-end wrapping code
generator which allows most C++ code to be wrapped entirely using
* Filesystem Library added - Portable paths, iteration over
directories, and other useful filesystem operations, from Beman
* Optional Library added - A discriminated-union wrapper for optional
values, from Fernando Cacciola.
* Interval Library added - Extends the usual arithmetic functions to
mathematical intervals, from Guillaume Melquiond, Hervé Brönnimann
and Sylvain Pion.
* MPL added - Template metaprogramming framework of compile-time
algorithms, sequences and metafunction classes, from Aleksey
* Spirit Library added - An LL (unlimited lookahead) parser framework
that represents parsers directly as EBNF grammars in inlined C++
source code, complete with semantic actions, ASTs and much more,
from Joel de Guzman and team.
* Smart Pointers Library - many enhancements, intrusive_ptr and smart
pointer programming techniques docs added.
* boost/assert.hpp, boost/current_function.hpp,
boost/throw_exception.hpp, boost/checked_delete.hpp have been
* Date-Time Library - several fixes and small additions including an
interface change to partial_date.
* Function Library - added support for assignment to zero (to clear)
and comparison against zero (to check if empty).
* Operators Library - now takes advantage of named return value
optimization (NRVO) when available, from Daniel Frey.
* Regression Tests - Much expanded, plus a very nice summary page from
* Test Library - added new facilities.
* Many fixes and enhancements to other libraries.
See www.boost.org for more information.
Friday, March 21 is the deadline if you want to get the $200
pre-conference price. PyCon will cost $250 at the door, and there
is no single-day rate.
PyCon DC 2003
The first PyCon will be held 26-28 March, 2003, at George Washington
University's Cafritz Conference Center in Washington DC. There will be
a development sprint Mon/Tues before the conference.
PyCon is a community-oriented conference targeting developers (both
those using Python and those working on the Python project). It gives
you opportunities to learn about significant advances in the Python
development community, to participate in a programming sprint with
some of the leading minds in the Open Source community, and to meet
fellow developers from around the world. The organizers have worked
hard to ensure that the conference be affordable and accessible to
all. We look forward to seeing you there.
Aahz (aahz(a)pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
I've created a little app for browsing Java classes and querying their
events, bean properties, and methods as seen from Jython. It's based on
some example code from Richard Hightower's book "Python Programming with
the Java Class Libraries" combined with a GUI that makes it easy to use.
Since I'm inexperienced with the Swing API, I've found this to be a
particularly useful tool for learning how to build Swing-based GUIs from
Feedback, recommendations, and constructive critique are appreciated.
Send email comments to p.magwene(a)snet.net