summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed problem with missing PyInt_CheckExact() macro in _ctypes.cChristian Heimes2007-12-051-4/+9
|
* Believe it or not, the addition of flush() calls broke two unittests.Guido van Rossum2007-12-052-2/+30
| | | | This fixes them (by updating the "golden" output file).
* Solve issue 1400 at least in part -- whenever we run Python code, at the endGuido van Rossum2007-12-051-0/+24
| | | | | we also flush stderr and stdout. (XXX this may override errors if there's a problem flushing.)
* most recent changes to SSL module to support non-blocking sockets properlyBill Janssen2007-12-052-12/+65
|
* Removed PyInt_GetMax and sys.maxintChristian Heimes2007-12-0447-150/+142
| | | | | I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize.
* Eliminate outdated usages of PyInt_GetMax.Martin v. Löwis2007-12-042-12/+4
|
* Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow.Martin v. Löwis2007-12-0415-54/+134
|
* Removed another occurrence of PyInt_ExactCheck()Christian Heimes2007-12-041-4/+23
| | | | I've modified the semantic of PyTraceBack_Print and sys.tracebacklimit slightly. Overfloats or values <= 0 are replaced with a default value to avoid infinite recursion and other issues.
* Remove special-casing of integer operations, to stopMartin v. Löwis2007-12-041-91/+6
| | | | using PyInt_CheckExact.
* Merged revisions 59323-59332 via svnmerge fromChristian Heimes2007-12-045-29/+778
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59324 | georg.brandl | 2007-12-04 17:10:02 +0100 (Tue, 04 Dec 2007) | 3 lines Add "Python on Unix" document, mostly written for GHOP by Shriphani Palakodety. ........ r59325 | facundo.batista | 2007-12-04 17:31:53 +0100 (Tue, 04 Dec 2007) | 3 lines fma speedup by avoiding to create a Context. Thanks Mark Dickinson. ........ r59326 | christian.heimes | 2007-12-04 17:36:20 +0100 (Tue, 04 Dec 2007) | 2 lines Added warning that make install may overwrite or masquerade the default python binary. Use make altinstall instead. A native English speaker may want to rephrase the paragraph. ;) ........ r59327 | georg.brandl | 2007-12-04 17:50:28 +0100 (Tue, 04 Dec 2007) | 2 lines Fix duplicate label and a typo. ........ r59329 | georg.brandl | 2007-12-04 18:46:27 +0100 (Tue, 04 Dec 2007) | 2 lines Add tutorial and examples to logging docs, from GHOP student "oscar8thegrouch". ........ r59332 | christian.heimes | 2007-12-04 19:43:19 +0100 (Tue, 04 Dec 2007) | 1 line These optimizations create smaller and a bit faster code on my machine. I've also disabled an optimization that may be dangerous. Intrinsic functions conflict with errno. ........
* These optimizations create smaller and a bit faster code on my machine. I've ↵Christian Heimes2007-12-041-4/+4
| | | | also disabled an optimization that may be dangerous. Intrinsic functions conflict with errno.
* Document nonlocal statement. Written for GHOP by "Canadabear".Georg Brandl2007-12-042-7/+85
|
* Merged revisions 59321-59322 via svnmerge fromChristian Heimes2007-12-041-5/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59322 | christian.heimes | 2007-12-04 16:52:14 +0100 (Tue, 04 Dec 2007) | 1 line Added VS 2005 and VS 2008 to the search path for cabarc.exe ........
* Merged revisions 59313-59320 via svnmerge fromChristian Heimes2007-12-043-9/+179
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59317 | martin.v.loewis | 2007-12-04 09:37:59 +0100 (Tue, 04 Dec 2007) | 2 lines Fix chflags issue on Tru64, from #1490190. ........ r59318 | martin.v.loewis | 2007-12-04 09:39:16 +0100 (Tue, 04 Dec 2007) | 2 lines Move nt.access change into the right section. ........ r59320 | christian.heimes | 2007-12-04 15:57:30 +0100 (Tue, 04 Dec 2007) | 2 lines Added self generated UUID for msvcr90.dll to msi.py Readded a missing line. ........
* Manual merge of PEP 366 implementation from trunk (the automatic merge ↵Nick Coghlan2007-12-041-26/+86
| | | | choked on the PyString->PyUnicode changes)
* Fix issue #1553: An errornous __length_hint__ can make list() raise aAlexandre Vassalotti2007-12-042-4/+6
| | | | SystemError.
* Remove a few tab characters introduced by r59314.Alexandre Vassalotti2007-12-041-3/+3
|
* Issue #1283: Allow any iterable of integers to be passed toAlexandre Vassalotti2007-12-042-18/+89
| | | | bytearray.extend().
* Merged revisions 59304-59312 via svnmerge fromGuido van Rossum2007-12-042-3/+6
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59306 | andrew.kuchling | 2007-12-03 13:28:41 -0800 (Mon, 03 Dec 2007) | 1 line Grammar fix ........ r59307 | guido.van.rossum | 2007-12-03 14:02:10 -0800 (Mon, 03 Dec 2007) | 2 lines Shut up a compiler warning. ........ r59312 | martin.v.loewis | 2007-12-03 15:09:04 -0800 (Mon, 03 Dec 2007) | 3 lines Forward-port r59310: os.access now returns True on Windows for any existing directory. ........
* Add an errors parameter to open() and TextIOWrapper() to specify error handling.Guido van Rossum2007-12-037-17/+77
|
* Fix merging glitch.Georg Brandl2007-12-031-1/+1
|
* Merged revisions 59275-59303 via svnmerge fromChristian Heimes2007-12-0335-237/+3139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: The merge does NOT contain the modified file Python/import.c from r59288. I can't get it running. Nick, please check in the PEP 366 manually. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ........ r59279 | georg.brandl | 2007-12-02 19:17:50 +0100 (Sun, 02 Dec 2007) | 2 lines Fix a sentence I missed before. Do not merge to 3k. ........ r59281 | georg.brandl | 2007-12-02 22:58:54 +0100 (Sun, 02 Dec 2007) | 3 lines Add documentation for PySys_* functions. Written by Charlie Shepherd for GHOP. Also fixes #1245. ........ r59288 | nick.coghlan | 2007-12-03 13:55:17 +0100 (Mon, 03 Dec 2007) | 1 line Implement PEP 366 ........ r59290 | christian.heimes | 2007-12-03 14:47:29 +0100 (Mon, 03 Dec 2007) | 3 lines Applied my patch #1455 with some extra fixes for VS 2005 The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier. I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin. ........ r59291 | christian.heimes | 2007-12-03 14:55:16 +0100 (Mon, 03 Dec 2007) | 1 line Added comment to Misc/NEWS for r59290 ........ r59292 | christian.heimes | 2007-12-03 15:28:04 +0100 (Mon, 03 Dec 2007) | 1 line I followed MA Lemberg's suggestion and added comments to the late initialization of the type slots. ........ r59293 | facundo.batista | 2007-12-03 17:29:52 +0100 (Mon, 03 Dec 2007) | 3 lines Speedup and cleaning of __str__. Thanks Mark Dickinson. ........ r59294 | facundo.batista | 2007-12-03 18:55:00 +0100 (Mon, 03 Dec 2007) | 4 lines Faster _fix function, and some reordering for a more elegant coding. Thanks Mark Dickinson. ........ r59295 | martin.v.loewis | 2007-12-03 20:20:02 +0100 (Mon, 03 Dec 2007) | 5 lines Issue #1727780: Support loading pickles of random.Random objects created on 32-bit systems on 64-bit systems, and vice versa. As a consequence of the change, Random pickles created by Python 2.6 cannot be loaded in Python 2.5. ........ r59297 | facundo.batista | 2007-12-03 20:49:54 +0100 (Mon, 03 Dec 2007) | 3 lines Two small fixes. Issue 1547. ........ r59299 | georg.brandl | 2007-12-03 20:57:02 +0100 (Mon, 03 Dec 2007) | 2 lines #1548: fix apostroph placement. ........ r59300 | christian.heimes | 2007-12-03 21:01:02 +0100 (Mon, 03 Dec 2007) | 3 lines Patch #1537 from Chad Austin Change GeneratorExit's base class from Exception to BaseException (This time I'm applying the patch to the correct sandbox.) ........ r59302 | georg.brandl | 2007-12-03 21:03:46 +0100 (Mon, 03 Dec 2007) | 3 lines Add examples to the xmlrpclib docs. Written for GHOP by Josip Dzolonga. ........
* Reverting last commit. I had some staled data from an attempted svnmerge in ↵Christian Heimes2007-12-037-683/+6
| | | | my local sandbox
* Patch #1537 from Chad AustinChristian Heimes2007-12-037-6/+683
| | | | Change GeneratorExit's base class from Exception to BaseException
* Remove a few merged versionadded/changed.Georg Brandl2007-12-026-64/+6
|
* Remove mentions of "long integer" in the API docs.Georg Brandl2007-12-022-12/+12
|
* Remove PyInt API from the docs. Extend PyLong docs to cover all public ↵Georg Brandl2007-12-022-148/+84
| | | | functions in longobject.c.
* Remove all definitions of raw_input() that were still scattered throughout ↵Georg Brandl2007-12-026-37/+8
| | | | | | the docs from the time where there was neither input() nor raw_input().
* Fixed a problem found by Bill Janssen on Mac OS XChristian Heimes2007-12-021-1/+1
| | | | There was one occurence of PyInt_FromLong left in Parser/asdl_c.py. The files creates some C code.
* Fix some 2.xisms in merged docs.Georg Brandl2007-12-022-12/+13
|
* I've moved the remains of PyInt_ to the longobject.h header file and removed ↵Christian Heimes2007-12-026-48/+35
| | | | the inclusing of intobject.h from Python.h. Now the intobject.h exists only to provide some aliases for porters from Python 2.x.
* Fixed merge accident. Next time I'm going to run the entire test suite ...Christian Heimes2007-12-021-14/+14
|
* The bz2 codec isn't supported any more. I've also commented out several ↵Christian Heimes2007-12-022-120/+18
| | | | codecs which were removed in the past.
* Merged revisions 59259-59274 via svnmerge fromChristian Heimes2007-12-0235-432/+1314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59260 | lars.gustaebel | 2007-12-01 22:02:12 +0100 (Sat, 01 Dec 2007) | 5 lines Issue #1531: Read fileobj from the current offset, do not seek to the start. (will backport to 2.5) ........ r59262 | georg.brandl | 2007-12-01 23:24:47 +0100 (Sat, 01 Dec 2007) | 4 lines Document PyEval_* functions from ceval.c. Credits to Michael Sloan from GHOP. ........ r59263 | georg.brandl | 2007-12-01 23:27:56 +0100 (Sat, 01 Dec 2007) | 2 lines Add a few refcount data entries. ........ r59264 | georg.brandl | 2007-12-01 23:38:48 +0100 (Sat, 01 Dec 2007) | 4 lines Add test suite for cmd module. Written by Michael Schneider for GHOP. ........ r59265 | georg.brandl | 2007-12-01 23:42:46 +0100 (Sat, 01 Dec 2007) | 3 lines Add examples to the ElementTree documentation. Written by h4wk.cz for GHOP. ........ r59266 | georg.brandl | 2007-12-02 00:12:45 +0100 (Sun, 02 Dec 2007) | 3 lines Add "Using Python on Windows" document, by Robert Lehmann. Written for GHOP. ........ r59271 | georg.brandl | 2007-12-02 15:34:34 +0100 (Sun, 02 Dec 2007) | 3 lines Add example to mmap docs. Written for GHOP by Rafal Rawicki. ........ r59272 | georg.brandl | 2007-12-02 15:37:29 +0100 (Sun, 02 Dec 2007) | 2 lines Convert bdb.rst line endings to Unix style. ........ r59274 | georg.brandl | 2007-12-02 15:58:50 +0100 (Sun, 02 Dec 2007) | 4 lines Add more entries to the glossary. Written by Jeff Wheeler for GHOP. ........
* Changed #ifdef 0 to #if 0.Christian Heimes2007-12-021-1/+1
|
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵Christian Heimes2007-12-02123-885/+888
| | | | in intobject.h
* #1535: rename __builtin__ module to builtins.Georg Brandl2007-12-0270-247/+246
|
* Empty svnmerge from trunk to skip the versionadded tags.Christian Heimes2007-12-010-0/+0
|
* Remove merged versionadded tags from os docs.Georg Brandl2007-12-011-10/+0
|
* Merged revisions 59245-59254 via svnmerge fromChristian Heimes2007-12-0110-20/+144
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59245 | georg.brandl | 2007-11-30 23:04:45 +0100 (Fri, 30 Nov 2007) | 2 lines Move lchmod() docs to correct place, and add versionadded tags. ........ r59249 | christian.heimes | 2007-11-30 23:36:10 +0100 (Fri, 30 Nov 2007) | 2 lines Backport of -r59242:59246 from py3k Fixed problem with regrtest caused by the additional of objects to _abcoll. ........ r59253 | christian.heimes | 2007-12-01 02:03:20 +0100 (Sat, 01 Dec 2007) | 1 line Although pyconfig.h claims that WIN32 is obsolete it is still required for the locale module. locale.getdefaultlocale() fails silently w/o the WIN32 macro. ........ r59254 | christian.heimes | 2007-12-01 12:20:10 +0100 (Sat, 01 Dec 2007) | 3 lines Feature #1534 Added PyFloat_GetMax(), PyFloat_GetMin() and PyFloat_GetInfo() to the float API. Added a dictionary sys.float_info with information about the internal floating point type to the sys module. ........
* Correct a failing test after merge from trunk.Amaury Forgeot d'Arc2007-11-301-2/+2
|
* Marc-Andre Lemburg has found the culprit of the problem in r57142.Christian Heimes2007-11-301-1/+1
|
* Rename the internal name of dictproxy -> dict_proxy,Guido van Rossum2007-11-301-1/+1
| | | | in analogy with dict_keys etc.
* Cleanups and documentation updates related to the removal of unbound methods.Christian Heimes2007-11-303-23/+8
|
* Merged revisions 59239-59244 via svnmerge fromChristian Heimes2007-11-307-11/+128
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59240 | amaury.forgeotdarc | 2007-11-30 21:37:22 +0100 (Fri, 30 Nov 2007) | 2 lines Add a NEWS entry for r59231 ........ r59241 | amaury.forgeotdarc | 2007-11-30 21:51:40 +0100 (Fri, 30 Nov 2007) | 5 lines Issue #1521: on 64bit platforms, str.decode fails on very long strings. The t# and w# formats were not correctly handled. Will backport. ........ r59242 | christian.heimes | 2007-11-30 22:11:28 +0100 (Fri, 30 Nov 2007) | 3 lines Fix for feature request #1528 Add os.fchmod Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix. I've made a quick test of fchmod() and fchown() on my system. They are working as expected. ........
* abc's are subclasses of _Abstract, not instances.Christian Heimes2007-11-301-2/+2
|
* Fixed problem with regrtest caused by the additional of objects to _abcoll.Christian Heimes2007-11-301-1/+6
|
* Merged revisions 59234-59238 via svnmerge fromChristian Heimes2007-11-3014-146/+172
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59237 | facundo.batista | 2007-11-30 18:15:25 +0100 (Fri, 30 Nov 2007) | 4 lines Reordering of __new__ to minimize isinstance() calls to most used types. Thanks Mark Dickinson. ........ r59238 | christian.heimes | 2007-11-30 20:18:08 +0100 (Fri, 30 Nov 2007) | 6 lines Removed or replaced some more deprecated preprocessor macros. Moved the _DEBUG and NDEBUG macros to two new property files. Fixed #1527 Problem with static libs on Windows Updated README.txt ........
* Backmerge -r59233:59232Christian Heimes2007-11-302-11/+1
| | | | | | | | Guido said: Please roll this back. The error message you added is inappropriate when the parameter to a legitimate register() call is omitted, e.g. collections.Sequence.register()
* Merged revisions 59226-59233 via svnmerge fromChristian Heimes2007-11-305-8/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59228 | amaury.forgeotdarc | 2007-11-29 21:24:36 +0100 (Thu, 29 Nov 2007) | 4 lines vc2008: Move python.vcproj first in the solution file, so that it becomes the default startup project when opening the file for the first time. ........ r59230 | georg.brandl | 2007-11-30 00:00:03 +0100 (Fri, 30 Nov 2007) | 3 lines Add more examples to the wsgiref docs. From GHOP by Josip Dzolonga. ........ r59231 | amaury.forgeotdarc | 2007-11-30 00:35:25 +0100 (Fri, 30 Nov 2007) | 7 lines Issue #1402: PyInterpreterState_Clear() may still invoke user code (in deallocation of running threads, for example), so the PyGILState_Release() function must still be functional. On the other hand, _PyGILState_Fini() only frees memory, and can be called later. Backport candidate, but only after some experts comment on it. ........