- 24 Apr, 2003 38 commits
-
-
Barry Warsaw authored
Unicode in GNUTranslations. Also provide better descriptions of *gettext() overridden methods, esp. w.r.t. the behavior in the face of fallbacks.
-
Barry Warsaw authored
__init__(): Removed since we no longer need the coerce flag. Message ids and strings are now always coerced to Unicode, /if/ the catalog specified a charset parameter. gettext(), ngettext(): Since the message strings are Unicodes in the catalog, coerce back to encoded 8-bit strings on return. ugettext(), ungettext(): Coerce the message ids to Unicode when there's no entry for the id in the catalog. Minor code cleanups; use booleans where appropriate.
-
Barry Warsaw authored
GNUTranslations constructor.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
use re module make chomp() use rstrip()
-
Andrew M. Kuchling authored
use re module use .split() string method Doesn't use 'for line in sys.stdin'; that ends up changing its interactive behaviour.
-
Andrew M. Kuchling authored
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
-
Raymond Hettinger authored
As a side issue on this bug, it was noted that list and tuple iterators used macros to directly access containers and would not recognize __getitem__ overrides. If the method is overridden, the patch returns a generic sequence iterator which calls the __getitem__ method; otherwise, it returns a high custom iterator with direct access to container elements.
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Fred Drake authored
-
Andrew M. Kuchling authored
-
Fred Drake authored
Closes SF bug #724751.
-
Thomas Heller authored
-
Thomas Heller authored
Theres now a separate function for each of the format codes b, B, H, I, k, i, l, L, K.
-
Tim Peters authored
-
Barry Warsaw authored
-
Raymond Hettinger authored
(requested by GvR. patch contributed by Michael Stone)
-
Raymond Hettinger authored
(contributed by John J Lee)
-
Fred Drake authored
-
Barry Warsaw authored
to the PyBSDDB project at SourceForge.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Marc-André Lemburg authored
definitions.
-
Marc-André Lemburg authored
There's no separate documentation for this module yet - apart from the doc-strings which explain the APIs.
-
Raymond Hettinger authored
Allows use of tuples for the initializer.
-
Raymond Hettinger authored
The additional code complexity and new NOP opcode were not worth it.
-
Brett Cannon authored
-
Brett Cannon authored
Also some typos and removed trailing whitespace on the lines.
-
- 23 Apr, 2003 2 commits
-
-
Fred Drake authored
-
Skip Montanaro authored
-