https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
189b6d8 More copyright year and version number bumps 01 March 2008, 03:15:20 UTC
9d225e6 Give IDLE a release date 01 March 2008, 03:00:52 UTC
b44ba06 Untagging. 01 March 2008, 03:00:01 UTC
4becc2f Tagging 2.6a1 01 March 2008, 02:57:23 UTC
7c07523 Add date to NEWS 01 March 2008, 02:53:36 UTC
a8ee94b fix typo 01 March 2008, 02:45:07 UTC
c853f5d bump idle version number 01 March 2008, 02:26:42 UTC
5297361 Bump to version 2.6a1 01 March 2008, 02:23:38 UTC
1cc60ed Updated to pysqlite 2.4.1. Documentation additions will come later. 29 February 2008, 22:08:41 UTC
0e795e7 Package Tcl from tcltk64 on AMD64. 29 February 2008, 20:54:44 UTC
d9153fd Make _hashlib depend on pythoncore. 29 February 2008, 20:26:53 UTC
9e05135 Port build_ssl.py to 2.4; support HOST_PYTHON variable 29 February 2008, 18:54:45 UTC
3fd0c44 #2208: allow for non-standard HHC location. 29 February 2008, 18:21:29 UTC
8b6552d Build db-4.4.20 with VS9; remove VS2003 build if necessary. 29 February 2008, 18:17:23 UTC
3c94088 Until we got downloadable docs, stop confusing viewers by talking about a nonexisting table. 29 February 2008, 18:15:36 UTC
f06858d Make _hashlib a separate project. 29 February 2008, 16:59:21 UTC
f4da777 Fix docstring typo. 29 February 2008, 03:29:17 UTC
08ff682 Handle the repeat keyword argument for itertools.product(). 29 February 2008, 02:21:48 UTC
1ddf1d8 Add __format__ method to Decimal, to support PEP 3101 29 February 2008, 02:16:37 UTC
b4cbc98 Add alternate constructor for itertools.chain(). 28 February 2008, 22:46:41 UTC
05bf633 Have itertools.chain() consume its inputs lazily instead of building a tuple of iterators at the outset. 28 February 2008, 22:30:42 UTC
03dc56c Locate VS installation dir from environment, so that it works with the express edition. 28 February 2008, 22:20:50 UTC
acfd8ed Windows fix for signal test - skip it earlier 28 February 2008, 21:00:45 UTC
d9759c4 Bundle msvcr90.dll as a "private assembly". 28 February 2008, 19:57:34 UTC
1c5105d Add 2.6aN uuids. 28 February 2008, 19:44:22 UTC
330958e Document impending updates to itertools. 28 February 2008, 19:41:24 UTC
392c159 Prevent SocketServer.ForkingMixIn from waiting on child processes that it didn't create, in most cases. When there are max_children handlers running, it will still wait for any child process, not just handler processes. 28 February 2008, 18:03:15 UTC
a629852 #2169: make generated HTML more valid 28 February 2008, 14:03:03 UTC
cdddf18 The empty tuple is usually a singleton with a much higher refcnt than 1 28 February 2008, 11:18:49 UTC
18750ab Add repeat keyword argument to itertools.product(). 28 February 2008, 09:23:48 UTC
69e1309 Thread.start() used sleep(0.000001) to make sure it didn't return before the new thread had started. At least on my MacBook Pro, that wound up sleeping for a full 10ms (probably 1 jiffy). By using an Event instead, we can be absolutely certain that the thread has started, and return more quickly (217us). Before: $ ./python.exe -m timeit -s 'from threading import Thread' 't = Thread(); t.start(); t.join()' 100 loops, best of 3: 10.3 msec per loop $ ./python.exe -m timeit -s 'from threading import Thread; t = Thread()' 't.isAlive()' 1000000 loops, best of 3: 0.47 usec per loop After: $ ./python.exe -m timeit -s 'from threading import Thread' 't = Thread(); t.start(); t.join()' 1000 loops, best of 3: 217 usec per loop $ ./python.exe -m timeit -s 'from threading import Thread; t = Thread()' 't.isAlive()' 1000000 loops, best of 3: 0.86 usec per loop To be fair, the 10ms isn't CPU time, and other threads including the spawned one get to run during it. There are also some slightly more complicated ways to get back the .4us in isAlive() if we want. 28 February 2008, 06:09:19 UTC
180997b Speed test_socketserver up from 28.739s to 0.226s, simplify the logic, and make sure all tests run even if some fail. 28 February 2008, 05:53:18 UTC
960b9b7 Move abc._Abstract into object by adding a new flag Py_TPFLAGS_IS_ABSTRACT, which forbids constructing types that have it set. The effect is to speed ./python.exe -m timeit -s 'import abc' -s 'class Foo(object): __metaclass__ = abc.ABCMeta' 'Foo()' up from 2.5us to 0.201us. This fixes issue 1762. 28 February 2008, 04:45:36 UTC
c105289 Simply the sample code for combinations(). 27 February 2008, 01:44:34 UTC
2ab0552 Larger test range 27 February 2008, 01:08:30 UTC
3bd7712 One too many decrefs. 27 February 2008, 01:08:04 UTC
93e804d Add itertools.combinations(). 26 February 2008, 23:40:50 UTC
3ef2063 #2194: fix some typos. 26 February 2008, 19:13:45 UTC
ea83793 Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too. 26 February 2008, 17:23:51 UTC
ca37661 Add a timing flag to Trace so you can see where slowness occurs like waiting for socket timeouts in test_smtplib :-). 26 February 2008, 08:21:28 UTC
aa0ef52 The contains function raised a gcc warning. The new code is copied straight from py3k. 26 February 2008, 08:18:11 UTC
75992ed Speed up this test by about 99%. Remove sleeps and replace with events. (This may fail on some slow platforms, but we can fix those cases which should be relatively isolated and easier to find now.) Move two test cases that didn't require a server to be started to a separate TestCase. These tests were taking 3 seconds which is what the timeout was set to. 26 February 2008, 08:04:59 UTC
1b3e41c Banish tab. 26 February 2008, 06:40:10 UTC
df6ac3d Whitespace normalization 26 February 2008, 05:23:51 UTC
b628913 Whitespace normalization 26 February 2008, 05:12:50 UTC
b0917c1 Don't use a hard coded port. This test could hang/fail if the port is in use. Speed this test up by avoiding a sleep and using the event. 26 February 2008, 04:50:37 UTC
3fa41d5 Docs for itertools.combinations(). Implementation in forthcoming checkin. 26 February 2008, 02:46:54 UTC
b1d70e2 Coerced PyBool_Type to be able to compare it. 25 February 2008, 23:46:02 UTC
39df661 Revert part of r60927 which made invalid assumptions about the API offered by db modules. 25 February 2008, 23:17:41 UTC
9d63837 Make sure the itertools filter functions give the same performance for func=bool as func=None. 25 February 2008, 22:42:32 UTC
df41989 Issue 2168. gdbm and dbm needs to be iterable; this fixes a failure in the shelve module. Thanks Thomas Herve. 25 February 2008, 22:33:55 UTC
fd42906 Revert r61029. 25 February 2008, 20:20:45 UTC
976a059 Rename sphinx.addons to sphinx.ext. 25 February 2008, 20:17:56 UTC
4219da4 Issue 2117. Update compiler module to handle class decorators. Thanks Thomas Herve 25 February 2008, 18:06:00 UTC
a3c8c10 Thomas Herve explained to me that PyCrypto depends on the constants. I'm adding the aliases because C code for Python 2.x should compile under 2.6 as well. The aliases aren't available in Python 3.x though. 25 February 2008, 17:32:07 UTC
734451a Use file descriptor for real stdout 25 February 2008, 16:29:58 UTC
aa5e3ce Move .setupterm() output so that we don't try to call endwin() if it fails 25 February 2008, 16:29:19 UTC
c6b5200 Fix a minor typo in a docstring. 25 February 2008, 05:33:33 UTC
499969a Add minor markup for a string. 25 February 2008, 05:33:07 UTC
0031ff3 Fix indentation 25 February 2008, 01:45:37 UTC
3376d64 Added dependency rules for Objects/stringlib/*.h stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes 24 February 2008, 22:48:05 UTC
4b051ee Corrected assert to check for correct type in py3k. 24 February 2008, 21:41:49 UTC
6057b2e Create a db_home directory with a unique name so multiple users can run the test simultaneously. The simplest thing I found that worked on both Windows and Unix was to use the PID. It's unique so should be sufficient. This should prevent many of the spurious failures of the automated tests since they run as different users. Also cleanup the directory consistenly in the tearDown methods. It would be nice if someone ensured that the directories are always created with a consistent name. 24 February 2008, 18:47:03 UTC
6a123cb Remove duplicate 'import re' in decimal.py 24 February 2008, 18:12:36 UTC
09bde04 Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. 24 February 2008, 12:26:16 UTC
114dd94 Fix typo of hexidecimal 24 February 2008, 08:27:49 UTC
ed0a593 Get ctypes working on the Alpha (Tru64). The problem was that there were two module_methods and the one used depended on the order the modules were loaded. By making the test module_methods static, it is not exported and the correct version is picked up. 24 February 2008, 07:21:56 UTC
c11cecf Issue 1742669. Now %d accepts very big float numbers. Thanks Gabriel Genellina. 24 February 2008, 03:17:21 UTC
b93e7d1 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 Remove stray word 24 February 2008, 02:39:15 UTC
53152a1 map(None, ...) is not supported in 3.0. 24 February 2008, 02:20:25 UTC
8c460d5 #1627: httplib now ignores negative Content-Length headers. 24 February 2008, 00:14:24 UTC
2363503 #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 MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short. 23 February 2008, 23:59:45 UTC
4425e7c Specify what kind of warning -3 emits. 23 February 2008, 23:43:01 UTC
f1699cd Document import ./. threading issues. #1720705. 23 February 2008, 23:25:26 UTC
ebcfd11 #1506171: added operator.methodcaller(). 23 February 2008, 23:04:35 UTC
e2065c6 #1826: allow dotted attribute paths in operator.attrgetter. 23 February 2008, 23:02:23 UTC
b0b0317 #1825: correctly document msilib.add_data. 23 February 2008, 22:55:18 UTC
c12b988 Added simple test case. Thanks Benjamin Peterson. 23 February 2008, 22:54:12 UTC
0bb8567 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 Use os.closerange(). 23 February 2008, 22:14:02 UTC
8d01bb2 Use os.closerange() in popen2. 23 February 2008, 22:09:24 UTC
ffada76 Add examples to modulefinder docs. Written for GHOP by Josip Dzolonga. 23 February 2008, 22:05:38 UTC
7d00992 #2101: fix removeAttribute docs. 23 February 2008, 21:59:11 UTC
a885c15 Followup to r61011: Also avoid the reference cycle when the Thread's target raises an exception. 23 February 2008, 20:40:35 UTC
3414ea9 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 #1389051, #1092502: fix excessively large allocations when using read() on a socket 23 February 2008, 19:28:58 UTC
1219a80 #1389051: IMAP module tries to read entire message in one chunk. Patch by Fredrik Lundh. 23 February 2008, 19:02:33 UTC
1704828 Documentation coverage builder, part 1. 23 February 2008, 18:47:04 UTC
4034685 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 Patch #1957: syslogmodule: Release GIL when calling syslog(3) 23 February 2008, 17:42:31 UTC
c5f05e4 Patch #2167 from calvin: Remove unused imports 23 February 2008, 17:40:11 UTC
19aff0c #1433694: minidom's .normalize() failed to set .nextSibling for last element. Fix by Malte Helmert 23 February 2008, 17:10:46 UTC
8887e54 #835521: Add index entries for various pickle-protocol methods and attributes 23 February 2008, 16:39:43 UTC
085f75a #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 Removed duplicate Py_CHARMASK define. It's already defined in Python.h. 23 February 2008, 16:05:26 UTC
322349e #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 #2161: Fix opcode name. 23 February 2008, 15:43:48 UTC
b678f98 #2072: correct documentation for .rpc_paths 23 February 2008, 15:41:51 UTC
back to top