summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PyTokenizer_FindEncoding() always failed because it set the tokenizer stateBrett Cannon2008-09-043-2/+26
| | | | | | | | | with only a file pointer when it called fp_setreadl() which expected a file path. Changed fp_setreadl() to use either a file path or file descriptor (derived from the file pointer) to fix the issue. Closes issue 3594. Reviewed by Antoine Pitrou and Benjamin Peterson.
* Include a pointer to the pybsddb website with the 'bsddb has beenGregory P. Smith2008-09-041-0/+2
| | | | removed' note.
* correct an exampleGregory P. Smith2008-09-041-1/+1
|
* Remove _bsddb project on py3k (_bsddb44 project remains and builds). As ↵Mark Hammond2008-09-042-569/+0
| | | | | | discussed with Barry etc on #python-dev
* Fix a memory leak in reloading extension modules #3667Benjamin Peterson2008-09-041-1/+1
| | | | Reviewer: Barry Warsaw
* #2501 xml.sax.parser doesn't terminate when given a filename; enable some ↵Benjamin Peterson2008-09-042-7/+4
| | | | | | more tests! Reviewed by myself
* Committing the patch in issue 2965, so that weakref dicts have a closerBarry Warsaw2008-09-043-57/+23
| | | | | interface to normal dictionaries. keys(), values() and items() still return iterators instead of views, but that can be fixed later (or not).
* db_incs is neededBenjamin Peterson2008-09-031-0/+14
|
* clean up some more bsddb scrapsBenjamin Peterson2008-09-034-104/+3
|
* Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi moduleFacundo Batista2008-09-037-131/+159
| | | | | to the urlparse one. Added a DeprecationWarning in the old module, it will be deprecated in the future. Docs and tests updated.
* Blocked revisions 66197 via svnmergeBrett Cannon2008-09-030-0/+0
| | | | | | | | | | | | ........ r66197 | brett.cannon | 2008-09-03 15:45:11 -0700 (Wed, 03 Sep 2008) | 6 lines test_py3kwarn had been overlooked when test.test_support.catch_warning() was re-implemented to use warnings.catch_warnings() and had its API improved. Closes issue #3768. Code review by Benjamin Peterson. ........
* remove bsddbBenjamin Peterson2008-09-0337-16923/+2
|
* Merged revisions 66134,66136,66143,66154-66155,66190 via svnmerge fromBenjamin Peterson2008-09-032-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66134 | andrew.kuchling | 2008-09-01 20:13:42 -0500 (Mon, 01 Sep 2008) | 1 line Describe the __hash__ changes ........ r66136 | andrew.kuchling | 2008-09-01 20:39:18 -0500 (Mon, 01 Sep 2008) | 1 line typo fix ........ r66143 | mark.summerfield | 2008-09-02 02:23:16 -0500 (Tue, 02 Sep 2008) | 3 lines a typo ........ r66154 | andrew.kuchling | 2008-09-02 08:06:00 -0500 (Tue, 02 Sep 2008) | 1 line Clarify example; add imports ........ r66155 | andrew.kuchling | 2008-09-02 08:08:11 -0500 (Tue, 02 Sep 2008) | 1 line Add e-mail address ........ r66190 | benjamin.peterson | 2008-09-03 16:48:20 -0500 (Wed, 03 Sep 2008) | 1 line 3.0 still has the old threading names ........
* Python3.0 bsddb testsuite compatibility improvementsJesus Cea2008-09-033-4/+12
|
* Fixed wording of python --help text.Christian Heimes2008-09-031-2/+2
| | | | The -b option was still using the old name 'buffer' instead of 'bytearray'.
* The decode is used to workaround this:Jesus Cea2008-09-031-1/+3
| | | | http://mail.python.org/pipermail/python-3000/2008-September/014709.html
* 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). ........