Commit Graph

33711 Commits

Author SHA1 Message Date
Georg Brandl ecdc0a9f46 That one was a mistake. 2006-03-30 12:19:07 +00:00
Georg Brandl d37ac69ee5 Remove unnecessary casts from type object initializers. 2006-03-30 11:58:57 +00:00
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
Thomas Heller 3987df5adf Try to build _ctypes on x86 openbsd. 2006-03-30 11:51:58 +00:00
Armin Rigo 5eca19b894 Checking in the test for PEP 357.
This is from the SF tracker as well; for some reason the
content of test_index.py was lost and an empty file was
checked in instead.
2006-03-30 11:28:43 +00:00
Anthony Baxter 67b6d516ce Fixed bug #1459029 - unicode reprs were double-escaped. 2006-03-30 10:54:07 +00:00
Anthony Baxter 262c00a21e Fixed bug #1459029 - unicode reprs were double-escaped.
Backed out an old patch from 2000.
2006-03-30 10:53:17 +00:00
Phillip J. Eby 80a5d01790 Mark the upload command as new in 2.5, per Neal Norwitz's request. 2006-03-30 07:09:06 +00:00
Fred Drake 66bc4efef3 fill in refcount information for APIs first documented in Python 2.5 2006-03-30 03:04:41 +00:00
Fred Drake 3e482d9a95 merge revision 43437 from the release24-maint branch:
- update the refcount information (late, but not a bad thing to do...)
- clarify that PyGen_New() steals a reference
2006-03-30 02:58:38 +00:00
Phillip J. Eby 59821cf209 Oops, forgot to checkin the NEWS for --identity 2006-03-30 02:16:40 +00:00
Phillip J. Eby 2e550b3dd2 Implementation for patch request #1457316: support --identity option
for setup.py "upload" command.
2006-03-30 02:12:14 +00:00
Raymond Hettinger 3c3346daa9 SF bug #1460340: random.sample can raise KeyError
Fix the hit and miss style of testing for sets and dicts.
2006-03-29 09:13:13 +00:00
Tim Peters 62e97f023b In format strings slinging Py_ssize_t, unconditionally
interpolate PY_FORMAT_SIZE_T instead of #if'ing on
MS_WIN64.
2006-03-28 21:44:32 +00:00
Armin Rigo efb6e752cf add the ctypes.test subpackage to a normal Unix installation --
otherwise, test/test_ctypes.py fails.  What about ctypes.macholib?
2006-03-28 20:30:45 +00:00
Armin Rigo 12bec1b985 fix a comment. 2006-03-28 19:27:56 +00:00
Georg Brandl 80bb2bb7eb Revert r43399. 2006-03-28 19:19:56 +00:00
Armin Rigo d34fa52a06 answer a question from a comment 2006-03-28 19:10:40 +00:00
Martin v. Löwis 1d278fc7d0 Move product_codes in their own file. 2006-03-28 18:30:05 +00:00
Georg Brandl 275935db8d document sys.maxint in std objects 2006-03-28 18:02:44 +00:00
Georg Brandl 7fd548f9c1 Bug #1459103: add inter-section links for strftime section. 2006-03-28 12:48:43 +00:00
Georg Brandl f1349cd05d Bug #1459963: urllib2 now normalizes HTTP header names correctly
with title().
2006-03-28 12:40:24 +00:00
Thomas Heller 240ec6b9ef Make the tests succeed with -Qnew: Do not rely on the exact wording of a ZeroDivisionError. 2006-03-28 11:00:08 +00:00
Georg Brandl f871270c92 Make uu use floor division instead of classic division.
This was discovered by test_email failing with -Qnew.
2006-03-28 10:29:45 +00:00
Georg Brandl 019514e854 Make test_augassign pass with -Qnew and convert to unittest. 2006-03-28 10:26:45 +00:00
Georg Brandl b921a84405 Make xdrlib use floor division instead of classic division.
Makes test_xdrlib pass.
2006-03-28 10:07:46 +00:00
Georg Brandl 686eaeb0b8 Make test_coercion pass with -Qnew. Converted to unittest on the occasion. 2006-03-28 10:00:53 +00:00
Thomas Wouters 4054b9720b In true regression-test spirit, make sure the
itertools.tee->instance->attribute->itertools.tee and
itertools.tee->teedataobject->itertools.tee cycles, which can be found now
that itertools.tee and its teedataobject participate in GC, remain findable
and cleanable. The test won't fail when they aren't, but at least the
frequent hunt-refleaks runs would spot the rise in refleaks.
2006-03-28 08:44:55 +00:00
Thomas Wouters a33b2bc873 Add an example of a generator->freevar->cell->generator reference-cycle that
doesn't get cleaned up and thus leaks.
2006-03-28 08:14:24 +00:00
Georg Brandl 96c3f7f56b Make test_decimal work with -Qnew. 2006-03-28 08:06:35 +00:00
Martin v. Löwis df511798e4 Correct case in test for Windows 9X. 2006-03-28 07:51:51 +00:00
Tim Peters b82cb8dcd5 Part of bug 1459808: fiddle test_input_and_raw_input()
so it passes w/ -Qnew.
2006-03-28 07:39:22 +00:00
Tim Peters 1c5bc1c9d7 Part of bug 1459808: fiddle so that this passes
with or without -Qnew.
2006-03-28 07:28:40 +00:00
Neal Norwitz 7491d2a23a Try to get rid of a Coverity warning by consistently using origpending. 2006-03-28 06:19:28 +00:00
Neal Norwitz d03b073e9b Add version added info for with statement and context managers 2006-03-28 05:51:02 +00:00
Phillip J. Eby 168e99f6db Document objects that can be used with the ``with`` statement. 2006-03-28 00:13:10 +00:00
Phillip J. Eby bdfd693804 Fix some missing imports 2006-03-28 00:08:22 +00:00
Phillip J. Eby 35fd142435 Fix contextlib not copying function attributes 2006-03-28 00:07:24 +00:00
Phillip J. Eby d207b4f376 Document the contextlib module. 2006-03-27 23:58:46 +00:00
Phillip J. Eby 849974fb56 dummy_thread needs to support PEP 343 too. 2006-03-27 23:32:10 +00:00
Georg Brandl b6e92c40a9 Document change made to number of preallocated integers. 2006-03-27 22:09:16 +00:00
Phillip J. Eby 02e19975d4 Patch #1459476: install PKG-INFO metadata alongside distutils-installed packages. 2006-03-27 21:55:21 +00:00
Phillip J. Eby 16e86da730 The "with" statement needs a __future__. :) 2006-03-27 21:42:30 +00:00
Phillip J. Eby 075ef1ac1b Document the "with" statement. 2006-03-27 21:06:13 +00:00
Thomas Wouters 19bf33bc7a Make itertools.tee and its internal teedataobject participate in GC. This
alone does not solve the leak in test_generators, unfortunately, but it is
part of test_generators' problem and it does solve other cycles.
2006-03-27 21:02:13 +00:00
Phillip J. Eby 5d0f4c6193 Document the PEP 343 context manager protocol methods. 2006-03-27 19:59:34 +00:00
Martin v. Löwis 06b3ddea23 Drop information about 2.4 DLLs. 2006-03-27 16:35:13 +00:00
Martin v. Löwis 0a4e98bf13 Allow supression of subwcrev.exe invocation on a per-working-copy basis. 2006-03-27 16:30:41 +00:00
Walter Dörwald cff22083f1 Whitespace for generated code. 2006-03-27 15:11:56 +00:00
Anthony Baxter 07508834e0 Tagging for release r25a0 2006-03-27 13:37:36 +00:00