summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #1700821: add a note to audioop docs about signedness of sample formats.Georg Brandl2008-03-241-0/+12
|
* Issue 2460: Make Ellipsis objects copyable.Raymond Hettinger2008-03-242-1/+4
|
* Tighten documentation for Random.triangular.Raymond Hettinger2008-03-241-5/+5
|
* Merged revisions 61724-61824 via svnmerge fromMartin v. Löwis2008-03-246-23/+62
| | | | | | | | | | | | | | | | | | 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' ........
* Have the binascii module use zlib's optimized crc32() function when availableGregory P. Smith2008-03-242-3/+41
| | | | | to reduce our code size (1k data table and tiny bit of code). It falls back to its own without zlib.
* prevent a warning from the struct module when data size >= 2**32.Gregory P. Smith2008-03-231-1/+1
|
* A bugfix for r61813, it would fail if the data size was >=2**32.Gregory P. Smith2008-03-231-5/+1
|
* replace calls to get the initial values with the raw constants.Gregory P. Smith2008-03-231-2/+2
|
* Fix gzip to deal with CRC's being signed values in Python 2.x properly and toGregory P. Smith2008-03-231-31/+13
| | | | | | | 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.
* Revert r61779 - It undid correct code and caused test_zlib to fail on allGregory P. Smith2008-03-231-4/+2
| | | | | | | | | | | 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.
* Adopt Nick's suggestion for useful default arguments.Raymond Hettinger2008-03-232-5/+11
| | | | Clean-up floating point issues by adding true division and float constants.
* Issue 1681432: Add triangular distribution the random module.Raymond Hettinger2008-03-234-1/+31
|
* #1477: ur'\U0010FFFF' raised in narrow unicode builds.Amaury Forgeot d'Arc2008-03-233-6/+63
| | | | | Corrected the raw-unicode-escape codec to use UTF-16 surrogates in this case, just like the unicode-escape codec.
* Make the doctests presentation-friendlier.Georg Brandl2008-03-231-4/+6
|
* Remove compiler warnings (on Alpha at least) about using chars asNeal Norwitz2008-03-232-9/+10
| | | | | array subscripts. Using chars are dangerous b/c they are signed on some platforms and unsigned on others.
* Try to prevent the alarm going off early in tearDownNeal Norwitz2008-03-231-1/+1
|
* Move itertools before future_builtins since the latter depends on the former.Neal Norwitz2008-03-231-2/+2
| | | | | From a clean build importing future_builtins would fail since itertools wasn't built yet.
* Suppress failure (to avoid a flaky test) if we cannot connect to svn.python.orgNeal Norwitz2008-03-231-2/+10
|
* Fix test_tarfile failures on Alpha (Tru64). The problem was caused in r61449Neal Norwitz2008-03-231-2/+4
| | | | | | | 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.
* Skip the epoll test if epoll() does not workNeal Norwitz2008-03-231-0/+6
|
* Speed up the test by avoiding socket timeouts.Neal Norwitz2008-03-231-3/+5
|
* Try to make this test a little more robust and not fail with:Neal Norwitz2008-03-231-4/+9
| | | | | | | | 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.
* Simplify demo code.Raymond Hettinger2008-03-232-2/+2
|
* Enable doctest running for several other documents.Georg Brandl2008-03-2220-90/+97
| | | | We have now over 640 doctests that are run with "make doctest".
* Enable doctests in functions.rst. Already found two errors :)Georg Brandl2008-03-221-10/+12
|
* Test doctests in operator docs.Georg Brandl2008-03-221-11/+12
|
* Test doctests in datetime docs.Georg Brandl2008-03-221-15/+19
|
* Make collections' doctests executable.Georg Brandl2008-03-221-43/+51
| | | | (The <BLANKLINE>s will be stripped from presentation output.)
* Fix-up syntax problems.Georg Brandl2008-03-221-21/+19
|
* No need to specify explicit "doctest_block" anymore.Georg Brandl2008-03-223-10/+13
|
* Make more doctests in pprint docs testable.Georg Brandl2008-03-221-17/+12
|
* Make doctests in re docs usable with sphinx' doctest.Georg Brandl2008-03-221-73/+88
|
* Test decimal.rst doctests as far as possible with sphinx doctest.Georg Brandl2008-03-222-32/+59
|
* Fixup this HOWTO's doctest blocks so that they can be run with sphinx' ↵Georg Brandl2008-03-221-189/+163
| | | | doctest builder.
* Allow giving source names on the cmdline.Georg Brandl2008-03-221-1/+2
|
* Activate the Sphinx doctest extension and convert howto/functional to use it.Georg Brandl2008-03-223-6/+19
|
* #1918: document that weak references *to* an object areGeorg Brandl2008-03-221-16/+24
| | | | | cleared before the object's __del__ is called, to ensure that the weak reference callback (if any) finds the object healthy.
* Added warning for the removal of 'hotshot' in Py3k.Alexandre Vassalotti2008-03-221-1/+3
|
* Small fix that complicated the test actually when thatFacundo Batista2008-03-221-4/+10
| | | | test failed.
* Install lib2to3.Martin v. Löwis2008-03-221-0/+3
|
* Merged revisions 61602-61723 via svnmerge fromMartin v. Löwis2008-03-2214-66/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Applied patch #1657 epoll and kqueue wrappers for the select moduleChristian Heimes2008-03-2111-22/+2044
| | | | | 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
* Add missing versionadded tag.Georg Brandl2008-03-211-0/+2
|
* Replace hack in regrtest.py with use of sys.py3kwarning.Steven Bethard2008-03-211-7/+2
|
* Update doc ACKS.Georg Brandl2008-03-211-0/+1
|
* #2160: document PyImport_GetImporter.Georg Brandl2008-03-211-0/+13
|
* #2348: add py3k warning for file.softspace.Georg Brandl2008-03-213-2/+46
|
* #2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack ↵Georg Brandl2008-03-214-1/+30
| | | | Diederich.
* #2358: add py3k warning to sys.exc_clear().Georg Brandl2008-03-213-1/+16
|
* Issue #2432: give DictReader the dialect and line_num attributesGeorg Brandl2008-03-213-10/+18
| | | | advertised in the docs.