summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1560617: in pyclbr, return full module name not only for classes,Georg Brandl2006-09-302-1/+4
| | | | but also for functions.
* Bug #1457823: cgi.(Sv)FormContentDict's constructor now takesGeorg Brandl2006-09-301-2/+4
| | | | keep_blank_values and strict_parsing keyword arguments.
* Bug #1566602: correct failure of posixpath unittest when $HOME endsGeorg Brandl2006-09-301-2/+1
| | | | with a slash.
* Bug #1566800: make sure that EnvironmentError can be called with anyGeorg Brandl2006-09-301-3/+8
| | | | number of arguments, as was the case in Python 2.4.
* Patch #1567691: super() and new.instancemethod() now don't acceptGeorg Brandl2006-09-302-0/+15
| | | | | keyword arguments any more (previously they accepted them, but didn't use them).
* Bug #1565661: in webbrowser, split() the command for the defaultGeorg Brandl2006-09-301-1/+1
| | | | GNOME browser in case it is a command with args.
* Make the error message for when the time data and format do not match clearer.Brett Cannon2006-09-261-1/+1
|
* Another crasher.Armin Rigo2006-09-251-0/+36
|
* Fix a bug in traceback.format_exception_only() that led to an errorGeorg Brandl2006-09-242-1/+5
| | | | | being raised when print_exc() was called without an exception set. In version 2.4, this printed "None", restored that behavior.
* Fix a bug in the parser's future statement handling that led to "with"Georg Brandl2006-09-241-0/+21
| | | | | not being recognized as a keyword after, e.g., this statement: from __future__ import division, with_statement
* Fix webbrowser.BackgroundBrowser on Windows.Georg Brandl2006-09-241-5/+11
|
* Make output on test_strptime() be more verbose in face of failure. This is inBrett Cannon2006-09-231-3/+7
| | | | hopes that more information will help debug the failing test on HPPA Ubuntu.
* Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).Neal Norwitz2006-09-221-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_tJack Diederich2006-09-211-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 commentNeal Norwitz2006-09-111-0/+16
|
* Forward port of 51850 from release25-maint branch.Neal Norwitz2006-09-113-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 calledBrett Cannon2006-09-092-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 instancesThomas Heller2006-09-071-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 Heller2006-09-071-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 Coghlan2006-09-072-2/+28
| | | | getmodule(). Patch #1553314
* Fixed subprocess bug #1531862 again, after removing testsGustavo Niemeyer2006-09-072-8/+10
| | | | offending buildbot
* Fix missing import of the types module in logging.config.Georg Brandl2006-09-061-1/+1
|
* Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl2006-09-061-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 Norwitz2006-09-063-7/+7
|
* Revert 51758 because it broke all the buildbotsNeal Norwitz2006-09-062-46/+8
|
* Fixing #1531862: Do not close standard file descriptors in theGustavo Niemeyer2006-09-062-8/+46
| | | | subprocess module.
* [Bug #1526834] Fix crash in pdb when you do 'b f(';Andrew M. Kuchling2006-09-051-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. Kuchling2006-09-051-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 Chang2006-09-052-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 andNeal Norwitz2006-09-051-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 Norwitz2006-09-052-2/+2
|
* This was found by Guido AFAIK on p3yk (sic) branch.Neal Norwitz2006-09-051-1/+1
|
* Fix SF bug #1546288, crash in dict_equal.Neal Norwitz2006-09-051-1/+9
|
* Add missing svn:eol-style property to text files.Tim Peters2006-09-051-77/+77
|
* Whitespace normalization.Tim Peters2006-09-051-78/+77
|
* Fix endcase for str.rpartition()Raymond Hettinger2006-09-041-1/+1
|
* Hmm, this test has failed at least twice recently on the OpenBSD andNeal Norwitz2006-09-021-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 commentNeal Norwitz2006-09-021-1/+1
|
* Make decimal.ContextManager a private implementation detail of ↵Nick Coghlan2006-09-022-37/+7
| | | | decimal.localcontext()
* Bug #1550714: fix SystemError from itertools.tee on negative value for n.Neal Norwitz2006-09-021-0/+1
| | | | Needs backport to 2.5.1 and earlier.
* Remove the old decimal context management tests from test_contextlib (guess ↵Nick Coghlan2006-08-311-26/+0
| | | | who didn't run the test suite before committing...)
* Fix the wrongheaded implementation of context management in the decimal ↵Nick Coghlan2006-08-312-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 Norwitz2006-08-291-2/+2
|
* - Move functions common to all path modules into genericpath.py and have theJack Diederich2006-08-266-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 trailingTim Peters2006-08-251-2/+3
| | | | whitespace in expected output. Stop that.
* Whitespace normalization.Tim Peters2006-08-252-4/+4
|
* The regular expression engine in '_sre' can segfault when interpretingArmin Rigo2006-08-251-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 Heller2006-08-252-1/+4
|
* importing types is not necessary if we use isinstanceNeal Norwitz2006-08-251-2/+2
|
* Fix SF bug #1545837: array.array borks on deepcopy.Thomas Wouters2006-08-241-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.)