]> granicus.if.org Git - python/log
python
15 years agoThe stdout from tests is no longer compared against anything (not even
R. David Murray [Mon, 19 Oct 2009 16:15:22 +0000 (16:15 +0000)]
The stdout from tests is no longer compared against anything (not even
to make sure it is empty), so eliminate the message that says running
under verbose is different from running without it.

15 years agoNote that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
R. David Murray [Mon, 19 Oct 2009 16:04:44 +0000 (16:04 +0000)]
Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.

Merged revisions 75518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines

  Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
  last false positive when running regrtest with -j.
........

15 years agoMerged revisions 75503 via svnmerge from
R. David Murray [Mon, 19 Oct 2009 15:26:16 +0000 (15:26 +0000)]
Merged revisions 75503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines

  Issue #7151: regrtest would generate a JSON failure if there was output
  to stderr during the test run and it happened to get emitted after the
  worker thread emitted the result JSON.  Now we capture stdout and stderr
  separately, which avoids that problem.  It also means that _all_ stderr
  output is after all stdout output when we print the test results, but
  that seems acceptable, since output ordering is not guaranteed anyway.
  The patch also moves the emit of the test name into the output block
  generated after the test completes.  Otherwise test names and test
  output/errors were mixed in the terminal display, making it difficult
  to determine which test generated the output.
........

15 years agoBlocked revisions 75510 via svnmerge
Eric Smith [Mon, 19 Oct 2009 14:42:58 +0000 (14:42 +0000)]
Blocked revisions 75510 via svnmerge

........
  r75510 | eric.smith | 2009-10-19 10:38:14 -0400 (Mon, 19 Oct 2009) | 1 line

  Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated.
........

15 years agoBlocked revisions 75506 via svnmerge
Eric Smith [Mon, 19 Oct 2009 00:35:35 +0000 (00:35 +0000)]
Blocked revisions 75506 via svnmerge

........
  r75506 | eric.smith | 2009-10-18 20:34:12 -0400 (Sun, 18 Oct 2009) | 7 lines

  Removed calls to PyFloat_AsReprString.
  This is in anticipation of possibly implementing issue 7117 (short float repr).
  This removes the last calls to PyFloat_AsString, PyFloat_AsReprString, and
  PyFloat_AsStringEx, which are unsafe.

  Also, switch to defines for error values to bring this code more in line
  with the py3k branch.
........

15 years agoClean up merge of r75400.
R. David Murray [Sun, 18 Oct 2009 22:18:17 +0000 (22:18 +0000)]
Clean up merge of r75400.

15 years agoMerged revisions 75499 via svnmerge from
Antoine Pitrou [Sun, 18 Oct 2009 18:27:17 +0000 (18:27 +0000)]
Merged revisions 75499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75499 | antoine.pitrou | 2009-10-18 20:22:04 +0200 (dim., 18 oct. 2009) | 3 lines

  Add a test for same-thread asynchronous exceptions (see #1779233).
........

15 years agoRemove the uses of WITHOUT_COMPLEX introduced in r75471
Mark Dickinson [Sun, 18 Oct 2009 16:41:32 +0000 (16:41 +0000)]
Remove the uses of WITHOUT_COMPLEX introduced in r75471

15 years agoIssue 7147 - remove ability to attempt to build Python without complex number support...
Skip Montanaro [Sun, 18 Oct 2009 14:25:35 +0000 (14:25 +0000)]
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)

15 years agoNote that a number of the changes listed below were not applicable to the Py3k branch...
Nick Coghlan [Sun, 18 Oct 2009 13:19:33 +0000 (13:19 +0000)]
Note that a number of the changes listed below were not applicable to the Py3k branch, and hence the corresponding
files are unchanged in this checkin. This checkin is also the first time the environment checking in regrtest has
been forward ported to the Py3k branch.

This checkin causes test_xmlrpc to fail - see issue 7165 (it's a bug in the 3.x version of xmlrpc.server)
I am also getting a failure in test_telnetlib, but it isn't clear yet if that is due to these changes.

Recorded merge of revisions 75400-75401,75404,75406,75414,75416,75422,75425-75428,75435,75439,75441-75444,75447-75449,75451-75453,75455-75458,75460-75469,75471-75473,75475-75477,75479-75481,75483,75486-75489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75400 | r.david.murray | 2009-10-14 23:58:07 +1000 (Wed, 14 Oct 2009) | 6 lines

  Enhanced Issue 7058 patch, which will not be backported.  Refactors the
  code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
  section in the summary for tests that modify the environment (thanks to
  Ezio Melotti for that suggestion).
........
  r75453 | nick.coghlan | 2009-10-17 16:33:05 +1000 (Sat, 17 Oct 2009) | 1 line

  Correctly restore sys.stdout in test_descr
........
  r75456 | nick.coghlan | 2009-10-17 17:30:40 +1000 (Sat, 17 Oct 2009) | 1 line

  Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources.
........
  r75457 | nick.coghlan | 2009-10-17 17:34:27 +1000 (Sat, 17 Oct 2009) | 1 line

  Formatting tweak so that before and after values are vertically aligned
........
  r75458 | nick.coghlan | 2009-10-17 18:21:21 +1000 (Sat, 17 Oct 2009) | 1 line

  Check and revert expected sys.path alterations
........
  r75461 | nick.coghlan | 2009-10-18 00:40:54 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore original sys.path when running TTK tests
........
  r75462 | nick.coghlan | 2009-10-18 01:09:41 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
........
  r75463 | nick.coghlan | 2009-10-18 01:23:08 +1000 (Sun, 18 Oct 2009) | 1 line

  Revert changes made to environment in test_httpservers
........
  r75465 | nick.coghlan | 2009-10-18 01:45:52 +1000 (Sun, 18 Oct 2009) | 1 line

  Move restoration of the os.environ object into the context manager where it belongs
........
  r75466 | nick.coghlan | 2009-10-18 01:48:16 +1000 (Sun, 18 Oct 2009) | 1 line

  Also check and restore identity of sys.path, sys.argv and os.environ rather than just their values (this picked up a few more misbehaving tests)
........
  r75467 | nick.coghlan | 2009-10-18 01:57:42 +1000 (Sun, 18 Oct 2009) | 1 line

  Avoid replacing existing modules and sys.path in import tests
........
  r75468 | nick.coghlan | 2009-10-18 02:19:51 +1000 (Sun, 18 Oct 2009) | 1 line

  Don't replace sys.path in test_site
........
  r75481 | nick.coghlan | 2009-10-18 15:38:48 +1000 (Sun, 18 Oct 2009) | 1 line

  Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
........
  r75486 | nick.coghlan | 2009-10-18 20:29:10 +1000 (Sun, 18 Oct 2009) | 1 line

  Silence a deprecation warning by using the appropriate replacement construct
........
  r75489 | nick.coghlan | 2009-10-18 20:56:21 +1000 (Sun, 18 Oct 2009) | 1 line

  Restore sys.path in test_tk
........

15 years agoMerged revisions 75485 via svnmerge from
Tarek Ziadé [Sun, 18 Oct 2009 11:34:51 +0000 (11:34 +0000)]
Merged revisions 75485 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line

  Changed distutils tests to avoid environment alteration
........

15 years agoRecorded merge of revisions 75474 via svnmerge from
Nick Coghlan [Sun, 18 Oct 2009 10:46:42 +0000 (10:46 +0000)]
Recorded merge of revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 11:24:41 +1000 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........

15 years agoRevert broken commit to svnmerge properties
Nick Coghlan [Sun, 18 Oct 2009 10:44:15 +0000 (10:44 +0000)]
Revert broken commit to svnmerge properties

15 years agoMerged revisions 75474 via svnmerge from
Senthil Kumaran [Sun, 18 Oct 2009 01:42:33 +0000 (01:42 +0000)]
Merged revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........

15 years agocorrect porting error with raise #7161
Benjamin Peterson [Sun, 18 Oct 2009 00:32:49 +0000 (00:32 +0000)]
correct porting error with raise #7161

15 years agoMerged revisions 75470 via svnmerge from
Mark Dickinson [Sat, 17 Oct 2009 21:48:16 +0000 (21:48 +0000)]
Merged revisions 75470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line

  Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........

15 years agoMerged revisions 75454 via svnmerge from
Mark Dickinson [Sat, 17 Oct 2009 07:10:00 +0000 (07:10 +0000)]
Merged revisions 75454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line

  test_math ulp computation was wrong on big-endian systems
........

15 years agoMerged revisions 75450 via svnmerge from
Tarek Ziadé [Fri, 16 Oct 2009 23:07:19 +0000 (23:07 +0000)]
Merged revisions 75450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sat, 17 Oct 2009) | 1 line

  this test requires zlib support
........

15 years agoBlocked revisions 75446 via svnmerge
Eric Smith [Fri, 16 Oct 2009 14:33:35 +0000 (14:33 +0000)]
Blocked revisions 75446 via svnmerge

........
  r75446 | eric.smith | 2009-10-16 10:26:36 -0400 (Fri, 16 Oct 2009) | 1 line

  Removed usage of unsafe PyFloat_AsString.
........

15 years agoIssue #7120: logging: Removed import of multiprocessing which is causing crash in...
Vinay Sajip [Fri, 16 Oct 2009 14:06:44 +0000 (14:06 +0000)]
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.

15 years agoMerged revisions 75440 via svnmerge from
Mark Dickinson [Thu, 15 Oct 2009 19:55:18 +0000 (19:55 +0000)]
Merged revisions 75440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line

  Allow core Python build to succeed under WITHOUT_COMPLEX.  The module build stage still fails.
........

15 years agoBlocked revisions 75438 via svnmerge
Mark Dickinson [Thu, 15 Oct 2009 15:54:39 +0000 (15:54 +0000)]
Blocked revisions 75438 via svnmerge

........
  r75438 | mark.dickinson | 2009-10-15 16:53:58 +0100 (Thu, 15 Oct 2009) | 1 line

  Issue #7142:  Fix uses of unicode in memoryview objects
........

15 years agoBlocked revisions 75434 via svnmerge
Mark Dickinson [Thu, 15 Oct 2009 15:22:09 +0000 (15:22 +0000)]
Blocked revisions 75434 via svnmerge

........
  r75434 | mark.dickinson | 2009-10-15 16:18:55 +0100 (Thu, 15 Oct 2009) | 1 line

  Fix missing semicolon
........

15 years agoIssue #1754094: Improve the stack depth calculation in the compiler.
Neil Schemenauer [Wed, 14 Oct 2009 19:14:38 +0000 (19:14 +0000)]
Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.

15 years ago#7129: add missing function.
Georg Brandl [Wed, 14 Oct 2009 18:46:15 +0000 (18:46 +0000)]
#7129: add missing function.

15 years agoIssue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
Antoine Pitrou [Wed, 14 Oct 2009 17:14:16 +0000 (17:14 +0000)]
Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
using byte values greater than 127.  Patch by egreen.

15 years agoMerged revisions 75396 via svnmerge from
Amaury Forgeot d'Arc [Tue, 13 Oct 2009 23:18:53 +0000 (23:18 +0000)]
Merged revisions 75396 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75396 | amaury.forgeotdarc | 2009-10-13 23:29:34 +0200 (mar., 13 oct. 2009) | 3 lines

  #7112: Fix compilation warning in unicodetype_db.h
  makeunicodedata now generates double literals
........

15 years agoUpdate module names in references in the FAQ.
Georg Brandl [Tue, 13 Oct 2009 16:55:12 +0000 (16:55 +0000)]
Update module names in references in the FAQ.

15 years agoMerged revisions 75363 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 21:25:26 +0000 (21:25 +0000)]
Merged revisions 75363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line

  Add the Python FAQ lists to the documentation.  Copied from sandbox/faq.  Many thanks to AMK for the preparation work.
........

15 years agoMerged revisions 75370-75372 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 21:24:34 +0000 (21:24 +0000)]
Merged revisions 75370-75372 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75370 | georg.brandl | 2009-10-11 23:10:07 +0200 (So, 11 Okt 2009) | 1 line

  Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc.
........
  r75371 | georg.brandl | 2009-10-11 23:14:37 +0200 (So, 11 Okt 2009) | 1 line

  Add find_recursionlimit.py to README.
........
  r75372 | georg.brandl | 2009-10-11 23:17:14 +0200 (So, 11 Okt 2009) | 1 line

  Update Misc/README.
........

15 years agoBlocked revisions 75367 via svnmerge
Antoine Pitrou [Sun, 11 Oct 2009 21:07:02 +0000 (21:07 +0000)]
Blocked revisions 75367 via svnmerge

........
  r75367 | antoine.pitrou | 2009-10-11 23:03:26 +0200 (dim., 11 oct. 2009) | 4 lines

  Issue #7084: Fix a (very unlikely) crash when printing a list from one
  thread, and mutating it from another one.  Patch by Scott Dial.
........

15 years agoactually test a method that will be lookup in py3
Benjamin Peterson [Sun, 11 Oct 2009 18:28:48 +0000 (18:28 +0000)]
actually test a method that will be lookup in py3

15 years agoMerged revisions 75358 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 15:56:06 +0000 (15:56 +0000)]
Merged revisions 75358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line

  Overhaul of Demo/xml.
........

15 years agoMerged revisions 75356 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 14:50:57 +0000 (14:50 +0000)]
Merged revisions 75356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75356 | georg.brandl | 2009-10-11 16:49:37 +0200 (So, 11 Okt 2009) | 1 line

  Remove ftpstats script, the daemon whose log files it reads is long gone.
........

15 years agoMerged revisions 75354 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 14:27:51 +0000 (14:27 +0000)]
Merged revisions 75354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line

  Update lpwatch script.
........

15 years agoMerged revisions 75351 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 12:04:40 +0000 (12:04 +0000)]
Merged revisions 75351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75351 | georg.brandl | 2009-10-11 14:03:01 +0200 (So, 11 Okt 2009) | 1 line

  Fix variable.
........

15 years agoMerged revisions 75350 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 12:04:10 +0000 (12:04 +0000)]
Merged revisions 75350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line

  Use getopt in script.py demo.
........

15 years agoMerged revisions 75348 via svnmerge from
Mark Dickinson [Sun, 11 Oct 2009 10:32:51 +0000 (10:32 +0000)]
Merged revisions 75348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75348 | mark.dickinson | 2009-10-11 11:01:17 +0100 (Sun, 11 Oct 2009) | 1 line

  Set missing executable property on scripts
........

15 years agoMerged revisions 75346 via svnmerge from
Mark Dickinson [Sun, 11 Oct 2009 09:40:17 +0000 (09:40 +0000)]
Merged revisions 75346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line

  Fix 'primes 0 1'
........

15 years agoMerged revisions 75344 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 08:49:57 +0000 (08:49 +0000)]
Merged revisions 75344 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line

  Update primes script.
........

15 years agoMerged revisions 75342 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 08:46:56 +0000 (08:46 +0000)]
Merged revisions 75342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75342 | georg.brandl | 2009-10-11 10:45:03 +0200 (So, 11 Okt 2009) | 1 line

  Remove useless script "mkrcs" and update README.
........

15 years agoFix README description.
Georg Brandl [Sun, 11 Oct 2009 08:43:08 +0000 (08:43 +0000)]
Fix README description.

15 years agoMerged revisions 75339 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 08:42:09 +0000 (08:42 +0000)]
Merged revisions 75339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75339 | georg.brandl | 2009-10-11 10:39:16 +0200 (So, 11 Okt 2009) | 1 line

  Update markov demo.
........

15 years agoMerged revisions 75337 via svnmerge from
Georg Brandl [Sun, 11 Oct 2009 08:31:41 +0000 (08:31 +0000)]
Merged revisions 75337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75337 | georg.brandl | 2009-10-11 10:18:44 +0200 (So, 11 Okt 2009) | 1 line

  Update morse script, avoid globals, use iterators.
........

15 years agoMerged revisions 75333 via svnmerge from
Senthil Kumaran [Sun, 11 Oct 2009 04:58:55 +0000 (04:58 +0000)]
Merged revisions 75333 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines

  Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........

15 years agoMerged revisions 75329 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 22:32:28 +0000 (22:32 +0000)]
Merged revisions 75329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75329 | georg.brandl | 2009-10-11 00:26:45 +0200 (So, 11 Okt 2009) | 1 line

  Modernize all around (dont ask me how useful that script is nowadays...)
........

15 years agoMerged revisions 75327 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 22:05:26 +0000 (22:05 +0000)]
Merged revisions 75327 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75327 | georg.brandl | 2009-10-11 00:03:43 +0200 (So, 11 Okt 2009) | 1 line

  Style fixes.
........

15 years agoMerged revisions 75325 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 21:57:03 +0000 (21:57 +0000)]
Merged revisions 75325 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75325 | georg.brandl | 2009-10-10 23:55:11 +0200 (Sa, 10 Okt 2009) | 1 line

  Modernize factorisation demo (mostly augassign.)
........

15 years agoMerged revisions 75322 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 21:49:24 +0000 (21:49 +0000)]
Merged revisions 75322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75322 | georg.brandl | 2009-10-10 23:47:31 +0200 (Sa, 10 Okt 2009) | 1 line

  Show use of range() step argument nicely.
........

15 years agoRecorded merge of revisions 75321 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 21:48:05 +0000 (21:48 +0000)]
Recorded merge of revisions 75321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75321 | georg.brandl | 2009-10-10 23:43:21 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove outdated comment and fix a few style issues.
........

15 years agoRedundancy isn't needed here.
Antoine Pitrou [Sat, 10 Oct 2009 21:28:29 +0000 (21:28 +0000)]
Redundancy isn't needed here.
Redundancy isn't needed here.

15 years agoRolled back revisions 74556 via svnmerge from
Benjamin Peterson [Sat, 10 Oct 2009 21:27:03 +0000 (21:27 +0000)]
Rolled back revisions 74556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

15 years agoMerged revisions 75315 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 21:13:21 +0000 (21:13 +0000)]
Merged revisions 75315 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75315 | georg.brandl | 2009-10-10 23:10:05 +0200 (Sa, 10 Okt 2009) | 1 line

  Remove unneeded "L" suffixes.
........

15 years agoMerged revisions 75313 via svnmerge from
Georg Brandl [Sat, 10 Oct 2009 21:12:35 +0000 (21:12 +0000)]
Merged revisions 75313 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75313 | georg.brandl | 2009-10-10 23:07:35 +0200 (Sa, 10 Okt 2009) | 1 line

  Bring old demo up-to-date.
........

15 years agoMerged revisions 75312 via svnmerge from
Antoine Pitrou [Sat, 10 Oct 2009 21:08:31 +0000 (21:08 +0000)]
Merged revisions 75312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines

  Issue #7055: test___all__ now greedily detects all modules which have an
  __all__ attribute, rather than using a hardcoded and incomplete list.
........

15 years agoBlocked revisions 75310 via svnmerge
Benjamin Peterson [Sat, 10 Oct 2009 20:39:25 +0000 (20:39 +0000)]
Blocked revisions 75310 via svnmerge

........
  r75310 | vinay.sajip | 2009-10-10 15:32:36 -0500 (Sat, 10 Oct 2009) | 1 line

  Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
........

15 years agoIssue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in...
Vinay Sajip [Sat, 10 Oct 2009 20:32:36 +0000 (20:32 +0000)]
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.

15 years agoMerged revisions 74524 via svnmerge from
Benjamin Peterson [Sat, 10 Oct 2009 01:16:07 +0000 (01:16 +0000)]
Merged revisions 74524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74524 | gregory.p.smith | 2009-08-20 04:39:38 -0500 (Thu, 20 Aug 2009) | 2 lines

  Add weakref support to the thread.lock type.
........

15 years agoMerged revisions 75301 via svnmerge from
R. David Murray [Sat, 10 Oct 2009 00:13:32 +0000 (00:13 +0000)]
Merged revisions 75301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines

  Issue #7082: When falling back to the MIME 'name' parameter, the
  correct place to look for it is the Content-Type header.

  Patch by Darren Worrall.
........

15 years agoBlocked revisions 75304-75305 via svnmerge
Benjamin Peterson [Fri, 9 Oct 2009 22:34:44 +0000 (22:34 +0000)]
Blocked revisions 75304-75305 via svnmerge

........
  r75304 | benjamin.peterson | 2009-10-09 17:05:45 -0500 (Fri, 09 Oct 2009) | 1 line

  replace callable()
........
  r75305 | benjamin.peterson | 2009-10-09 17:15:50 -0500 (Fri, 09 Oct 2009) | 1 line

  replace has_key with 'in' operator
........

15 years agonormalize latin-1 and utf-8 variant encodings like the builtin tokenizer does
Benjamin Peterson [Fri, 9 Oct 2009 21:43:09 +0000 (21:43 +0000)]
normalize latin-1 and utf-8 variant encodings like the builtin tokenizer does

15 years agoRecorded rollback of revisions 74524 via svnmerge from
Benjamin Peterson [Fri, 9 Oct 2009 20:47:22 +0000 (20:47 +0000)]
Recorded rollback of revisions 74524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

15 years agoRecorded rollback of revisions 72524 via svnmerge from
Benjamin Peterson [Fri, 9 Oct 2009 20:39:55 +0000 (20:39 +0000)]
Recorded rollback of revisions 72524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

15 years agorollback the merge of r74524 because it causes failures in test_multiprocessing
Benjamin Peterson [Fri, 9 Oct 2009 20:36:25 +0000 (20:36 +0000)]
rollback the merge of r74524 because it causes failures in test_multiprocessing

15 years agoMerged revisions 75289 via svnmerge from
Mark Dickinson [Thu, 8 Oct 2009 20:05:48 +0000 (20:05 +0000)]
Merged revisions 75289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75289 | mark.dickinson | 2009-10-08 21:02:25 +0100 (Thu, 08 Oct 2009) | 2 lines

  Issue #7051:  Clarify behaviour of 'g' and 'G'-style formatting.
........

15 years agoMerged revisions 75286 via svnmerge from
Mark Dickinson [Thu, 8 Oct 2009 16:30:38 +0000 (16:30 +0000)]
Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

  Update decimal test data to the most recent set from Mike Cowlishaw.
........

15 years agoMerged revisions 75283 via svnmerge from
Mark Dickinson [Thu, 8 Oct 2009 15:59:20 +0000 (15:59 +0000)]
Merged revisions 75283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines

  Issue #7078:  _struct.__doc__ was being ignored.  Import it into struct.
  Also add description of '?' struct format character.  Thanks Gabriel
  Genellina for the patch.
........

15 years agoMerged revisions 75255 via svnmerge from
R. David Murray [Wed, 7 Oct 2009 23:38:55 +0000 (23:38 +0000)]
Merged revisions 75255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75255 | r.david.murray | 2009-10-05 13:03:09 -0400 (Mon, 05 Oct 2009) | 3 lines

  Issue #7058: Added save/restore for argv and os.environ to runtest_inner
  in regrtest, with warnings if the called test modifies them.
........

15 years agoMerged revisions 75275 via svnmerge from
Mark Dickinson [Wed, 7 Oct 2009 19:23:50 +0000 (19:23 +0000)]
Merged revisions 75275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75275 | mark.dickinson | 2009-10-07 20:22:05 +0100 (Wed, 07 Oct 2009) | 6 lines

  Issue #7048: logb should round its result when that result doesn't fit
  into the available precision.  (Tests for this change are included in
  the most recent set of testcases from the Decimal Specification site;
  those testcases will be updated shortly.)
........

15 years agoMerged revisions 75272-75273 via svnmerge from
Amaury Forgeot d'Arc [Tue, 6 Oct 2009 21:03:20 +0000 (21:03 +0000)]
Merged revisions 75272-75273 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75272 | amaury.forgeotdarc | 2009-10-06 21:56:32 +0200 (mar., 06 oct. 2009) | 5 lines

  #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
  _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.

  It now also parses the Unihan.txt for numeric values.
........
  r75273 | amaury.forgeotdarc | 2009-10-06 22:02:09 +0200 (mar., 06 oct. 2009) | 2 lines

  Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata.
........

15 years agoMerged revisions 75258 via svnmerge from
Amaury Forgeot d'Arc [Mon, 5 Oct 2009 21:09:00 +0000 (21:09 +0000)]
Merged revisions 75258 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75258 | amaury.forgeotdarc | 2009-10-05 22:18:05 +0200 (lun., 05 oct. 2009) | 2 lines

  Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit.
........

15 years agoMerged revisions 75066 via svnmerge from
Benjamin Peterson [Sun, 4 Oct 2009 20:40:17 +0000 (20:40 +0000)]
Merged revisions 75066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75066 | andrew.kuchling | 2009-09-25 17:23:54 -0500 (Fri, 25 Sep 2009) | 4 lines

  #6243: fix segfault when keyname() returns a NULL pointer.

  Bug noted by Trundle, patched by Trundle and Jerry Chen.
........

15 years agoMerged revisions 74841 via svnmerge from
Benjamin Peterson [Sun, 4 Oct 2009 20:32:25 +0000 (20:32 +0000)]
Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (Wed, 16 Sep 2009) | 23 lines

  Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
  acquiring the import lock around fork() calls. This prevents other threads
  from having that lock while the fork happens, and is the recommended way of
  dealing with such issues. There are two other locks we care about, the GIL
  and the Thread Local Storage lock. The GIL is obviously held when calling
  Python functions like os.fork(), and the TLS lock is explicitly reallocated
  instead, while also deleting now-orphaned TLS data.

  This only fixes calls to os.fork(), not extension modules or embedding
  programs calling C's fork() directly. Solving that requires a new set of API
  functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
  warning explaining the problem to the documentation in the mean time.

  This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
  getting the import lock reallocated, seemingly to avoid this very same
  problem. This is not the right approach, because the import lock is a
  re-entrant one, and reallocating would do the wrong thing when forking while
  holding the import lock.

  Will backport to 2.6, minus the tiny AIX behaviour change.
........

15 years agoBlocked revisions 75164-75166 via svnmerge
Benjamin Peterson [Sun, 4 Oct 2009 20:28:48 +0000 (20:28 +0000)]
Blocked revisions 75164-75166 via svnmerge

........
  r75164 | senthil.kumaran | 2009-09-30 20:07:03 -0500 (Wed, 30 Sep 2009) | 3 lines

  Fix for issue7026 test_urllib: unsetting missing 'env' variable.
........
  r75165 | senthil.kumaran | 2009-09-30 20:19:18 -0500 (Wed, 30 Sep 2009) | 3 lines

  using dict.unset(k) instead of del dict[k]. consistent with release26-maint
........
  r75166 | senthil.kumaran | 2009-09-30 20:50:13 -0500 (Wed, 30 Sep 2009) | 3 lines

  That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
........

15 years agoBlocked revisions 74849,75143,75181 via svnmerge
Benjamin Peterson [Sun, 4 Oct 2009 20:23:37 +0000 (20:23 +0000)]
Blocked revisions 74849,75143,75181 via svnmerge

........
  r74849 | thomas.wouters | 2009-09-16 15:36:34 -0500 (Wed, 16 Sep 2009) | 4 lines

  Add news entry for r74841.
........
  r75143 | philip.jenvey | 2009-09-29 14:10:15 -0500 (Tue, 29 Sep 2009) | 5 lines

  #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
  through the shell. also document the correct subprocess replacement for this
  case
  patch from Jean-Paul Calderone and Jani Hakala
........
  r75181 | georg.brandl | 2009-10-01 16:02:39 -0500 (Thu, 01 Oct 2009) | 1 line

  Add NEWS entry for r75180.
........

15 years agoMerged revisions 74865,75175,75180 via svnmerge from
Benjamin Peterson [Sun, 4 Oct 2009 20:19:21 +0000 (20:19 +0000)]
Merged revisions 74865,75175,75180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74865 | georg.brandl | 2009-09-17 02:49:37 -0500 (Thu, 17 Sep 2009) | 1 line

  #6912: add "with" block support to pindent.
........
  r75175 | georg.brandl | 2009-10-01 15:11:14 -0500 (Thu, 01 Oct 2009) | 1 line

  Fix some weird whitespace and two other overlong lines.
........
  r75180 | georg.brandl | 2009-10-01 15:59:31 -0500 (Thu, 01 Oct 2009) | 1 line

  #7031: Add TestCase.assertIsInstance and negated method.
........

15 years agoBlocked revisions 74845 via svnmerge
Benjamin Peterson [Sun, 4 Oct 2009 20:13:06 +0000 (20:13 +0000)]
Blocked revisions 74845 via svnmerge

........
  r74845 | georg.brandl | 2009-09-16 15:30:09 -0500 (Wed, 16 Sep 2009) | 5 lines

  #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.

  This works by always setting it in __dict__, except when it's implicitly set in __init__.
........

15 years agoMerged revisions 74524,74556 via svnmerge from
Benjamin Peterson [Sun, 4 Oct 2009 20:07:34 +0000 (20:07 +0000)]
Merged revisions 74524,74556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74524 | gregory.p.smith | 2009-08-20 04:39:38 -0500 (Thu, 20 Aug 2009) | 2 lines

  Add weakref support to the thread.lock type.
........
  r74556 | kristjan.jonsson | 2009-08-27 17:20:21 -0500 (Thu, 27 Aug 2009) | 2 lines

  issue 6275
  Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
........

15 years agoMerged revisions 75236 via svnmerge from
Mark Dickinson [Sun, 4 Oct 2009 18:43:54 +0000 (18:43 +0000)]
Merged revisions 75236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75236 | mark.dickinson | 2009-10-04 19:38:39 +0100 (Sun, 04 Oct 2009) | 4 lines

  Issue #7042:  Fix test_signal failure on OS X 10.6 64-bit builds
  (and also, with luck, on the x86 FreeBSD buildbot), by making sure
  that some user time is used in test_itimer_virtual.
........

15 years agoremove 8-bit string sentence
Benjamin Peterson [Sun, 4 Oct 2009 15:07:16 +0000 (15:07 +0000)]
remove 8-bit string sentence

15 years agoMerged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896...
Benjamin Peterson [Sun, 4 Oct 2009 14:49:41 +0000 (14:49 +0000)]
Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,75139,75230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74779 | michael.foord | 2009-09-13 11:13:36 -0500 (Sun, 13 Sep 2009) | 1 line

  Change to tutorial wording for reading text / binary files on Windows. Issue #6301.
........
  r74780 | michael.foord | 2009-09-13 11:40:02 -0500 (Sun, 13 Sep 2009) | 1 line

  Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
........
  r74781 | michael.foord | 2009-09-13 11:46:19 -0500 (Sun, 13 Sep 2009) | 1 line

  Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
........
  r74782 | michael.foord | 2009-09-13 12:07:46 -0500 (Sun, 13 Sep 2009) | 1 line

  Tutorial tweaks. Issue 6849.
........
  r74783 | michael.foord | 2009-09-13 12:28:35 -0500 (Sun, 13 Sep 2009) | 1 line

  unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
........
  r74784 | georg.brandl | 2009-09-13 13:15:07 -0500 (Sun, 13 Sep 2009) | 1 line

  Typo fix.
........
  r74785 | michael.foord | 2009-09-13 14:07:03 -0500 (Sun, 13 Sep 2009) | 1 line

  Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
........
  r74786 | michael.foord | 2009-09-13 14:08:18 -0500 (Sun, 13 Sep 2009) | 1 line

  Remove an extraneous space in unittest documentation.
........
  r74793 | georg.brandl | 2009-09-14 09:50:47 -0500 (Mon, 14 Sep 2009) | 1 line

  #6908: fix association of hashlib hash attributes.
........
  r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line

  Py_SetPythonHome uses static storage #6913
........
  r74811 | georg.brandl | 2009-09-15 15:26:59 -0500 (Tue, 15 Sep 2009) | 1 line

  Add Armin Ronacher.
........
  r74860 | benjamin.peterson | 2009-09-16 21:46:54 -0500 (Wed, 16 Sep 2009) | 1 line

  kill bare except
........
  r74861 | benjamin.peterson | 2009-09-16 22:18:28 -0500 (Wed, 16 Sep 2009) | 1 line

  pep 8 defaults
........
  r74863 | benjamin.peterson | 2009-09-16 22:27:33 -0500 (Wed, 16 Sep 2009) | 1 line

  rationalize a bit
........
  r74876 | georg.brandl | 2009-09-17 11:15:53 -0500 (Thu, 17 Sep 2009) | 1 line

  #6932: remove paragraph that advises relying on __del__ being called.
........
  r74886 | benjamin.peterson | 2009-09-17 16:33:46 -0500 (Thu, 17 Sep 2009) | 1 line

  use macros
........
  r74896 | georg.brandl | 2009-09-18 02:22:41 -0500 (Fri, 18 Sep 2009) | 1 line

  #6936: for interactive use, quit() is just fine.
........
  r74901 | georg.brandl | 2009-09-18 04:14:52 -0500 (Fri, 18 Sep 2009) | 1 line

  #6905: use better exception messages in inspect when the argument is of the wrong type.
........
  r74903 | georg.brandl | 2009-09-18 04:18:27 -0500 (Fri, 18 Sep 2009) | 1 line

  #6938: "ident" is always a string, so use a format code which works.
........
  r74908 | georg.brandl | 2009-09-18 08:57:11 -0500 (Fri, 18 Sep 2009) | 1 line

  Use str.format() to fix beginner's mistake with %-style string formatting.
........
  r74912 | georg.brandl | 2009-09-18 11:19:56 -0500 (Fri, 18 Sep 2009) | 1 line

  Optimize optimization and fix method name in docstring.
........
  r74930 | georg.brandl | 2009-09-18 16:21:41 -0500 (Fri, 18 Sep 2009) | 1 line

  #6925: rewrite docs for locals() and vars() a bit.
........
  r74933 | georg.brandl | 2009-09-18 16:35:59 -0500 (Fri, 18 Sep 2009) | 1 line

  #6930: clarify description about byteorder handling in UTF decoder routines.
........
  r74943 | georg.brandl | 2009-09-19 02:35:07 -0500 (Sat, 19 Sep 2009) | 1 line

  #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set.  Also clean up another usage of PyArg_ParseTuple.
........
  r74946 | georg.brandl | 2009-09-19 03:43:16 -0500 (Sat, 19 Sep 2009) | 1 line

  Update bug tracker reference.
........
  r74952 | georg.brandl | 2009-09-19 05:42:34 -0500 (Sat, 19 Sep 2009) | 1 line

  #6946: fix duplicate index entries for datetime classes.
........
  r74953 | georg.brandl | 2009-09-19 07:04:16 -0500 (Sat, 19 Sep 2009) | 1 line

  Fix references to threading.enumerate().
........
  r74954 | georg.brandl | 2009-09-19 08:13:56 -0500 (Sat, 19 Sep 2009) | 1 line

  Add Doug.
........
  r74955 | georg.brandl | 2009-09-19 08:20:49 -0500 (Sat, 19 Sep 2009) | 1 line

  Add Mark Summerfield.
........
  r75015 | georg.brandl | 2009-09-22 05:55:08 -0500 (Tue, 22 Sep 2009) | 1 line

  Fix encoding name.
........
  r75019 | vinay.sajip | 2009-09-22 12:23:41 -0500 (Tue, 22 Sep 2009) | 1 line

  Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
........
  r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

  fix typos/rephrase
........
  r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line

  comment out ugly xxx
........
  r75076 | vinay.sajip | 2009-09-26 09:53:32 -0500 (Sat, 26 Sep 2009) | 1 line

  Tidied up name of parameter in StreamHandler
........
  r75095 | michael.foord | 2009-09-27 14:15:41 -0500 (Sun, 27 Sep 2009) | 1 line

  Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
........
  r75098 | michael.foord | 2009-09-27 15:08:23 -0500 (Sun, 27 Sep 2009) | 1 line

  Documentation improvement for load_tests protocol in unittest. Issue 6515.
........
  r75102 | skip.montanaro | 2009-09-27 21:12:27 -0500 (Sun, 27 Sep 2009) | 3 lines

  Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
  Closes issue 6606.
........
  r75129 | vinay.sajip | 2009-09-29 02:08:54 -0500 (Tue, 29 Sep 2009) | 1 line

  Issue #7014: logging: Improved IronPython 2.6 compatibility.
........
  r75139 | raymond.hettinger | 2009-09-29 13:53:24 -0500 (Tue, 29 Sep 2009) | 3 lines

  Issue 7008: Better document str.title and show how to work around the apostrophe problem.
........
  r75230 | benjamin.peterson | 2009-10-04 08:38:38 -0500 (Sun, 04 Oct 2009) | 1 line

  test logging
........

15 years agoMerged revisions 75223 via svnmerge from
Benjamin Peterson [Sat, 3 Oct 2009 20:27:13 +0000 (20:27 +0000)]
Merged revisions 75223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75223 | benjamin.peterson | 2009-10-03 15:23:24 -0500 (Sat, 03 Oct 2009) | 1 line

  #7050 fix a SystemError when using tuple unpacking and augmented assignment
........

15 years agoUse size_t instead of int for a PyMem_MALLOC argument; silences a gcc 'comparison...
Mark Dickinson [Sat, 3 Oct 2009 20:13:37 +0000 (20:13 +0000)]
Use size_t instead of int for a PyMem_MALLOC argument;  silences a gcc 'comparison always false' warning.

15 years agosilence with (void) two warnings about computed and unused value of POP()
Ezio Melotti [Sat, 3 Oct 2009 16:14:07 +0000 (16:14 +0000)]
silence with (void) two warnings about computed and unused value of POP()

15 years agoisinstance(f, collections.Callable) is more correct
Benjamin Peterson [Sat, 3 Oct 2009 15:13:15 +0000 (15:13 +0000)]
isinstance(f, collections.Callable) is more correct

15 years agorevert r75090
Benjamin Peterson [Sat, 3 Oct 2009 15:06:21 +0000 (15:06 +0000)]
revert r75090

15 years agoMerged revisions 75209 via svnmerge from
Tarek Ziadé [Sat, 3 Oct 2009 14:54:15 +0000 (14:54 +0000)]
Merged revisions 75209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75209 | tarek.ziade | 2009-10-03 16:52:33 +0200 (Sat, 03 Oct 2009) | 1 line

  now uses the right exception type
........

15 years agoMerged revisions 75205 via svnmerge from
Mark Dickinson [Sat, 3 Oct 2009 10:18:40 +0000 (10:18 +0000)]
Merged revisions 75205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines

  Issue #7028:  Add note to hex() builtin docs pointing to float.hex().
........

15 years agoBlocked revisions 75196 via svnmerge
Tarek Ziadé [Sat, 3 Oct 2009 00:10:24 +0000 (00:10 +0000)]
Blocked revisions 75196 via svnmerge

........
  r75196 | tarek.ziade | 2009-10-03 02:07:35 +0200 (Sat, 03 Oct 2009) | 1 line

  removing the last remaning apply() calls
........

15 years agoMerged revisions 75192 via svnmerge from
Tarek Ziadé [Fri, 2 Oct 2009 23:56:02 +0000 (23:56 +0000)]
Merged revisions 75192 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75192 | tarek.ziade | 2009-10-03 01:49:48 +0200 (Sat, 03 Oct 2009) | 1 line

  #6516 added owner/group support for tarfiles in Distutils
........

15 years agoMore versionadded/versionchanged fixes
Mark Dickinson [Thu, 1 Oct 2009 20:20:09 +0000 (20:20 +0000)]
More versionadded/versionchanged fixes

15 years agoRemove outdated versionchanged entry
Mark Dickinson [Thu, 1 Oct 2009 20:11:11 +0000 (20:11 +0000)]
Remove outdated versionchanged entry

15 years agoBlocked revisions 75171 via svnmerge
Antoine Pitrou [Thu, 1 Oct 2009 17:09:15 +0000 (17:09 +0000)]
Blocked revisions 75171 via svnmerge

........
  r75171 | antoine.pitrou | 2009-10-01 19:08:03 +0200 (jeu., 01 oct. 2009) | 4 lines

  Sync the 2.x `io` docs with py3k, with a small note as to the distinction
  between bytes streams and text streams.
........

15 years agoIssue #7022: clarification of RawIOBase.read(), suggested by Pascal Chambon.
Antoine Pitrou [Thu, 1 Oct 2009 16:24:45 +0000 (16:24 +0000)]
Issue #7022: clarification of RawIOBase.read(), suggested by Pascal Chambon.

15 years agoFix versionadded for py3k math.gamma
Mark Dickinson [Thu, 1 Oct 2009 16:13:29 +0000 (16:13 +0000)]
Fix versionadded for py3k math.gamma

15 years agomore stable url
Benjamin Peterson [Thu, 1 Oct 2009 00:57:32 +0000 (00:57 +0000)]
more stable url

15 years agofix opensearch version
Benjamin Peterson [Thu, 1 Oct 2009 00:10:13 +0000 (00:10 +0000)]
fix opensearch version

15 years agoMerged revisions 75157 via svnmerge from
Mark Dickinson [Wed, 30 Sep 2009 17:47:54 +0000 (17:47 +0000)]
Merged revisions 75157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75157 | mark.dickinson | 2009-09-30 17:58:01 +0100 (Wed, 30 Sep 2009) | 1 line

  Fix buggy accuracy test
........

15 years agoMerged revisions 75141 via svnmerge from
Mark Dickinson [Tue, 29 Sep 2009 19:21:35 +0000 (19:21 +0000)]
Merged revisions 75141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75141 | mark.dickinson | 2009-09-29 20:01:06 +0100 (Tue, 29 Sep 2009) | 3 lines

  Issue #7019:  Unmarshalling of bad long data could produce unnormalized
  PyLongs.  Raise ValueError instead.
........

15 years ago[NOTE: the original bug doesn't exist in py3k but this adds Kirk's tests and fixes
Antoine Pitrou [Tue, 29 Sep 2009 18:44:53 +0000 (18:44 +0000)]
[NOTE: the original bug doesn't exist in py3k but this adds Kirk's tests and fixes
another bug in the process]

Merged revisions 75134 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75134 | antoine.pitrou | 2009-09-29 19:48:18 +0200 (mar., 29 sept. 2009) | 4 lines

  Issue #6790: Make it possible again to pass an `array.array` to
  `httplib.HTTPConnection.send`. Patch by Kirk McDonald.
........