| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | socket.error doesn't have a headers attribute like ProtocolError. | Neal Norwitz | 2008-01-27 | 1 | -10/+10 |
| | | | | | Handle that situation where we catch socket.errors. | ||||
| * | Try to handle socket.errors properly in is_unavailable | Neal Norwitz | 2008-01-27 | 1 | -3/+7 |
| | | |||||
| * | Update the comment and remove the close. If we close we can't flush anymore. | Neal Norwitz | 2008-01-27 | 1 | -2/+1 |
| | | | | | | We might still need to close after the for loop if flushing 6! times still doesn't cause the signal/exception. | ||||
| * | Print periodic "still working" messages since this suite is slow. | Neal Norwitz | 2008-01-27 | 1 | -0/+26 |
| | | |||||
| * | Catch socket errors that are often the cause of transient failures. | Neal Norwitz | 2008-01-27 | 1 | -10/+10 |
| | | | | | | Many of these exceptions are due to resource unavailable, so the existing code should be able to handle many more spurious errors. | ||||
| * | Retry connection in case it fails to reduce flakiness | Neal Norwitz | 2008-01-27 | 1 | -3/+30 |
| | | |||||
| * | Add a tiny sleep and additional flush to force the file to really be synced. | Neal Norwitz | 2008-01-27 | 1 | -2/+5 |
| | | |||||
| * | Make rational.gcd() public and allow Rational to take decimal strings, per | Jeffrey Yasskin | 2008-01-27 | 1 | -6/+40 |
| | | | | | Raymond's advice. | ||||
| * | Try to prevent this test from being flaky. We might need a sleep in here | Neal Norwitz | 2008-01-27 | 1 | -2/+6 |
| | | | | | | | | which isn't as bad as it sounds. The close() *should* raise an exception, so if it didn't we should give more time to sync and really raise it. Will backport. | ||||
| * | Eliminate the sleeps that assume the server will start in .5 seconds. | Neal Norwitz | 2008-01-27 | 1 | -20/+26 |
| | | | | | | This should make the test less flaky. It also speeds up the test by about 75% on my box (20+ seconds -> ~4 seconds). | ||||
| * | On some systems (e.g., Ubuntu on hppa) the flush() | Neal Norwitz | 2008-01-26 | 1 | -0/+3 |
| | | | | | | | doesn't cause the exception, but the close() does. Will backport. | ||||
| * | Reduce the race condition by signalling when the server is ready | Neal Norwitz | 2008-01-26 | 1 | -0/+3 |
| | | | | | and not trying to connect before. | ||||
| * | Always try to remove the test file even if close raises an exception | Neal Norwitz | 2008-01-26 | 1 | -2/+1 |
| | | |||||
| * | Unit test fix from Giampaolo Rodola, #1938 | Christian Heimes | 2008-01-26 | 1 | -0/+1 |
| | | |||||
| * | #1473257: add generator.gi_code attribute that refers to | Georg Brandl | 2008-01-26 | 1 | -1/+19 |
| | | | | | the original code object backing the generator. Patch by Collin Winter. | ||||
| * | The OS X buildbot had errors with the unavailable exceptions disabled. ↵ | Neal Norwitz | 2008-01-26 | 1 | -8/+2 |
| | | | | | Restore it. | ||||
| * | Use a condition variable (threading.Event) rather than sleeps and checking a | Neal Norwitz | 2008-01-26 | 1 | -14/+19 |
| | | | | | | | | | | | | | | global to determine when the server is ready to be used. This slows the test down, but should make it correct. There was a race condition before where the server could have assigned a port, yet it wasn't ready to serve requests. If the client sent a request before the server was completely ready, it would get an exception. There was machinery to try to handle this condition. All of that should be unnecessary and removed if this change works. A NOTE was added as a comment about what needs to be fixed. The buildbots will tell us if there are more errors or if this test is now stable. | ||||
| * | Prevent this test from failing if there are transient network problems | Neal Norwitz | 2008-01-26 | 1 | -10/+30 |
| | | | | | by retrying the host for up to 3 times. | ||||
| * | Changes 54857 and 54840 broke code and were reverted in Py2.5 just before | Raymond Hettinger | 2008-01-25 | 1 | -8/+0 |
| | | | | | it was released, but that reversion never made it to the Py2.6 head. | ||||
| * | Make the test more robust by trying to reconnect up to 3 times | Neal Norwitz | 2008-01-25 | 1 | -19/+35 |
| | | | | | | | | in case there were transient failures. This will hopefully silence the buildbots for this test. As we find other tests that have a problem, we can fix with a similar strategy assuming it is successful. It worked on my box in a loop for 10+ runs where it would have an exception otherwise. | ||||
| * | Fix-up signature for approximation. | Raymond Hettinger | 2008-01-25 | 1 | -4/+4 |
| | | |||||
| * | Add support for copy, deepcopy, and pickle. | Raymond Hettinger | 2008-01-25 | 1 | -0/+8 |
| | | |||||
| * | #1920: when considering a block starting by "while 0", the compiler ↵ | Amaury Forgeot d'Arc | 2008-01-24 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | optimized the whole construct away, even when an 'else' clause is present:: while 0: print("no") else: print("yes") did not generate any code at all. Now the compiler emits the 'else' block, like it already does for 'if' statements. Will backport. | ||||
| * | Shorter pprint's for empty sets and frozensets. Fix indentation of ↵ | Raymond Hettinger | 2008-01-24 | 1 | -0/+192 |
| | | | | | frozensets. Add tests including two complex data structures. | ||||
| * | Expand tests to include nested graph structures. | Raymond Hettinger | 2008-01-24 | 1 | -0/+106 |
| | | |||||
| * | Add support for int(r) just like the other numeric classes. | Raymond Hettinger | 2008-01-24 | 1 | -0/+1 |
| | | |||||
| * | Add support for trunc(). | Raymond Hettinger | 2008-01-24 | 1 | -0/+11 |
| | | |||||
| * | Fix test67.py from issue #1303614. | Guido van Rossum | 2008-01-24 | 2 | -21/+24 |
| | | |||||
| * | Fi debug turd -- a call accidentally left out. | Guido van Rossum | 2008-01-24 | 1 | -1/+1 |
| | | |||||
| * | Fix issue1789: The tutorial contained a misuse of the struct module. | Gregory P. Smith | 2008-01-24 | 1 | -1/+1 |
| | | | | | (also remove an unneeded import struct from test_largefile) | ||||
| * | Fix the tests by restoring __import__. I think the test is still valid. | Neal Norwitz | 2008-01-24 | 1 | -4/+6 |
| | | |||||
| * | Minor clean-up and more tests. | Raymond Hettinger | 2008-01-24 | 1 | -0/+11 |
| | | |||||
| * | Add first-cut at an approximation function (still needs rounding tweaks). ↵ | Raymond Hettinger | 2008-01-24 | 1 | -0/+12 |
| | | | | | Add continued fraction conversions. | ||||
| * | Turn three recently fixed crashers into regular tests. | Guido van Rossum | 2008-01-23 | 1 | -1/+70 |
| | | |||||
| * | Fix two crashers. | Guido van Rossum | 2008-01-23 | 2 | -42/+0 |
| | | |||||
| * | I'm tired of these tests breaking at Google due to our large number of | Guido van Rossum | 2008-01-23 | 2 | -0/+6 |
| | | | | | | users and groups in LDAP/NIS. So I'm limiting the extra-heavy part of the tests to passwd/group files with at most 1000 entries. | ||||
| * | Fix for #1087741 patch. | Georg Brandl | 2008-01-22 | 1 | -0/+7 |
| | | |||||
| * | - Fix Issue #1703448: A joined thread could show up in the | Gregory P. Smith | 2008-01-22 | 1 | -0/+18 |
| | | | | | | threading.enumerate() list after the join() for a brief period until it actually exited. | ||||
| * | Reformat some ugly code. | Georg Brandl | 2008-01-21 | 1 | -26/+27 |
| | | |||||
| * | Patch #1720595: add T_BOOL to the range of structmember types. | Georg Brandl | 2008-01-21 | 1 | -1/+7 |
| | | | | | Patch by Angelo Mottola, reviewed by MvL, tests by me. | ||||
| * | #1715: include sub-extension modules in pydoc text output. | Georg Brandl | 2008-01-21 | 1 | -0/+6 |
| | | |||||
| * | Issue #1882: when compiling code from a string, encoding cookies in the | Georg Brandl | 2008-01-21 | 1 | -1/+9 |
| | | | | | second line of code were not always recognized correctly. | ||||
| * | #1269: fix a bug in pstats.add_callers() and add a unit test file for pstats. | Georg Brandl | 2008-01-21 | 1 | -0/+26 |
| | | |||||
| * | #1876: fix typos in test_operator. | Georg Brandl | 2008-01-20 | 1 | -4/+4 |
| | | |||||
