Skip to content

Monthly Archives: September 2007

Updates from Python SVN, Part 16

Added utility function to ssl module, get_server_certificate, to wrap up the several things to be done to pull a certificate from a remote server. Optimize performance of cgi.FieldStorage operations. Added os.environ.clear() method: will unset all the environment variables.

html5lib is getting faster

I ran the benchmark again with the 1014 revision of html5lib and I noticed a major speedup (altough miles far from the other libraries) in parsing.

The benchmark itself ran in roughly 262 seconds instead of the previous roughly 457. 57% faster.

These are the numbers on the 30 of August:

html5lib.HTMLParser, only HTML – time: 209.537359953, errors: [...]

Updates from Python SVN, Part 15

Added support for linking the bsddb module against BerkeleyDB 4.5.x and 4.6.x. Added set_completion_display_matches_hook and get_completion_type to readline module. Added a c_longdouble type to the ctypes module. abc.py and isinstance/issubclass overloading have been backported. See PEP 3119 for details about Abstract Base Classes. generator’s throw() doesn’t support string exceptions anymore:

[code lang="python"] Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple [...]

InstallationWiki website launched

I’m pleased to announce that Packt Publishing has launched a new community driven website to help people with installation issues for the various applications and frameworks we use every day. The site is wiki based so it can be further expanded. Here below follows a copy of the official press release:

September 2007 [...]

New job

I’ve been recently hired by StatPro PLC to work full time in their offices here in Milan as a Python developer (of course ).

Tomorrow will be the first day!

One of my colleagues is Michele Simionato so you can imagine how much I’m excited

Updates from Python SVN, Part 14

Some news from the Python trunk:

Server-side SSL support and certificate verification. See the doc. The functools module now provides reduce, for forward compatibility with Python 3000. Extended slicing support in builtin types and classes has been improved:

Specialcase extended slices that amount to a shallow copy the same way as is done for simple slices, in the tuple, [...]