- 25 Apr, 2003 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
- The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows).
-
Guido van Rossum authored
-
Guido van Rossum authored
RuntimeError.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 24 Apr, 2003 33 commits
-
-
Tim Peters authored
-
Tim Peters authored
functions with different signatures.
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Raymond Hettinger authored
Let netrc handle entries with login fields (mail servers for instance) by having login default to ''. Backport candidate.
-
Skip Montanaro authored
use cStringIO if available.
-
Skip Montanaro authored
argument function is available on the current platform
-
Skip Montanaro authored
-
Skip Montanaro authored
particular resources
-
Skip Montanaro authored
-
Skip Montanaro authored
* added an (incomplete) description of the utils.Sniffer class
-
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
-