See http://gmpy.sourceforge.net/ for details.
What is it: a wrapper for the GMP library, to provide multi-precision
arithmetic for Python. Multi-precision floats, and unbounded-precision
rationals, are not present in stock Python; multi-precision integers
('long') are, but gmpy's version of multi-precision integers is faster
for some operations (NOT all -- used to be, but Python 2.3 did serious
enhancements to some operations on longs) and provides lots of nifty
pre-packaged additional functions.
Minor changes and bug-fixes since the latest 0.9 pre-alpha; support for
Python 2.3. The Windows binary release is now for Python 2.3 _only_ (if
you're stuck with Python 2.2 on Windows, you can keep using gmpy 0.9
pre-alpha and not really suffer from that). Known bug on Windows: the
scan0 and scan1 functions appear broken (perhaps related to the lack of
a GMP 4.0 library for Windows -- haven't found one around yet).
Alex
I have released Mailman 2.1.4, a bug fix release that also contains
support for four new languages: Catalan, Croatian, Romanian, and
Slovenian. This release also contains a fix for a cross-site
scripting vulnerability in the 'admin' cgi script (see
CAN-2003-0965). There is also an expanded ability to filter message
headers, nominally to provide better support when Mailman is used in
conjunction with upstream spam and virus filters.
The full source tarball has been made available from the usual sites.
Sorry, there is no patch available yet, but you should be able to
install Mailman 2.1.4 over your existing 2.1.x installation. See
http://sourceforge.net/project/showfiles.php?group_id=103
for links to the downloadable files. After installing, be sure you
restart your Mailman daemon by doing a "mailmanctl restart".
IMPORTANT: You will want to re-run configure before doing a make install.
See also:
http://www.list.orghttp://mailman.sf.nethttp://www.gnu.org/software/mailman
Enjoy, and have a Happy New Year.
-Barry
-------------------- snip snip --------------------
2.1.4 (31-Dec-2003)
- Close some cross-site scripting vulnerabilities in the admin pages
(CAN-2003-0965).
- New languages: Catalan, Croatian, Romanian, Slovenian.
- New mm_cfg.py/Defaults.py variable PUBLIC_MBOX which allows the site
administrator to disable public access to all the raw list mbox files
(this is not a per-list configuration).
- Expanded header filter rules under Privacy -> Spam Filters. Now you can
specify regular expression matches against any header, with specific
actions tied to those matches.
- Rework the SMTP error handling in SMTPDirect.py to avoid scoring bounces
for all recipients when a permanent error code is returned by the mail
server (e.g. because of content restrictions).
- Promoted SYNC_AFTER_WRITE to a Default.py/mm_cfg.py variable and
make it control syncing on the config.pck file. Also, we always flush
and sync message files.
- Reduce archive bloat by not storing the HTML body of Article objects in
the Pipermail database. A new script bin/rb-archfix was added to clean
up older archives.
- Proper RFC quoting for List-ID descriptions.
- PKGDIR can be passed to the make command in order to specify a different
directory to unpack the distutils packages in misc. (SF bug 784700).
- Improved logging of the origin of subscription requests.
- Bugs and patches: 832748 (unsubscribe_policy ignored for unsub button on
member login page), 846681 (bounce disabled cookie was always out of
date), 835870 (check VIRTUAL_HOST_OVERVIEW on through the web list
creation), 835036 (global address change when the new address is already
a member of one of the lists), 833384 (incorrect admin password on a
hold message confirmation attachment would discard the message), 835012
(fix permission on empty archive index), 816410 (confirmation page
consistency), 834486 (catch empty charsets in the scrubber), 777444 (set
the process's supplemental groups if possible), 860135 (ignore
DiscardMessage exceptions during digest scrubbing), 828811 (reduce
process size for list and admin overviews), 864674/864676 (problems
accessing private archives and rosters with admin password), 865661
(Tokio Kikuchi's i18n patches), 862906 (unicode prefix leak in admindb),
841445 (setting new_member_options via config_list), n/a (fixed email
command 'set delivery')
I'm told that the 2nd Edition of the book
Learning Python began shipping earlier this
week. It's currently listed on O'Reilly's
home page, and described here:
http://www.oreilly.com/catalog/lpython2/http://www.rmi.net/~lutz/about-lp2e.html
Amazon shipped a copy to me yesterday (despite
the fact that their web page still said "ships
within 1-2 months" as of this morning :-).
Happy 2004,
--Mark Lutz (http://www.rmi.net/~lutz)
I'd like to announce the eleventh 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 Python 2.3. 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 interfaces
will depend on the availability of a Python module for that particular
interface and developer interest and action.
The eleventh release adds a few more fixes for running PythonCAD under
Python 2.3 that were missed in the tenth release. This release improves
the transfer of entities with associated dimensions from one layer to
another. Prior to this release the dimension would be deleted, but now
the dimension is preserved. This release also contains a number of file
saving and loading cleanups applied to the code. A small number of bug
fixes have been applied as well, and the addition of Ellipse and Spline
entities has begun, though neither is complete yet.
PythonCAD marked its first birthday on December 21, 2003! Yay!
The 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, and Happy New Year to everyone!
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
New News:
=== ====
I have updated the version of Python to 2.3.3-1. The tarballs should be
available on a Cygwin mirror near you shortly.
Old News:
=== ====
Python is an interpreted, interactive, object-oriented programming
language. If interested, see the Python web site for more details:
http://www.python.org/
Please read the README file:
/usr/share/doc/Cygwin/python-2.3.3.README
since it covers requirements, installation, known issues, etc.
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions.
Note that we have recently stopped downloads from sources.redhat.com
(aka cygwin.com) due to bandwidth limitations. This means that you will
need to find a mirror which has this update.
In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.
In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.
In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.
If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.
The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.
If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin(a)cygwin.com . I would appreciate if you would
use this mailing list rather than emailing me directly. This includes
ideas and comments about the setup utility or Cygwin in general.
If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-you=yourdomain.com(a)cygwin.com
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Hi, my Python and Vim friends.
Here is the initial release of `allout-vim'! :-) Grab it from:
http://fp-etc.progiciels-bpi.ca/archives/allout-vim-031229.tgz
The Allout file format is (yet another) legible representation of the
synoptic structure of a textual document. Emacs support for Allout
files is already standard, as an application of fold editing. This tool
eases the handling of Allout files from within a Python-enabled Vim.
--
François Pinard http://www.iro.umontreal.ca/~pinard
http://wwwsearch.sourceforge.net/ClientCookie/
0.4.14 is a stable bugfix release.
0.9.0a is the first alpha release of a final version, parts of which I hope
to get into Python 2.4.
Changes since 0.4.11:
* Fixed a bug where https requests were missing important headers (like
Host).
* Other bugfixes.
* Replaced all usage of seek_wrapper with new class
response_seek_wrapper, which knows about the response class returned by
urllib2.urlopen(), and uses that knowledge to avoid clobbering all the
response methods on .close(). This is a bit of a hack to make it
possible to cache response objects to make a Browser class (as in my
mechanize module).
In new 0.9 development version:
* Everything to do with files is now in an abstract FileCookieJar
subclass. libwww-perl format save/load is now in LWPCookieJar, and the
CookieJar base class now knows nothing about files (but you can still
use CookieJar directly -- it's not an abstract base class).
* Added BSDDBCookieJar (NOT FULLY TESTED!). Also, an unfinished (non-
working) MSIEDBCookieJar, which is meant to use (read and write) the
Windows MSIE cookies database directly, rather than keeping a copy of
cookies in memory.
* RFC 2965 is now off by default.
* Made CookieJar.cookies attribute private.
* FileCookieJar.load() and .revert() now raise ClientCookie.LoadError
instead of IOError when the file format is not understood (IOError is
still raised in the usual circumstances).
* Changed skip_discard arg to LWPCookieJar.as_lwp_str() to ignore_discard
(inverted meaning), and skip_expired to ignore_expires, for
consistency.
* Documented HTTPCookieProcessor.cookiejar and
HTTPRefreshProcessor.max_time / .honor_time as public attributes.
Requires Python >= 1.5.2.
ClientCookie is a Python module for handling HTTP cookies on the client
side, useful for accessing web sites that require cookies to be set and
then returned later. It also provides some other (optional) useful stuff:
HTTP-EQUIV and Refresh handling, automatic adding of the Referer [sic]
header and lazily-seek()able responses. These extras are implemented
using an extension that makes it easier to add new functionality to
urllib2. It has developed from a port of Gisle Aas' Perl module
HTTP::Cookies, from the libwww-perl library.
Simple usage:
import ClientCookie
response = ClientCookie.urlopen("http://www.example.com/")
This function behaves identically to urllib2.urlopen, except that it deals
with cookies automatically. That's probably all you need to know.
John
http://wwwsearch.sourceforge.net/mechanize/
This is an alpha release.
Changes since 0.0.1a:
* Updated broken example code.
* Fixed and added a test for UserAgent, which was pretty broken.
* Fixed a bug in link parsing.
* Added and improved docstrings.
* Attribute lookups are no longer forwarded to .response -- you have
to do it explicitly.
* Added .geturl() method, which just delegates to .response.
* Browser.form is now a public attribute. Also documented Browser's
public attributes.
* Added base_url and absolute_url attributes to Link.
* Tidied up .open(). Relative URL Request objects are no longer
converted to absolute URLs -- they should probably be absolute in
the first place anyway.
* Added proper Referer handling (the handler in ClientCookie is a
hack that only covers a restricted case).
* Added click_link method, for symmetry with .click() / .submit()
methods (which latter apply to forms). Of these methods,
.click/.click_link() returns a request, and .submit/ .follow_link()
actually .open()s the request.
Requires Python 2.2, ClientCookie >= 0.4.12 (note version!), ClientForm
0.1.x and pullparser >= 0.2.b.
Stateful programmatic web browsing, after Andy Lester's Perl module
WWW::Mechanize.
Example:
import re
from mechanize import Browser
b = Browser()
b.open("http://www.example.com/")
response = b.follow_link(text_regex=re.compile(r"cheese\s*shop"), nr=1)
b.select_form(name="order")
b["cheeses"] = ["mozzarella", "caerphilly"]
response2 = b.submit()
response3 = b.back() # back to cheese shop
response4 = b.reload()
for link in b.forms():
print form
for link in b.links(url_regex=re.compile("python.org")):
print link
John
cssutils contains classes to parse, build (and later normalize) CSS
Cascading Style Sheets in Python.
the most useful feature at the moment might be a pretty printer but you
can also build a new Stylesheet from scratch
example
-------
from cssutils.cssparser import CSSParser
c = CSSParser()
c.parseString('body { color :red }') # or c.parse('filename.css')
c.pprint()
# ---the output
body {
color: red;
}
from cssutils.cssbuilder import *
s = Stylesheet()
r = Rule('body')
d = Declaration('color', 'red')
r.addDeclaration(d)
mr = AtMediaRule('@media print')
r2 = Rule('body')
r2.addDeclaration(Declaration('color', '#000'))
mr.addRule(r2)
s.addComment('/* basic styles */')
s.addRule(r)
s.addRule(mr)
s.pprint(2)
# --- the output
/* basic styles */
body {
color: red;
}
@media print {
body {
color: #000;
}
}
requirements
------------
you need Python 2.3, tested with Python 2.3.3 on Windows only
feedback
--------
i would very much appreciate any feedback
- bug reports
- feature requests
- also coding improvements as this is one of my first Python projects
Download
--------
the current version is 0.23, get cssutils at http://cthedot.de/cssutils
thanks
chris
Rx4RDF is application stack for building RDF-based applications and web
sites.
Rhizome is a Wiki-like content management and delivery system built on
Rx4RDF that generalizes the wiki concept in several ways.
What's new?
This releases fixes a few critical bugs (including support for Python
2.3) and adds major new functionality to Rhizome including users,
sessions, authentication and authorization (including permissions,
access tokens, roles, and groups), search (with RSS output) and more.
More Info:
* Rx4RDF provides a deterministic mapping between the RDF abstract
syntax to the XPath data model, allowing you to query, transform and
update a RDF model with languages syntactically indentical to XPath,
XSLT and XUpdate (dubbed RxPath, RxSLT, and RxUpdate respectively).
* Racoon is a simple application server that uses an RDF model for its
data store, roughly analogous to RDF as Apache Cocoon is to XML. Racoon
uses RxPath to translate arbitrary requests (currently HTTP, XML-RPC and
command line arguments) to RDF resources, each of which can be
associated with RxSLT and RxUpdate stylesheets.
* Rhizome is a Wiki-like content management and delivery system built on
Racoon that takes the concept of the Wiki to the next level: everything
is editable, not just content but its meta-data and behavior, even the
structure of the site itself. Furthermore, wiki entries are abstract
globally unique RDF resources that can have any kind of content and
whose presentation is contextual.
Rhizome includes a couple of other stand-alone technologies that maybe
of interest:
* RhizML is a Wiki-like text formatting language that lets you write
arbitrary XML or HTML, enabling you to author XML documents with
(nearly) the same ease as a Wiki entry.
* RxML is an alternative XML serialization for RDF that is designed for
easy authoring in RhizML, allowing novices to author and edit RDF metadata.
Homepage:
http://rx4rdf.liminalzone.org/
Download:
http://sourceforge.net/project/showfiles.php?group_id=85676
-- adam (asouzis @ user.sf.net)