Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
38b9460 SF #1547931, fix typo (missing and). Backport candidate for 2.3/2.4 too 02 September 2006, 02:45:43 UTC
097bbea evalfile() should be execfile(). (backport from rev. 51677) 01 September 2006, 22:30:56 UTC
2998a1c - SF patch #1550263: Enhance and correct unittest docs - various minor cleanups for improved consistency 01 September 2006, 03:56:22 UTC
58af7ef Patch #1545507: Exclude ctypes package in Win64 MSI file. 25 August 2006, 00:11:38 UTC
7b3c031 Alexander Belopolsky pointed out that pos is a size_t 22 August 2006, 13:57:07 UTC
ab7e5ef patch for documentation for recent uuid changes (from ping) 22 August 2006, 07:36:06 UTC
19c35bb - Patch #1541585: fix buffer overrun when performing repr() on a unicode string in a build with wide unicode (UCS-4) support. I will forward port to 2.6. Can someone backport to 2.4? 21 August 2006, 22:13:11 UTC
bebdc9e Backport 51443: Handle a few more error conditions. Klocwork 301 and 302. Will backport. 21 August 2006, 20:20:59 UTC
47f0ffa Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev 21 August 2006, 18:44:09 UTC
7443b80 Backport 51432: Fix bug #1543303, tarfile adds padding that breaks gunzip. Patch # 1543897. (remove the padding) 21 August 2006, 18:43:51 UTC
db232dc Patch #1542948: fix urllib2 header casing issue. With new test. (backport from rev. 51416) 20 August 2006, 13:15:43 UTC
d6f8629 SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro 19 August 2006, 04:19:43 UTC
3ba2478 Move initialization of interned strings to before allocating the object so we don't leak op. (Fixes an earlier patch to this code) Klockwork #350 19 August 2006, 04:19:14 UTC
03ee62c Move assert to after NULL check, otherwise we deref NULL in the assert. Klocwork #307 19 August 2006, 04:18:39 UTC
e12b9f6 Minor edits 18 August 2006, 13:54:33 UTC
1e8feed Typo in tp_clear docs. (backport from rev. 51368) 18 August 2006, 07:35:53 UTC
595d9b6 Bug #1541682: Fix example in the "Refcount details" API docs. Additionally, remove a faulty example showing PySequence_SetItem applied to a newly created list object and add notes that this isn't a good idea. (backport from rev. 51364) 18 August 2006, 07:28:03 UTC
2c3a256 Bug #1541863: uuid.uuid1 failed to generate unique identifiers on systems with low clock resolution. 18 August 2006, 03:40:13 UTC
5522624 Invoke debug mk1mf.pl after running Configure. 17 August 2006, 18:54:43 UTC
9f04e6a Leave tk build directory to restore original path. 17 August 2006, 17:27:31 UTC
e1d4fe6 Tagging for release of Python 2.5c1 17 August 2006, 03:08:55 UTC
86f5bf6 Branching release25-maint. All further 2.5 releases (including the release candidates, the final release and all bugfix releases) will be from this branch, not the trunk. 17 August 2006, 00:38:04 UTC
4c6b0d5 Fix a bug in the ``compiler`` package that caused invalid code to be generated for generator expressions. 16 August 2006, 23:38:05 UTC
7ae3548 File menu hotkeys: there were three 'p' assignments. Reassign the 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the Shell menu hotkey from 's' to 'l'. M Bindings.py M PyShell.py M NEWS.txt 16 August 2006, 21:45:59 UTC
f5af05a Tutorial: Clarify somewhat how parameters are passed to functions (especially explain what integer means). Correct the table - Python integers and longs can both be used. Further clarification to the table comparing ctypes types, Python types, and C types. Reference: Replace integer by C ``int`` where it makes sense. 16 August 2006, 18:02:11 UTC
c13324e Grammar fix 16 August 2006, 17:11:18 UTC
dc075b9 SF#1534630 ignore data that arrives before the opening start tag 16 August 2006, 16:47:07 UTC
574cfea Add NEWS item mentioning the reverted distutils version number patch. 16 August 2006, 16:11:01 UTC
b4a0cf1 Remove the special casing of Py_None when converting the return value of the Python part of a callback function to C. If it cannot be converted, call PyErr_WriteUnraisable with the exception we got. Before, arbitrary data has been passed to the calling C code in this case. (I'm not really sure the NEWS entry is understandable, but I cannot find better words) 16 August 2006, 15:10:12 UTC
f9b5b8e Wording/typo fixes 16 August 2006, 14:21:14 UTC
213e764 Update bug/patch counts 16 August 2006, 14:18:23 UTC
b0aa98f The __repr__ method of a NULL py_object does no longer raise an exception. Remove a stray '?' character from the exception text when the value is retrieved of such an object. Includes tests. 16 August 2006, 14:07:44 UTC
596fc9c Make cl build step compile-only (/c). Remove libs from source list. 16 August 2006, 13:58:51 UTC
ddf3788 Link to docs; remove an XXX comment 16 August 2006, 13:51:32 UTC
115ea43 Bump document version to 1.0; remove pystone paragraph 16 August 2006, 13:41:52 UTC
efd68c7 Add UnicodeWarning 16 August 2006, 13:22:20 UTC
5817959 news entry for 51307 16 August 2006, 13:08:25 UTC
d32e616 Add commented assert statements to check that the result of PyObject_stgdict() and PyType_stgdict() calls are non-NULL before dereferencing the result. Hopefully this fixes what klocwork is complaining about. Fix a few other nits as well. 16 August 2006, 13:03:11 UTC
a09fd6e Build _hashlib on Windows. Build OpenSSL with masm assembler code. Fixes #1535502. 16 August 2006, 12:55:10 UTC
604c864 Revert to having static version numbers again. 16 August 2006, 08:13:26 UTC
f137e1d Get quit() and exit() to work cleanly when not using subprocess. 16 August 2006, 07:04:17 UTC
b1cb56a Update code and tests to support the 'bytes_le' attribute (for little-endian byte order on Windows), and to work around clocks with low resolution yielding duplicate UUIDs. Anthony Baxter has approved this change. 16 August 2006, 07:02:50 UTC
d112bc7 Patch #1540892: site.py Quitter() class attempts to close sys.stdin 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 16 August 2006, 05:01:42 UTC
798ed8f preparing for 2.5c1 - no, really this time 16 August 2006, 03:58:37 UTC
b409666 preparing for 2.5c1 16 August 2006, 03:42:26 UTC
2a7ff29 The 'with' statement is now a Code Context block opener 16 August 2006, 03:15:26 UTC
4dc5dd1 Check for NULL return value from new_CArgObject calls. 15 August 2006, 13:07:21 UTC
271a868 Subclasses of int/long are allowed to define an __index__. 15 August 2006, 06:29:03 UTC
6e48256 Update the docstring to use a version a little newer than 1999. This was taken from a Debian patch. Should we update the version for each release? 15 August 2006, 04:59:30 UTC
b476fdf Fix the test for SocketServer so it should pass on cygwin and not fail 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 15 August 2006, 04:58:28 UTC
bf8c195 Georg fixed one of my bugs, so I'll repay him with 2 NEWS entries. Now we're even. :-) 15 August 2006, 04:14:57 UTC
c02c1c8 Whitespace normalization. 15 August 2006, 00:25:04 UTC
9dc7b7c Patch #1511317: don't crash on invalid hostname info 14 August 2006, 22:10:24 UTC
d76bd69 Cookie.py shouldn't "bogusly" use string._idmap. 14 August 2006, 22:01:24 UTC
7a1af77 Patch #1536071: trace.py should now find the full module name of a file correctly even on Windows. 14 August 2006, 21:55:28 UTC
85fec59 Add an additional test: BZ2File write methods should raise IOError when file is read-only. 14 August 2006, 21:45:32 UTC
3335a7a Patch #1535500: fix segfault in BZ2File.writelines and make sure it raises the correct exceptions. 14 August 2006, 21:42:55 UTC
2463f8f Make tabnanny recognize IndentationErrors raised by tokenize. Add a test to test_inspect to make sure indented source is recognized correctly. (fixes #1224621) 14 August 2006, 21:34:08 UTC
26a07b5 Fix refleak introduced in rev. 51248. 14 August 2006, 20:25:39 UTC
1ce433e News item for rev 51281. 14 August 2006, 16:20:04 UTC
ef8d513 Patch #1536908: Add support for AMD64 / OpenBSD. Remove the -no-stack-protector compiler flag for OpenBSD as it has been reported to be unneeded. 14 August 2006, 16:17:41 UTC
3a45779 Correct an accidentally removed previous patch. 14 August 2006, 12:57:27 UTC
4873fb2 Improve markup in PyUnicode_RichCompare. 14 August 2006, 12:36:06 UTC
757ea27 Readd NEWS items that were accidentally removed by r51276. 14 August 2006, 11:44:34 UTC
8672004 Apply the patch #1532975 plus ideas from the patch #1533481. 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. 14 August 2006, 11:17:48 UTC
040f76b Slightly revised version of patch #1538956: 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. 14 August 2006, 10:55:19 UTC
e6dd31c Revert the change that tries to zero out a closure's result storage area because the size if unknown in source/callproc.c. 14 August 2006, 10:02:24 UTC
dca703f Check for NULL return value of GenericCData_new(). Fixes klockwork issues #188, #189. 14 August 2006, 07:50:14 UTC
efa2727 Check for NULL return value from new_CArgObject(). Fixes klockwork issues #183, #184, #185. 14 August 2006, 07:14:09 UTC
acdedfb Remove unused, buggy test function. Fixes klockwork issue #207. 14 August 2006, 07:13:05 UTC
4c73177 Update purify doc some. 14 August 2006, 01:49:54 UTC
af33f2d Can't return NULL from a void function. If there is a memory error, 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. 14 August 2006, 00:59:03 UTC
714a59d Ignore pgen.exe and kill_python.exe for cygwin 14 August 2006, 00:51:15 UTC
5ed4997 Get rid of compiler warning 13 August 2006, 18:41:15 UTC
93bf902 Handle alloca failures. Klocwork 225-228 13 August 2006, 18:40:39 UTC
9ac8953 Handle malloc failure. Klocwork 281 13 August 2006, 18:13:36 UTC
ccc56c7 Really address the issue of where to place the assert for leftblock. (Followup of Klocwork 274) 13 August 2006, 18:13:02 UTC
20745b1 Handle failure from PyModule_GetDict() (Klocwork 208). Fix a bunch of refleaks in the init of the module. This would only be found when running python -v. 13 August 2006, 18:12:45 UTC
26a8abf Handle failures from lookup. Klocwork 341-342 13 August 2006, 18:12:26 UTC
ee7c8f9 It's very unlikely, though possible that source is not a string. Verify that PyString_AsString() returns a valid pointer. (The problem can arise when zlib.decompress doesn't return a string.) Klocwork 346 13 August 2006, 18:12:03 UTC
5aa9689 Handle malloc and fopen failures more gracefully. Klocwork 180-181 13 August 2006, 18:11:43 UTC
e9ac0bb Check return result of PyModule_GetDict(). Fix a bunch of refleaks in the init of the module. This would only be found when running python -v. 13 August 2006, 18:11:27 UTC
56423e5 Fix segfault when doing string formatting on subclasses of long if __oct__, __hex__ don't return a string. Klocwork 308 13 August 2006, 18:11:08 UTC
3cb31ac cpathname could be NULL if it was longer than MAXPATHLEN. Don't try to write the .pyc to NULL. Check results of PyList_GetItem() and PyModule_GetDict() are not NULL. Klocwork 282, 283, 285 13 August 2006, 18:10:47 UTC
b09f4f5 Handle a whole lot of failures from PyString_FromInternedString(). Should fix most of Klocwork 234-272. 13 August 2006, 18:10:28 UTC
df6a649 Move/copy assert for tstate != NULL before first use. Verify that PyEval_Get{Globals,Locals} returned valid pointers. Klocwork 231-232 13 August 2006, 18:10:10 UTC
bfa5f0b SF bug #1539336, distutils example code missing 13 August 2006, 00:20:49 UTC
1872b1c Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbots 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. 12 August 2006, 18:44:06 UTC
8a87f5d Patch #1538606, Patch to fix __index__() clipping. 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. 12 August 2006, 17:03:09 UTC
f3e3042 Repair logging test spew caused by rev. 51206. 12 August 2006, 08:32:02 UTC
953c189 Ah, fudge. One of the prints here actually "shouldn't be" 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. 12 August 2006, 05:17:41 UTC
1742f33 test_signal: Signal handling on the Tru64 buildbot appears to be utterly insane. Plug some theoretical insecurities in the test script: - Verify that the SIGALRM handler was actually installed. - Don't call alarm() before the handler is installed. - Move everything that can fail inside the try/finally, so the test cleans up after itself more often. - Try sending all the expected signals in force_test_exit(), not just SIGALRM. Since that was fixed to actually send SIGALRM (instead of invisibly dying with an AttributeError), we've seen that sending SIGALRM alone does not stop this from hanging. - Move the "kill the child" business into the finally clause, so the child doesn't survive test failure to send SIGALRM to other tests later (there are also baffling SIGALRM-related failures in test_socket). - Cancel the alarm in the finally clause -- if the test dies early, we again don't want SIGALRM showing up to confuse a later test. Alas, this still relies on timing luck wrt the spawned script that sends the test signals, but it's hard to see how waiting for seconds can so often be so unlucky. test_threadedsignals: curiously, this test never fails on Tru64, but doesn't normally signal SIGALRM. Anyway, fixed an obvious (but probably inconsequential) logic error. 12 August 2006, 04:42:47 UTC
ebcf875 Verify verdat which is returned from malloc is not NULL. Ensure we don't pass NULL to free. Klocwork #306 (at least the first part, checking malloc) 12 August 2006, 03:18:50 UTC
0f7dbf7 PyModule_GetDict() can fail, produce fatal errors if this happens on startup. Klocwork #298-299. 12 August 2006, 03:17:41 UTC
b88cfad Check return of PyMem_MALLOC (garbage) is non-NULL. Check seq in both portions of if/else. Klocwork #289-290. 12 August 2006, 03:16:54 UTC
5f17d9a Don't deref v if it's NULL. Klocwork #214 12 August 2006, 02:33:36 UTC
421c131 Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed 12 August 2006, 02:12:30 UTC
6b4953f Check returned pointer is valid. Klocwork #233 12 August 2006, 02:06:34 UTC
b45f351 I'm not sure why this code allocates this string for the error message. I think it would be better to always use snprintf and have the format limit the size of the name appropriately (like %.200s). Klocwork #340 12 August 2006, 01:57:47 UTC
ef0de02 Try to handle a malloc failure. I'm not entirely sure this is correct. There might be something else we need to do to handle the exception. Klocwork # 212-213 12 August 2006, 01:53:28 UTC
back to top