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

sort by:
Revision Author Date Message Commit Date
630b57a Prepare integration of bytearray backport branch 26 March 2008, 12:32:49 UTC
13be2cf Added help options to PDB 26 March 2008, 11:57:47 UTC
27f4374 Add an example for an RFC 822 continuation. 26 March 2008, 09:32:46 UTC
7ddd10d Add Josiah. 26 March 2008, 09:04:36 UTC
fc7b3e3 Changed test so it no longer runs as a side effect of importing. 26 March 2008, 05:58:14 UTC
9f7af8d Changed test so it no longer runs as a side effect of importing. 26 March 2008, 05:32:51 UTC
22b3e3a Ensure that the mailbox is closed to prevent problems on Windows with removing an open file. This doesn't seem to be a problem in 2.6, but that appears to be somewhat accidental (specific to reference counting). When this gets merged to 3.0, it will make the 3.0 code simpler. 26 March 2008, 05:19:41 UTC
14f0bc7 Changed test so it no longer runs as a side effect of importing. 26 March 2008, 05:03:03 UTC
85fc3c1 Try to get this test to be less flaky. It was failing sometimes because the connect would succeed before the timeout occurred. Try using an address and port that hopefully doesn't exist to ensure we get no response. If this doesn't work, we can use a public address close to python.org and hopefully that address never gets taken. 26 March 2008, 04:55:51 UTC
7c29aae Add various items 26 March 2008, 00:30:02 UTC
a8c3f2b Minor docstring typos 26 March 2008, 00:16:50 UTC
da868d6 Opps! I merged the revisions, but forgot to add the header to ACKS 25 March 2008, 21:55:50 UTC
fffd939 Make _ctypes.c PY_SSIZE_T_CLEAN. 25 March 2008, 21:18:39 UTC
6f7e71d Merged the ACKS from py3k 25 March 2008, 21:14:42 UTC
8e85ffa Issue #2482: Make sure that the coefficient of a Decimal instance is always stored as a str instance, even when that Decimal has been created from a unicode string. 25 March 2008, 18:47:59 UTC
cdde579 Add Benjamin. 25 March 2008, 17:36:43 UTC
3b24ccb Issue #2478: Decimal(sqrt(0)) failed when the decimal context was not explicitly supplied. 25 March 2008, 14:33:23 UTC
f8f1fbd Move declarations to block start. 25 March 2008, 11:59:51 UTC
799b372 #2476: document that %default feature is new in 2.4. 25 March 2008, 08:39:10 UTC
1e7c375 #2359: add Py3k warning for array.read/array.write. 25 March 2008, 08:37:23 UTC
d65ab95 Fix tabs. 25 March 2008, 08:31:32 UTC
d5b635f Make Py3k warnings consistent w.r.t. punctuation; also respect the EOL 80 limit and supply more alternatives in warning messages. 25 March 2008, 08:29:14 UTC
80055f6 #2355: py3k warning for buffer(). 25 March 2008, 07:56:27 UTC
aef3e52 On platforms without zlib, make this do the right thing and return the python 2.x signed value. Also, don't waste space on a table full of unsigned longs when all it needs are unsigned ints (incase anyone builds this without zlib on a 64-bit unix for some strange reason). tested by forcing it to compile this version on both 32-bit and 64-bit linux. 25 March 2008, 07:46:07 UTC
1fa588e Use a 32-bit unsigned int here, a long is not needed. 25 March 2008, 07:31:28 UTC
18f1914 #868845: document <...> reprs. 25 March 2008, 07:20:15 UTC
bb89e68 Try to get this test to be more stable: * disable gc during the test run because we are spawning objects and there was an exception when calling Popen.__del__ * Always set an alarm handler so the process doesn't exit if the test fails (should probably add assertions on the value of hndl_called in more places) * Using a negative time causes Linux to treat it as zero, so disable that test. 25 March 2008, 07:00:39 UTC
be9160b Don't try to close a non-open file. Don't let file removal cause the test to fail. 25 March 2008, 06:35:10 UTC
8844096 A stab in the dark attempt to fix the alpha/tru64 buildbot problem and add more test coverage of valid inputs to zlib.crc32. 25 March 2008, 06:12:45 UTC
4677fbf Try to fix a bunch of compiler warnings on Win64. 25 March 2008, 04:18:18 UTC
40f5e4c Fix a bunch of UnboundLocalErrors when the tests fail. 25 March 2008, 04:17:38 UTC
fac02fa Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds. All buildbots compile with UCS2... 24 March 2008, 21:04:10 UTC
a113bd9 Added quick hack for bzr 24 March 2008, 19:58:17 UTC
6a453c3 Added quick hack for bzr 24 March 2008, 19:57:42 UTC
b74d084 Conditionalize sys/time.h inclusion. 24 March 2008, 13:54:23 UTC
aef18b1 Patch #2240: Implement signal.setitimer and signal.getitimer. 24 March 2008, 13:31:16 UTC
cdbc977 Install 2to3 script. 24 March 2008, 12:57:53 UTC
9bdead0 #1700821: add a note to audioop docs about signedness of sample formats. 24 March 2008, 09:34:34 UTC
b72233c Issue 2460: Make Ellipsis objects copyable. 24 March 2008, 08:17:39 UTC
d145240 Tighten documentation for Random.triangular. 24 March 2008, 06:07:49 UTC
966d0e0 Merged revisions 61724-61824 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61730 | martin.v.loewis | 2008-03-22 02:20:58 +0100 (Sa, 22 Mär 2008) | 2 lines More explicit relative imports. ........ r61755 | david.wolever | 2008-03-22 21:33:52 +0100 (Sa, 22 Mär 2008) | 1 line Fixing #2446 -- 2to3 now translates 'import foo' to 'from . import foo' ........ r61824 | david.wolever | 2008-03-24 01:30:24 +0100 (Mo, 24 Mär 2008) | 3 lines Fixed a bug where 'from itertools import izip' would return 'from itertools import' ........ 24 March 2008, 00:46:53 UTC
440ca77 Have the binascii module use zlib's optimized crc32() function when available to reduce our code size (1k data table and tiny bit of code). It falls back to its own without zlib. 24 March 2008, 00:08:01 UTC
dd10284 prevent a warning from the struct module when data size >= 2**32. 23 March 2008, 23:45:12 UTC
ac830e9 A bugfix for r61813, it would fail if the data size was >=2**32. 23 March 2008, 23:43:02 UTC
be446b4 replace calls to get the initial values with the raw constants. 23 March 2008, 22:14:38 UTC
79b4ba8 Fix gzip to deal with CRC's being signed values in Python 2.x properly and to read 32bit values as unsigned to start with rather than applying signedness fixups allover the place afterwards. This hopefully fixes the test_tarfile failure on the alpha/tru64 buildbot. 23 March 2008, 21:04:43 UTC
73f57b0 Revert r61779 - It undid correct code and caused test_zlib to fail on all platforms with a 64-bit long. The Alpha/Tru64 test problem is a problem in either tarfile or test_tarfile, not zlib. crc32 and adler32 return 32-bit values. by using a long thats larger than 32-bits in these functions they were prevented from wrapping around to their signed 32-bit value that we want them to return in python 2.x. 23 March 2008, 20:31:23 UTC
c4f7bab Adopt Nick's suggestion for useful default arguments. Clean-up floating point issues by adding true division and float constants. 23 March 2008, 19:37:53 UTC
bbc50ea Issue 1681432: Add triangular distribution the random module. 23 March 2008, 13:32:32 UTC
9a0d346 #1477: ur'\U0010FFFF' raised in narrow unicode builds. Corrected the raw-unicode-escape codec to use UTF-16 surrogates in this case, just like the unicode-escape codec. 23 March 2008, 09:55:29 UTC
6185433 Make the doctests presentation-friendlier. 23 March 2008, 08:05:30 UTC
ade57d0 Remove compiler warnings (on Alpha at least) about using chars as array subscripts. Using chars are dangerous b/c they are signed on some platforms and unsigned on others. 23 March 2008, 06:19:57 UTC
acdb6fb Try to prevent the alarm going off early in tearDown 23 March 2008, 06:16:04 UTC
0d2192b Move itertools before future_builtins since the latter depends on the former. From a clean build importing future_builtins would fail since itertools wasn't built yet. 23 March 2008, 06:13:25 UTC
41d6491 Suppress failure (to avoid a flaky test) if we cannot connect to svn.python.org 23 March 2008, 05:47:20 UTC
acbd642 Fix test_tarfile failures on Alpha (Tru64). The problem was caused in r61449 which made the return value signed. On the Alpha that also lost data since sizeof(int) != sizeof(long) and apparently adler32/crc32 return 64 bits of data. This change keeps the signedness and continues to store the data in a long rather than an int as was the case before r61449. 23 March 2008, 05:08:37 UTC
3bda069 Skip the epoll test if epoll() does not work 23 March 2008, 04:43:09 UTC
162d719 Speed up the test by avoiding socket timeouts. 23 March 2008, 04:08:30 UTC
1f2995b Try to make this test a little more robust and not fail with: timeout (10.0025) is more than 2 seconds more than expected (0.001) I'm assuming this problem is caused by DNS lookup. This change does a DNS lookup of the hostname before trying to connect, so the time is not included. 23 March 2008, 03:43:33 UTC
e70bb8d Simplify demo code. 23 March 2008, 00:55:46 UTC
e8f1b00 Enable doctest running for several other documents. We have now over 640 doctests that are run with "make doctest". 22 March 2008, 22:04:10 UTC
7a45ab8 Enable doctests in functions.rst. Already found two errors :) 22 March 2008, 21:38:33 UTC
4f0f34f Test doctests in operator docs. 22 March 2008, 21:26:44 UTC
3f04303 Test doctests in datetime docs. 22 March 2008, 21:21:57 UTC
4c8bbe6 Make collections' doctests executable. (The <BLANKLINE>s will be stripped from presentation output.) 22 March 2008, 21:06:20 UTC
3dd5781 Fix-up syntax problems. 22 March 2008, 20:08:43 UTC
838b4b0 No need to specify explicit "doctest_block" anymore. 22 March 2008, 13:07:06 UTC
473f164 Make more doctests in pprint docs testable. 22 March 2008, 12:59:37 UTC
6199e32 Make doctests in re docs usable with sphinx' doctest. 22 March 2008, 12:04:26 UTC
9f66232 Test decimal.rst doctests as far as possible with sphinx doctest. 22 March 2008, 11:47:10 UTC
09a7fe6 Fixup this HOWTO's doctest blocks so that they can be run with sphinx' doctest builder. 22 March 2008, 11:00:48 UTC
b98fe5a Allow giving source names on the cmdline. 22 March 2008, 10:58:38 UTC
17baef0 Activate the Sphinx doctest extension and convert howto/functional to use it. 22 March 2008, 10:56:23 UTC
86f38c8 #1918: document that weak references *to* an object are cleared before the object's __del__ is called, to ensure that the weak reference callback (if any) finds the object healthy. 22 March 2008, 10:07:29 UTC
ab68a3d Added warning for the removal of 'hotshot' in Py3k. 22 March 2008, 04:08:44 UTC
6415667 Small fix that complicated the test actually when that test failed. 22 March 2008, 02:45:37 UTC
3e838dd Install lib2to3. 22 March 2008, 00:02:41 UTC
baf267c Merged revisions 61602-61723 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61626 | david.wolever | 2008-03-19 17:19:16 +0100 (Mi, 19 Mär 2008) | 1 line Added fixer for implicit local imports. See #2414. ........ r61628 | david.wolever | 2008-03-19 17:57:43 +0100 (Mi, 19 Mär 2008) | 1 line Added a class for tests which should not run if a particular import is found. ........ r61629 | collin.winter | 2008-03-19 17:58:19 +0100 (Mi, 19 Mär 2008) | 1 line Two more relative import fixes in pgen2. ........ r61635 | david.wolever | 2008-03-19 20:16:03 +0100 (Mi, 19 Mär 2008) | 1 line Fixed print fixer so it will do the Right Thing when it encounters __future__.print_function. 2to3 gets upset, though, so the tests have been commented out. ........ r61637 | david.wolever | 2008-03-19 21:37:17 +0100 (Mi, 19 Mär 2008) | 3 lines Added a fixer for itertools imports (from itertools import imap, ifilterfalse --> from itertools import filterfalse) ........ r61645 | david.wolever | 2008-03-19 23:22:35 +0100 (Mi, 19 Mär 2008) | 1 line SVN is happier when you add the files you create... -_-' ........ r61654 | david.wolever | 2008-03-20 01:09:56 +0100 (Do, 20 Mär 2008) | 1 line Added an explicit sort order to fixers -- fixes problems like #2427 ........ r61664 | david.wolever | 2008-03-20 04:32:40 +0100 (Do, 20 Mär 2008) | 3 lines Fixes #2428 -- comments are no longer eatten by __future__ fixer. ........ r61673 | david.wolever | 2008-03-20 17:22:40 +0100 (Do, 20 Mär 2008) | 1 line Added 2to3 node pretty-printer ........ r61679 | david.wolever | 2008-03-20 20:50:42 +0100 (Do, 20 Mär 2008) | 1 line Made node printing a little bit prettier ........ r61723 | martin.v.loewis | 2008-03-22 00:59:27 +0100 (Sa, 22 Mär 2008) | 2 lines Fix whitespace. ........ 22 March 2008, 00:01:12 UTC
0e9ab5f Applied patch #1657 epoll and kqueue wrappers for the select module The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help. TODO: Finish documentation documentation 21 March 2008, 23:49:44 UTC
5f79446 Add missing versionadded tag. 21 March 2008, 21:05:03 UTC
d290b04 Replace hack in regrtest.py with use of sys.py3kwarning. 21 March 2008, 21:01:18 UTC
c326801 Update doc ACKS. 21 March 2008, 20:55:51 UTC
4ab9feb #2160: document PyImport_GetImporter. 21 March 2008, 20:55:20 UTC
65bb42d #2348: add py3k warning for file.softspace. 21 March 2008, 20:38:24 UTC
07e5681 #2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack Diederich. 21 March 2008, 20:21:46 UTC
5a44424 #2358: add py3k warning to sys.exc_clear(). 21 March 2008, 20:11:46 UTC
77354cf Issue #2432: give DictReader the dialect and line_num attributes advertised in the docs. 21 March 2008, 20:01:51 UTC
3312432 #2136: allow single quotes in realm spec. 21 March 2008, 19:54:00 UTC
d346475 Add docs for print_function and future_builtins. Fixes #2442. 21 March 2008, 19:37:57 UTC
3fbe20c Add docs for __func__ and __self__ on methods. 21 March 2008, 19:20:21 UTC
0629118 Fix a code block in __future__ docs. 21 March 2008, 19:14:38 UTC
510eab5 Speed test_threading up from 14s to .5s, and avoid a deadlock on certain failures. The test for enumerate-after-join is now a little less rigorous, but the bug it references says the error happened in the first couple iterations, so 100 iterations should still be enough. cProfile was useful for identifying the slow tests here. 21 March 2008, 18:48:04 UTC
413f588 Try to fix test_signal on FreeBSD. I'm assuming that os.kill is failing to raise a signal, but switching to subprocess makes the code cleaner anyway. 21 March 2008, 18:25:06 UTC
859043c Fix markup. 21 March 2008, 17:19:29 UTC
9c6c47b Mark the descitems in the tutorial as "noindex" so that :meth: cross-refs don't link to them. 21 March 2008, 14:32:33 UTC
6cda88e Try to fix test_signal breakages on Linux due to r61687. It appears that at least two of the linux build bots aren't leaving zombie processes around for os.waitpid to wait for, causing ECHILD errors. This would be a symptom of a bug somewhere, but probably not in signal itself. 21 March 2008, 05:51:37 UTC
cf26f54 Speed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls. 21 March 2008, 05:02:44 UTC
816a168 Comment how 'from __future__ import print_function' operates in 3.0. 20 March 2008, 23:56:08 UTC
33dd094 Fixed PEP name. 20 March 2008, 23:04:04 UTC
9cf2f5d Add lots of items 20 March 2008, 22:49:26 UTC
back to top