This is an enhanced version of python-cjson,
the _fast_ JSON encoder/decoder for python.
Bugfix:
- Fixed segmentation fault when decoding specially crafted unicode strings.
I recommend you to upgrade python-cjson, since a critical bug has been fixed.
All existing and new unit tests are passed with python 2.3.5, 2.4.3 and 2.5.1
without problems. Windows installer for Python 2.5.1 included.
Download, examples and more information:
http://python.cx.hu/python-cjson
Hi all,
I've just uploaded bbfreeze 0.95.1 to python's cheeseshop.
bbfreeze creates standalone executables from python scripts. It's similar
in functionality to py2exe or cx_Freeze.
This release fixes some problems with egg files and with some of the
recipes.
*NEW* support for egg files: bbfreeze scans zipped egg files and now
includes whole egg files/directories in the distribution. Programs
using setuptools' pkg_resources module will now work.
It offers the following features:
easy installation
bbfreeze can be installed with setuptools' easy_install command.
zip/egg file import tracking
bbfreeze tracks imports from zip files.
multiple script freezing
bbfreeze can freeze multiple scripts at once.
python interpreter included
bbfreeze will create an extra executable named 'py', which might be
used like the python executable itself.
bbfreeze works on windows and UNIX-like operating systems. It
currently does not work on OS X. bbfreeze has been tested with python
2.4 and 2.5. bbfreeze will not work with python versions prior to 2.3
as it uses the zipimport feature introduced with python 2.3.
Links
--------
cheese shop entry:
http://cheeseshop.python.org/pypi/
bbfreeze/<http://cheeseshop.python.org/pypi/bbfreeze/>
homepage:
http://systemexit.de/bbfreeze/
mercurial repository:
http://systemexit.de/repo/bbfreeze
Regards,
- Ralf
This one does not need you to set any breakpoints. It records the
entire run. Handy, if you don't know where to start.
Run the program once and after that all the runtime data is available
to you. Which means you can jump to any point in the run and verify
the code against runtime data.
The user interface is the python code itself viewed inside a Firefox
browser.
Scroll to a line you're interested in and click the variable.
It requires Firefox and Python 2.5.
http://codeinvestigator.googlepages.com/main
I'd like to hold the inaugural organizers' meeting for PyCon 2008 on
Tuesday, July 17, at 2PM Eastern/1PM Central/11AM Pacific (6PM UTC).
Further meetings will be every other week.
The meetings will be held via Google Talk/Jabber (group chat). We'll
use the 'pycon' room on conference.jabber.org.
Agenda:
* Staff roles
* Keynote speakers
* PyCon tech
* Chicago visit
Please send any further agenda items to me, or edit the wiki page:
http://wiki.python.org/moin/PyCon2008/OrganizersMeetings
See you there!
David Goodger
PyCon 2008 Chai
Our topic for the next PyGTA meeting is the PyGTK binding to the Open
Source GTK+ GUI library. Myles Braithwaite, a local developer and
consultant will be presenting an introduction to the library including
how to get started programming with it. Myles has used GTK, among other
things, to develop a pair of games for the OLPC laptop. GTK is
reasonably portable Free software that has a number of GUI-layout tools,
with the Glade system being the most well-known among them.
We'll be meeting at our regular venue, Linux Caffe, which is open until
11pm for the summer, affording us a much more relaxed pace for our
meetings. We'll plan to start the presentation for 7:15pm, with people
encouraged to gather at 7:00 to chat and socialise. Linux Caffe is at
the corner of Grace and Harbord streets, 1 block South of Christie
station. Free WiFi is available, as are snacks and sandwiches, ice
cream, smoothies, coffee, tea and the like.
Details on how to get to Linux Caffe are available on the PyGTA
next-meeting page:
http://www.pygta.org/
Have fun all,
Mike
--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.comhttp://blog.vrplumber.com
Crunchy 0.9 has been released. It is available at
http://code.google.com/p/crunchy
What is Crunchy?
Crunchy is a an application that transforms html Python tutorials into
interactive session viewed within a browser. We are not aware of any
other application (in any language) similar to Crunchy. Currently
Crunchy has only been fully tested with Firefox; we know that some
browsers simply don't work with it. Crunchy should work with all
operating systems - it has been tested fairly extensively on Linux,
Windows and Mac OS.
What is new in this release?
Crunchy has been rewritten from scratch from the previous version
(0.8.2), to use a custom plugin architecture. This makes easier to
extend and add new functionality. Rather than list the differences
with the old release, it is easier to list the essential features of
this new version.
1. Crunchy can work best with specially marked-up html tutorials.
However, it can now work with any html tutorials - including the
official Python tutorial on the python.org site. Html pages can be
loaded locally or remotely from anywhere on the Internet. Crunchy
uses a combination of Elementtree and BeautifulSoup to process html
pages. Non W3C-compliant pages can be handled, but the visual
appearance is not guaranteed to reproduce that normally seen using a
browser.
2. Crunchy can insert a number of Python interpreters inside a web
page. In the default mode, it does that whenever it encounters an
html <pre> element which is assumed to contain some Python code.
These interpreters can either share a common environment (e.g. modules
imported in one of them are known in the other) or be isolated one
from another.
3. Crunchy adds automatic css styling to the Python code - you can
look at the official Python tutorial using your browser (all Python
code in blue) and compare with what Crunchy displays to give you a
good idea.
4. Instead of inserting an interpreter, Crunchy can insert a code
editor that can be used to modify the Python code on the page and
execute it. The editor can be toggled to become a fairly decent
syntax aware editor that can save and load files.
5. Crunchy has a "doctest" feature where the code inside the <pre> is
taken to be the result
of an interpreter session and the user has to write the code so as to
make the interpreter session valid; this is useful in a teaching
environment. Messages from the Crunchy's doctest are "friendlier" for
Python beginners than the usual tracebacks.
6. Crunchy has a small graphics library that can be imported, either
inside an editor or an interpreter, to produce simple graphics (even
animations!) inside the browser.
7. For the user that needs better quality graphics, Crunchy supports
programs (such as matplotlib) that can create image files; by
executing the code, the image produced is loaded inside the browser
window. In this capacity, Crunchy could be used as a front end for
libraries such as matplotlib.
8. Crunchy supports code execution of files as separate processes,
making it suitable to launch gui based application from the browser
window.
9. Crunchy's interpreter has an interactive "help" feature like many
python-aware IDEs.
10. Crunchy includes a fairly comprehensive tutorial on its own use,
as well as a reference for tutorial writers that want to make their
tutorials "crunchy-friendlier".
11. As a security feature, crunchy strips all pre-existing javascript
code from an html page before displaying it inside the browser window.
Bug reports, comments and suggestions are always welcome.
André Roberge, for the Crunchy team.
Hi All,
Pydev and Pydev Extensions 1.3.7 have been released
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com
Release Highlights:
----------------------------------------------
* Support for Eclipse 3.3
* Bug Fix: Interpreter modules not correctly set/persisted after specifying
interpreter (so, the builtins and other system libraries would not be
available in completions).
* Mylyn integration.
* Open With Pydev: does not appear for containers anymore.
* Code-completion:
The folowing cases are now considered in code-completion to discover the
type of a variable:
o Type/Interface checking: (note that 'assert' is required) assert
isinstance(obj, Interface) -- default from python
o assert Interface.implementedBy(obj) -- zope
o assert IsImplementation(obj, Interface) -- custom request
o assert IsInterfaceDeclared(obj, Interface) -- custom request
o Factory methods a = adapt(obj, Interface) -- pyprotocols
o a = obj.GetAdapter(Interface) -- custom request
o a = obj.get_adapter(Interface) -- custom request
o a = GetSingleton(Interface) -- custom request
o a = GetImplementation(Interface) -- custom request
What is PyDev?
---------------------------
PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
------------------------------------------------------
Software Developer
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
Pydev Extensions
http://www.fabioz.com/pydev
Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.nethttp://pydev.blogspot.com
Greetings Python Friends,
pyCologne, the Python User Group Cologne, Germany meets again on:
Date: Wednesday, 11 July, 2007
Time: 18:30 Uhr c.t.
Venue: Room 301 (3rd floor), Institut für Informatik,
University Köln, Pohligstr. 1, 50969 Köln, Germany
!!! NEW VENUE !!!
Programme:
* New and improved django-PyLucid <http://www.pylucid.org> (Jens Diemer)
* A re-engineering experiment with: Python and UML (Günter Jantzen)
Two editors will be presented:
* Emacs (Rebecca Breu)
* vim (Ronny Sonntag)
All interested in python and what can be done with it are invited.
Afterwards we'll have a bite and a drink nearby.
For further information check our site:
http://wiki.python.de/pyCologne
See you there,
Rex Turnbull