Text of wiki.python.org › python › soc › SummerOfCode › 2006.html as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Summer of Code / 2006 - Python Wiki

Python Wiki Python Wiki / Python Wiki / Summer of Code / Summer of Code / Summer of Code / 2006 View as Markdown Summer of Code / 2006 ¶ Legacy Wiki Page This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org . These are the Google “Summer of Code” projects involving Python that were funded in 2006. Note: if a project is listed as having two mentors, the first mentor listed is the primary mentor, and the second one is the back-up mentor.

Improving the Python debugger Student: Matthew J Fleming Mentor: Rocky Bernstein Repository: http://svn.python.org/projects/sandbox/trunk/pdb Many people have voiced their concern that the Python debugger could be improved in a number of ways. This project aims to incorporate these suggestions into an improved version of Pdb. These improvements are to allow, debugging from another process debugging remotely debugging a threaded application The class that overrides Pdb and provides our enhancements is ‘MPdb’.

None of the information below is set in stone and may change based on mine or Rocky’s ideas and public feedback as we feel it is better to make some of the decisions (communication mechansim) open to change in the future or at least being able to make a decision later rather than sooner. The design of these improvements has been of great importance and we have specifically concentrated on allowing future programmers to easily add to our work.

For example, up until recently in the Python trunk, to get a Pdb session to send program output to some place other than stdout one had to override all of the methods in Pdb that used a ‘print’ statement. However, now, the version of Pdb in the trunk allows a programmer to specify both a stdin and a stdout stream. We will follow this example. The advantage of our design is that it is easily extensible and it aims to follow the gdb way to doing things.

Debugging communication techniques and ideas We have discussed various communication mechanisms including sockets and serial communication. For debugging from another process it became clear (after looking at other debuggers) that most people choose to go with a ‘socket-based’ approach. The advantages of using this approach is that it is a tried and tested method that many debuggers use. One alternative to the socket approach is to use xmlrpc which allows the passing around of requests in a structured format, which may come in most handy when the debugger server is sending information to a debugger console.

For instance, if someone were to write an IDE for MPdb, it would be trivial when using xmlrpc to allow the debugging server class to return a tagged message to the console which would indicate, Where in the source we currently were The state of some configuration variable on the server side It became clear that the method of communication that is available to a programmer when debugging an application will change between projects.

An embedded devices programmer working with python may not necessarily have access to a network card and thus, no access to network sockets. However, they may have access to a serial port on the embedded device and whilst this project may not provide code to allow communication over a serial line, it should be easy for a programmer to subclass MPdb and write one themselves, without having to undo or ‘work around’ any of the features or specifications or MPdb.

Base multidimensional array type for Python core ¶ Student: KarolLangner Mentor: Travis E. Oliphant Repository: http://svn.scipy.org/svn/PEP/ More information: http://scipy.org/BaseArray The goal is to prepare a simple, generic multidimensional array interface that can be readily placed in the Python core as a new built-in base type (called, for instance, ‘dimarray’), and included in a future Python distribution (possibly 2.6?).

This new base type will have the same C-structure as the current array implementation in numpy and will be based on an interface recently formulated by Travis Oliphant within a Python Enhancement Proposal ( http://svn.scipy.org/svn/PEP/ ). After preparing a ‘ready to insert’ version of the array interface, it will be applied to numpy and several other packages that work with multidimensional data, and possibly modified in order to work out an optimal scope.

Logging Usage in the Standard Library (PEP 337) ¶ Student: Jackilyn Hoxworth Mentor: James Joseph Jewett Repository: http://svn.python.org/projects/python/branches/hoxworth-stdlib_logging-soc/ Project Blog The purpose of this project is to create a standard for using the logging system in the standard library. This will simplify development of daemon applications. This requires slight modifications to a large number of standard modules, which will be made in a back-portable way.

After the completion of this project one can use the following filtering scheme: logging.getLogger(‘py.<module>’).setLevel(logging.<LEVEL>). Decimal module in C. ¶ Student: Mateusz Rukowicz Mentor: Facundo Batista Repository: http://svn.python.org/view/sandbox/trunk/decimal-c/ Adding C implementation of decimal module, which eventually would replace current implementation, with no side effects to applications using this module.

Rewrite of the zipfile module. ¶ Student: Nilton Volpato Mentor: Ilya Etingof Repository: https://svn.sourceforge.net/svnroot/ziparchive/ziparchive/trunk The project is to write a new and updated version of python’s zipfile module for dealing with ZIP files with much more features than those currently supported by zipfile module. These changes are intended to overcome the current limitations of the module, and include, but are not limited to: Add support for bzip2 (de)compression Add support for removing files stored in zip files Add file-like object API to ZIP archive members Add support for the traditional PKWARE encryption Ajax in python based on PyPy’s JavaScript backend ¶ Student: Maciej Fijalkowski Mentor: Eric van Riet Paap Repository: http://codespeak.net/svn/pypy/dist/pypy/translator/js/ The main target of the project is to produce a framework which takes advantage of PyPy ’s JavaScript backend and to make it easy to write an AJAX based framework written entirely in Python.

The aim is to produce a framework which allows Python applications to be translated into an AJAX based application split into a client part ( JavaScript running on browser) and a server part (python running on web server). Communication between client and server is translated from Python method calls into JSON request and response. Complete gencli, the PyPy CLI backend ¶ Student: Antonio Cuni Mentor: Armin Rigo Repository: http://codespeak.net/svn/pypy/dist/pypy/translator/cli/ gencli is the PyPy backend targeting the Common Language Infrastructure (CLI) virtual machine, i.e. .NET.

Once gencli will be complete it will be possible to translate the Standard Interpreter in order to produce a .NET executable of the Python interpreter (we could call it PyPy .NET). The result will be in some way similar to the existing IronPython , with the difference that IronPython is a compiler (though most of the job is done by the runtime environment), while PyPy .NET will be an interpreter. PyPy Proposal - Write and port modules from CPython with ctypes ¶ Student: Lawrence Oluyede Mentor: Anders Chrigstroem Repositories: http://codespeak.net/svn/user/rhymes/modules/ http://codespeak.net/svn/pypy/dist/pypy/module/ I’d like to make PyPy ready for encrypted communications adding SSL support in the ongoing and in-development socket module.

The other modules I’ll port are: bz2, fcntl, mmap and time (very fundamental). If there’s time I’d like to start working on ‘os’ and ‘select’ modules also. Neural Nets in SciPy ¶ Student: Frederic Mailhot Mentor: Robert Kern Repository: http://svn.scipy.org/svn/scipy/trunk/Lib/sandbox/ann/ The goal of this project

The rest of this page is on the live site.