Commit Graph

40556 Commits

Author SHA1 Message Date
Gregory P. Smith cafc22f0b8 Merged revisions 75999 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75999 | gregory.p.smith | 2009-10-31 14:23:39 -0700 (Sat, 31 Oct 2009) | 2 lines

  Define TCSASOFT if the flag exists.
........
2009-11-01 19:24:18 +00:00
Gregory P. Smith 5046788ca5 Merged revisions 76000,76016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines

  Fixes issue7208 - getpass would still allow the password to be echoed on
  Solaris due to not flushing the input buffer.

  This change also incorporates some additional getpass implementation
  suggestions for security based on an analysis of getpass.c linked to from the
  issue.
........
  r76016 | gregory.p.smith | 2009-11-01 10:33:55 -0800 (Sun, 01 Nov 2009) | 2 lines

  news entry for r76000
........
2009-11-01 18:42:17 +00:00
Antoine Pitrou f3b800269c Blocked revisions 76012 via svnmerge
........
  r76012 | antoine.pitrou | 2009-11-01 17:10:47 +0100 (dim., 01 nov. 2009) | 3 lines

  Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.
........
2009-11-01 16:13:08 +00:00
Antoine Pitrou c9e92167ac Fix test skipping in multibyte codec tests 2009-11-01 15:59:11 +00:00
Antoine Pitrou 5800b27104 Merged revisions 76007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76007 | antoine.pitrou | 2009-11-01 12:58:22 +0100 (dim., 01 nov. 2009) | 3 lines

  Buffered I/O: optimize lock taking in the common non-contended case.
........
2009-11-01 12:05:48 +00:00
Antoine Pitrou b6b8b513c5 Blocked revisions 76001 via svnmerge
Apparently someone already did the job in py3k.

........
  r76001 | antoine.pitrou | 2009-11-01 00:19:52 +0100 (dim., 01 nov. 2009) | 3 lines

  Use richer assertions in test_mailbox (for better failure messages).
........
2009-10-31 23:26:47 +00:00
Eric Smith 1bfa799b42 Merged revisions 75995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line

  Improved test for a deprecation warning.
........
2009-10-31 17:08:48 +00:00
Mark Dickinson 08efa0489b Blocked revisions 75991 via svnmerge
........
  r75991 | mark.dickinson | 2009-10-31 12:47:47 +0000 (Sat, 31 Oct 2009) | 1 line

  Set retval on PyOS_string_to_double failure.
........
2009-10-31 12:48:28 +00:00
Mark Dickinson a14c2ed15d Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines

  Issue #7042:  Use a better mechanism for testing timers in test_signal.
........
2009-10-31 10:38:43 +00:00
Mark Dickinson a25b1312c9 Merged revisions 75982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75982 | mark.dickinson | 2009-10-31 10:11:28 +0000 (Sat, 31 Oct 2009) | 5 lines

  Issue #6603: Fix --with-tsc build failures on x86-64 that resulted
  from a gcc inline assembler peculiarity. (gcc's "A" constraint
  apparently means 'rax or rdx' in 64-bit mode, not edx:eax
  or rdx:rax as one might expect.)
........
2009-10-31 10:18:44 +00:00
Mark Dickinson 5db1051f6b Blocked revisions 75979 via svnmerge
........
  r75979 | mark.dickinson | 2009-10-31 09:42:39 +0000 (Sat, 31 Oct 2009) | 1 line

  Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
........
2009-10-31 09:43:46 +00:00
Mark Dickinson 12b2cf3de3 Fix ReST markup. 2009-10-31 09:39:52 +00:00
Mark Dickinson 230d53fbea Blocked revisions 75974 via svnmerge
........
  r75974 | mark.dickinson | 2009-10-31 09:28:12 +0000 (Sat, 31 Oct 2009) | 1 line

  Move a Misc/NEWS entry to right section.
........
2009-10-31 09:29:47 +00:00
Antoine Pitrou 9257f5eece Merged revisions 75969 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75969 | antoine.pitrou | 2009-10-30 23:19:09 +0100 (ven., 30 oct. 2009) | 5 lines

  Remove official documentation entry for thread._count() and make the
  docstring more descriptive instead.
........
2009-10-30 22:23:02 +00:00
Antoine Pitrou aecd3b7718 Merged revisions 75967 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75967 | antoine.pitrou | 2009-10-30 22:41:22 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_pydoc.
........
2009-10-30 21:45:40 +00:00
Antoine Pitrou 046467cf9a Followup to r75965: replace the test_uuid-specific patch with a generic fix
(other tests may have the same problem).
2009-10-30 18:30:35 +00:00
Antoine Pitrou 1e8e5f0680 Fix a refleak in test_uuid when run with -j.
The "refleak" was simply the effect of internal buffering in block buffering mode
(rather than line buffering when sys.stdout is a terminal)
2009-10-30 18:15:02 +00:00
Antoine Pitrou e03866f6f1 Merged revisions 75962-75963 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75962 | antoine.pitrou | 2009-10-30 18:55:21 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_asynchat.
........
  r75963 | antoine.pitrou | 2009-10-30 18:56:00 +0100 (ven., 30 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_xmlrpc.
........
2009-10-30 17:58:27 +00:00
Antoine Pitrou d52656b4bc Merged revisions 75960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (ven., 30 oct. 2009) | 3 lines

  Fix transient refleaks in test_docxmlrpc.
........
2009-10-30 17:34:49 +00:00
Antoine Pitrou 65c9c6426b Merged revisions 75958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75958 | antoine.pitrou | 2009-10-30 18:07:08 +0100 (ven., 30 oct. 2009) | 7 lines

  Issue #7222: Make thread "reaping" more reliable so that reference
  leak-chasing test runs give sensible results. The previous method of
  reaping threads could return successfully while some Thread objects were
  still referenced. This also introduces a new private function:
  :func:hread._count().
........
2009-10-30 17:25:12 +00:00
Mark Dickinson a2d1fe0b84 Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line

  Fix duplicate test numbers in extra.decTest
........
  r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines

  Issue #7233:  A number of two-argument Decimal methods were failing to
  accept ints and longs for the second argument.
........
  r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines

  Issue #7233:  Fix Decimal.shift and Decimal.rotate methods for
  arguments with more digits than the current context precision.
  Bug reported by Stefan Krah.
........
2009-10-29 12:23:02 +00:00
Mark Dickinson cb9285cd37 Merged revisions 75939 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines

  Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
  The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
  and PyErr_Format.  See issue #7228.
........
2009-10-29 09:58:06 +00:00
Lars Gustäbel 1440df2fcf Merged revisions 75935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Thu, 29 Oct 2009) | 3 lines

  Issue #4750: Store the basename of the original filename in
  the gzip FNAME header as required by RFC 1952.
........
2009-10-29 09:39:47 +00:00
Benjamin Peterson 2ee28c906f Blocked revisions 75931 via svnmerge
........
  r75931 | benjamin.peterson | 2009-10-28 20:49:07 -0500 (Wed, 28 Oct 2009) | 5 lines

  do a backport of r75928

  The added test does not fail without the patch, but we still fix the issue of
  surrogates being used in wide builds where they should not be.
........
2009-10-29 01:50:06 +00:00
Vinay Sajip b6d065ff32 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00
Benjamin Peterson b2e796aa27 in wide builds, avoid storing high unicode characters from source code with surrogates
This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
2009-10-28 21:59:39 +00:00
R. David Murray 7b1b094ff1 Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........
2009-10-28 14:07:51 +00:00
Eric Smith 4c7b532318 Blocked revisions 75913 via svnmerge
........
  r75913 | eric.smith | 2009-10-28 04:44:37 -0400 (Wed, 28 Oct 2009) | 1 line

  Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........
2009-10-28 08:46:43 +00:00
Mark Dickinson 60874b01f3 Merged revisions 75909 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line

  Fix format specifier for MSVC
........
2009-10-28 07:49:26 +00:00
Mark Dickinson d4aea7116a Merged revisions 75905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line

  Replace long long with PY_LONG_LONG
........
2009-10-28 07:25:03 +00:00
Tarek Ziadé 7a8ad4a981 Merged revisions 75901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line

  removed spurious spaces
........
2009-10-28 06:48:27 +00:00
Tarek Ziadé c7c71ff87c Merged revisions 75893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line

  Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........
2009-10-27 23:12:01 +00:00
Mark Dickinson 70ec8ee2ed Remove extra blank line accidentally introduced in r75885 2009-10-27 23:00:56 +00:00
Georg Brandl 035265540a Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line

  Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
2009-10-27 23:00:28 +00:00
Mark Dickinson a9023be873 Merged revisions 75883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line

  Test long inputs to float
........
2009-10-27 22:12:20 +00:00
Mark Dickinson d430ebe1fd Merged revisions 75879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines

  Silence gcc warnings when trying to print an off_t using "lld", on platforms
  where off_t has type long (e.g., 64-bit Linux).
........
2009-10-27 21:49:48 +00:00
Georg Brandl 9137391d59 Only declare variable when it's used. 2009-10-27 21:37:48 +00:00
Antoine Pitrou c00d4b437d Merged revisions 75874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines

  Reduce the probability of refleaks in test_socketserver.
  Not completely suppressed though, see issue #7222.
........
2009-10-27 21:32:38 +00:00
Tarek Ziadé 8c0e217158 Merged revisions 75871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line

  Issue #7218: Fix test_site for win32
........
2009-10-27 21:24:21 +00:00
Benjamin Peterson 481b85ae24 remove shadowing declartion 2009-10-27 21:14:50 +00:00
Georg Brandl 96f7897dd2 Merged revisions 75866-75867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line

  Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
  r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line

  Reformat the regrtest command-line option help and group the options into sections.
........
2009-10-27 21:02:11 +00:00
Antoine Pitrou 1568732d73 Merged revisions 75860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines

  Try to fix transient refleaks in test_distutils.
........
2009-10-27 20:21:45 +00:00
Antoine Pitrou aefe6af18f Merged revisions 75855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (mar., 27 oct. 2009) | 3 lines

  Fix transient refleaks in test_urllib2_localnet.
........
2009-10-27 20:17:03 +00:00
Antoine Pitrou b0e9bd4741 Merged revisions 75851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_threading.
........
2009-10-27 20:05:26 +00:00
Antoine Pitrou c3d47724c1 Merged revisions 75849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_smtplib.
........
2009-10-27 19:49:45 +00:00
Eric Smith dc508d6bc3 Blocked revisions 75846 via svnmerge
........
  r75846 | eric.smith | 2009-10-27 15:42:57 -0400 (Tue, 27 Oct 2009) | 1 line

  Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........
2009-10-27 19:44:06 +00:00
Antoine Pitrou 142f9b3618 Blocked revisions 75844 via svnmerge
........
  r75844 | antoine.pitrou | 2009-10-27 20:36:44 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_file2k.
........
2009-10-27 19:39:10 +00:00
Antoine Pitrou 836f0e217e Merged revisions 75842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (mar., 27 oct. 2009) | 3 lines

  Fix transient refleak in test_sys.
........
2009-10-27 19:25:57 +00:00
Antoine Pitrou 45ebeb8f24 Merged revisions 75838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (mar., 27 oct. 2009) | 3 lines

  (Hopefully) suppress transient refleaks in test_httpservers.
........
2009-10-27 18:52:30 +00:00
Antoine Pitrou 5ed353c293 Merged revisions 75826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75826 | antoine.pitrou | 2009-10-27 19:36:47 +0100 (mar., 27 oct. 2009) | 3 lines

  Suppress transient refleaks in test_asyncore
........
2009-10-27 18:49:23 +00:00