summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Get gcc to do strict IEEE math. This flag was already used for cc, just notNeal Norwitz2006-03-312-1/+7
| | | | | | | | | gcc. Without this flag, doing pretty much anything with NaNs causes a Floating Point Exception signal. This causes the interpreter to quit. The failing tests this fixes are: test_float, test_long, and test_struct. This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN). Will verify if this is a problem in 2.4 and backport if necessary (probably).
* improve reporting of illegal section nesting (provide location whichFred Drake2006-03-311-1/+18
| | | | caused detection of the error)
* fix sectioning: cannot skip section levelsFred Drake2006-03-311-2/+2
|
* test_main(): Restore the decimal context that was inTim Peters2006-03-311-10/+14
| | | | | | | | effect at the time test_decimal was imported. Else running test_decimal had the bad side effect of permanently changing the decimal context in effect. That caused text_tokenize to fail if it ran after test_decimal.
* Repaired a number of errors in this test:Tim Peters2006-03-311-60/+74
| | | | | | | | | | | | | | | | | | - The doctests in decistmt() weren't run at all when test_tokenize was run via regrtest.py. - Some expected output in decistmt() was Windows-specific (but nobody noticed because the doctests weren't getting run). - test_roundtrip() didn't actually test anything when running the tests with -O. Now it does. - Changed test_roundtrip() to show the name of the input file when it fails. That would have saved a lot of time earlier today. - Added a bunch of comments.
* SF patch #1458476 with modifications based on discussions in python-dev. ThisBarry Warsaw2006-03-304-6/+75
| | | | | | adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included.
* Insert a safety space after numbers as well as names in untokenize().Guido van Rossum2006-03-301-1/+1
|
* Add '-Wno-deprecated-warnings' to the compile flags for the Carbon extensionsRonald Oussoren2006-03-301-30/+77
| | | | | | on OSX 10.4 or later. This stops the compiler for complaining about calls to deprecated functions in these extensions, they are supposed to wrap as much of Carbon as possible.
* Try to fix test_loading on openbsd.Thomas Heller2006-03-301-1/+1
|
* Oops - this should not have gone in.Thomas Heller2006-03-301-1/+0
|
* Output more info when the test fails.Thomas Heller2006-03-301-1/+5
|
* Minor bugs in the __index__ code (PEP 357), with tests.Armin Rigo2006-03-303-129/+97
|
* whitespace normalisationAnthony Baxter2006-03-306-24/+23
|
* That one was a mistake.Georg Brandl2006-03-301-1/+1
|
* Remove unnecessary casts from type object initializers.Georg Brandl2006-03-303-35/+35
|
* Remove unnecessary casts in type object initializers.Georg Brandl2006-03-3020-271/+272
|
* Try to build _ctypes on x86 openbsd.Thomas Heller2006-03-302-0/+2
|
* Checking in the test for PEP 357.Armin Rigo2006-03-301-0/+159
| | | | | | 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.
* Fixed bug #1459029 - unicode reprs were double-escaped.Anthony Baxter2006-03-301-0/+16
|
* Fixed bug #1459029 - unicode reprs were double-escaped.Anthony Baxter2006-03-302-1/+3
| | | | Backed out an old patch from 2000.
* Mark the upload command as new in 2.5, per Neal Norwitz's request.Phillip J. Eby2006-03-301-0/+2
|
* fill in refcount information for APIs first documented in Python 2.5Fred Drake2006-03-301-0/+9
|
* merge revision 43437 from the release24-maint branch:Fred Drake2006-03-302-0/+115
| | | | | - update the refcount information (late, but not a bad thing to do...) - clarify that PyGen_New() steals a reference
* Oops, forgot to checkin the NEWS for --identityPhillip J. Eby2006-03-301-0/+3
|
* Implementation for patch request #1457316: support --identity optionPhillip J. Eby2006-03-302-3/+25
| | | | for setup.py "upload" command.
* SF bug #1460340: random.sample can raise KeyErrorRaymond Hettinger2006-03-292-10/+14
| | | | Fix the hit and miss style of testing for sets and dicts.
* In format strings slinging Py_ssize_t, unconditionallyTim Peters2006-03-282-31/+15
| | | | | interpolate PY_FORMAT_SIZE_T instead of #if'ing on MS_WIN64.
* add the ctypes.test subpackage to a normal Unix installation --Armin Rigo2006-03-281-1/+2
| | | | otherwise, test/test_ctypes.py fails. What about ctypes.macholib?
* fix a comment.Armin Rigo2006-03-281-1/+1
|
* Revert r43399.Georg Brandl2006-03-284-31/+25
|
* answer a question from a commentArmin Rigo2006-03-281-3/+3
|
* Move product_codes in their own file.Martin v. Löwis2006-03-282-34/+34
|
* document sys.maxint in std objectsGeorg Brandl2006-03-281-4/+6
|
* Bug #1459103: add inter-section links for strftime section.Georg Brandl2006-03-281-5/+6
|
* Bug #1459963: urllib2 now normalizes HTTP header names correctlyGeorg Brandl2006-03-284-25/+31
| | | | with title().
* Make the tests succeed with -Qnew: Do not rely on the exact wording of a ↵Thomas Heller2006-03-281-6/+4
| | | | ZeroDivisionError.
* Make uu use floor division instead of classic division.Georg Brandl2006-03-281-1/+1
| | | | This was discovered by test_email failing with -Qnew.
* Make test_augassign pass with -Qnew and convert to unittest.Georg Brandl2006-03-282-310/+325
|
* Make xdrlib use floor division instead of classic division.Georg Brandl2006-03-281-2/+2
| | | | Makes test_xdrlib pass.
* Make test_coercion pass with -Qnew. Converted to unittest on the occasion.Georg Brandl2006-03-282-1136/+242
|
* In true regression-test spirit, make sure theThomas Wouters2006-03-281-0/+29
| | | | | | | | 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.
* Add an example of a generator->freevar->cell->generator reference-cycle thatThomas Wouters2006-03-281-0/+11
| | | | doesn't get cleaned up and thus leaks.
* Make test_decimal work with -Qnew.Georg Brandl2006-03-281-10/+16
|
* Correct case in test for Windows 9X.Martin v. Löwis2006-03-281-1/+1
|
* Part of bug 1459808: fiddle test_input_and_raw_input()Tim Peters2006-03-281-2/+10
| | | | so it passes w/ -Qnew.
* Part of bug 1459808: fiddle so that this passesTim Peters2006-03-281-12/+12
| | | | with or without -Qnew.
* Try to get rid of a Coverity warning by consistently using origpending.Neal Norwitz2006-03-281-1/+1
|
* Add version added info for with statement and context managersNeal Norwitz2006-03-283-0/+6
|
* Document objects that can be used with the ``with`` statement.Phillip J. Eby2006-03-284-2/+94
|
* Fix some missing importsPhillip J. Eby2006-03-281-0/+2
|