Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update code and tests to support the 'bytes_le' attribute (for | Ka-Ping Yee | 2006-08-16 | 2 | -53/+104 |
| | | | | | | | little-endian byte order on Windows), and to work around clocks with low resolution yielding duplicate UUIDs. Anthony Baxter has approved this change. | ||||
* | Patch #1540892: site.py Quitter() class attempts to close sys.stdin | Kurt B. Kaiser | 2006-08-16 | 5 | -11/+24 |
| | | | | | | | | | | before raising SystemExit, allowing IDLE to honor quit() and exit(). M Lib/site.py M Lib/idlelib/PyShell.py M Lib/idlelib/CREDITS.txt M Lib/idlelib/NEWS.txt M Misc/NEWS | ||||
* | preparing for 2.5c1 - no, really this time | Anthony Baxter | 2006-08-16 | 1 | -1/+1 |
| | |||||
* | preparing for 2.5c1 | Anthony Baxter | 2006-08-16 | 7 | -9/+9 |
| | |||||
* | The 'with' statement is now a Code Context block opener | Kurt B. Kaiser | 2006-08-16 | 2 | -1/+3 |
| | |||||
* | Check for NULL return value from new_CArgObject calls. | Thomas Heller | 2006-08-15 | 1 | -0/+6 |
| | |||||
* | Subclasses of int/long are allowed to define an __index__. | Neal Norwitz | 2006-08-15 | 2 | -12/+11 |
| | |||||
* | Update the docstring to use a version a little newer than 1999. This was | Neal Norwitz | 2006-08-15 | 1 | -3/+3 |
| | | | | taken from a Debian patch. Should we update the version for each release? | ||||
* | Fix the test for SocketServer so it should pass on cygwin and not fail | Neal Norwitz | 2006-08-15 | 2 | -0/+12 |
| | | | | | | | | sporadically on other platforms. This is really a band-aid that doesn't fix the underlying issue in SocketServer. It's not clear if it's worth it to fix SocketServer, however, I opened a bug to track it: http://python.org/sf/1540386 | ||||
* | Georg fixed one of my bugs, so I'll repay him with 2 NEWS entries. | Neal Norwitz | 2006-08-15 | 1 | -0/+4 |
| | | | | Now we're even. :-) | ||||
* | Whitespace normalization. | Tim Peters | 2006-08-15 | 2 | -3/+3 |
| | |||||
* | Patch #1511317: don't crash on invalid hostname info | Georg Brandl | 2006-08-14 | 1 | -11/+14 |
| | |||||
* | Cookie.py shouldn't "bogusly" use string._idmap. | Georg Brandl | 2006-08-14 | 2 | -3/+4 |
| | |||||
* | Patch #1536071: trace.py should now find the full module name of a | Georg Brandl | 2006-08-14 | 2 | -1/+6 |
| | | | | file correctly even on Windows. | ||||
* | Add an additional test: BZ2File write methods should raise IOError | Georg Brandl | 2006-08-14 | 1 | -0/+9 |
| | | | | when file is read-only. | ||||
* | Patch #1535500: fix segfault in BZ2File.writelines and make sure it | Georg Brandl | 2006-08-14 | 3 | -2/+22 |
| | | | | raises the correct exceptions. | ||||
* | Make tabnanny recognize IndentationErrors raised by tokenize. | Georg Brandl | 2006-08-14 | 4 | -1/+18 |
| | | | | | Add a test to test_inspect to make sure indented source is recognized correctly. (fixes #1224621) | ||||
* | Fix refleak introduced in rev. 51248. | Georg Brandl | 2006-08-14 | 1 | -1/+3 |
| | |||||
* | News item for rev 51281. | Thomas Heller | 2006-08-14 | 1 | -0/+3 |
| | |||||
* | Patch #1536908: Add support for AMD64 / OpenBSD. | Thomas Heller | 2006-08-14 | 3 | -3/+2 |
| | | | | | Remove the -no-stack-protector compiler flag for OpenBSD as it has been reported to be unneeded. | ||||
* | Correct an accidentally removed previous patch. | Marc-André Lemburg | 2006-08-14 | 1 | -5/+2 |
| | |||||
* | Improve markup in PyUnicode_RichCompare. | Georg Brandl | 2006-08-14 | 1 | -19/+14 |
| | |||||
* | Readd NEWS items that were accidentally removed by r51276. | Marc-André Lemburg | 2006-08-14 | 1 | -0/+13 |
| | |||||
* | Apply the patch #1532975 plus ideas from the patch #1533481. | Thomas Heller | 2006-08-14 | 8 | -182/+412 |
| | | | | | | | | | | | | | | ctypes instances no longer have the internal and undocumented '_as_parameter_' attribute which was used to adapt them to foreign function calls; this mechanism is replaced by a function pointer in the type's stgdict. In the 'from_param' class methods, try the _as_parameter_ attribute if other conversions are not possible. This makes the documented _as_parameter_ mechanism work as intended. Change the ctypes version number to 1.0.1. | ||||
* | Slightly revised version of patch #1538956: | Marc-André Lemburg | 2006-08-14 | 11 | -37/+171 |
| | | | | | | | | | | Replace UnicodeDecodeErrors raised during == and != compares of Unicode and other objects with a new UnicodeWarning. All other comparisons continue to raise exceptions. Exceptions other than UnicodeDecodeErrors are also left untouched. | ||||
* | Revert the change that tries to zero out a closure's result storage | Thomas Heller | 2006-08-14 | 1 | -15/+5 |
| | | | | area because the size if unknown in source/callproc.c. | ||||
* | Check for NULL return value of GenericCData_new(). | Thomas Heller | 2006-08-14 | 1 | -0/+4 |
| | | | | Fixes klockwork issues #188, #189. | ||||
* | Check for NULL return value from new_CArgObject(). | Thomas Heller | 2006-08-14 | 1 | -0/+6 |
| | | | | Fixes klockwork issues #183, #184, #185. | ||||
* | Remove unused, buggy test function. | Thomas Heller | 2006-08-14 | 1 | -12/+0 |
| | | | | Fixes klockwork issue #207. | ||||
* | Update purify doc some. | Neal Norwitz | 2006-08-14 | 1 | -2/+18 |
| | |||||
* | Can't return NULL from a void function. If there is a memory error, | Neal Norwitz | 2006-08-14 | 1 | -2/+2 |
| | | | | | about the best we can do is call PyErr_WriteUnraisable and go on. We won't be able to do the call below either, so verify delstr is valid. | ||||
* | Ignore pgen.exe and kill_python.exe for cygwin | Neal Norwitz | 2006-08-14 | 0 | -0/+0 |
| | |||||
* | Get rid of compiler warning | Neal Norwitz | 2006-08-13 | 1 | -2/+2 |
| | |||||
* | Handle alloca failures. | Neal Norwitz | 2006-08-13 | 2 | -0/+15 |
| | | | | Klocwork 225-228 | ||||
* | Handle malloc failure. | Neal Norwitz | 2006-08-13 | 1 | -0/+4 |
| | | | | Klocwork 281 | ||||
* | Really address the issue of where to place the assert for leftblock. | Neal Norwitz | 2006-08-13 | 1 | -1/+1 |
| | | | | (Followup of Klocwork 274) | ||||
* | Handle failure from PyModule_GetDict() (Klocwork 208). | Neal Norwitz | 2006-08-13 | 1 | -9/+15 |
| | | | | | Fix a bunch of refleaks in the init of the module. This would only be found when running python -v. | ||||
* | Handle failures from lookup. | Neal Norwitz | 2006-08-13 | 1 | -0/+4 |
| | | | | Klocwork 341-342 | ||||
* | It's very unlikely, though possible that source is not a string. Verify | Neal Norwitz | 2006-08-13 | 1 | -0/+3 |
| | | | | | | | that PyString_AsString() returns a valid pointer. (The problem can arise when zlib.decompress doesn't return a string.) Klocwork 346 | ||||
* | Handle malloc and fopen failures more gracefully. | Neal Norwitz | 2006-08-13 | 1 | -2/+8 |
| | | | | Klocwork 180-181 | ||||
* | Check return result of PyModule_GetDict(). | Neal Norwitz | 2006-08-13 | 1 | -22/+24 |
| | | | | | Fix a bunch of refleaks in the init of the module. This would only be found when running python -v. | ||||
* | Fix segfault when doing string formatting on subclasses of long if | Neal Norwitz | 2006-08-13 | 3 | -1/+14 |
| | | | | | | __oct__, __hex__ don't return a string. Klocwork 308 | ||||
* | cpathname could be NULL if it was longer than MAXPATHLEN. Don't try | Neal Norwitz | 2006-08-13 | 1 | -1/+6 |
| | | | | | | | | to write the .pyc to NULL. Check results of PyList_GetItem() and PyModule_GetDict() are not NULL. Klocwork 282, 283, 285 | ||||
* | Handle a whole lot of failures from PyString_FromInternedString(). | Neal Norwitz | 2006-08-13 | 1 | -25/+101 |
| | | | | Should fix most of Klocwork 234-272. | ||||
* | Move/copy assert for tstate != NULL before first use. | Neal Norwitz | 2006-08-13 | 1 | -1/+7 |
| | | | | | | Verify that PyEval_Get{Globals,Locals} returned valid pointers. Klocwork 231-232 | ||||
* | SF bug #1539336, distutils example code missing | Neal Norwitz | 2006-08-13 | 1 | -0/+2 |
| | |||||
* | Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbots | Neal Norwitz | 2006-08-12 | 4 | -13/+25 |
| | | | | | | | | | | | were failing due to inappropriate clipping of numbers larger than 2**31 with new-style classes. (typeobject.c) In reviewing the code for classic classes, there were 2 problems. Any negative value return could be returned. Always return -1 if there was an error. Also make the checks similar with the new-style classes. I believe this is correct for 32 and 64 bit boxes, including Windows64. Add a test of classic classes too. | ||||
* | Patch #1538606, Patch to fix __index__() clipping. | Neal Norwitz | 2006-08-12 | 19 | -234/+319 |
| | | | | | | | I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible. | ||||
* | Repair logging test spew caused by rev. 51206. | Georg Brandl | 2006-08-12 | 2 | -3/+3 |
| | |||||
* | Ah, fudge. One of the prints here actually "shouldn't be" | Tim Peters | 2006-08-12 | 1 | -2/+1 |
| | | | | | | | | | protected by "if verbose:", which caused the test to fail on all non-Windows boxes. Note that I deliberately didn't convert this to unittest yet, because I expect it would be even harder to debug this on Tru64 after conversion. |