afcd838 | Georg Brandl | 29 July 2006, 10:25:46 UTC | Revert rev 42617, it was introduced to work around bug #1441397. test_compiler now passes again. | 29 July 2006, 10:25:46 UTC |
edd9b0d | Georg Brandl | 29 July 2006, 09:33:26 UTC | Bug #1441397: The compiler module now recognizes module and function docstrings correctly as it did in Python 2.4. | 29 July 2006, 09:33:26 UTC |
9fd21e3 | Georg Brandl | 29 July 2006, 08:51:21 UTC | Bug #835255: The "closure" argument to new.function() is now documented. | 29 July 2006, 08:51:21 UTC |
1393d6a | Thomas Heller | 28 July 2006, 21:43:20 UTC | Patch #1529514: More openbsd platforms for ctypes. Regenerated Modules/_ctypes/libffi/configure with autoconf 2.59. Approved by Neal. | 28 July 2006, 21:43:20 UTC |
84b7d3a | Phillip J. Eby | 28 July 2006, 21:31:54 UTC | Fix svn merge spew. | 28 July 2006, 21:31:54 UTC |
f7575d0 | Phillip J. Eby | 28 July 2006, 21:12:07 UTC | Bug #1529871: The speed enhancement patch #921466 broke Python's compliance with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is used in ``sys.path_importer_cache`` to cache non-directory paths and avoid excessive filesystem operations during imports. | 28 July 2006, 21:12:07 UTC |
944f3b6 | Thomas Heller | 28 July 2006, 19:42:40 UTC | Remove a useless XXX comment. Cosmetic changes to the code so that the #ifdef _UNICODE block doesn't mess emacs code formatting. | 28 July 2006, 19:42:40 UTC |
cddabbf | Georg Brandl | 28 July 2006, 18:36:01 UTC | Fix spelling. | 28 July 2006, 18:36:01 UTC |
4793aa3 | Georg Brandl | 28 July 2006, 18:31:39 UTC | Patch #1529686: also run test_email_codecs with regrtest.py. | 28 July 2006, 18:31:39 UTC |
39d7739 | Andrew M. Kuchling | 28 July 2006, 12:48:07 UTC | Add example. Should I propagate this example to all the other DBM-ish modules, too? | 28 July 2006, 12:48:07 UTC |
1d69a70 | Andrew M. Kuchling | 28 July 2006, 12:45:55 UTC | Don't overwrite built-in name; add some blank lines for readability | 28 July 2006, 12:45:55 UTC |
bd46810 | Andrew M. Kuchling | 28 July 2006, 12:33:19 UTC | Add example | 28 July 2006, 12:33:19 UTC |
4036f43 | Andrew M. Kuchling | 28 July 2006, 12:32:43 UTC | Add example | 28 July 2006, 12:32:43 UTC |
984b075 | Andrew M. Kuchling | 28 July 2006, 12:18:22 UTC | Typo fix | 28 July 2006, 12:18:22 UTC |
9d93341 | Andrew M. Kuchling | 28 July 2006, 12:07:12 UTC | [Patch #1529811] Correction to description of r|* mode | 28 July 2006, 12:07:12 UTC |
ec92650 | Matt Fleming | 28 July 2006, 11:27:27 UTC | Allow socketmodule to compile on NetBSD -current, whose bluetooth API differs from both Linux and FreeBSD. Accepted by Neal Norwitz. | 28 July 2006, 11:27:27 UTC |
9315251 | Martin v. Löwis | 28 July 2006, 07:45:49 UTC | Add UUID for upcoming 2.5b3. | 28 July 2006, 07:45:49 UTC |
46fc6a0 | Neal Norwitz | 28 July 2006, 07:21:27 UTC | Try to find the MAC addr on various flavours of Unix. This seems hopeless. The reduces the test_uuid failures, but there's still another method failing. | 28 July 2006, 07:21:27 UTC |
750c442 | Tim Peters | 28 July 2006, 04:51:59 UTC | Live with that "the hardware address" is an ill-defined concept, and that different ways of trying to find "the hardware address" may return different results. Certainly true on both of my Windows boxes, and in different ways (see whining on python-dev). | 28 July 2006, 04:51:59 UTC |
df80af7 | Neal Norwitz | 28 July 2006, 04:22:34 UTC | Ensure the actual number matches the expected count | 28 July 2006, 04:22:34 UTC |
641cddf | Gregory P. Smith | 28 July 2006, 01:35:25 UTC | - pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename methods now allow their database parameter to be None as the sleepycat API allows. Also adds an appropriate test case for DBEnv.dbrename and dbremove. | 28 July 2006, 01:35:25 UTC |
9cab593 | Tim Peters | 28 July 2006, 00:30:00 UTC | News about the repaired memory leak in defaultdict. | 28 July 2006, 00:30:00 UTC |
5566e96 | Tim Peters | 28 July 2006, 00:23:15 UTC | defdict_reduce(): Plug leaks. We didn't notice these before because test_defaultdict didn't actually do anything before Georg fixed that earlier today. Neal's next refleak run then showed test_defaultdict leaking 9 references on each run. That's repaired by this checkin. | 28 July 2006, 00:23:15 UTC |
d17301f | Barry Warsaw | 27 July 2006, 23:50:40 UTC | Enable the building of the _types module on Windows. Note that this has only been tested for VS 2003 since that's all I have. | 27 July 2006, 23:50:40 UTC |
92e9fd5 | Tim Peters | 27 July 2006, 23:46:36 UTC | Add missing svn:eol-style property to text files. | 27 July 2006, 23:46:36 UTC |
ce70a3b | Tim Peters | 27 July 2006, 23:45:48 UTC | Whitespace normalization. | 27 July 2006, 23:45:48 UTC |
6f68147 | Tim Peters | 27 July 2006, 23:44:37 UTC | Bug #1529297: The rewrite of doctest for Python 2.4 unintentionally lost that tests are sorted by name before being run. ``DocTestFinder`` has been changed to sort the list of tests it returns. | 27 July 2006, 23:44:37 UTC |
00decd7 | Barry Warsaw | 27 July 2006, 23:43:15 UTC | Patch #1520294: Support for getset and member descriptors in types.py, inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow. | 27 July 2006, 23:43:15 UTC |
fc0e61d | Andrew M. Kuchling | 27 July 2006, 22:49:54 UTC | Add example | 27 July 2006, 22:49:54 UTC |
752e28a | Andrew M. Kuchling | 27 July 2006, 22:49:38 UTC | Add example | 27 July 2006, 22:49:38 UTC |
4b6d537 | Andrew M. Kuchling | 27 July 2006, 22:40:05 UTC | Reword paragraph | 27 July 2006, 22:40:05 UTC |
08310d6 | Tim Peters | 27 July 2006, 20:47:24 UTC | check_node(): stop spraying mystery output to stderr. When a node number disagrees, keep track of all sources & the node numbers they reported, and stick all that in the error message. Changed all callers to supply a non-empty "source" argument; made the "source" argument non-optional. On my box, test_uuid still fails, but with the less confusing output: AssertionError: different sources disagree on node: from source 'getnode1', node was 00038a000015 from source 'getnode2', node was 00038a000015 from source 'ipconfig', node was 001111b2b7bf Only the last one appears to be correct; e.g., C:\Code\python\PCbuild>getmac Physical Address Transport Name =================== ========================================================== 00-11-11-B2-B7-BF \Device\Tcpip_{190FB163-5AFD-4483-86A1-2FE16AC61FF1} 62-A1-AC-6C-FD-BE \Device\Tcpip_{8F77DF5A-EA3D-4F1D-975E-D472CEE6438A} E2-1F-01-C6-5D-88 \Device\Tcpip_{CD18F76B-2EF3-409F-9B8A-6481EE70A1E4} I can't find anything on my box with MAC 00-03-8a-00-00-15, and am not clear on where that comes from. | 27 July 2006, 20:47:24 UTC |
cff784c | Andrew M. Kuchling | 27 July 2006, 19:12:49 UTC | If binhex is higher-level than binascii, it should come first in the chapter | 27 July 2006, 19:12:49 UTC |
40b35aa | Andrew M. Kuchling | 27 July 2006, 19:11:07 UTC | Mention base64 module; rewrite last sentence to be more positive | 27 July 2006, 19:11:07 UTC |
cbe8016 | Andrew M. Kuchling | 27 July 2006, 19:07:29 UTC | Add punctuation mark; add some examples | 27 July 2006, 19:07:29 UTC |
f60eeb1 | Andrew M. Kuchling | 27 July 2006, 18:53:33 UTC | Update URL; add example | 27 July 2006, 18:53:33 UTC |
9ad7a60 | Andrew M. Kuchling | 27 July 2006, 18:44:10 UTC | Repair typos | 27 July 2006, 18:44:10 UTC |
623005e | Andrew M. Kuchling | 27 July 2006, 18:42:41 UTC | Add missing word | 27 July 2006, 18:42:41 UTC |
5ee6616 | Andrew M. Kuchling | 27 July 2006, 18:41:21 UTC | Typo fix ('publically' is rare, poss. non-standard) | 27 July 2006, 18:41:21 UTC |
09a6f6a | Thomas Heller | 27 July 2006, 18:39:55 UTC | Remove code that is no longer used (ctypes.com). Fix the DllGetClassObject and DllCanUnloadNow so that they forward the call to the comtypes.server.inprocserver module. The latter was never documented, never used by published code, and didn't work anyway, so I think it does not deserve a NEWS entry (but I might be wrong). | 27 July 2006, 18:39:55 UTC |
9dd8dc3 | Andrew M. Kuchling | 27 July 2006, 18:37:33 UTC | Add example | 27 July 2006, 18:37:33 UTC |
75a832d | Georg Brandl | 27 July 2006, 16:08:15 UTC | Make uuid test suite pass on this box by requesting output with LC_ALL=C. | 27 July 2006, 16:08:15 UTC |
6cea7d7 | Georg Brandl | 27 July 2006, 15:38:33 UTC | Amend news entry. | 27 July 2006, 15:38:33 UTC |
daea035 | Tim Peters | 27 July 2006, 15:11:00 UTC | Whitespace normalization. | 27 July 2006, 15:11:00 UTC |
3e246a8 | Tim Peters | 27 July 2006, 15:09:20 UTC | News for patch #1529686. | 27 July 2006, 15:09:20 UTC |
f102fc5 | Georg Brandl | 27 July 2006, 15:05:36 UTC | Add test_main() methods. These three tests were never run by regrtest.py. We really need a simpler testing framework. | 27 July 2006, 15:05:36 UTC |
9aed98f | Andrew M. Kuchling | 27 July 2006, 12:18:20 UTC | Reformat docstring; fix typo | 27 July 2006, 12:18:20 UTC |
997ceff | Martin v. Löwis | 27 July 2006, 06:38:16 UTC | Bump distutils version to 2.5, as several new features have been introduced since 2.4. | 27 July 2006, 06:38:16 UTC |
37f694f | Neal Norwitz | 27 July 2006, 04:04:50 UTC | No functional change. Add comment and assert to describe why there cannot be overflow which was reported by Klocwork. Discussed on python-dev | 27 July 2006, 04:04:50 UTC |
101bac2 | Neal Norwitz | 27 July 2006, 03:55:39 UTC | Closure can't be NULL at this point since we know it's a tuple. Reported by Klocwork # 74. | 27 July 2006, 03:55:39 UTC |
e4abc23 | Neal Norwitz | 27 July 2006, 03:51:58 UTC | Don't kill a normal instance of python running on windows when checking to kill a cygwin instance. build\\python.exe was matching a normal windows instance. Prefix that with a \\ to ensure build is a directory and not PCbuild. As discussed on python-dev. | 27 July 2006, 03:51:58 UTC |
bc24eee | Tim Peters | 27 July 2006, 01:14:53 UTC | Bug #1521947: possible bug in mystrtol.c with recent gcc. In general, C doesn't define anything about what happens when an operation on a signed integral type overflows, and PyOS_strtol() did several formally undefined things of that nature on signed longs. Some version of gcc apparently tries to exploit that now, and PyOS_strtol() could fail to detect overflow then. Tried to repair all that, although it seems at least as likely to me that we'll get screwed by bad platform definitions for LONG_MIN and/or LONG_MAX now. For that reason, I don't recommend backporting this. Note that I have no box on which this makes a lick of difference -- can't really test it, except to note that it didn't break anything on my boxes. Silent change: PyOS_strtol() used to return the hard-coded 0x7fffffff in case of overflow. Now it returns LONG_MAX. They're the same only on 32-bit boxes (although C doesn't guarantee that either ...). | 27 July 2006, 01:14:53 UTC |
95621b2 | Tim Peters | 26 July 2006, 23:23:15 UTC | Whitespace normalization. | 26 July 2006, 23:23:15 UTC |
eb26ea3 | Phillip J. Eby | 26 July 2006, 19:48:27 UTC | Allow the 'onerror' argument to walk_packages() to catch any Exception, not just ImportError. This allows documentation tools to better skip unimportable packages. | 26 July 2006, 19:48:27 UTC |
ab26004 | Andrew M. Kuchling | 26 July 2006, 18:15:45 UTC | Use sys.exc_info() | 26 July 2006, 18:15:45 UTC |
44c668d | Andrew M. Kuchling | 26 July 2006, 18:03:12 UTC | Use sys.exc_info() | 26 July 2006, 18:03:12 UTC |
10c2b55 | Andrew M. Kuchling | 26 July 2006, 17:22:21 UTC | Put news item in right section | 26 July 2006, 17:22:21 UTC |
93c928e | Andrew M. Kuchling | 26 July 2006, 17:19:39 UTC | Minor grammar fix | 26 July 2006, 17:19:39 UTC |
a1da204 | Andrew M. Kuchling | 26 July 2006, 17:18:01 UTC | Correct error message | 26 July 2006, 17:18:01 UTC |
55b0a0e | Andrew M. Kuchling | 26 July 2006, 17:16:52 UTC | [Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetnstr(); it was conditionalized a few lines below. Fix from Paul Eggert. I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment. | 26 July 2006, 17:16:52 UTC |
9298eff | Martin v. Löwis | 26 July 2006, 12:12:56 UTC | Bug #978833: Really close underlying socket in _socketobject.close. Fix httplib.HTTPConnection.getresponse to not close the socket if it is still needed for the response. | 26 July 2006, 12:12:56 UTC |
5f13578 | Georg Brandl | 26 July 2006, 08:03:10 UTC | Part of bug #1523610: fix miscalculation of buffer length. Also add a guard against NULL in converttuple and add a test case (that previously would have crashed). | 26 July 2006, 08:03:10 UTC |
0619a32 | Georg Brandl | 26 July 2006, 07:40:17 UTC | Bug #1459963: properly capitalize HTTP header names. | 26 July 2006, 07:40:17 UTC |
cf0c172 | Georg Brandl | 26 July 2006, 07:23:32 UTC | NEWS entry for #1525766. | 26 July 2006, 07:23:32 UTC |
d92ae78 | Barry Warsaw | 26 July 2006, 05:54:46 UTC | Forward port some fixes that were in email 2.5 but for some reason didn't make it into email 4.0. Specifically, in Message.get_content_charset(), handle RFC 2231 headers that contain an encoding not known to Python, or a character in the data that isn't in the charset encoding. Also forward port the appropriate unit tests. | 26 July 2006, 05:54:46 UTC |
9815f8b | Neal Norwitz | 26 July 2006, 04:00:18 UTC | Hmm, only python2.x is installed, not plain python. Did that change recently? | 26 July 2006, 04:00:18 UTC |
9134307 | Tim Peters | 25 July 2006, 22:30:24 UTC | Whitespace normalization. | 25 July 2006, 22:30:24 UTC |
3075e16 | Ronald Oussoren | 25 July 2006, 20:28:55 UTC | Fix bug #1517990: IDLE keybindings on OSX This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently. | 25 July 2006, 20:28:55 UTC |
bfbfe1f | Ronald Oussoren | 25 July 2006, 19:20:54 UTC | Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but not without causing problems for anyone that is on a case-insensitive filesystem). Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the actual file is named macosmodule.c. This is no problem on the (default) case-insensitive filesystem, but doesn't work on case-sensitive filesystems. | 25 July 2006, 19:20:54 UTC |
518b95c | Ronald Oussoren | 25 July 2006, 19:13:35 UTC | Install the compatibility symlink to libpython.a on OSX using 'ln -sf' instead of 'ln -s', this avoid problems when reinstalling python. | 25 July 2006, 19:13:35 UTC |
b62efad | Armin Rigo | 25 July 2006, 18:38:39 UTC | Document the crashers that will not go away soon as "won't fix", and explain why. | 25 July 2006, 18:38:39 UTC |
5a9a2a3 | Armin Rigo | 25 July 2006, 18:11:07 UTC | Added another crasher, which hit me today (I was not intentionally writing such code, of course, but it took some gdb time to figure out what my bug was). | 25 July 2006, 18:11:07 UTC |
4df7c0a | Armin Rigo | 25 July 2006, 18:09:57 UTC | Document why is and is not a good way to fix the gc_inspection crasher. | 25 July 2006, 18:09:57 UTC |
813669f | Brett Cannon | 25 July 2006, 17:34:36 UTC | Fix a bug in the messages for an assert failure where not enough arguments to a string were being converted in the format. | 25 July 2006, 17:34:36 UTC |
f23ad3d | Brett Cannon | 25 July 2006, 17:32:20 UTC | Add comment for changes to test_ossaudiodev. | 25 July 2006, 17:32:20 UTC |
69b9b67 | Georg Brandl | 25 July 2006, 10:22:34 UTC | Patch #1525766: correctly pass onerror arg to recursive calls of pkg.walk_packages. Also improve the docstrings. | 25 July 2006, 10:22:34 UTC |
2b2d297 | Martin v. Löwis | 25 July 2006, 10:11:14 UTC | Revert incomplete checkin. | 25 July 2006, 10:11:14 UTC |
e093a3a | Martin v. Löwis | 25 July 2006, 10:05:47 UTC | Bug #978833: Really close underlying socket in _socketobject.close. Will backport to 2.4. | 25 July 2006, 10:05:47 UTC |
0b48303 | Martin v. Löwis | 25 July 2006, 09:53:12 UTC | Bug #1525817: Don't truncate short lines in IDLE's tool tips. | 25 July 2006, 09:53:12 UTC |
0c4a3b3 | Tim Peters | 25 July 2006, 04:07:22 UTC | current_frames_with_threads(): There's actually no way to guess /which/ line the spawned thread is in at the time sys._current_frames() is called: we know it finished enter_g.set(), but can't know whether the instruction counter has advanced to the following leave_g.wait(). The latter is overwhelming most likely, but not guaranteed, and I see that the "x86 Ubuntu dapper (icc) trunk" buildbot found it on the other line once. Changed the test so it passes in either case. | 25 July 2006, 04:07:22 UTC |
4d16b91 | Greg Ward | 25 July 2006, 02:11:12 UTC | Don't use standard assert: want tests to fail even when run with -O. Delete cruft. | 25 July 2006, 02:11:12 UTC |
0bbfd83 | Tim Peters | 24 July 2006, 21:02:15 UTC | Whitespace normalization. | 24 July 2006, 21:02:15 UTC |
afb44f4 | Georg Brandl | 24 July 2006, 20:11:35 UTC | Repair accidental NameError. | 24 July 2006, 20:11:35 UTC |
a2946a4 | Kurt B. Kaiser | 24 July 2006, 18:05:51 UTC | - EditorWindow.test() was failing. Bug 1417598 M EditorWindow.py M ScriptBinding.py M NEWS.txt | 24 July 2006, 18:05:51 UTC |
b3c4d16 | Kurt B. Kaiser | 24 July 2006, 17:13:23 UTC | EditorWindow failed when used stand-alone if sys.ps1 not set. Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt | 24 July 2006, 17:13:23 UTC |
c13c34c | Georg Brandl | 24 July 2006, 14:09:56 UTC | Patch #1515343: Fix printing of deprecated string exceptions with a value in the traceback module. | 24 July 2006, 14:09:56 UTC |
844f7dd | Georg Brandl | 24 July 2006, 13:46:47 UTC | Patch #1527744: right order of includes in order to have HAVE_CONIO_H defined properly. | 24 July 2006, 13:46:47 UTC |
ced52a9 | Georg Brandl | 24 July 2006, 13:28:57 UTC | Patch #1523356: fix determining include dirs in python-config. Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable. | 24 July 2006, 13:28:57 UTC |
982e9fe | Martin v. Löwis | 24 July 2006, 12:54:17 UTC | Bug #1524310: Properly report errors from FindNextFile in os.listdir. Will backport to 2.4. | 24 July 2006, 12:54:17 UTC |
d22968a | Martin v. Löwis | 24 July 2006, 11:54:53 UTC | Patch #1232023: Don't include empty path component from registry, so that the current directory does not get added to sys.path. Also fixes #1526785. | 24 July 2006, 11:54:53 UTC |
bda0dde | Martin v. Löwis | 24 July 2006, 10:26:33 UTC | Patch #1448199: Release GIL around ConnectRegistry. | 24 July 2006, 10:26:33 UTC |
8cab8b0 | Martin v. Löwis | 24 July 2006, 05:05:22 UTC | Update list of unsupported systems. Fixes #1510853. | 24 July 2006, 05:05:22 UTC |
48fae7a | Greg Ward | 23 July 2006, 16:05:51 UTC | Resync optparse with Optik 1.5.3: minor tweaks for/to tests. | 23 July 2006, 16:05:51 UTC |
afa358f | Andrew MacIntyre | 23 July 2006, 13:04:00 UTC | Get mailbox module working on OS/2 EMX port. | 23 July 2006, 13:04:00 UTC |
82247cb | Andrew MacIntyre | 23 July 2006, 13:00:04 UTC | bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; will backport. | 23 July 2006, 13:00:04 UTC |
bb45037 | Andrew MacIntyre | 23 July 2006, 12:57:02 UTC | Build updates for OS/2 EMX port | 23 July 2006, 12:57:02 UTC |
8133f9d | Ronald Oussoren | 23 July 2006, 09:46:11 UTC | Fix for bug #1517996: Class and Path browsers show Tk menu This patch replaces the menubar that is used by AquaTk for windows without a menubar of their own by one that is more appropriate for IDLE. | 23 July 2006, 09:46:11 UTC |
17db495 | Ronald Oussoren | 23 July 2006, 09:41:09 UTC | Without this patch CMD-W won't close EditorWindows on MacOS X. This solves part of bug #1517990. | 23 July 2006, 09:41:09 UTC |
dce937f | Neal Norwitz | 23 July 2006, 08:01:43 UTC | Ensure we don't write beyond errText. I think I got this right, but it definitely could use some review to ensure I'm not off by one and there's no possible overflow/wrap-around of bytes_left. Reported by Klocwork #1. Fix a problem if there is a failure allocating self->db. Found with failmalloc. | 23 July 2006, 08:01:43 UTC |
9029b5f | Neal Norwitz | 23 July 2006, 07:59:00 UTC | nextlink can be NULL if teedataobject_new fails, so use XINCREF. Ensure that dataobj is never NULL. Reported by Klocwork #102 | 23 July 2006, 07:59:00 UTC |