- 17 Feb, 2006 10 commits
-
-
Georg Brandl authored
-
Thomas Wouters authored
-
Georg Brandl authored
return address using smtplib.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
mixing signed and unsigned types in comparison.
-
Tim Peters authored
in function calls.
-
- 16 Feb, 2006 30 commits
-
-
Tim Peters authored
deleted some curlies around one-line blocks.
-
Tim Peters authored
-
Tim Peters authored
On a box where sizeof(size_t) == 4, C doesn't define what happens when a size_t value is shifted right by 32 bits, and this caused test_mmap to fail on Windows in a debug build. So use different code to break the size apart depending on how large size_t actually is. This looks like an illusion, since lots of code in this module still appears to assume sizes can't be more than 32 bits (e.g., the internal _GetMapSize() still returns an int), but at least test_mmap passes again.
-
Thomas Wouters authored
-
Tim Peters authored
debug-build test_struct on a box where plain "char" is signed.
-
Thomas Wouters authored
buffer_new(). Probably fixes a bug in 'buffer("", 10, 10)' on platforms where sizeof(Py_ssize_t) != sizeof(long) (Win64?)
-
Thomas Wouters authored
Fixes: >>> u"".center(10) Traceback (most recent call last): File "<stdin>", line 1, in <module> MemoryError on 64-bit systems.
-
Thomas Wouters authored
lists and call Py_ssize_t-using helpers. All other code in this module was already adapted to Py_ssize_t.
-
Thomas Wouters authored
has been applied fairly arbitrarily in this module (nsmallest uses Py_ssize_t, nlargest does not) and it probably deserves a more complete review. Fixes heapq.nsmallest() always returning the empty list (on platforms with 64-bit ssize_t/long)
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
EUC-CN.TXT CP936.TXT BIG5HKSCS.TXT CP932.TXT EUC-JP.TXT SHIFTJIS.TXT EUC-JISX0213.TXT SHIFT_JISX0213.TXT CP949.TXT EUC-KR.TXT JOHAB.TXT BIG5.TXT CP950.TXT NormalizationTest-3.2.0.txt
-
Martin v. Löwis authored
-
Thomas Wouters authored
indexable) by using the same 'for' construct as all other examples. (Also emphasizes that reading from a random iterable is no different than reading from a file.)
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Convert Py_ssize_t using PyInt_FromSsize_t
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Tim Peters authored
Py_SAFE_DOWNCAST can evaluate its first argument multiple times in a debug build. This caused two distinct assert- failures in test_unicode run under a debug build. Rewrote the code in trivial ways so that multiple evaluation of the first argument doesn't hurt.
-