Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle NULL nodes while parsing. I'm not entirely sure this is correct. | Neal Norwitz | 2006-08-12 | 1 | -0/+6 |
| | | | | | | There might be something else that needs to be done to setup the error. Klocwork #295. | ||||
* | This code is actually not used unless WITHOUT_COMPLEX is defined. | Neal Norwitz | 2006-08-12 | 1 | -0/+8 |
| | | | | | | | | However, there was no error checking that PyFloat_FromDouble returned a valid pointer. I believe this change is correct as it seemed to follow other code in the area. Klocwork # 292. | ||||
* | It's highly unlikely, though possible for PyEval_Get*() to return NULLs. | Neal Norwitz | 2006-08-12 | 1 | -2/+2 |
| | | | | | | So be safe and do an XINCREF. Klocwork # 221-222. | ||||
* | Even though _Py_Mangle() isn't truly public anyone can call it and | Neal Norwitz | 2006-08-12 | 1 | -2/+2 |
| | | | | | | | | | | there was no verification that privateobj was a PyString. If it wasn't a string, this could have allowed a NULL pointer to creep in below and crash. I wonder if this should be PyString_CheckExact? Must identifiers be strings or can they be subclasses? Klocwork #275 | ||||
* | Klocwork made another run and found a bunch more problems. | Neal Norwitz | 2006-08-12 | 8 | -3/+28 |
| | | | | | | | This is the first batch of fixes that should be easy to verify based on context. This fixes problem numbers: 220 (ast), 323-324 (symtable), 321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree). | ||||
* | When a ctypes C callback function is called, zero out the result | Thomas Heller | 2006-08-11 | 1 | -7/+17 |
| | | | | | | | | storage before converting the result to C data. See the comment in the code for details. Provide a better context for errors when the conversion of a callback function's result cannot be converted. | ||||
* | Add ignore of *.pyc and *.pyo to Lib/xml/etree/. | Thomas Wouters | 2006-08-11 | 0 | -0/+0 |
| | |||||
* | logging's atexit hook now runs even if the rest of the module has | Georg Brandl | 2006-08-11 | 2 | -2/+5 |
| | | | | already been cleaned up. | ||||
* | Add Chris McDonough (latest cgi.py patch) | Georg Brandl | 2006-08-11 | 1 | -0/+1 |
| | |||||
* | Fix the failures on cygwin (2006-08-10 fixed the actual locking issue). | Neal Norwitz | 2006-08-11 | 2 | -5/+10 |
| | | | | | | The first hunk changes the colon to an ! like other Windows variants. We need to always wait on the child so the lock gets released and no other tests fail. This is the try/finally in the second hunk. | ||||
* | force_test_exit(): This has been completely ineffective | Tim Peters | 2006-08-11 | 1 | -1/+5 |
| | | | | | | | at stopping test_signal from hanging forever on the Tru64 buildbot. That could be because there's no such thing as signal.SIGALARM. Changed to the idiotic (but standard) signal.SIGALRM instead, and added some more debug output. | ||||
* | test_PyThreadState_SetAsyncExc(): This is failing on some | Tim Peters | 2006-08-11 | 1 | -3/+4 |
| | | | | | | | | | | | 64-bit boxes. I have no idea what the ctypes docs mean by "integers", and blind-guessing here that it intended to mean the signed C "int" type, in which case perhaps I can repair this by feeding the thread id argument to type ctypes.c_long(). Also made the worker thread daemonic, so it doesn't hang Python shutdown if the test continues to fail. | ||||
* | Whitespace normalization broke test_cgi, because a line | Tim Peters | 2006-08-10 | 1 | -2/+2 |
| | | | | | | of quoted test data relied on preserving a single trailing blank. Changed the string from raw to regular, and forced in the trailing blank via an explicit \x20 escape. | ||||
* | Whitespace normalization. | Tim Peters | 2006-08-10 | 1 | -1/+1 |
| | |||||
* | Followup to bug #1069160. | Tim Peters | 2006-08-10 | 4 | -20/+113 |
| | | | | | | PyThreadState_SetAsyncExc(): internal correctness changes wrt refcount safety and deadlock avoidance. Also added a basic test case (relying on ctypes) and repaired the docs. | ||||
* | Update dangling references to the 3.2 database to | Martin v. Löwis | 2006-08-10 | 1 | -5/+5 |
| | | | | mention that this is UCD 4.1 now. | ||||
* | Fix title -- it's rc1, not beta3. | Guido van Rossum | 2006-08-10 | 1 | -2/+2 |
| | |||||
* | News item for SF bug 1112549. | Guido van Rossum | 2006-08-10 | 1 | -3/+5 |
| | |||||
* | Chris McDonough's patch to defend against certain DoS attacks on FieldStorage. | Guido van Rossum | 2006-08-10 | 3 | -5/+86 |
| | | | | SF bug #1112549. | ||||
* | Retrieval of previous shell command was not always preserving indentation | Kurt B. Kaiser | 2006-08-10 | 2 | -9/+18 |
| | | | | since 1.2a1) Patch 1528468 Tal Einat. | ||||
* | test_copytree_simple(): This was leaving behind two new temp | Tim Peters | 2006-08-10 | 1 | -16/+36 |
| | | | | | | | | | | | | | | directories each time it ran, at least on Windows. Several changes: explicitly closed all files; wrapped long lines; stopped suppressing errors when removing a file or directory fails (removing /shouldn't/ fail!); and changed what appeared to be incorrect usage of os.removedirs() (that doesn't remove empty directories at and /under/ the given path, instead it must be given an empty leaf directory and then deletes empty directories moving /up/ the path -- could be that the conceptually simpler shutil.rmtree() was really actually intended here). | ||||
* | Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1) | Kurt B. Kaiser | 2006-08-10 | 2 | -0/+5 |
| | |||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-08-10 | 0 | -0/+0 |
| | |||||
* | Add some commentary on -mimpure-text. | Martin v. Löwis | 2006-08-09 | 1 | -0/+8 |
| | |||||
* | ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1). | Kurt B. Kaiser | 2006-08-09 | 2 | -5/+7 |
| | |||||
* | Typo fix | Andrew M. Kuchling | 2006-08-09 | 1 | -1/+1 |
| | |||||
* | As a slight enhancement to the previous checkin, improve the | Kurt B. Kaiser | 2006-08-09 | 1 | -2/+5 |
| | | | | internal error reporting by moving message to IDLE console. | ||||
* | 1. When used w/o subprocess, all exceptions were preceeded by an error | Kurt B. Kaiser | 2006-08-09 | 3 | -4/+13 |
| | | | | | | | | | message claiming they were IDLE internal errors (since 1.2a1). 2. Add Ronald Oussoren to CREDITS M NEWS.txt M PyShell.py M CREDITS.txt | ||||
* | Concatenation on a long string breaks (SF #1526585). | Armin Rigo | 2006-08-09 | 4 | -5/+78 |
| | |||||
* | It's unlikely that future versions will require _POSIX_C_SOURCE | Ronald Oussoren | 2006-08-09 | 2 | -2/+2 |
| | |||||
* | Fix and test for an infinite C recursion. | Armin Rigo | 2006-08-09 | 2 | -1/+5 |
| | |||||
* | Reindent code | Andrew M. Kuchling | 2006-08-09 | 1 | -31/+33 |
| | |||||
* | Add missing 'self' parameters | Andrew M. Kuchling | 2006-08-09 | 1 | -3/+6 |
| | |||||
* | [Patch #1534027] Add notes on locale module changes | Andrew M. Kuchling | 2006-08-09 | 1 | -5/+34 |
| | |||||
* | [Bug #1536021] Mention __hash__ change | Andrew M. Kuchling | 2006-08-09 | 1 | -2/+10 |
| | |||||
* | __hash__ may now return long int; the final hash | Martin v. Löwis | 2006-08-09 | 5 | -6/+24 |
| | | | | | value is obtained by invoking hash on the long int. Fixes #1536021. | ||||
* | Introduce an upper bound on tuple nesting depth in | Georg Brandl | 2006-08-09 | 1 | -0/+3 |
| | | | | C argument format strings; fixes rest of #1523610. | ||||
* | Whitespace normalization. | Tim Peters | 2006-08-09 | 1 | -1/+1 |
| | |||||
* | ``str`` is now the same object as ``types.StringType``. | Georg Brandl | 2006-08-08 | 1 | -17/+24 |
| | |||||
* | Bug #1536660: separate two words. | Georg Brandl | 2006-08-08 | 1 | -1/+1 |
| | |||||
* | Bug #1536828: typo: TypeType should have been StringType. | Georg Brandl | 2006-08-08 | 1 | -1/+1 |
| | |||||
* | Bump version number | Andrew M. Kuchling | 2006-08-08 | 1 | -1/+1 |
| | |||||
* | 'Other changes' section now has only one item; move the item elsewhere and ↵ | Andrew M. Kuchling | 2006-08-08 | 1 | -22/+13 |
| | | | | remove the section | ||||
* | Move obmalloc item into C API section | Andrew M. Kuchling | 2006-08-08 | 1 | -29/+29 |
| | |||||
* | Reword paragraph to clarify | Andrew M. Kuchling | 2006-08-08 | 1 | -4/+5 |
| | |||||
* | Remove accidently committed, duplicated test. | Thomas Heller | 2006-08-08 | 1 | -2/+0 |
| | |||||
* | memcmp() can return values other than -1, 0, and +1 but tp_compare | Thomas Heller | 2006-08-08 | 3 | -1/+6 |
| | | | | must not. | ||||
* | Remove "non-mapping" and "non-sequence" from TypeErrors raised by | Georg Brandl | 2006-08-08 | 1 | -2/+2 |
| | | | | | | | PyMapping_Size and PySequence_Size. Because len() tries first sequence, then mapping size, it will always raise a "non-mapping object has no len" error which is confusing. | ||||
* | webbrowser: Silence stderr output if no gconftool or gnome browser found | Georg Brandl | 2006-08-08 | 1 | -2/+2 |
| | |||||
* | [Patch #1464056] Ensure that we use the panelw library when linking with ↵ | Andrew M. Kuchling | 2006-08-06 | 1 | -2/+6 |
| | | | | | | ncursesw. Once I see how the buildbots react, I'll backport this to 2.4. |