Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)). | Neal Norwitz | 2006-09-22 | 1 | -0/+91 |
| | | | | | | | These tests should be improved. Hopefully this fixes variations when flipping back and forth between fpdef and fplist. Backport candidate. | ||||
* | * regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t | Jack Diederich | 2006-09-21 | 1 | -0/+4 |
| | | | | | | which breaks negative counts * added test for negative numbers will backport to 2.5.1 | ||||
* | Add a "crasher" taken from the sgml bug report referenced in the comment | Neal Norwitz | 2006-09-11 | 1 | -0/+16 |
| | |||||
* | Forward port of 51850 from release25-maint branch. | Neal Norwitz | 2006-09-11 | 3 | -25/+234 |
| | | | | | | | As mentioned on python-dev, reverting patch #1504333 because it introduced an infinite loop in rev 47154. This patch also adds a test to prevent the regression. | ||||
* | Remove the __unicode__ method from exceptions. Allows unicode() to be called | Brett Cannon | 2006-09-09 | 2 | -2/+10 |
| | | | | | | | on exception classes. Would require introducing a tp_unicode slot to make it work otherwise. Fixes bug #1551432 and will be backported. | ||||
* | The cast function did not accept c_char_p or c_wchar_p instances | Thomas Heller | 2006-09-07 | 1 | -0/+16 |
| | | | | | as first argument, and failed with a 'bad argument to internal function' error message. | ||||
* | Anonymous structure fields that have a bit-width specified did not work, | Thomas Heller | 2006-09-07 | 1 | -0/+9 |
| | | | | | | | and they gave a strange error message from PyArg_ParseTuple: function takes exactly 2 arguments (3 given). With tests. | ||||
* | Fix the speed regression in inspect.py by adding another cache to speed up ↵ | Nick Coghlan | 2006-09-07 | 2 | -2/+28 |
| | | | | getmodule(). Patch #1553314 | ||||
* | Fixed subprocess bug #1531862 again, after removing tests | Gustavo Niemeyer | 2006-09-07 | 2 | -8/+10 |
| | | | | offending buildbot | ||||
* | Fix missing import of the types module in logging.config. | Georg Brandl | 2006-09-06 | 1 | -1/+1 |
| | |||||
* | Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack. | Georg Brandl | 2006-09-06 | 1 | -26/+13 |
| | | | | | Also make sure that every exception class has __module__ set to 'exceptions'. | ||||
* | with and as are now keywords. There are some generated files I can't recreate. | Neal Norwitz | 2006-09-06 | 3 | -7/+7 |
| | |||||
* | Revert 51758 because it broke all the buildbots | Neal Norwitz | 2006-09-06 | 2 | -46/+8 |
| | |||||
* | Fixing #1531862: Do not close standard file descriptors in the | Gustavo Niemeyer | 2006-09-06 | 2 | -8/+46 |
| | | | | subprocess module. | ||||
* | [Bug #1526834] Fix crash in pdb when you do 'b f('; | Andrew M. Kuchling | 2006-09-05 | 1 | -1/+1 |
| | | | | | the function name was placed into a regex pattern and the unbalanced paren caused re.compile() to report an error | ||||
* | [Bug #1525469] SimpleXMLRPCServer still uses the sys.exc_{value,type} ↵ | Andrew M. Kuchling | 2006-09-05 | 1 | -2/+4 |
| | | | | module-level globals instead of calling sys.exc_info(). Reported by Russell Warren | ||||
* | Fix a few bugs on cjkcodecs found by Oren Tirosh: | Hye-Shik Chang | 2006-09-05 | 2 | -0/+8 |
| | | | | | | | | - gbk and gb18030 codec now handle U+30FB KATAKANA MIDDLE DOT correctly. - iso2022_jp_2 codec now encodes into G0 for KS X 1001, GB2312 codepoints to conform the standard. - iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 2013:2 codepoints now. | ||||
* | Bug #1520864 (again): unpacking singleton tuples in list comprehensions and | Neal Norwitz | 2006-09-05 | 1 | -0/+4 |
| | | | | | | | | | | | | | 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 | 2 | -2/+2 |
| | |||||
* | This was found by Guido AFAIK on p3yk (sic) branch. | Neal Norwitz | 2006-09-05 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #1546288, crash in dict_equal. | Neal Norwitz | 2006-09-05 | 1 | -1/+9 |
| | |||||
* | 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 |
| | |||||
* | Fix endcase for str.rpartition() | Raymond Hettinger | 2006-09-04 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+1 |
| | | | | Needs backport to 2.5.1 and earlier. | ||||
* | 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 | 2 | -15/+104 |
| | | | | module and add unit tests. (python-dev discussion is ongoing regarding what we do about Python 2.5) | ||||
* | 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. | ||||
* | Whitespace normalization. | Tim Peters | 2006-08-25 | 2 | -4/+4 |
| | |||||
* | 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. | ||||
* | Port _ctypes.pyd to win64 on AMD64. | Thomas Heller | 2006-08-25 | 2 | -1/+4 |
| | |||||
* | importing types is not necessary if we use isinstance | Neal Norwitz | 2006-08-25 | 1 | -2/+2 |
| | |||||
* | Fix SF bug #1545837: array.array borks on deepcopy. | Thomas Wouters | 2006-08-24 | 1 | -0/+7 |
| | | | | | 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 | 1 | -14/+1 |
| | | | | | | | 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 | 1 | -1/+14 |
| | | | | | | 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 |
| | |||||
* | Expose column offset information in parse trees. | Jeremy Hylton | 2006-08-22 | 1 | -0/+38 |
| | |||||
* | Patch #1541585: fix buffer overrun when performing repr() on | Neal Norwitz | 2006-08-21 | 1 | -0/+4 |
| | | | | | | a unicode string in a build with wide unicode (UCS-4) support. This code could be improved, so add an XXX comment. | ||||
* | Patch #1542451: disallow continue anywhere under a finally | Neal Norwitz | 2006-08-21 | 1 | -0/+87 |
| | | | | | | I'm undecided if this should be backported to 2.5 or 2.5.1. Armin suggested to wait (I'm of the same opinion). Thomas W thinks it's fine to go in 2.5. | ||||
* | Fix bug #1543303, tarfile adds padding that breaks gunzip. | Neal Norwitz | 2006-08-21 | 2 | -3/+21 |
| | | | | | | Patch # 1543897. Will backport to 2.5 | ||||
* | Patch #1542948: fix urllib2 header casing issue. With new test. | Georg Brandl | 2006-08-20 | 2 | -20/+85 |
| | |||||
* | Updating IDLE's version number to match Python's (as per python-dev | Anthony Baxter | 2006-08-18 | 2 | -1/+10 |
| | | | | discussion). | ||||
* | Bug #1541863: uuid.uuid1 failed to generate unique identifiers | Martin v. Löwis | 2006-08-18 | 2 | -3/+3 |
| | | | | on systems with low clock resolution. |