summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 65654 via svnmerge fromMartin v. Löwis2008-08-1332-389/+720
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. ........
* update ssl documentationBill Janssen2008-08-121-0/+9
|
* clean up ssl.py; expose unwrap and add test for itBill Janssen2008-08-123-4/+69
|
* Merged revisions ↵Georg Brandl2008-08-1213-21/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65459 | gregory.p.smith | 2008-08-04 00:13:29 +0000 (Mon, 04 Aug 2008) | 4 lines - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method. ........ r65472 | andrew.kuchling | 2008-08-04 01:43:43 +0000 (Mon, 04 Aug 2008) | 3 lines Bug 3228: Explicitly supply the file mode to avoid creating executable files, and add corresponding tests. Possible 2.5 backport candidate ........ r65481 | gregory.p.smith | 2008-08-04 07:33:37 +0000 (Mon, 04 Aug 2008) | 22 lines Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls key list data structure in the thread startup path. This change is a companion to r60148 which already successfully dealt with a similar issue on thread shutdown. In particular this loop has been observed happening from this call path: #0 in find_key () #1 in PyThread_set_key_value () #2 in _PyGILState_NoteThreadState () #3 in PyThreadState_New () #4 in t_bootstrap () #5 in pthread_start_thread () I don't know how this happens but it does, *very* rarely. On more than one hardware platform. I have not been able to reproduce it manually. (A flaky mutex implementation on the system in question is one hypothesis). As with r60148, the spinning we managed to observe in the wild was due to a single list element pointing back upon itself. ........ r65518 | mark.dickinson | 2008-08-04 21:30:09 +0000 (Mon, 04 Aug 2008) | 7 lines Issue #1481296: (again!) Make conversion of a float NaN to an int or long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')). ........ r65536 | andrew.kuchling | 2008-08-05 01:00:57 +0000 (Tue, 05 Aug 2008) | 1 line Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available ........ r65581 | guido.van.rossum | 2008-08-07 18:51:38 +0000 (Thu, 07 Aug 2008) | 3 lines Patch by Ian Charnas from issue 3517. Add F_FULLFSYNC if it exists (OS X only so far). ........ r65609 | antoine.pitrou | 2008-08-09 17:22:25 +0000 (Sat, 09 Aug 2008) | 3 lines #3205: bz2 iterator fails silently on MemoryError ........ r65637 | georg.brandl | 2008-08-11 09:07:59 +0000 (Mon, 11 Aug 2008) | 3 lines - Issue #3537: Fix an assertion failure when an empty but presized dict object was stored in the freelist. ........ r65641 | jesse.noller | 2008-08-11 14:28:07 +0000 (Mon, 11 Aug 2008) | 2 lines Remove the fqdn call for issue 3270 ........ r65644 | antoine.pitrou | 2008-08-11 17:21:36 +0000 (Mon, 11 Aug 2008) | 3 lines #3134: shutil referenced undefined WindowsError symbol ........ r65645 | jesse.noller | 2008-08-11 19:00:15 +0000 (Mon, 11 Aug 2008) | 2 lines Fix the connection refused error part of issue 3419, use errno module instead of a static list of possible connection refused messages. ........
* Merged revisions ↵Georg Brandl2008-08-128-26/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65437,65469,65476,65480,65502,65528,65539,65543,65558,65561-65562,65565,65591,65601,65608,65610,65639 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65437 | georg.brandl | 2008-08-03 22:28:55 +0000 (Sun, 03 Aug 2008) | 2 lines Note the removal of several committers. ........ r65469 | gregory.p.smith | 2008-08-04 01:03:50 +0000 (Mon, 04 Aug 2008) | 3 lines issue1606: Add warnings to the subprocess documentation about common pitfalls of using pipes that cause deadlocks. ........ r65476 | georg.brandl | 2008-08-04 06:29:36 +0000 (Mon, 04 Aug 2008) | 2 lines Fix markup. ........ r65480 | georg.brandl | 2008-08-04 07:31:50 +0000 (Mon, 04 Aug 2008) | 3 lines Clarify the meaning of the select() parameters and sync names with docstring. ........ r65502 | gregory.p.smith | 2008-08-04 18:34:07 +0000 (Mon, 04 Aug 2008) | 2 lines more cleanup ups of the recently added warnings in the subprocess docs. ........ r65528 | brett.cannon | 2008-08-04 21:52:25 +0000 (Mon, 04 Aug 2008) | 4 lines Add a note about all the modules/packages changed to silence -3 warnings. More changes are needed once some decisions are made, but this is the work up to this point. ........ r65539 | andrew.kuchling | 2008-08-05 01:38:08 +0000 (Tue, 05 Aug 2008) | 6 lines #3367 from Kristjan Valur Jonsson: If a PyTokenizer_FromString() is called with an empty string, the tokenizer's line_start member never gets initialized. Later, it is compared with the token pointer 'a' in parsetok.c:193 and that behavior can result in undefined behavior. ........ r65543 | andrew.kuchling | 2008-08-05 02:05:23 +0000 (Tue, 05 Aug 2008) | 1 line #3367: revert rev. 65539: this change causes test_parser to fail ........ r65558 | georg.brandl | 2008-08-06 17:20:41 +0000 (Wed, 06 Aug 2008) | 2 lines Fix longstringitem definition. #3505. ........ r65561 | mark.dickinson | 2008-08-06 20:12:30 +0000 (Wed, 06 Aug 2008) | 2 lines Docstring typo ........ r65562 | mark.dickinson | 2008-08-06 21:36:57 +0000 (Wed, 06 Aug 2008) | 2 lines Remove duplicate import ........ r65565 | andrew.kuchling | 2008-08-07 01:47:34 +0000 (Thu, 07 Aug 2008) | 1 line Add some items ........ r65591 | georg.brandl | 2008-08-08 06:42:20 +0000 (Fri, 08 Aug 2008) | 2 lines #3519: callee is an expression too. ........ r65601 | georg.brandl | 2008-08-08 15:34:34 +0000 (Fri, 08 Aug 2008) | 2 lines Remove mention of backquotes in the tutorial. ........ r65608 | guido.van.rossum | 2008-08-09 14:55:34 +0000 (Sat, 09 Aug 2008) | 2 lines Add news item about _sre.compile() re-bytecode validator. ........ r65610 | antoine.pitrou | 2008-08-09 17:27:23 +0000 (Sat, 09 Aug 2008) | 3 lines move NEWS entry to the appropriate section (oops!) ........ r65639 | georg.brandl | 2008-08-11 10:27:31 +0000 (Mon, 11 Aug 2008) | 2 lines #3540: fix exception name. ........
* Blocked revisions 65642 via svnmergeNick Coghlan2008-08-110-0/+0
| | | | | | | | ........ r65642 | nick.coghlan | 2008-08-12 01:45:58 +1000 (Tue, 12 Aug 2008) | 1 line Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. ........
* Remove long integer output.Georg Brandl2008-08-101-6/+6
|
* Merged revisions 65622 via svnmerge fromRobert Schuppenies2008-08-102-0/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65622 | robert.schuppenies | 2008-08-10 13:01:53 +0200 (Sun, 10 Aug 2008) | 4 lines Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to menu entries were not deleted. ........
* Blocked revisions 65619 via svnmergeBrett Cannon2008-08-090-0/+0
| | | | | | | | | ........ r65619 | brett.cannon | 2008-08-09 16:39:11 -0700 (Sat, 09 Aug 2008) | 3 lines Silence warnings in csv about using reduce() when run under -3 by using functools.reduce() instead. ........
* Blocked revisions 65617 via svnmergeBrett Cannon2008-08-090-0/+0
| | | | | | | | | ........ r65617 | brett.cannon | 2008-08-09 16:34:11 -0700 (Sat, 09 Aug 2008) | 3 lines Use functools.reduce() in difflib instead of __builtin__.reduce() to silence warnings when running under -3. ........
* Blocked revisions 65615 via svnmergeBrett Cannon2008-08-090-0/+0
| | | | | | | | | ........ r65615 | brett.cannon | 2008-08-09 16:30:55 -0700 (Sat, 09 Aug 2008) | 3 lines Copy reduce() to _functools so to have functools.reduce() not raise a warning from usage under -3. ........
* Blocked revisions 65613 via svnmergeBrett Cannon2008-08-090-0/+0
| | | | | | | | | | ........ r65613 | brett.cannon | 2008-08-09 16:06:16 -0700 (Sat, 09 Aug 2008) | 4 lines Suppress the warning in asynchat from using buffer() when running udner -3. Naively removing the usage causes a large number of test failures, so it was just easier to suppress the warning. ........
* prop change?Skip Montanaro2008-08-090-0/+0
|
* Merged revisions 65605 via svnmerge fromSkip Montanaro2008-08-093-4/+54
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65605 | skip.montanaro | 2008-08-08 17:52:51 -0500 (Fri, 08 Aug 2008) | 1 line accept issue 3436 ........
* Blocked revisions 65606 via svnmergeAntoine Pitrou2008-08-090-0/+0
| | | | | | | | ........ r65606 | antoine.pitrou | 2008-08-09 14:43:23 +0200 (sam., 09 août 2008) | 3 lines Fix slightly misleading statement in the NEWS file. ........
* #3524: fix up some old-style IO descriptions.Georg Brandl2008-08-081-26/+37
|
* #3525: 3.0 exception changes in tutorial.Georg Brandl2008-08-082-20/+16
|
* #3523: no backquotes any more.Georg Brandl2008-08-081-6/+1
|
* #3522: zip() returns an iterator.Georg Brandl2008-08-081-1/+1
|
* Blocked revisions 65588 via svnmergeBrett Cannon2008-08-080-0/+0
| | | | | | | | | ........ r65588 | brett.cannon | 2008-08-07 21:27:28 -0700 (Thu, 07 Aug 2008) | 3 lines Remove buffer() usage in the socket module by just slicing directly on the object. This removes all warnings for the module caused by running under -3. ........
* Blocked revisions 65586 via svnmergeBrett Cannon2008-08-080-0/+0
| | | | | | | | | | | ........ r65586 | brett.cannon | 2008-08-07 21:19:32 -0700 (Thu, 07 Aug 2008) | 5 lines Remove warnings generated for the suprocess module when run under -3. Required commenting out True/False compatbility stuff, remove a use of apply(), and remove a use of buffer() (just pulled the solution used in 3.0 which is direct slicing). ........
* Blocked revisions 65584 via svnmergeBrett Cannon2008-08-080-0/+0
| | | | | | | | | ........ r65584 | brett.cannon | 2008-08-07 21:15:53 -0700 (Thu, 07 Aug 2008) | 3 lines Change the warning emitted for using the buffer() object; memoryview() in 3.0 is not an equivalent. ........
* issue #3460: PyUnicode_Join() implementation can be simplified in py3kAntoine Pitrou2008-08-072-90/+58
|
* Rename PyUnicode_AsString -> _PyUnicode_AsString andMarc-André Lemburg2008-08-0760-137/+156
| | | | | | | | | PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark them for interpreter internal use only. We'll have to rework these APIs or create new ones for the purpose of accessing the UTF-8 representation of Unicode objects for 3.1.
* Blocked revisions 65578 via svnmergeAntoine Pitrou2008-08-070-0/+0
| | | | | | | | ........ r65578 | antoine.pitrou | 2008-08-07 20:42:40 +0200 (jeu., 07 août 2008) | 3 lines #1288615: Python code.interact() and non-ASCII input ........
* Blocked revisions 65563 via svnmergeBrett Cannon2008-08-060-0/+0
| | | | | | | | | ........ r65563 | brett.cannon | 2008-08-06 15:28:09 -0700 (Wed, 06 Aug 2008) | 3 lines Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in has been removed there. ........
* Revert accidentally committed files. Oops!Guido van Rossum2008-08-062-61/+70
|
* Merged revisions 65544 via svnmerge fromGuido van Rossum2008-08-063-70/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65544 | guido.van.rossum | 2008-08-04 20:39:21 -0700 (Mon, 04 Aug 2008) | 28 lines Tracker issue 3487: sre "bytecode" verifier. This is a verifier for the binary code used by the _sre module (this is often called bytecode, though to distinguish it from Python bytecode I put it in quotes). I wrote this for Google App Engine, and am making the patch available as open source under the Apache 2 license. Below are the copyright statement and license, for completeness. # Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. It's not necessary to include these copyrights and bytecode in the source file. Google has signed a contributor's agreement with the PSF already. ........
* #3503: fix print statements in 3k doc.Georg Brandl2008-08-054-9/+6
|
* Blocked revisions 65524 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65524 | brett.cannon | 2008-08-04 14:34:34 -0700 (Mon, 04 Aug 2008) | 2 lines Remove use of callable() from pickle to silence warnings under -3. ........
* Blocked revisions 65522 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65522 | brett.cannon | 2008-08-04 14:33:00 -0700 (Mon, 04 Aug 2008) | 2 lines Remove tuple parameter unpacking in aifc to silence warnings under -3. ........
* Blocked revisions 65519 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65519 | brett.cannon | 2008-08-04 14:30:53 -0700 (Mon, 04 Aug 2008) | 2 lines Silence warnings under -3 triggered by wsgiref. ........
* Blocked revisions 65516 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65516 | brett.cannon | 2008-08-04 14:24:43 -0700 (Mon, 04 Aug 2008) | 2 lines Remove a use of callable() from Tkinter to silence warnings under -3. ........
* Blocked revisions 65514 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | | ........ r65514 | brett.cannon | 2008-08-04 14:23:07 -0700 (Mon, 04 Aug 2008) | 3 lines Remove a dict.has_key() and list.sort(cmp=) usage from tarfile to silence warnings under -3. ........
* Blocked revisions 65512 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65512 | brett.cannon | 2008-08-04 14:19:41 -0700 (Mon, 04 Aug 2008) | 2 lines Remove usage of apply() in sqlite3 to silence warnings under -3. ........
* Blocked revisions 65510 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65510 | brett.cannon | 2008-08-04 14:17:15 -0700 (Mon, 04 Aug 2008) | 2 lines Remove dict.has_key() usage in the shelve module to silence warnings under -3. ........
* Blocked revisions 65508 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65508 | brett.cannon | 2008-08-04 14:10:50 -0700 (Mon, 04 Aug 2008) | 2 lines Remove dict.has_key() usage in xml.sax to silence warnings under -3. ........
* Blocked revisions 65506 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65506 | brett.cannon | 2008-08-04 14:07:59 -0700 (Mon, 04 Aug 2008) | 2 lines Remove the use of callable() in re to silence warnings under -3. ........
* Blocked revisions 65487-65488 via svnmergeNick Coghlan2008-08-040-0/+0
| | | | | | | | | | | | ........ 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). ........ r65488 | nick.coghlan | 2008-08-04 22:47:17 +1000 (Mon, 04 Aug 2008) | 1 line Add missing NEWS entry for r65487 ........
* Remove the deprecated posix attribute.Georg Brandl2008-08-042-23/+0
|
* Blocked revisions 65477 via svnmergeGeorg Brandl2008-08-040-0/+0
| | | | | | | | ........ r65477 | georg.brandl | 2008-08-04 07:23:29 +0000 (Mon, 04 Aug 2008) | 2 lines Template is always "tmp". ........
* Undocument deprecated module global "template".Georg Brandl2008-08-041-14/+1
|
* Blocked revisions 65467 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | | ........ r65467 | brett.cannon | 2008-08-03 17:50:11 -0700 (Sun, 03 Aug 2008) | 3 lines Remove assignment to True/False and use of dict.has_key() to silence warnings while running under -3. ........
* Blocked revisions 65464 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | ........ r65464 | brett.cannon | 2008-08-03 17:27:29 -0700 (Sun, 03 Aug 2008) | 2 lines Silence warnings under -3 about using dict.has_key() for modulefinder. ........
* Blocked revisions 65462 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | | ........ r65462 | brett.cannon | 2008-08-03 17:23:58 -0700 (Sun, 03 Aug 2008) | 3 lines Remove dict.has_key() usage in xml.dom.minidom to silence warnings while running under -3. ........
* Blocked revisions 65457 via svnmergeBrett Cannon2008-08-040-0/+0
| | | | | | | | | ........ r65457 | brett.cannon | 2008-08-03 17:09:43 -0700 (Sun, 03 Aug 2008) | 3 lines Remove dict.has_key() and apply() usage from the logging package to silence warnings when run under -3. ........
* Blocked revisions 65455 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | ........ r65455 | brett.cannon | 2008-08-03 16:52:32 -0700 (Sun, 03 Aug 2008) | 2 lines Remove a use of callable() in fileinput to silence a -3 warning. ........
* Blocked revisions 65453 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | | ........ r65453 | brett.cannon | 2008-08-03 16:46:46 -0700 (Sun, 03 Aug 2008) | 3 lines Move filecmp from using dict.has_key() to dict.__contains__() to silence warnings triggered under -3. ........
* Blocked revisions 65451 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | ........ r65451 | brett.cannon | 2008-08-03 16:40:13 -0700 (Sun, 03 Aug 2008) | 2 lines Remove a dict.has_key() usage in email._parseaddr found while running -3. ........
* Blocked revisions 65449 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | | ........ r65449 | brett.cannon | 2008-08-03 16:27:32 -0700 (Sun, 03 Aug 2008) | 3 lines Remove Barry's love of deprecated syntax to silence warnings in the email package, when run under -3, about using <>. ........