summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin.Antoine Pitrou2008-09-037-3/+128
| | | | Patch by Amaury Forgeot d'Arc, reviewed by me.
* Issue #3697: "Fatal Python error: Cannot recover from stack overflow"Antoine Pitrou2008-09-033-8/+49
| | | | | | | | could be easily encountered under Windows in debug mode when exercising the recursion limit checking code, due to bogus handling of recursion limit when USE_STACKCHEK was enabled. Reviewed by Amaury Forgeot d'Arc on IRC.
* merge 66184 to fix issue3110 to py3kJesse Noller2008-09-032-0/+14
|
* Fix some leaks - Neal NorwitzJesus Cea2008-09-032-4/+6
|
* Merged revisions 66174-66175,66177 via svnmerge fromBenjamin Peterson2008-09-038-171/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r66174 | benjamin.peterson | 2008-09-02 19:21:32 -0500 (Tue, 02 Sep 2008) | 15 lines Merged revisions 66173 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines A little 2to3 refactoring #3637 This moves command line logic from refactor.py to a new file called main.py. RefactoringTool now merely deals with the actual fixers and refactoring; options processing for example is abstracted out. This patch was reviewed by Gregory P. Smith. ........ ................ r66175 | benjamin.peterson | 2008-09-02 20:53:28 -0500 (Tue, 02 Sep 2008) | 1 line update 2to3 script from 2to3 trunk ................ r66177 | benjamin.peterson | 2008-09-02 21:14:03 -0500 (Tue, 02 Sep 2008) | 9 lines Merged revisions 66176 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66176 | benjamin.peterson | 2008-09-02 21:04:06 -0500 (Tue, 02 Sep 2008) | 1 line fix typo ........ ................
* Merged revisions 66171 via svnmerge fromAmaury Forgeot d'Arc2008-09-022-2/+17
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66171 | amaury.forgeotdarc | 2008-09-03 01:19:56 +0200 (mer., 03 sept. 2008) | 9 lines Issue 2975: when compiling multiple extension modules with visual studio 2008 from the same python instance, some environment variables (LIB, INCLUDE) would grow without limit. Tested with these statements: distutils.ccompiler.new_compiler().initialize() print os.environ['LIB'] But I don't know how to turn them into reliable unit tests. ........
* Merged revisions 66167 via svnmerge fromAmaury Forgeot d'Arc2008-09-022-13/+13
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66167 | amaury.forgeotdarc | 2008-09-02 23:50:47 +0200 (mar., 02 sept. 2008) | 5 lines Attempt to correct the build files for the Microsoft VS7.1 compiler. I don't have a working VS7.1, but VS2005 can automatically convert the project and build a working python interpreter. ........
* Merged revisions 66166 via svnmerge fromAmaury Forgeot d'Arc2008-09-026-255/+68
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk Note: The Windows projects still use bsddb 4.4.20 on the py3k branch ........ r66166 | amaury.forgeotdarc | 2008-09-02 23:17:05 +0200 (mar., 02 sept. 2008) | 2 lines Use vs9to8.py to refresh the Visual Studio 2005 build files. ........
* Merged revisions 66162 via svnmerge fromHirokazu Yamamoto2008-09-021-0/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66162 | hirokazu.yamamoto | 2008-09-03 05:36:44 +0900 | 2 lines Issue #3759: test_asyncore.py leaked handle. Reviewed by Amaury Forgeot d'Arc ........
* Merge r66115 forward to py3k, resolves issue3419Jesse Noller2008-09-021-7/+14
|
* unblock 66115 from mergingJesse Noller2008-09-020-0/+0
|
* Add news item for #3719.Marc-André Lemburg2008-09-021-0/+3
|
* Merged revisions 66144 via svnmerge fromNick Coghlan2008-09-021-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66144 | nick.coghlan | 2008-09-02 20:14:47 +1000 (Tue, 02 Sep 2008) | 1 line Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl) ........
* Add quotes around the file name to avoid issues with spaces.Marc-André Lemburg2008-09-021-1/+1
| | | | | | Closes #3719. Ported to 3.0 from r66145.
* The _warnings module did not properly handle cases where strings were not beingBrett Cannon2008-09-023-5/+25
| | | | | | | | passed in as the message to use for a warning. Fixed along with making the code more robust against other errors where return values were not checked. Closes issue 3639. Code review by Benjamin Peterson.
* Merge in r66135. Doing also required removing a stale DeprecationWarning alongBrett Cannon2008-09-026-124/+164
| | | | | with moving warnings.catch_warnings() over to keyword-only parameters for its constructor (as documented in the 2.6 docs).
* Improve compatibility with Python3.0 testsuiteJesus Cea2008-09-024-8/+156
|
* Merged revisions ↵Benjamin Peterson2008-09-0213-676/+905
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074,66080,66082-66083,66090-66093,66097-66099,66103,66105,66110,66118 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r66045 | andrew.kuchling | 2008-08-26 19:27:18 -0500 (Tue, 26 Aug 2008) | 1 line Trim whitespace; add a few updates ........ r66048 | andrew.kuchling | 2008-08-26 19:45:02 -0500 (Tue, 26 Aug 2008) | 1 line Add an item and a note ........ r66049 | andrew.kuchling | 2008-08-26 21:12:18 -0500 (Tue, 26 Aug 2008) | 1 line Add various items ........ r66053 | georg.brandl | 2008-08-28 04:40:18 -0500 (Thu, 28 Aug 2008) | 2 lines #3711: .dll isn't a valid Python extension anymore. ........ r66060 | armin.rigo | 2008-08-29 16:21:52 -0500 (Fri, 29 Aug 2008) | 3 lines A collection of crashers, all variants of the idea of issue #3720. ........ r66062 | georg.brandl | 2008-08-30 04:49:36 -0500 (Sat, 30 Aug 2008) | 2 lines #3730: mention "server" attribute explicitly. ........ r66063 | georg.brandl | 2008-08-30 04:52:44 -0500 (Sat, 30 Aug 2008) | 2 lines #3716: fix typo. ........ r66065 | georg.brandl | 2008-08-30 05:03:09 -0500 (Sat, 30 Aug 2008) | 2 lines #3569: eval() also accepts "exec"able code objects. ........ r66067 | georg.brandl | 2008-08-30 08:17:39 -0500 (Sat, 30 Aug 2008) | 2 lines super() actually returns a super object. ........ r66071 | andrew.kuchling | 2008-08-30 10:19:57 -0500 (Sat, 30 Aug 2008) | 1 line Partial edits from revision and tidying pass ........ r66072 | andrew.kuchling | 2008-08-30 10:21:23 -0500 (Sat, 30 Aug 2008) | 1 line Tidy up some sentences ........ r66073 | andrew.kuchling | 2008-08-30 10:25:47 -0500 (Sat, 30 Aug 2008) | 1 line Correction from Antoine Pitrou: BufferedWriter and Reader support seek() ........ r66074 | andrew.kuchling | 2008-08-30 11:44:54 -0500 (Sat, 30 Aug 2008) | 1 line Edit four more sections ........ r66080 | georg.brandl | 2008-08-30 17:00:28 -0500 (Sat, 30 Aug 2008) | 2 lines Fix markup. ........ r66082 | andrew.kuchling | 2008-08-30 17:56:54 -0500 (Sat, 30 Aug 2008) | 1 line More edits; markup fixes ........ r66083 | andrew.kuchling | 2008-08-30 21:24:08 -0500 (Sat, 30 Aug 2008) | 1 line More edits ........ r66090 | andrew.kuchling | 2008-08-31 09:29:31 -0500 (Sun, 31 Aug 2008) | 1 line Edit the library section, rearranging items to flow better and making lots of edits ........ r66091 | andrew.kuchling | 2008-08-31 10:41:48 -0500 (Sun, 31 Aug 2008) | 1 line Last batch of edits; remove the 'other changes' section ........ r66092 | andrew.kuchling | 2008-08-31 10:48:44 -0500 (Sun, 31 Aug 2008) | 1 line Update patch/bug count ........ r66093 | gregory.p.smith | 2008-08-31 11:34:18 -0500 (Sun, 31 Aug 2008) | 3 lines issue3715: docstring representation of hex escaped string needs to be double escaped. ........ r66097 | benjamin.peterson | 2008-09-01 09:13:43 -0500 (Mon, 01 Sep 2008) | 4 lines #3703 unhelpful _fileio.FileIO error message when trying to open a directory Reviewer: Gregory P. Smith ........ r66098 | georg.brandl | 2008-09-01 09:15:55 -0500 (Mon, 01 Sep 2008) | 2 lines #3749: fix c'n'p errors. ........ r66099 | benjamin.peterson | 2008-09-01 09:18:30 -0500 (Mon, 01 Sep 2008) | 4 lines Fix compilation when --without-threads is given #3683 Reviewer: Georg Brandl, Benjamin Peterson ........ r66103 | vinay.sajip | 2008-09-01 09:30:10 -0500 (Mon, 01 Sep 2008) | 1 line logging: fixed lack of use of encoding attribute specified on a stream. ........ r66105 | vinay.sajip | 2008-09-01 09:33:59 -0500 (Mon, 01 Sep 2008) | 1 line logging: fixed lack of use of encoding attribute specified on a stream. ........ r66110 | vinay.sajip | 2008-09-01 10:08:07 -0500 (Mon, 01 Sep 2008) | 1 line Added section about configuring logging in a library. Thanks to Thomas Heller for the idea. ........ r66118 | vinay.sajip | 2008-09-01 12:44:14 -0500 (Mon, 01 Sep 2008) | 1 line Bug #3738: Documentation is now more accurate in describing handler close methods. ........
* Port Python 2.6 bsddb3 testdriver to Python 3.0Jesus Cea2008-09-021-60/+23
|
* Blocked revisions 65655,66088,66123 via svnmergeBenjamin Peterson2008-09-010-0/+0
| | | | | | | | | | | | | | | | | | | ........ r65655 | bill.janssen | 2008-08-12 11:31:21 -0500 (Tue, 12 Aug 2008) | 1 line remove duplicate close() from ssl.py; expose unwrap and add test for it ........ r66088 | jesus.cea | 2008-08-31 09:00:51 -0500 (Sun, 31 Aug 2008) | 6 lines Update bsddb code to version 4.7.3pre2. This code should be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3 ........ r66123 | jesus.cea | 2008-09-01 15:48:16 -0500 (Mon, 01 Sep 2008) | 1 line In Python3.0, "test.test_support" is renamed to "test.support". ........
* Blocked revisions 66127 via svnmergeBenjamin Peterson2008-09-010-0/+0
| | | | | | | | | | ........ r66127 | benjamin.peterson | 2008-09-01 18:12:58 -0500 (Mon, 01 Sep 2008) | 4 lines remove py3k warnings about the threading api; update docs Reviewer: Benjamin Peterson ........
* remove the deprecation warnings for the old threading API; update the docsBenjamin Peterson2008-09-014-66/+33
| | | | Reviewer: Benjamin Peterson
* In Python3.0, "test.test_support" is renamed to "test.support".Jesus Cea2008-09-011-1/+4
|
* Blocked revisions 66119 via svnmergeAmaury Forgeot d'Arc2008-09-010-0/+0
| | | | | | | | | | | ........ r66119 | amaury.forgeotdarc | 2008-09-01 21:52:00 +0200 (lun., 01 sept. 2008) | 5 lines Issue #3751: str.rpartition would perform a left-partition when called with a unicode argument. will backport. ........
* Merged revisions 66117 via svnmerge fromBenjamin Peterson2008-09-016-13/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r66117 | benjamin.peterson | 2008-09-01 12:17:22 -0500 (Mon, 01 Sep 2008) | 25 lines Merged revisions 65887,65889,65967-65968,65981 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r65887 | benjamin.peterson | 2008-08-19 17:45:04 -0500 (Tue, 19 Aug 2008) | 1 line allow the raw_input fixer to handle calls after the raw_input (ie. raw_input().split()) ........ r65889 | benjamin.peterson | 2008-08-19 18:11:03 -0500 (Tue, 19 Aug 2008) | 1 line no need for 2.4 compatibility now ........ r65967 | benjamin.peterson | 2008-08-21 18:43:37 -0500 (Thu, 21 Aug 2008) | 1 line allow a Call to have no arguments ........ r65968 | benjamin.peterson | 2008-08-21 18:45:13 -0500 (Thu, 21 Aug 2008) | 1 line add a fixer for sys.exc_info etc by Jeff Balogh #2357 ........ r65981 | benjamin.peterson | 2008-08-22 15:41:30 -0500 (Fri, 22 Aug 2008) | 1 line add a fixer to add parenthese for list and gen comps #2367 ........ ................
* Blocked revisions 66114-66115 via svnmergeBenjamin Peterson2008-09-010-0/+0
| | | | | | | | | | | | ........ r66114 | jesse.noller | 2008-09-01 11:47:25 -0500 (Mon, 01 Sep 2008) | 2 lines Submit Nick's patch for issue 3589, reviewed by jnoller ........ r66115 | benjamin.peterson | 2008-09-01 12:10:46 -0500 (Mon, 01 Sep 2008) | 1 line revert r66114 for Jesse ........
* #3753: document that s* etc. are newer and preferred to s#.Georg Brandl2008-09-011-25/+29
|
* #3712: The memoryview object had a reference leak and didn't support cyclic ↵Antoine Pitrou2008-09-013-34/+101
| | | | | | garbage collection. Reviewed by Benjamin Peterson.
* Merged revisions 66104 via svnmerge fromHirokazu Yamamoto2008-09-011-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66104 | hirokazu.yamamoto | 2008-09-01 23:32:58 +0900 | 2 lines Issue #3748: platform.architecture() printed vogus message on windows. Reviewed by Marc-Andre Lemburg. ........
* Blocked revisions 66100 via svnmergeHirokazu Yamamoto2008-09-010-0/+0
| | | | | | | | | ........ r66100 | hirokazu.yamamoto | 2008-09-01 23:24:04 +0900 | 3 lines Issue #3732: Backported r53335 to supress deprecation warning. Reviewed by Benjamin Peterson. ........
* issue3715: docstring representation of hex escaped string needs to be doubleGregory P. Smith2008-08-311-1/+1
| | | | escaped.
* bsddb code updated to version 4.7.3pre2. This code is the same thanJesus Cea2008-08-3133-2687/+5391
| | | | | | | | | Python 2.6 one, since the intention is to keep an unified 2.x/3.x codebase. The Python code is automatically translated using "2to3". Please, do not update this code in Python 3.0 by hand. Update the 2.6 one and then do "2to3".
* Merged revisions 66085 (with modifications) via svnmerge fromNick Coghlan2008-08-311-4/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66085 | nick.coghlan | 2008-08-31 23:10:50 +1000 (Sun, 31 Aug 2008) | 1 line Issue 2235: document the ability to block inheritance of __hash__ in the language reference ........
* Merged revisions 65487 (with heavy modifications for Py3k as well as some ↵Nick Coghlan2008-08-311-52/+137
| | | | | | | | | | | | cleanups of the type heirarchy) via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65487 | nick.coghlan | 2008-08-04 22:40:59 +1000 (Mon, 04 Aug 2008) | 1 line Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow). ........
* Merged revisions 66076 via svnmerge fromGeorg Brandl2008-08-301-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66076 | georg.brandl | 2008-08-30 21:03:43 +0200 (Sat, 30 Aug 2008) | 2 lines #3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine. ........
* Remove outdated comment. Reviewed by Antoine.Georg Brandl2008-08-301-1/+0
|
* #3577: 3.0 is not installed as "python" on Unix.Georg Brandl2008-08-301-11/+15
|
* Blocked revisions 66058 via svnmergeAntoine Pitrou2008-08-290-0/+0
| | | | | | | | | | | | ........ r66058 | antoine.pitrou | 2008-08-29 20:39:48 +0200 (ven., 29 août 2008) | 7 lines #3668: When PyArg_ParseTuple correctly parses a s* format, but raises an exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc. ........
* #3668: When PyArg_ParseTuple correctly parses a s* format, but raises anAntoine Pitrou2008-08-294-23/+60
| | | | | | | exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc.
* Issue 3611: in some cases (a __del__ re-raising an exception, when called ↵Amaury Forgeot d'Arc2008-08-294-10/+36
| | | | | | | | | | | | | from inside an 'except' clause), the exception __context__ would be reset to None. This crases the interpreter if this precisely happens inside PyErr_SetObject. - now the __context__ is properly preserved - in any case, PyErr_SetObject now saves the current exc_value in a local variable, to avoid such crashes in the future. Reviewer: Antoine Pitrou.
* Removed merge glitch from stringlib/find.h as explained on the python ↵Christian Heimes2008-08-281-1/+1
| | | | | | committers list. The FROM_BYTEARRAY isn't required here. This also fixes bug #3713
* Removed bytesmeth declaration in OyObject_Bytes. It's not used any more and ↵Christian Heimes2008-08-281-1/+1
| | | | causes a compiler warning.
* #3706: fix error message for wrong exec() argument type. R=Guido.Georg Brandl2008-08-281-13/+9
|
* Fix #3651 various memory leaks when using the buffer interfaceBenjamin Peterson2008-08-275-11/+22
| | | | | by Amaury Forgeot d'Arc Reviewer: Antoine Pitrou
* add NULL checking for PyBytes_FromObject; R=NealBenjamin Peterson2008-08-271-0/+5
|
* Blocked revisions 66043 via svnmergeAntoine Pitrou2008-08-260-0/+0
| | | | | | | | | | | | | | | ........ r66043 | antoine.pitrou | 2008-08-27 00:42:08 +0200 (mer., 27 août 2008) | 11 lines Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger. ........
* Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as toAntoine Pitrou2008-08-268-96/+201
| | | | | | | | | | match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger.
* #3663: extra DECREF on syntax errors.Antoine Pitrou2008-08-262-1/+6
| | | | Patch by Amaury Forgeot d'Arc, reviewed by Benjamin Peterson.
* Blocked revisions 66039 via svnmergeBenjamin Peterson2008-08-260-0/+0
| | | | | | | | ........ r66039 | benjamin.peterson | 2008-08-26 12:08:40 -0500 (Tue, 26 Aug 2008) | 1 line sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str ........
* make bytes(o) respect __bytes__ #2415Benjamin Peterson2008-08-268-2/+83
| | | | | | This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject. Reviewer: Barry