- 22 Jul, 2002 10 commits
-
-
Andrew M. Kuchling authored
Mention portable strptime() Move C-level sections farther down in the file
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Mark Hammond authored
-
Mark Hammond authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Mark Hammond authored
[ 583894 ] doc DL_IMPORT/DL_EXPORT changes
-
Jack Jansen authored
Fixed potential refcount problems with interned strings, adapted comments, added a bit more trace output if verbose > 1.
-
Jack Jansen authored
-
- 21 Jul, 2002 3 commits
-
-
Tim Peters authored
array. Our samplesort special-cases the snot out of this, running about 12x faster than *sort. The experimental mergesort runs it about 8x faster than *sort without special-casing, but should really do better than that (when merging runs of different lengths, right now it only does something clever about finding where the second run begins in the first and where the first run ends in the second, and that's more of a temp-memory optimization).
-
Tim Peters authored
from test.test_support import TestSkipped, run_unittest to from test_support import TestSkipped, run_unittest Otherwise, if the Japanese codecs aren't installed, regrtest doesn't believe the TestSkipped exception raised by this test matches the except (ImportError, test_support.TestSkipped), msg: it's looking for, and reports the skip as a crash failure instead of as a skipped test. I suppose this will make it harder to run this test outside of regrtest, but under the assumption only Barry does that, better to make it skip cleanly for everyone else.
-
Kurt B. Kaiser authored
opened on top of the shell instead of in a new window.
-
- 20 Jul, 2002 6 commits
-
-
Neal Norwitz authored
-
Martin v. Löwis authored
available in the configure tests already.
-
Tim Peters authored
It's a little better than average for our sort.
-
Neal Norwitz authored
-
Guido van Rossum authored
copying the result of fgetc() into an int variable before testing it for EOF.
-
Guido van Rossum authored
'en' in teardown(). This way hopefully test_time.py won't fail.
-
- 19 Jul, 2002 21 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
(i.e. email.test), so move the guts of them here from Lib/test. The latter directory will retain stubs to run the email.test tests using Python's standard regression test. test_email_torture.py is a torture tester which will not run under Python's test suite because I don't want to commit megs of data to that project (it will fail cleanly there). When run under the mimelib project it'll stress test the package with megs of message samples collected from various locations in the wild.
-
Barry Warsaw authored
(i.e. email.test), so move the guts of them here from Lib/test. The latter directory will retain stubs to run the email.test tests using Python's standard regression test. test_email_torture.py is a torture tester which will not run under Python's test suite because I don't want to commit megs of data to that project (it will fail cleanly there). When run under the mimelib project it'll stress test the package with megs of message samples collected from various locations in the wild. email/test/data is a copy of Lib/test/data. The fate of the latter is still undecided.
-
Barry Warsaw authored
mimelib-devel list is that non-strict parsing should be the default. Make it so.
-
Barry Warsaw authored
non-strict parsing should be the default. Make it so.
-
Barry Warsaw authored
backwards compatibility, we're silently deprecating get_type(), get_subtype() and get_main_type(). We may eventually noisily deprecate these. For now, we'll just fix a bug in the splitting of the main and subtypes. get_content_type(), get_content_maintype(), get_content_subtype(): New methods which replace the above. These /always/ return a content type string and do not take a failobj, because an email message always at least has a default content type. set_default_type(): Someday there may be additional default content types, so don't hard code an assertion about the value of the ctype argument.
-
Barry Warsaw authored
to print>> the structure to. Defaults to sys.stdout.
-
Barry Warsaw authored
out on the mimelib-devel list.
-
Fred Drake authored
also drop the output file.
-
Fred Drake authored
-
Guido van Rossum authored
for the time module, because somehow configure won't define the symbols HAVE_STRUCT_TM_TM_ZONE, HAVE_TM_ZONE, and HAVE_TZNAME in this case. I've got no time to research this further, so I leave it in Jeremy and Martin's capable hands to find a different solution for True64 (or to devise a way to get the time tests to succeed while defining _XOPEN_SOURCE).
-
Guido van Rossum authored
where recvfrom() on a TCP stream returns None for the address. This should address the remaining problems on FreeBSD.
-
Neal Norwitz authored
-
Guido van Rossum authored
-
Guido van Rossum authored
C implementation. See SF patch 474274, by Brett Cannon. (As an experiment, I'm adding a line that #undefs HAVE_STRPTIME, so that you'll always get the Python version. This is so that it gets some good exercise. We should eventually delete that line.)
-
Guido van Rossum authored
Also adds tests.
-
Michael W. Hudson authored
-
Michael W. Hudson authored
done now.
-
Michael W. Hudson authored
version of PySlice_GetIndicesEx"): > OK. Michael, if you want to check in indices(), go ahead. Then I did what was needed, but didn't check it in. Here it is.
-
Guido van Rossum authored
timeout. Added small sleeps to _testAccept() and _testRecv() in NonBlockingTCPTests, to reduce race conditions (I know, this is not the solution!)
-
Guido van Rossum authored
closed. Prevents core dump.
-