summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of callable() from pickle to silence warnings under -3.Brett Cannon2008-08-041-1/+1
|
* Remove tuple parameter unpacking in aifc to silence warnings under -3.Brett Cannon2008-08-041-1/+2
|
* Silence warnings under -3 triggered by wsgiref.Brett Cannon2008-08-044-11/+12
|
* Issue #1481296: (again!) Make conversion of a float NaN to an int orMark Dickinson2008-08-043-3/+9
| | | | | | | 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')).
* Remove a use of callable() from Tkinter to silence warnings under -3.Brett Cannon2008-08-041-1/+1
|
* Remove a dict.has_key() and list.sort(cmp=) usage from tarfile to silenceBrett Cannon2008-08-041-2/+3
| | | | warnings under -3.
* Remove usage of apply() in sqlite3 to silence warnings under -3.Brett Cannon2008-08-041-3/+3
|
* Remove dict.has_key() usage in the shelve module to silence warnings under -3.Brett Cannon2008-08-041-3/+3
|
* Remove dict.has_key() usage in xml.sax to silence warnings under -3.Brett Cannon2008-08-042-4/+4
|
* Remove the use of callable() in re to silence warnings under -3.Brett Cannon2008-08-041-1/+1
|
* more cleanup ups of the recently added warnings in the subprocess docs.Gregory P. Smith2008-08-041-5/+6
|
* Add missing NEWS entry for r65487Nick Coghlan2008-08-041-0/+8
|
* Issue 643841: better documentation of the special method lookup process, ↵Nick Coghlan2008-08-041-43/+147
| | | | 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).
* Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tlsGregory P. Smith2008-08-042-1/+15
| | | | | | | | | | | | | | | | | | | | | | 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.
* Clarify the meaning of the select() parameters and syncGeorg Brandl2008-08-041-12/+18
| | | | names with docstring.
* Template is always "tmp".Georg Brandl2008-08-041-2/+1
|
* Fix markup.Georg Brandl2008-08-041-15/+12
|
* Bug 3228: Explicitly supply the file mode to avoid creating executable files,Andrew M. Kuchling2008-08-042-3/+30
| | | | | and add corresponding tests. Possible 2.5 backport candidate
* issue1606: Add warnings to the subprocess documentation about common pitfallsGregory P. Smith2008-08-041-0/+16
| | | | of using pipes that cause deadlocks.
* Remove assignment to True/False and use of dict.has_key() to silence warningsBrett Cannon2008-08-041-4/+10
| | | | while running under -3.
* Silence warnings under -3 about using dict.has_key() for modulefinder.Brett Cannon2008-08-041-3/+4
|
* Remove dict.has_key() usage in xml.dom.minidom to silence warnings whileBrett Cannon2008-08-041-4/+4
| | | | running under -3.
* - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keywordGregory P. Smith2008-08-042-4/+12
| | | | | 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.
* Remove dict.has_key() and apply() usage from the logging package to silenceBrett Cannon2008-08-042-17/+17
| | | | warnings when run under -3.
* Remove a use of callable() in fileinput to silence a -3 warning.Brett Cannon2008-08-031-1/+1
|
* Move filecmp from using dict.has_key() to dict.__contains__() to silenceBrett Cannon2008-08-031-3/+3
| | | | warnings triggered under -3.
* Remove a dict.has_key() usage in email._parseaddr found while running -3.Brett Cannon2008-08-031-1/+1
|
* Remove Barry's love of deprecated syntax to silence warnings in the emailBrett Cannon2008-08-036-13/+13
| | | | package, when run under -3, about using <>.
* Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.Brett Cannon2008-08-031-1/+1
|
* Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggeredBrett Cannon2008-08-031-2/+2
| | | | under -3 through test_xmlrpc.
* Silence -3 warnings in pstats: a dict.has_key() usage and backport solution toBrett Cannon2008-08-031-2/+12
| | | | move from list.sort(cmp=) to key=.
* Remove a dict.has_key() usage in profile to silence a -3 DeprecationWarning.Brett Cannon2008-08-031-1/+1
|
* Remove a use of list.sort(cmp=) to silence a -3 DeprecationWarning inBrett Cannon2008-08-031-2/+1
| | | | cookielib.
* Note the removal of several committers.Georg Brandl2008-08-031-5/+12
|
* #3495: use current version.Georg Brandl2008-08-031-2/+2
|
* Silence SyntaxWarning and DeprecationWarning in pydoc triggered by tupleBrett Cannon2008-08-031-10/+15
| | | | unpacking in parameter lists and using callable(). Found through -3.
* Silence some SyntaxWarnings for tuple unpacking in a parameter list forBrett Cannon2008-08-031-2/+4
| | | | urlparse when run under -3.
* Preemptively backport the relevant parts of r65420Antoine Pitrou2008-08-022-1/+4
|
* Issue #3039: Fix TarFileCompat.writestr() which always raised anLars Gustäbel2008-08-023-4/+14
| | | | | | AttributeError since __slots__ were added to zipfile.ZipInfo in r46967 two years ago. Add a warning about the removal of TarFileCompat in Python 3.0.
* Issue #799428: Fix Tkinter.Misc._nametowidget to unwrapMartin v. Löwis2008-08-022-9/+11
| | | | Tcl command objects.
* Remove a __getitem__() removal on an exception to silence a warning triggeredBrett Cannon2008-08-021-1/+1
| | | | under -3.
* Remove a dict.has_key() use to silence a warning when running under -3.Brett Cannon2008-08-021-1/+1
|
* Remove a dict.has_key() use to silence a warning raised under -3.Brett Cannon2008-08-021-1/+1
|
* Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raisedBrett Cannon2008-08-021-1/+3
| | | | while running under -3.
* Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning withBrett Cannon2008-08-021-1/+2
| | | | -3.
* fix compile error on WindowsBenjamin Peterson2008-08-021-1/+1
|
* revert last revision; code was rightBenjamin Peterson2008-08-021-3/+3
|
* fix indentation that caused logic bugBenjamin Peterson2008-08-021-3/+3
|
* This should really be a comment.Georg Brandl2008-08-011-4/+7
|
* Add the grammar to the reference manual, since the new docs don'tGeorg Brandl2008-08-012-1/+8
| | | | | have the feature of putting all the small EBNF snippets together into one big file.