Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | M-x untabify | Neal Norwitz | 2006-09-05 | 1 | -821/+821 | |
| | ||||||
* | Add a comment about some refactoring. (There's probably more that should be ↵ | Neal Norwitz | 2006-09-05 | 1 | -6/+5 | |
| | | | | done.) I will reformat this file in the next checkin due to the inconsistent tabs/spaces. | |||||
* | Bug #1520864 (again): unpacking singleton tuples in list comprehensions and | Neal Norwitz | 2006-09-05 | 4 | -5/+23 | |
| | | | | | | | | | | | | | generator expressions (x for x, in ... ) works again. Sigh, I only fixed for loops the first time, not list comps and genexprs too. I couldn't find any more unpacking cases where there is a similar bug lurking. This code should be refactored to eliminate the duplication. I'm sure the listcomp/genexpr code can be refactored. I'm not sure if the for loop can re-use any of the same code though. Will backport to 2.5 (the only place it matters). | |||||
* | Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34]. | Neal Norwitz | 2006-09-05 | 5 | -4/+6 | |
| | ||||||
* | Add a NEWS entry for str.rpartition() change | Neal Norwitz | 2006-09-05 | 1 | -0/+3 | |
| | ||||||
* | This was found by Guido AFAIK on p3yk (sic) branch. | Neal Norwitz | 2006-09-05 | 2 | -1/+4 | |
| | ||||||
* | Fix SF #1552093, eval docstring typo (3 ps in mapping) | Neal Norwitz | 2006-09-05 | 1 | -1/+1 | |
| | ||||||
* | Fix SF bug #1546288, crash in dict_equal. | Neal Norwitz | 2006-09-05 | 3 | -2/+15 | |
| | ||||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-09-05 | 1 | -77/+77 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2006-09-05 | 1 | -78/+77 | |
| | ||||||
* | "Conceptual" merge of rev 51711 from the 2.5 branch. | Tim Peters | 2006-09-05 | 2 | -3/+6 | |
| | | | | | | | | | | | | i_divmod(): As discussed on Python-Dev, changed the overflow checking to live happily with recent gcc optimizations that assume signed integer arithmetic never overflows. This differs from the corresponding change on the 2.5 and 2.4 branches, using a less obscure approach, but one that /may/ tickle platform idiocies in their definitions of LONG_MIN. The 2.4 + 2.5 change avoided introducing a dependence on LONG_MIN, at the cost of substantially goofier code. | |||||
* | Fix endcase for str.rpartition() | Raymond Hettinger | 2006-09-04 | 5 | -11/+11 | |
| | ||||||
* | NEWS entry on trunk for decimal module changes | Nick Coghlan | 2006-09-03 | 1 | -2/+5 | |
| | ||||||
* | Typo fix for decimal docs | Nick Coghlan | 2006-09-03 | 1 | -1/+1 | |
| | ||||||
* | Fix final documentation nits before backporting decimal module fixes to 2.5 | Nick Coghlan | 2006-09-03 | 2 | -6/+7 | |
| | ||||||
* | Hmm, this test has failed at least twice recently on the OpenBSD and | Neal Norwitz | 2006-09-02 | 1 | -1/+12 | |
| | | | | | | | Debian sparc buildbots. Since this goes through a lot of tests and hits the disk a lot it could be slow (especially if NFS is involved). I'm not sure if that's the problem, but printing periodic msgs shouldn't hurt. The code was stolen from test_compiler. | |||||
* | Add missing word in comment | Neal Norwitz | 2006-09-02 | 1 | -1/+1 | |
| | ||||||
* | Fix documentation nits for decimal context managers. | Raymond Hettinger | 2006-09-02 | 2 | -16/+11 | |
| | ||||||
* | Further corrections to the decimal module context management documentation | Nick Coghlan | 2006-09-02 | 1 | -14/+11 | |
| | ||||||
* | Make decimal.ContextManager a private implementation detail of ↵ | Nick Coghlan | 2006-09-02 | 2 | -37/+7 | |
| | | | | decimal.localcontext() | |||||
* | Bug #1550714: fix SystemError from itertools.tee on negative value for n. | Neal Norwitz | 2006-09-02 | 3 | -2/+9 | |
| | | | | Needs backport to 2.5.1 and earlier. | |||||
* | Bug #1548092: fix curses.tparm seg fault on invalid input. Needs backport ↵ | Neal Norwitz | 2006-09-02 | 2 | -0/+6 | |
| | | | | to 2.5.1 and earlier. | |||||
* | SF #1547931, fix typo (missing and). Will backport to 2.5 | Neal Norwitz | 2006-09-02 | 1 | -1/+1 | |
| | ||||||
* | evalfile() should be execfile(). | Georg Brandl | 2006-09-01 | 1 | -1/+1 | |
| | ||||||
* | - SF patch #1550263: Enhance and correct unittest docs | Fred Drake | 2006-09-01 | 1 | -32/+70 | |
| | | | | - various minor cleanups for improved consistency | |||||
* | Have pre-existing C files use 8 spaces indents (to match old PEP 7 style), but | Brett Cannon | 2006-08-31 | 1 | -2/+3 | |
| | | | | have all new files use 4 spaces (to match current PEP 7 style). | |||||
* | Fix comment about indentation level in C files. | Brett Cannon | 2006-08-31 | 1 | -1/+1 | |
| | ||||||
* | Make sure memory is properly cleaned up in file_init. | Brett Cannon | 2006-08-31 | 1 | -1/+1 | |
| | | | | Backport candidate. | |||||
* | Remove the old decimal context management tests from test_contextlib (guess ↵ | Nick Coghlan | 2006-08-31 | 1 | -26/+0 | |
| | | | | who didn't run the test suite before committing...) | |||||
* | Fix the wrongheaded implementation of context management in the decimal ↵ | Nick Coghlan | 2006-08-31 | 3 | -25/+122 | |
| | | | | module and add unit tests. (python-dev discussion is ongoing regarding what we do about Python 2.5) | |||||
* | Doc fix: hashlib objects don't always return a digest of 16 bytes. | Armin Rigo | 2006-08-31 | 1 | -2/+2 | |
| | | | | Backport candidate for 2.5. | |||||
* | Fix a buglet in the error reporting (SF bug report #1546372). | Marc-André Lemburg | 2006-08-29 | 1 | -2/+7 | |
| | | | | This should probably go into Python 2.5 or 2.5.1 as well. | |||||
* | Fix a couple of typos. | Neal Norwitz | 2006-08-29 | 1 | -2/+2 | |
| | ||||||
* | - Move functions common to all path modules into genericpath.py and have the | Jack Diederich | 2006-08-26 | 6 | -476/+273 | |
| | | | | | OS speicifc path modules import them. - Have os2emxpath import common functions fron ntpath instead of using copies | |||||
* | A new test here relied on preserving invisible trailing | Tim Peters | 2006-08-25 | 1 | -2/+3 | |
| | | | | whitespace in expected output. Stop that. | |||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-08-25 | 0 | -0/+0 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2006-08-25 | 3 | -5/+5 | |
| | ||||||
* | The regular expression engine in '_sre' can segfault when interpreting | Armin Rigo | 2006-08-25 | 1 | -0/+47 | |
| | | | | | bogus bytecode. It is unclear whether this is a real bug or a "won't fix" case like bogus_code_obj.py. | |||||
* | Build _ctypes.pyd for win AMD64 into the MSVC project file. | Thomas Heller | 2006-08-25 | 2 | -1/+54 | |
| | | | | | | Since MSVC doesn't know about .asm files, a helper batch file is needed to find ml64.exe in predefined locations. The helper script hardcodes the path to the MS Platform SDK. | |||||
* | Add missing file for _ctypes.pyd port to win64 on AMD64. | Thomas Heller | 2006-08-25 | 1 | -0/+156 | |
| | ||||||
* | Port _ctypes.pyd to win64 on AMD64. | Thomas Heller | 2006-08-25 | 10 | -43/+173 | |
| | ||||||
* | importing types is not necessary if we use isinstance | Neal Norwitz | 2006-08-25 | 1 | -2/+2 | |
| | ||||||
* | Patch #1545507: Exclude ctypes package in Win64 MSI file. | Martin v. Löwis | 2006-08-25 | 1 | -0/+8 | |
| | | | | Will backport to 2.5. | |||||
* | Fix SF bug #1545837: array.array borks on deepcopy. | Thomas Wouters | 2006-08-24 | 3 | -1/+9 | |
| | | | | | array.__deepcopy__() needs to take an argument, even if it doesn't actually use it. Will backport to 2.5 and 2.4 (if applicable.) | |||||
* | Reverting the patch that tried to fix the issue whereby x**2 raises | Alex Martelli | 2006-08-23 | 2 | -17/+4 | |
| | | | | | | | OverflowError while x*x succeeds and produces infinity; apparently these inconsistencies cannot be fixed across ``all'' platforms and there's a widespread feeling that therefore ``every'' platform should keep suffering forevermore. Ah well. | |||||
* | Replace dead code with an assert. | Jeremy Hylton | 2006-08-23 | 1 | -4/+1 | |
| | | | | | Now that COMMENT tokens are reliably followed by NL or NEWLINE, there is never a need to add extra newlines in untokenize. | |||||
* | Bug fixes large and small for tokenize. | Jeremy Hylton | 2006-08-23 | 3 | -66/+193 | |
| | | | | | | | | | | | | | | | | | | | | Small: Always generate a NL or NEWLINE token following a COMMENT token. The old code did not generate an NL token if the comment was on a line by itself. Large: The output of untokenize() will now match the input exactly if it is passed the full token sequence. The old, crufty output is still generated if a limited input sequence is provided, where limited means that it does not include position information for tokens. Remaining bug: There is no CONTINUATION token (\) so there is no way for untokenize() to handle such code. Also, expanded the number of doctests in hopes of eventually removing the old-style tests that compare against a golden file. Bug fix candidate for Python 2.5.1. (Sigh.) | |||||
* | x**2 should about equal x*x (including for a float x such that the result is | Alex Martelli | 2006-08-23 | 2 | -4/+17 | |
| | | | | | | inf) but didn't; added a test to test_float to verify that, and ignored the ERANGE value for errno in the pow operation to make the new test pass (with help from Marilyn Davis at the Google Python Sprint -- thanks!). | |||||
* | Baby steps towards better tests for tokenize | Jeremy Hylton | 2006-08-23 | 1 | -3/+46 | |
| | ||||||
* | Move functional howto into trunk | Andrew M. Kuchling | 2006-08-22 | 1 | -0/+1279 | |
| |