Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implementation of Fraction.limit_denominator. | Mark Dickinson | 2008-02-12 | 1 | -22/+9 |
| | | | | | Remove Fraction.to_continued_fraction and Fraction.from_continued_fraction | ||||
* | Add tests for pickletools.optimize(). | Raymond Hettinger | 2008-02-11 | 1 | -1/+22 |
| | |||||
* | Make sure that xstar headers are read correctly. | Lars Gustäbel | 2008-02-11 | 2 | -0/+9 |
| | |||||
* | Put an extra space into the repr of a Fraction: | Mark Dickinson | 2008-02-11 | 1 | -1/+1 |
| | | | | Fraction(1, 2) instead of Fraction(1,2). | ||||
* | The test requires the network resource | Christian Heimes | 2008-02-11 | 1 | -0/+2 |
| | |||||
* | Rename rational.Rational to fractions.Fraction, to avoid name clash | Mark Dickinson | 2008-02-10 | 2 | -32/+32 |
| | | | | with numbers.Rational. See issue #1682 for related discussion. | ||||
* | whoops - revert | Skip Montanaro | 2008-02-10 | 1 | -1/+1 |
| | |||||
* | Get the saying right. ;-) | Skip Montanaro | 2008-02-10 | 1 | -1/+1 |
| | |||||
* | Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as ↵ | Nick Coghlan | 2008-02-09 | 1 | -3/+65 |
| | | | | context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5) | ||||
* | Temporarily disable this test. It's been broken for a week. | Raymond Hettinger | 2008-02-09 | 1 | -15/+15 |
| | |||||
* | Update big5hkscs codec to conform to the HKSCS:2004 revision. | Hye-Shik Chang | 2008-02-08 | 3 | -5/+16 |
| | |||||
* | Oops! 2.6's Rational.__ne__ didn't work. | Jeffrey Yasskin | 2008-02-08 | 1 | -0/+2 |
| | |||||
* | issue 2045: Infinite recursion when printing a subclass of defaultdict, | Amaury Forgeot d'Arc | 2008-02-08 | 1 | -0/+23 |
| | | | | | | if default_factory is set to a bound method. Will backport. | ||||
* | Fixes Issue 1401. When redirected, a possible POST get converted | Facundo Batista | 2008-02-07 | 1 | -0/+9 |
| | | | | | | to GET, so it loses its payload. So, it also must lose the headers related to the payload (if it has no content any more, it shouldn't indicate content length and type). | ||||
* | Fixes issue 2026. Tests converted to unittest. Thanks | Facundo Batista | 2008-02-07 | 1 | -151/+164 |
| | | | | Giampaolo Rodola. | ||||
* | Update URL | Andrew M. Kuchling | 2008-02-07 | 1 | -1/+1 |
| | |||||
* | Merge r60628, r60631, and r60633. Register UserList and UserString will the ↵ | Raymond Hettinger | 2008-02-07 | 1 | -42/+0 |
| | | | | appropriate ABCs. | ||||
* | Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵ | Raymond Hettinger | 2008-02-07 | 1 | -0/+62 |
| | | | | collections.Sequence. | ||||
* | Revert accidental changes to test_queue in r60605. | Georg Brandl | 2008-02-06 | 1 | -20/+16 |
| | |||||
* | Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaN | Mark Dickinson | 2008-02-06 | 1 | -1/+19 |
| | | | | raise InvalidOperation (and return False if InvalidOperation is trapped). | ||||
* | Fixes issue 1959. Converted tests to unittest. | Facundo Batista | 2008-02-06 | 1 | -119/+97 |
| | | | | Thanks Giampaolo Rodola. | ||||
* | * Use the same code to profile for test_profile and test_cprofile. | Georg Brandl | 2008-02-05 | 5 | -416/+398 |
| | | | | | | | | * Convert both to unittest. * Use the same unit testing code. * Include the expected output in both test files. * Make it possible to regenerate the expected output by running the file as a script with an '-r' argument. | ||||
* | Actually run the test. | Georg Brandl | 2008-02-05 | 1 | -2/+2 |
| | |||||
* | Issue 1951. Converts wave test cases to unittest. | Facundo Batista | 2008-02-05 | 1 | -24/+37 |
| | |||||
* | Fix unittest conversion breakage. | Georg Brandl | 2008-02-05 | 1 | -29/+30 |
| | |||||
* | Change r60575 broke test_compile: | Amaury Forgeot d'Arc | 2008-02-05 | 1 | -0/+9 |
| | | | | there is no need to emit co_lnotab item when both offsets are zeros. | ||||
* | #1750076: Debugger did not step on every iteration of a while statement. | Amaury Forgeot d'Arc | 2008-02-04 | 1 | -3/+48 |
| | | | | | | | | | | | | The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4. | ||||
* | Small adjustments for test compact freelist test. It's no passing on Windows ↵ | Christian Heimes | 2008-02-04 | 1 | -5/+5 |
| | | | | as well. | ||||
* | Increase debugging to investige failing tests on some build bots | Christian Heimes | 2008-02-04 | 1 | -0/+3 |
| | |||||
* | Patch #1953 | Christian Heimes | 2008-02-04 | 2 | -1/+19 |
| | | | | | I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers. The patch also renames sys._cleartypecache to sys._clear_type_cache | ||||
* | Make int() and long() fall back to __trunc__(). See issue 2002. | Jeffrey Yasskin | 2008-02-04 | 1 | -0/+102 |
| | |||||
* | Let test_socketserver pass on win32, which does not have AF_UNIX sockets. | Amaury Forgeot d'Arc | 2008-02-03 | 1 | -7/+8 |
| | |||||
* | Correct test_mailbox on win32: since the test sets a custom 'colon' attribute | Amaury Forgeot d'Arc | 2008-02-03 | 1 | -0/+1 |
| | | | | to the main mailbox, copy it to secondary mailbox instances. | ||||
* | Use context manager for a lock. | Brett Cannon | 2008-02-03 | 1 | -4/+1 |
| | |||||
* | Wait for a delay before reaping children -- this should fix the | Georg Brandl | 2008-02-03 | 1 | -1/+2 |
| | | | | test_socketserver failures on several platforms. | ||||
* | Fix a conversion mistake that caused test_queue to fail intermittently. | Georg Brandl | 2008-02-02 | 1 | -4/+4 |
| | |||||
* | Make the Rational constructor accept '3.' and '.2' as well as '3.2'. | Mark Dickinson | 2008-02-02 | 1 | -0/+6 |
| | |||||
* | Rewrite test_cprofile as unittest (and rename the file to be consistent | Georg Brandl | 2008-02-02 | 3 | -202/+208 |
| | | | | with all other test files). Written for GHOP by Benjamin Peterson. | ||||
* | Rewrite test_queue as unittest. Written for GHOP by Ian Seyer. | Georg Brandl | 2008-02-02 | 1 | -231/+267 |
| | |||||
* | Rewrite test_socketserver as unittest, written for GHOP by Benjamin Petersen. | Georg Brandl | 2008-02-02 | 1 | -146/+177 |
| | |||||
* | Rewrite test_funcattrs as unittest, written for GHOP by Jeff Wheeler. | Georg Brandl | 2008-02-02 | 1 | -413/+280 |
| | |||||
* | Rewrite test_descr as unittest, written for GHOP by Jeff Wheeler. | Georg Brandl | 2008-02-02 | 1 | -4494/+4189 |
| | |||||
* | Test round-trip on float.as_integer_ratio() and float.__truediv__(). | Raymond Hettinger | 2008-02-01 | 1 | -0/+6 |
| | |||||
* | Issue #1996: float.as_integer_ratio() should return fraction in lowest terms. | Raymond Hettinger | 2008-02-01 | 1 | -0/+8 |
| | |||||
* | Roll back r60248. It's useful to encourage users not to change Rational | Jeffrey Yasskin | 2008-02-01 | 1 | -0/+11 |
| | | | | instances. | ||||
* | Move __builtins__.trunc() to math.trunc() per | Jeffrey Yasskin | 2008-02-01 | 5 | -46/+47 |
| | | | | | http://mail.python.org/pipermail/python-dev/2008-January/076626.html and issue 1965. | ||||
* | Issue #1678380. Fix a bug that identifies 0j and -0j when they appear | Mark Dickinson | 2008-01-31 | 1 | -0/+7 |
| | | | | | in the same code unit. The fix is essentially the same as the fix for a previous bug identifying 0. and -0. | ||||
* | Remove unused to-be-magic methods from Rational per issue 1968. Do not port | Jeffrey Yasskin | 2008-01-31 | 1 | -15/+0 |
| | | | | this patch to py3k. | ||||
* | Added clear cache methods to clear the internal type lookup cache for ref ↵ | Christian Heimes | 2008-01-27 | 1 | -0/+3 |
| | | | | leak test runs. | ||||
* | Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() because | Jeffrey Yasskin | 2008-01-27 | 1 | -1/+20 |
| | | | | | | | it's useful outside of rational numbers. This is my first C code that had to do anything significant. Please be more careful when looking over it. |