b93e7d1 | Neal Norwitz | 24 February 2008, 02:40:58 UTC | Add a little info to the 3k deprecation warnings about what to use instead. Suggested by Raymond Hettinger. | 24 February 2008, 02:40:58 UTC |
e7b53c5 | Andrew M. Kuchling | 24 February 2008, 02:39:15 UTC | Remove stray word | 24 February 2008, 02:39:15 UTC |
53152a1 | Neal Norwitz | 24 February 2008, 02:20:25 UTC | map(None, ...) is not supported in 3.0. | 24 February 2008, 02:20:25 UTC |
8c460d5 | Georg Brandl | 24 February 2008, 00:14:24 UTC | #1627: httplib now ignores negative Content-Length headers. | 24 February 2008, 00:14:24 UTC |
2363503 | Georg Brandl | 24 February 2008, 00:03:22 UTC | #900744: If an invalid chunked-encoding header is sent by a server, httplib will now raise IncompleteRead and close the connection instead of raising ValueError. | 24 February 2008, 00:03:22 UTC |
5e8e6d2 | Christian Heimes | 23 February 2008, 23:59:45 UTC | MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short. | 23 February 2008, 23:59:45 UTC |
4425e7c | Georg Brandl | 23 February 2008, 23:43:01 UTC | Specify what kind of warning -3 emits. | 23 February 2008, 23:43:01 UTC |
f1699cd | Georg Brandl | 23 February 2008, 23:25:26 UTC | Document import ./. threading issues. #1720705. | 23 February 2008, 23:25:26 UTC |
ebcfd11 | Georg Brandl | 23 February 2008, 23:04:35 UTC | #1506171: added operator.methodcaller(). | 23 February 2008, 23:04:35 UTC |
e2065c6 | Georg Brandl | 23 February 2008, 23:02:23 UTC | #1826: allow dotted attribute paths in operator.attrgetter. | 23 February 2008, 23:02:23 UTC |
b0b0317 | Georg Brandl | 23 February 2008, 22:55:18 UTC | #1825: correctly document msilib.add_data. | 23 February 2008, 22:55:18 UTC |
c12b988 | Facundo Batista | 23 February 2008, 22:54:12 UTC | Added simple test case. Thanks Benjamin Peterson. | 23 February 2008, 22:54:12 UTC |
0bb8567 | Georg Brandl | 23 February 2008, 22:35:33 UTC | In test_heapq and test_bisect, test both the Python and the C implementation. Originally written for GHOP by Josip Dzolonga, heavily patched by me. | 23 February 2008, 22:35:33 UTC |
c76ea27 | Georg Brandl | 23 February 2008, 22:14:02 UTC | Use os.closerange(). | 23 February 2008, 22:14:02 UTC |
8d01bb2 | Georg Brandl | 23 February 2008, 22:09:24 UTC | Use os.closerange() in popen2. | 23 February 2008, 22:09:24 UTC |
ffada76 | Georg Brandl | 23 February 2008, 22:05:38 UTC | Add examples to modulefinder docs. Written for GHOP by Josip Dzolonga. | 23 February 2008, 22:05:38 UTC |
7d00992 | Georg Brandl | 23 February 2008, 21:59:11 UTC | #2101: fix removeAttribute docs. | 23 February 2008, 21:59:11 UTC |
a885c15 | Jeffrey Yasskin | 23 February 2008, 20:40:35 UTC | Followup to r61011: Also avoid the reference cycle when the Thread's target raises an exception. | 23 February 2008, 20:40:35 UTC |
3414ea9 | Jeffrey Yasskin | 23 February 2008, 19:40:54 UTC | Prevent classes like: class RunSelfFunction(object): def __init__(self): self.thread = threading.Thread(target=self._run) self.thread.start() def _run(self): pass from creating a permanent cycle between the object and the thread by having the Thread delete its references to the object when it completes. As an example of the effect of this bug, paramiko.Transport inherits from Thread to avoid it. | 23 February 2008, 19:40:54 UTC |
1beea27 | Andrew M. Kuchling | 23 February 2008, 19:28:58 UTC | #1389051, #1092502: fix excessively large allocations when using read() on a socket | 23 February 2008, 19:28:58 UTC |
1219a80 | Andrew M. Kuchling | 23 February 2008, 19:02:33 UTC | #1389051: IMAP module tries to read entire message in one chunk. Patch by Fredrik Lundh. | 23 February 2008, 19:02:33 UTC |
1704828 | Georg Brandl | 23 February 2008, 18:47:04 UTC | Documentation coverage builder, part 1. | 23 February 2008, 18:47:04 UTC |
4034685 | Christian Heimes | 23 February 2008, 17:52:07 UTC | Issue #2051 and patch from Alexander Belopolsky: Permission for pyc and pyo files are inherited from the py file. | 23 February 2008, 17:52:07 UTC |
f0476e8 | Christian Heimes | 23 February 2008, 17:42:31 UTC | Patch #1957: syslogmodule: Release GIL when calling syslog(3) | 23 February 2008, 17:42:31 UTC |
c5f05e4 | Christian Heimes | 23 February 2008, 17:40:11 UTC | Patch #2167 from calvin: Remove unused imports | 23 February 2008, 17:40:11 UTC |
19aff0c | Andrew M. Kuchling | 23 February 2008, 17:10:46 UTC | #1433694: minidom's .normalize() failed to set .nextSibling for last element. Fix by Malte Helmert | 23 February 2008, 17:10:46 UTC |
8887e54 | Andrew M. Kuchling | 23 February 2008, 16:39:43 UTC | #835521: Add index entries for various pickle-protocol methods and attributes | 23 February 2008, 16:39:43 UTC |
085f75a | Andrew M. Kuchling | 23 February 2008, 16:23:05 UTC | #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances. Remove automatic handling of datetime.date and datetime.time. This breaks backward compatibility, but python-dev discussion was strongly against this automatic conversion; see the bug for a link. | 23 February 2008, 16:23:05 UTC |
8328bbc | Eric Smith | 23 February 2008, 16:05:26 UTC | Removed duplicate Py_CHARMASK define. It's already defined in Python.h. | 23 February 2008, 16:05:26 UTC |
322349e | Andrew M. Kuchling | 23 February 2008, 15:49:35 UTC | #1119331: ncurses will just call exit() if the terminal name isn't found. Call setupterm() first so that we get a Python exception instead of just existing. | 23 February 2008, 15:49:35 UTC |
5972493 | Georg Brandl | 23 February 2008, 15:43:48 UTC | #2161: Fix opcode name. | 23 February 2008, 15:43:48 UTC |
b678f98 | Andrew M. Kuchling | 23 February 2008, 15:41:51 UTC | #2072: correct documentation for .rpc_paths | 23 February 2008, 15:41:51 UTC |
080b094 | Georg Brandl | 23 February 2008, 15:19:54 UTC | More difflib examples. Written for GHOP by Josip Dzolonga. | 23 February 2008, 15:19:54 UTC |
ad61bc8 | Georg Brandl | 23 February 2008, 15:11:18 UTC | #2067: file.__exit__() now calls subclasses' close() method. | 23 February 2008, 15:11:18 UTC |
7e251e8 | Facundo Batista | 23 February 2008, 15:07:35 UTC | Issue 1089358. Adds the siginterrupt() function, that is just a wrapper around the system call with the same name. Also added test cases, doc changes and NEWS entry. Thanks Jason and Ralf Schmitt. | 23 February 2008, 15:07:35 UTC |
57826cf | Georg Brandl | 23 February 2008, 15:06:25 UTC | #2165: fix test_logging failure on some machines. | 23 February 2008, 15:06:25 UTC |
1647923 | Georg Brandl | 23 February 2008, 15:02:28 UTC | #1492: allow overriding BaseHTTPServer's content type for error messages. | 23 February 2008, 15:02:28 UTC |
5224d28 | Christian Heimes | 23 February 2008, 15:01:05 UTC | Patch #1759: Backport of PEP 3129 class decorators with some help from Georg | 23 February 2008, 15:01:05 UTC |
b12f0b5 | Facundo Batista | 23 February 2008, 12:46:10 UTC | Issue 1781. Now ConfigParser.add_section does not let you add a DEFAULT section any more, because it duplicated sections with the rest of the machinery. Thanks Tim Lesher and Manuel Kaufmann. | 23 February 2008, 12:46:10 UTC |
1660933 | Facundo Batista | 23 February 2008, 12:27:17 UTC | Issue 1776581. Minor corrections to smtplib, and two small tests. Thanks Alan McIntyre. | 23 February 2008, 12:27:17 UTC |
fc2d010 | Facundo Batista | 23 February 2008, 12:01:13 UTC | Issue 1881. Increased the stack limit from 500 to 1500. Also added a test for this (and because of this test you'll see in stderr a message that parser.c sends before raising MemoryError). Thanks Ralf Schmitt. | 23 February 2008, 12:01:13 UTC |
7832d4d | Raymond Hettinger | 23 February 2008, 10:04:15 UTC | Add recipe using itertools.product(). | 23 February 2008, 10:04:15 UTC |
532316d | Raymond Hettinger | 23 February 2008, 04:03:50 UTC | Add more comments | 23 February 2008, 04:03:50 UTC |
a73fbe7 | Eric Smith | 23 February 2008, 03:09:44 UTC | Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct(). | 23 February 2008, 03:09:44 UTC |
73d7963 | Raymond Hettinger | 23 February 2008, 02:20:41 UTC | Improve the implementation of itertools.product() * Fix-up issues pointed-out by Neal Norwitz. * Add extensive comments. * The lz->result variable is now a tuple instead of a list. * Use fast macro getitem/setitem calls so most code is in-line. * Re-use the result tuple if available (modify in-place instead of copy). | 23 February 2008, 02:20:41 UTC |
c5705a8 | Raymond Hettinger | 22 February 2008, 19:50:06 UTC | Document itertools.product(). | 22 February 2008, 19:50:06 UTC |
fb0742f | Eric Smith | 22 February 2008, 17:43:17 UTC | Tests for bin() builtin. These need to get merged into py3k, which has no tests for bin. | 22 February 2008, 17:43:17 UTC |
3cd8194 | Eric Smith | 22 February 2008, 16:30:22 UTC | Added bin() builtin. I'm going to check in the tests in a seperate checkin, because the builtin doesn't need to be ported to py3k, but the tests are missing in py3k and need to be merged there. | 22 February 2008, 16:30:22 UTC |
1699db1 | Georg Brandl | 22 February 2008, 12:57:05 UTC | Another fix. | 22 February 2008, 12:57:05 UTC |
4e37c66 | Georg Brandl | 22 February 2008, 12:56:34 UTC | Don't reference pyshell. | 22 February 2008, 12:56:34 UTC |
907a720 | Georg Brandl | 22 February 2008, 12:31:45 UTC | A lot more typo fixes by Ori Avtalion. | 22 February 2008, 12:31:45 UTC |
a14a4e8 | Nick Coghlan | 22 February 2008, 10:54:06 UTC | Try to make command line error messages from runpy easier to understand (and suppress traceback cruft from the implicitly invoked runpy machinery) | 22 February 2008, 10:54:06 UTC |
50986cc | Raymond Hettinger | 22 February 2008, 03:16:42 UTC | First draft for itertools.product(). Docs and other updates forthcoming. | 22 February 2008, 03:16:42 UTC |
12db865 | Georg Brandl | 21 February 2008, 20:38:13 UTC | Part of #2154: minimal syntax fixes in doc example snippets. | 21 February 2008, 20:38:13 UTC |
359b9e9 | Georg Brandl | 21 February 2008, 20:33:38 UTC | #2079: typo in userdict docs. | 21 February 2008, 20:33:38 UTC |
ce584d4 | Eric Smith | 21 February 2008, 20:17:08 UTC | Moved test_format into the correct TestCase. | 21 February 2008, 20:17:08 UTC |
af16ece | Guido van Rossum | 21 February 2008, 19:46:35 UTC | Fix a few typos and layout glitches (more work is needed). Move 2.5 news to Misc/HISTORY. | 21 February 2008, 19:46:35 UTC |
31ce5cb | Raymond Hettinger | 21 February 2008, 19:24:53 UTC | Update more instances of has_key(). | 21 February 2008, 19:24:53 UTC |
8982cf5 | Thomas Heller | 21 February 2008, 18:52:20 UTC | Replace 'has_key()' with 'in'. Replace 'raise Error, stuff' with 'raise Error(stuff)'. | 21 February 2008, 18:52:20 UTC |
981f318 | Thomas Heller | 21 February 2008, 18:28:48 UTC | configure.ac: Remove the configure check for _Bool, it is already done in the top-level Python configure script. configure, fficonfig.h.in: regenerated. | 21 February 2008, 18:28:48 UTC |
8bc0965 | Guido van Rossum | 21 February 2008, 18:18:37 UTC | Removed uses of dict.has_key() from distutils, and uses of callable() from copy_reg.py, so the interpreter now starts up without warnings when '-3' is given. More work like this needs to be done in the rest of the stdlib. | 21 February 2008, 18:18:37 UTC |
b5e2684 | Guido van Rossum | 21 February 2008, 17:46:16 UTC | Remove news about float repr() -- issue 1580 is still in limbo. | 21 February 2008, 17:46:16 UTC |
2d6c13e | Andrew M. Kuchling | 21 February 2008, 14:23:38 UTC | Close manifest file. This change doesn't make any difference to CPython, but is a necessary fix for Jython. | 21 February 2008, 14:23:38 UTC |
8a803dd | Eric Smith | 20 February 2008, 23:39:28 UTC | Now that PyOS_ascii_formatd supports the 'n' format, simplify the float formatting code to just call it. | 20 February 2008, 23:39:28 UTC |
7ef40bf | Eric Smith | 20 February 2008, 23:34:22 UTC | Trim leading zeros from a floating point exponent, per C99. See issue 1600. As far as I know, this only affects Windows. Add float type 'n' to PyOS_ascii_formatd (see PEP 3101 for 'n' description). | 20 February 2008, 23:34:22 UTC |
e1b8e9c | Georg Brandl | 20 February 2008, 19:12:36 UTC | Fixes contributed by Ori Avtalion. | 20 February 2008, 19:12:36 UTC |
5a3c135 | Eric Smith | 19 February 2008, 13:21:56 UTC | Added PEP 3101. | 19 February 2008, 13:21:56 UTC |
ba486c5 | Eric Smith | 19 February 2008, 12:27:59 UTC | Added dependencies for stringobject.o. This should fix failing tests in test_unicode.py. | 19 February 2008, 12:27:59 UTC |
bc32fee | Eric Smith | 18 February 2008, 18:02:34 UTC | Added code to correct combining str and unicode in ''.format(). Added test case. | 18 February 2008, 18:02:34 UTC |
5299935 | Kristján Valur Jónsson | 18 February 2008, 17:40:47 UTC | Perform correct handling of stack overflow for windows: Catch the correct exception code and reset the overflow condition when handled. | 18 February 2008, 17:40:47 UTC |
d50a5f2 | Eric Smith | 18 February 2008, 14:25:02 UTC | Temporarily removed float tests. See issue 1600. | 18 February 2008, 14:25:02 UTC |
d14600e | Facundo Batista | 18 February 2008, 12:48:43 UTC | Issue 1224. Now we support again the double slash in the URL. Thanks Anthony Lenton. | 18 February 2008, 12:48:43 UTC |
759bfc6 | Facundo Batista | 18 February 2008, 03:43:43 UTC | Issue #1916. Added isgenerator() and isgeneratorfunction() to inspect.py. Thanks Javi Mansilla for patch review and corrections. | 18 February 2008, 03:43:43 UTC |
b169eaa | Georg Brandl | 17 February 2008, 21:18:55 UTC | #2133: fix HTML color spec. | 17 February 2008, 21:18:55 UTC |
e7fa408 | Amaury Forgeot d'Arc | 17 February 2008, 20:56:31 UTC | Compilation was broken on Windows since the introduction of Advanced String Formatting. Only PCBuild (vs9) was really tested. Changes for older compilers were done manually. | 17 February 2008, 20:56:31 UTC |
a9f7d62 | Eric Smith | 17 February 2008, 19:46:49 UTC | Backport of PEP 3101, Advanced String Formatting, from py3k. Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k). | 17 February 2008, 19:46:49 UTC |
e139688 | Facundo Batista | 17 February 2008, 18:59:29 UTC | Issue 2112. mmap does not raises EnvironmentError no more, but a subclass of it. Thanks John Lenton. | 17 February 2008, 18:59:29 UTC |
f88a077 | Facundo Batista | 17 February 2008, 16:21:13 UTC | Now we handle different the backup copy, because of security issues regarding user/group and permissions. Fixes 1050828. | 17 February 2008, 16:21:13 UTC |
27cca3c | Georg Brandl | 17 February 2008, 15:14:10 UTC | Fix function name. | 17 February 2008, 15:14:10 UTC |
5e203f5 | Georg Brandl | 17 February 2008, 11:33:38 UTC | #2131: note that codecs.open() always opens files in binary mode. | 17 February 2008, 11:33:38 UTC |
f9db8a3 | Brett Cannon | 17 February 2008, 01:59:18 UTC | Move test_logging over to doctest. Thanks to Christopher White from GHOP. | 17 February 2008, 01:59:18 UTC |
632fad3 | Amaury Forgeot d'Arc | 16 February 2008, 20:55:24 UTC | Prevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer is still present in the containing structure. | 16 February 2008, 20:55:24 UTC |
588ff93 | Amaury Forgeot d'Arc | 16 February 2008, 14:34:57 UTC | Crashers of the day: Py_CLEAR must be used when there is a chance that the function can be called recursively. This was discussed in issue1020188. In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect, except when they appear in tp_new or tp_dealloc functions, or when the member cannot be of a user-defined class. Note that tp_init is not safe. I do have a (crashing) example for every changed line. Is it worth adding them to the test suite? Example: class SpecialStr(str): def __del__(self): s.close() import cStringIO s = cStringIO.StringIO(SpecialStr("text")) s.close() # Segfault | 16 February 2008, 14:34:57 UTC |
943321d | Georg Brandl | 16 February 2008, 09:37:32 UTC | #2120: broken links in advocacy document. | 16 February 2008, 09:37:32 UTC |
71fa93a | Raymond Hettinger | 16 February 2008, 01:22:54 UTC | Add __all__ to logging module. | 16 February 2008, 01:22:54 UTC |
64d6843 | Amaury Forgeot d'Arc | 16 February 2008, 00:16:50 UTC | mmap.PROT_READ does not exists on win32; Skip this test created by r60830. | 16 February 2008, 00:16:50 UTC |
d8bcbf2 | Amaury Forgeot d'Arc | 15 February 2008, 22:44:20 UTC | Re-enable tests, they were failing since gc.collect() clears the various freelists. They still remain fragile. For example, a call to assertEqual currently does not make any allocation (which surprised me at first). But this can change when gc.collect also deletes the numerous "zombie frames" attached to each function. | 15 February 2008, 22:44:20 UTC |
f05fa33 | Kurt B. Kaiser | 15 February 2008, 22:25:09 UTC | Configured selection highlighting colors were ignored; updating highlighting in the config dialog would cause non-Python files to be colored as if they were Python source; improve use of ColorDelagator. Patch 1334. Tal Einat. | 15 February 2008, 22:25:09 UTC |
e312cfd | Kurt B. Kaiser | 15 February 2008, 21:56:36 UTC | ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat. | 15 February 2008, 21:56:36 UTC |
f67abcc | Amaury Forgeot d'Arc | 15 February 2008, 21:27:44 UTC | Temporarily let these tests pass | 15 February 2008, 21:27:44 UTC |
60d6c7f | Amaury Forgeot d'Arc | 15 February 2008, 21:22:45 UTC | Issue #2115: __slot__ attributes setting was 10x slower. Also correct a possible crash using ABCs. This change is exactly the same as an optimisation done 5 years ago, but on slot *access*: http://svn.python.org/view?view=rev&rev=28297 | 15 February 2008, 21:22:45 UTC |
e9b9b35 | Raymond Hettinger | 15 February 2008, 21:21:25 UTC | Update example to match the current syntax. | 15 February 2008, 21:21:25 UTC |
0473517 | Skip Montanaro | 15 February 2008, 19:03:59 UTC | Two new functions: * place_summary_first copies the regrtest summary to the front of the file making it easier to scan quickly for problems. * count_failures gets the actual count of the number of failing tests, not just a 1 (some failures) or 0 (no failures). | 15 February 2008, 19:03:59 UTC |
3f91437 | Eric Smith | 15 February 2008, 12:14:32 UTC | In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long. It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long. | 15 February 2008, 12:14:32 UTC |
7adfad8 | Christian Heimes | 15 February 2008, 08:20:11 UTC | Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ Thanks to Thomas Herve for the fix. | 15 February 2008, 08:20:11 UTC |
2f0da53 | Christian Heimes | 15 February 2008, 06:57:08 UTC | Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them. | 15 February 2008, 06:57:08 UTC |
e247f00 | Christian Heimes | 14 February 2008, 22:40:11 UTC | Use a static and interned string for __subclasscheck__ and __instancecheck__ as suggested by Thomas Heller in #2115 | 14 February 2008, 22:40:11 UTC |
e7fb0c5 | Thomas Heller | 14 February 2008, 21:00:28 UTC | Try to correct a markup error that does hide the following paragraph. | 14 February 2008, 21:00:28 UTC |
36316e3 | Raymond Hettinger | 14 February 2008, 19:30:30 UTC | No need to register subclass of ABCs. | 14 February 2008, 19:30:30 UTC |
5111c52 | Raymond Hettinger | 14 February 2008, 19:02:39 UTC | Fix markup | 14 February 2008, 19:02:39 UTC |