summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a "crasher" taken from the sgml bug report referenced in the commentNeal Norwitz2006-09-111-0/+16
|
* Properly handle a NULL returned from PyArena_New().Neal Norwitz2006-09-111-2/+4
| | | | | | (Also fix some whitespace) Klocwork #364.
* Forward port of 51850 from release25-maint branch.Neal Norwitz2006-09-114-25/+236
| | | | | | | 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-093-19/+10
| | | | | | | on exception classes. Would require introducing a tp_unicode slot to make it work otherwise. Fixes bug #1551432 and will be backported.
* Fix typo in exampleAndrew M. Kuchling2006-09-081-1/+1
|
* Use native SQLite typesAndrew M. Kuchling2006-09-081-2/+2
|
* Use native SQLite typesAndrew M. Kuchling2006-09-081-2/+2
|
* Explain SQLite a bit more clearlyAndrew M. Kuchling2006-09-081-6/+8
|
* Explain SQLite a bit more clearlyAndrew M. Kuchling2006-09-081-6/+8
|
* Add missing wordAndrew M. Kuchling2006-09-081-1/+1
|
* Add missing NEWS entry for rev 51803Nick Coghlan2006-09-081-0/+3
|
* The cast function did not accept c_char_p or c_wchar_p instancesThomas Heller2006-09-072-2/+18
| | | | | 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-072-2/+11
| | | | | | | and they gave a strange error message from PyArg_ParseTuple: function takes exactly 2 arguments (3 given). With tests.
* Add a warning notice on top of the generated grammar.txt.Armin Rigo2006-09-071-0/+6
|
* [Bug #1552726] Avoid repeatedly polling in interactive mode -- only put a ↵Andrew M. Kuchling2006-09-071-1/+7
| | | | | | | | | | | timeout on the select() if an input hook has been defined. Patch by Richard Boulton. This select() code is only executed with readline 2.1, or if READLINE_CALLBACKS is defined. Backport candidate for 2.5, 2.4, probably earlier versions too.
* Typo fixAndrew M. Kuchling2006-09-071-1/+1
|
* Fix a glaring error and update some version numbers.Ronald Oussoren2006-09-071-12/+8
|
* Fix the speed regression in inspect.py by adding another cache to speed up ↵Nick Coghlan2006-09-072-2/+28
| | | | getmodule(). Patch #1553314
* Fix refcounts and add error checks.Raymond Hettinger2006-09-071-8/+35
|
* Fixed subprocess bug #1531862 again, after removing testsGustavo Niemeyer2006-09-073-8/+12
| | | | offending buildbot
* Add news item for bug fix of SF bug report #1546372.Marc-André Lemburg2006-09-061-0/+7
|
* Fix missing import of the types module in logging.config.Georg Brandl2006-09-062-1/+7
|
* Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl2006-09-062-28/+21
| | | | | 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-0611-35/+35
|
* Bug #1550983: emit better error messages for erroneous relativeGeorg Brandl2006-09-062-2/+6
| | | | imports (if not in package and if beyond toplevel package).
* Bug #1551427: fix a wrong NULL pointer check in the win32 versionGeorg Brandl2006-09-062-1/+4
| | | | of os.urandom().
* Revert 51758 because it broke all the buildbotsNeal Norwitz2006-09-063-48/+8
|
* Fixing #1531862: Do not close standard file descriptors in theGustavo Niemeyer2006-09-063-8/+48
| | | | subprocess module.
* Update the PCBuild8 solution.Kristján Valur Jónsson2006-09-0519-1820/+1766
| | | | | | | | Facilitate cross-compilation by having binaries in separate Win32 and x64 directories. Rationalized configs by making proper use of platforms/configurations. Remove pythoncore_pgo project. Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation. Removed I64 support, but this can be easily added by copying the x64 platform settings.
* [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
* Rearrange example a bit, and show rpartition() when separator is not foundAndrew M. Kuchling2006-09-051-2/+4
|
* Bug #1552618: change docs of dict.has_key() to reflect recommendationGeorg Brandl2006-09-051-5/+5
| | | | to use "in".
* Fix a typo: 2013 -> 0213Hye-Shik Chang2006-09-051-1/+1
|
* Fix a few bugs on cjkcodecs found by Oren Tirosh:Hye-Shik Chang2006-09-056-28/+53
| | | | | | | | - 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.
* M-x untabifyNeal Norwitz2006-09-051-821/+821
|
* Add a comment about some refactoring. (There's probably more that should be ↵Neal Norwitz2006-09-051-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 andNeal Norwitz2006-09-054-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 Norwitz2006-09-055-4/+6
|
* Add a NEWS entry for str.rpartition() changeNeal Norwitz2006-09-051-0/+3
|
* This was found by Guido AFAIK on p3yk (sic) branch.Neal Norwitz2006-09-052-1/+4
|
* Fix SF #1552093, eval docstring typo (3 ps in mapping)Neal Norwitz2006-09-051-1/+1
|
* Fix SF bug #1546288, crash in dict_equal.Neal Norwitz2006-09-053-2/+15
|
* Add missing svn:eol-style property to text files.Tim Peters2006-09-051-77/+77
|
* Whitespace normalization.Tim Peters2006-09-051-78/+77
|
* "Conceptual" merge of rev 51711 from the 2.5 branch.Tim Peters2006-09-052-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 Hettinger2006-09-045-11/+11
|
* NEWS entry on trunk for decimal module changesNick Coghlan2006-09-031-2/+5
|
* Typo fix for decimal docsNick Coghlan2006-09-031-1/+1
|
* Fix final documentation nits before backporting decimal module fixes to 2.5Nick Coghlan2006-09-032-6/+7
|