Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get gcc to do strict IEEE math. This flag was already used for cc, just not | Neal Norwitz | 2006-03-31 | 2 | -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 which | Fred Drake | 2006-03-31 | 1 | -1/+18 |
| | | | | caused detection of the error) | ||||
* | fix sectioning: cannot skip section levels | Fred Drake | 2006-03-31 | 1 | -2/+2 |
| | |||||
* | test_main(): Restore the decimal context that was in | Tim Peters | 2006-03-31 | 1 | -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 Peters | 2006-03-31 | 1 | -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. This | Barry Warsaw | 2006-03-30 | 4 | -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 Rossum | 2006-03-30 | 1 | -1/+1 |
| | |||||
* | Add '-Wno-deprecated-warnings' to the compile flags for the Carbon extensions | Ronald Oussoren | 2006-03-30 | 1 | -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 Heller | 2006-03-30 | 1 | -1/+1 |
| | |||||
* | Oops - this should not have gone in. | Thomas Heller | 2006-03-30 | 1 | -1/+0 |
| | |||||
* | Output more info when the test fails. | Thomas Heller | 2006-03-30 | 1 | -1/+5 |
| | |||||
* | Minor bugs in the __index__ code (PEP 357), with tests. | Armin Rigo | 2006-03-30 | 3 | -129/+97 |
| | |||||
* | whitespace normalisation | Anthony Baxter | 2006-03-30 | 6 | -24/+23 |
| | |||||
* | That one was a mistake. | Georg Brandl | 2006-03-30 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary casts from type object initializers. | Georg Brandl | 2006-03-30 | 3 | -35/+35 |
| | |||||
* | Remove unnecessary casts in type object initializers. | Georg Brandl | 2006-03-30 | 20 | -271/+272 |
| | |||||
* | Try to build _ctypes on x86 openbsd. | Thomas Heller | 2006-03-30 | 2 | -0/+2 |
| | |||||
* | Checking in the test for PEP 357. | Armin Rigo | 2006-03-30 | 1 | -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 Baxter | 2006-03-30 | 1 | -0/+16 |
| | |||||
* | Fixed bug #1459029 - unicode reprs were double-escaped. | Anthony Baxter | 2006-03-30 | 2 | -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. Eby | 2006-03-30 | 1 | -0/+2 |
| | |||||
* | fill in refcount information for APIs first documented in Python 2.5 | Fred Drake | 2006-03-30 | 1 | -0/+9 |
| | |||||
* | merge revision 43437 from the release24-maint branch: | Fred Drake | 2006-03-30 | 2 | -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 --identity | Phillip J. Eby | 2006-03-30 | 1 | -0/+3 |
| | |||||
* | Implementation for patch request #1457316: support --identity option | Phillip J. Eby | 2006-03-30 | 2 | -3/+25 |
| | | | | for setup.py "upload" command. | ||||
* | SF bug #1460340: random.sample can raise KeyError | Raymond Hettinger | 2006-03-29 | 2 | -10/+14 |
| | | | | Fix the hit and miss style of testing for sets and dicts. | ||||
* | In format strings slinging Py_ssize_t, unconditionally | Tim Peters | 2006-03-28 | 2 | -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 Rigo | 2006-03-28 | 1 | -1/+2 |
| | | | | otherwise, test/test_ctypes.py fails. What about ctypes.macholib? | ||||
* | fix a comment. | Armin Rigo | 2006-03-28 | 1 | -1/+1 |
| | |||||
* | Revert r43399. | Georg Brandl | 2006-03-28 | 4 | -31/+25 |
| | |||||
* | answer a question from a comment | Armin Rigo | 2006-03-28 | 1 | -3/+3 |
| | |||||
* | Move product_codes in their own file. | Martin v. Löwis | 2006-03-28 | 2 | -34/+34 |
| | |||||
* | document sys.maxint in std objects | Georg Brandl | 2006-03-28 | 1 | -4/+6 |
| | |||||
* | Bug #1459103: add inter-section links for strftime section. | Georg Brandl | 2006-03-28 | 1 | -5/+6 |
| | |||||
* | Bug #1459963: urllib2 now normalizes HTTP header names correctly | Georg Brandl | 2006-03-28 | 4 | -25/+31 |
| | | | | with title(). | ||||
* | Make the tests succeed with -Qnew: Do not rely on the exact wording of a ↵ | Thomas Heller | 2006-03-28 | 1 | -6/+4 |
| | | | | ZeroDivisionError. | ||||
* | Make uu use floor division instead of classic division. | Georg Brandl | 2006-03-28 | 1 | -1/+1 |
| | | | | This was discovered by test_email failing with -Qnew. | ||||
* | Make test_augassign pass with -Qnew and convert to unittest. | Georg Brandl | 2006-03-28 | 2 | -310/+325 |
| | |||||
* | Make xdrlib use floor division instead of classic division. | Georg Brandl | 2006-03-28 | 1 | -2/+2 |
| | | | | Makes test_xdrlib pass. | ||||
* | Make test_coercion pass with -Qnew. Converted to unittest on the occasion. | Georg Brandl | 2006-03-28 | 2 | -1136/+242 |
| | |||||
* | In true regression-test spirit, make sure the | Thomas Wouters | 2006-03-28 | 1 | -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 that | Thomas Wouters | 2006-03-28 | 1 | -0/+11 |
| | | | | doesn't get cleaned up and thus leaks. | ||||
* | Make test_decimal work with -Qnew. | Georg Brandl | 2006-03-28 | 1 | -10/+16 |
| | |||||
* | Correct case in test for Windows 9X. | Martin v. Löwis | 2006-03-28 | 1 | -1/+1 |
| | |||||
* | Part of bug 1459808: fiddle test_input_and_raw_input() | Tim Peters | 2006-03-28 | 1 | -2/+10 |
| | | | | so it passes w/ -Qnew. | ||||
* | Part of bug 1459808: fiddle so that this passes | Tim Peters | 2006-03-28 | 1 | -12/+12 |
| | | | | with or without -Qnew. | ||||
* | Try to get rid of a Coverity warning by consistently using origpending. | Neal Norwitz | 2006-03-28 | 1 | -1/+1 |
| | |||||
* | Add version added info for with statement and context managers | Neal Norwitz | 2006-03-28 | 3 | -0/+6 |
| | |||||
* | Document objects that can be used with the ``with`` statement. | Phillip J. Eby | 2006-03-28 | 4 | -2/+94 |
| | |||||
* | Fix some missing imports | Phillip J. Eby | 2006-03-28 | 1 | -0/+2 |
| |