Underscode

Check-in [f267aa66d2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:f267aa66d2499a3d31ee8f3d73f6112f66ccf42b
Date: 2007-11-28 22:25:01
User: ivan@selidor.net
Comment:Merged in changes from the ``self_quotes_space`` branch.

Now ``__`` escapes the space character instead of the underscore, the main reason of the change being that spaces are expected to happen much more frequently than underscores in strings which *need encoding*, because underscores in the original string are themselves a signal that it has already been converted to some indentifier-compatible form and it doesn't need further encoding.

Besides that, as underscores are frequently used to represent spaces (e.g. ``get_foo`` for "get foo"), it makes more sense to keep them in that role (i.e. ``get__foo_`` instead of ``get_x20foo_``).

This change justifies the bumping of version from 0.1.1.dev to 0.2.0.dev.

Tags And Properties
Context
2007-11-28
22:48
[3444ebebff] Updated version information for the release of 0.2.0. (user: ivan@selidor.net, tags: trunk, 0.2.0)
22:25
[f267aa66d2] Merged in changes from the ``self_quotes_space`` branch.

Now ``__`` escapes the space character instead of the underscore, the main reason of the change being that spaces are expected to happen much more frequently than underscores in strings which *need encoding*, because underscores in the original string are themselves a signal that it has already been converted to some indentifier-compatible form and it doesn't need further encoding.

Besides that, as underscores are frequently used to represent spaces (e.g. ``get_foo`` for "get foo"), it makes more sense to keep them in that role (i.e. ``get__foo_`` instead of ``get_x20foo_``).

This change justifies the bumping of version from 0.1.1.dev to 0.2.0.dev. (user: ivan@selidor.net, tags: trunk)

21:05
[326a7c1ad3] Updated the Underscode core to encode and decode using the new encoding. (user: ivan@selidor.net, tags: trunk)
2007-09-20
18:12
[f46e6bb27e] Point the user to the PyPi to download source packages. (user: ivan@selidor.net, tags: trunk)
Changes
Show Unified Diffs Show Side-by-Side Diffs Patch

Changes to README.txt.

Changes to setup.py.

Changes to underscode/__init__.py.

Changes to underscode/core.py.

Changes to underscode/tests.py.