summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace Py_BuildValue with PyTuple_Pack because it is faster.Thomas Heller2008-01-241-7/+10
| | | | Also add a missing DECREF.
* Use a PyDictObject again for the array type cache; retrieving itemsThomas Heller2008-01-241-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 Rossum2008-01-241-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 Hettinger2008-01-241-8/+24
|
* Clean-up and speed-up code by accessing numerator/denominator directly. ↵Raymond Hettinger2008-01-241-11/+3
| | | | There's no reason to enforce readonliness
* Fix test67.py from issue #1303614.Guido van Rossum2008-01-243-21/+29
|
* Fi debug turd -- a call accidentally left out.Guido van Rossum2008-01-241-1/+1
|
* Updated for optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-1/+8
|
* Added documentation for optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-8/+18
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-11/+14
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-5/+20
|
* Fix issue1789: The tutorial contained a misuse of the struct module.Gregory P. Smith2008-01-243-6/+8
| | | | (also remove an unneeded import struct from test_largefile)
* Fix the test_urllib2net failures that were caused by r58067.Neal Norwitz2008-01-241-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 Norwitz2008-01-241-4/+6
|
* CleanupRaymond Hettinger2008-01-241-3/+1
|
* Minor clean-up and more tests.Raymond Hettinger2008-01-242-2/+15
|
* Add first-cut at an approximation function (still needs rounding tweaks). ↵Raymond Hettinger2008-01-242-0/+48
| | | | Add continued fraction conversions.
* Turn three recently fixed crashers into regular tests.Guido van Rossum2008-01-231-1/+70
|
* There was an error on exit if no sys.exitfunc was defined. Issue 1647.Kurt B. Kaiser2008-01-232-1/+6
|
* Fix misleading comment reported in issue #1917.Guido van Rossum2008-01-231-1/+1
|
* Could not open files in .idlerc directory if latter was hidden on Windows.Kurt B. Kaiser2008-01-232-2/+10
| | | | Issue 1743, Issue 1862.
* Fix two crashers.Guido van Rossum2008-01-234-44/+11
|
* Applied #1069410Christian Heimes2008-01-232-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 Heimes2008-01-234-4/+12
| | | | several extension methods and modules do not work without unicode support.
* patch 1754489 by vlahan:Armin Rigo2008-01-231-2/+2
| | | | improve portability of address length calculation for AF_UNIX sockets
* Use Py_TYPE() instead of ->ob_typeChristian Heimes2008-01-231-1/+1
|
* I'm tired of these tests breaking at Google due to our large number ofGuido van Rossum2008-01-232-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 Hettinger2008-01-233-2/+20
|
* docstring and comment updates suggested by Giampaolo Rodola'Gregory P. Smith2008-01-221-3/+3
|
* Improve variable name in sample codeRaymond Hettinger2008-01-221-1/+1
|
* Give zip() the same guarantee as izip() for left-to-right evaluation.Raymond Hettinger2008-01-221-0/+4
|
* Fix for #1087741 patch.Georg Brandl2008-01-222-1/+8
|
* Document when to use izip_longest().Raymond Hettinger2008-01-221-16/+7
|
* Don't repeat yourselfChristian Heimes2008-01-222-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 defineChristian Heimes2008-01-221-1/+1
|
* Fix \xhh specs, #1889.Georg Brandl2008-01-221-1/+1
|
* - Fix Issue #1703448: A joined thread could show up in theGregory P. Smith2008-01-223-5/+30
| | | | | threading.enumerate() list after the join() for a brief period until it actually exited.
* Replace spam.acquire() try: ... finally: spam.release() with "with spam:"Gregory P. Smith2008-01-221-24/+8
|
* accepts and closes issue #1221598: adds an optional callback to ftplib.FTPGregory P. Smith2008-01-222-17/+55
| | | | storbinary() and storlines() methods.
* Make's MAKEFLAGS variable is set to a string containing the single-letterBrett Cannon2008-01-211-1/+1
| | | | | arguments to Make. This means there are no hyphens. Fix the '-s' check to silence distutils to now work.
* Reformat some ugly code.Georg Brandl2008-01-212-52/+66
|
* Patch #1720595: add T_BOOL to the range of structmember types.Georg Brandl2008-01-215-3/+32
| | | | Patch by Angelo Mottola, reviewed by MvL, tests by me.
* Add the correct build dir when building with pydebug.Georg Brandl2008-01-211-0/+2
|
* Add a "const" to make gcc happy.Georg Brandl2008-01-211-1/+1
|
* #1715: include sub-extension modules in pydoc text output.Georg Brandl2008-01-213-1/+21
|
* Adapt to latest doctools refactoring.Georg Brandl2008-01-212-6/+77
|
* Follow PEP 8 in module docstring.Walter Dörwald2008-01-211-5/+5
|
* Use original location of document, which has translations.Georg Brandl2008-01-211-1/+1
|
* Add NEWS entry for #1882.Georg Brandl2008-01-211-0/+3
|
* Issue #1882: when compiling code from a string, encoding cookies in theGeorg Brandl2008-01-212-3/+22
| | | | second line of code were not always recognized correctly.