Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64) | Neal Norwitz | 2008-01-25 | 2 | -0/+10 |
| | | | | | and eliminate a compiler warning in floatobject.c. There might be a better way to go about this, but it should be good enough for now. | ||||
* | 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. | ||||
* | More design notes | Raymond Hettinger | 2008-01-25 | 1 | -0/+4 |
| | |||||
* | Fix-up signature for approximation. | Raymond Hettinger | 2008-01-25 | 2 | -9/+10 |
| | |||||
* | Add one other review comment. | Raymond Hettinger | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | Mark todos and review comments. | Raymond Hettinger | 2008-01-25 | 1 | -0/+13 |
| | |||||
* | Add support for copy, deepcopy, and pickle. | Raymond Hettinger | 2008-01-25 | 2 | -0/+23 |
| | |||||
* | More code cleanup. Remove unnecessary indirection to useless class methods. | Raymond Hettinger | 2008-01-24 | 1 | -15/+15 |
| | |||||
* | News entry for r60265 (Issue 1920). | Amaury Forgeot d'Arc | 2008-01-24 | 1 | -1/+6 |
| | |||||
* | #1920: when considering a block starting by "while 0", the compiler ↵ | Amaury Forgeot d'Arc | 2008-01-24 | 2 | -1/+13 |
| | | | | | | | | | | | | | | | | | 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 | 2 | -2/+200 |
| | | | | 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 | 2 | -0/+3 |
| | |||||
* | Invert the checks in get_[u]long and get_[u]longlong. The intent was | Thomas Heller | 2008-01-24 | 2 | -20/+32 |
| | | | | | | | to not accept float types; the result was that integer-like objects were not accepted. Ported from release25-maint. | ||||
* | Add support for trunc(). | Raymond Hettinger | 2008-01-24 | 2 | -0/+13 |
| | |||||
* | Replace Py_BuildValue with PyTuple_Pack because it is faster. | Thomas Heller | 2008-01-24 | 1 | -7/+10 |
| | | | | Also add a missing DECREF. | ||||
* | Use a PyDictObject again for the array type cache; retrieving items | Thomas Heller | 2008-01-24 | 1 | -16/+137 |
| | | | | | | | | from the WeakValueDictionary was slower by nearly a factor of 3. To avoid leaks, weakref proxies for the array types are put into the cache dict, with weakref callbacks that removes the entries when the type goes away. | ||||
* | News about recently fixed crashers: | Guido van Rossum | 2008-01-24 | 1 | -0/+4 |
| | | | | | | - A few crashers fixed: weakref_in_del.py (issue #1377858); loosing_dict_ref.py (issue #1303614, test67.py); borrowed_ref_[34].py (not in tracker). | ||||
* | Revert 60189 and restore performance. | Raymond Hettinger | 2008-01-24 | 1 | -8/+24 |
| | |||||
* | Clean-up and speed-up code by accessing numerator/denominator directly. ↵ | Raymond Hettinger | 2008-01-24 | 1 | -11/+3 |
| | | | | There's no reason to enforce readonliness | ||||
* | Fix test67.py from issue #1303614. | Guido van Rossum | 2008-01-24 | 3 | -21/+29 |
| | |||||
* | Fi debug turd -- a call accidentally left out. | Guido van Rossum | 2008-01-24 | 1 | -1/+1 |
| | |||||
* | Updated for optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -1/+8 |
| | |||||
* | Added documentation for optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -8/+18 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -11/+14 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -5/+20 |
| | |||||
* | Fix issue1789: The tutorial contained a misuse of the struct module. | Gregory P. Smith | 2008-01-24 | 3 | -6/+8 |
| | | | | (also remove an unneeded import struct from test_largefile) | ||||
* | Fix the test_urllib2net failures that were caused by r58067. | Neal Norwitz | 2008-01-24 | 1 | -2/+2 |
| | | | | | I'm not sure this is the correct fix, but at least the test passes now and should be closer to correct. | ||||
* | Fix the tests by restoring __import__. I think the test is still valid. | Neal Norwitz | 2008-01-24 | 1 | -4/+6 |
| | |||||
* | Cleanup | Raymond Hettinger | 2008-01-24 | 1 | -3/+1 |
| | |||||
* | Minor clean-up and more tests. | Raymond Hettinger | 2008-01-24 | 2 | -2/+15 |
| | |||||
* | Add first-cut at an approximation function (still needs rounding tweaks). ↵ | Raymond Hettinger | 2008-01-24 | 2 | -0/+48 |
| | | | | Add continued fraction conversions. | ||||
* | Turn three recently fixed crashers into regular tests. | Guido van Rossum | 2008-01-23 | 1 | -1/+70 |
| | |||||
* | There was an error on exit if no sys.exitfunc was defined. Issue 1647. | Kurt B. Kaiser | 2008-01-23 | 2 | -1/+6 |
| | |||||
* | Fix misleading comment reported in issue #1917. | Guido van Rossum | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | Could not open files in .idlerc directory if latter was hidden on Windows. | Kurt B. Kaiser | 2008-01-23 | 2 | -2/+10 |
| | | | | Issue 1743, Issue 1862. | ||||
* | Fix two crashers. | Guido van Rossum | 2008-01-23 | 4 | -44/+11 |
| | |||||
* | Applied #1069410 | Christian Heimes | 2008-01-23 | 2 | -0/+13 |
| | | | | The "can't load dll" message box on Windows is suppressed while an extension is loaded by calling SetErrorMode in dynload_win.c. The error is still reported properly. | ||||
* | Fixed bug #1915: Python compiles with --enable-unicode=no again. However ↵ | Christian Heimes | 2008-01-23 | 4 | -4/+12 |
| | | | | several extension methods and modules do not work without unicode support. | ||||
* | patch 1754489 by vlahan: | Armin Rigo | 2008-01-23 | 1 | -2/+2 |
| | | | | improve portability of address length calculation for AF_UNIX sockets | ||||
* | Use Py_TYPE() instead of ->ob_type | Christian Heimes | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Let pprint() support sets and frozensets (suggested by David Mertz). | Raymond Hettinger | 2008-01-23 | 3 | -2/+20 |
| | |||||
* | docstring and comment updates suggested by Giampaolo Rodola' | Gregory P. Smith | 2008-01-22 | 1 | -3/+3 |
| | |||||
* | Improve variable name in sample code | Raymond Hettinger | 2008-01-22 | 1 | -1/+1 |
| | |||||
* | Give zip() the same guarantee as izip() for left-to-right evaluation. | Raymond Hettinger | 2008-01-22 | 1 | -0/+4 |
| | |||||
* | Fix for #1087741 patch. | Georg Brandl | 2008-01-22 | 2 | -1/+8 |
| | |||||
* | Document when to use izip_longest(). | Raymond Hettinger | 2008-01-22 | 1 | -16/+7 |
| | |||||
* | Don't repeat yourself | Christian Heimes | 2008-01-22 | 2 | -3/+20 |
| | | | | Added the macros PyModule_AddIntMacro and PyModule_AddStringMacro. They shorten PyModule_AddIntConstant(m, "AF_INET", AF_INET) to PyModule_AddIntMacro(m, AF_INET) | ||||
* | Fixed a missing (X) in define | Christian Heimes | 2008-01-22 | 1 | -1/+1 |
| |