]> granicus.if.org Git - python/log
python
15 years agoIssue #7117, continued: Change round implementation to use the correctly-rounded
Mark Dickinson [Wed, 18 Nov 2009 19:33:35 +0000 (19:33 +0000)]
Issue #7117, continued:  Change round implementation to use the correctly-rounded
string <-> float conversions;  this makes sure that the result of the round
operation is correctly rounded, and hence displays nicely using the new float
repr.

15 years agoMake separate section for deprecations in 2.7 whatsnew.
Georg Brandl [Wed, 18 Nov 2009 18:52:35 +0000 (18:52 +0000)]
Make separate section for deprecations in 2.7 whatsnew.

15 years agoMake separate section for deprecations in 2.6 whatsnew.
Georg Brandl [Wed, 18 Nov 2009 18:52:23 +0000 (18:52 +0000)]
Make separate section for deprecations in 2.6 whatsnew.

15 years agoCorrectly escape arbitrary error message text in the runpy unit tests
Nick Coghlan [Wed, 18 Nov 2009 11:27:53 +0000 (11:27 +0000)]
Correctly escape arbitrary error message text in the runpy unit tests

15 years ago#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows...
Tarek Ziadé [Wed, 18 Nov 2009 08:46:56 +0000 (08:46 +0000)]
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install

15 years agoa better callable replacement
Benjamin Peterson [Tue, 17 Nov 2009 21:24:54 +0000 (21:24 +0000)]
a better callable replacement

15 years ago#1757126: fix typo with the cyrillic_asian alias
Philip Jenvey [Tue, 17 Nov 2009 02:42:26 +0000 (02:42 +0000)]
#1757126: fix typo with the cyrillic_asian alias

15 years agoSilence another MSVC warning about unary minus.
Mark Dickinson [Mon, 16 Nov 2009 19:17:16 +0000 (19:17 +0000)]
Silence another MSVC warning about unary minus.

15 years agoSilence MSVC warning about unary minus applied to unsigned type.
Mark Dickinson [Mon, 16 Nov 2009 17:33:25 +0000 (17:33 +0000)]
Silence MSVC warning about unary minus applied to unsigned type.

15 years ago#7302: fix link.
Georg Brandl [Mon, 16 Nov 2009 16:44:05 +0000 (16:44 +0000)]
#7302: fix link.

15 years agoAllow for backslashes in file paths passed to the regex engine
Nick Coghlan [Mon, 16 Nov 2009 03:57:32 +0000 (03:57 +0000)]
Allow for backslashes in file paths passed to the regex engine

15 years agoAccount for another cache when hunting ref leaks
Nick Coghlan [Mon, 16 Nov 2009 03:55:51 +0000 (03:55 +0000)]
Account for another cache when hunting ref leaks

15 years agoIssue #7328: don't corrupt sys.path when running pydoc with the -m switch
Nick Coghlan [Sun, 15 Nov 2009 22:36:47 +0000 (22:36 +0000)]
Issue #7328: don't corrupt sys.path when running pydoc with the -m switch

15 years agoIssue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
Antoine Pitrou [Sun, 15 Nov 2009 17:22:09 +0000 (17:22 +0000)]
Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL.  Patch by Giampaolo Rodola'.

15 years agoIssue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
Mark Dickinson [Sun, 15 Nov 2009 16:18:58 +0000 (16:18 +0000)]
Issue #7228:  Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.

15 years agoIssue #4969: The mimetypes module now reads the MIME database from
Antoine Pitrou [Sun, 15 Nov 2009 14:10:48 +0000 (14:10 +0000)]
Issue #4969: The mimetypes module now reads the MIME database from
the registry under Windows.  Patch by Gabriel Genellina.

15 years agoIssue #5792: Extend short float repr support to x86 platforms using suncc or icc.
Mark Dickinson [Sun, 15 Nov 2009 13:12:43 +0000 (13:12 +0000)]
Issue #5792:  Extend short float repr support to x86 platforms using suncc or icc.
Many thanks Stefan Krah for help and OpenSolaris testing.

15 years agoAvoid signed overflow in some xrange calculations, and extend
Mark Dickinson [Sun, 15 Nov 2009 12:31:13 +0000 (12:31 +0000)]
Avoid signed overflow in some xrange calculations, and extend
xrange tests to cover some special cases that caused problems
in py3k.  This is a partial backport of r76292-76293 (see
issue #7298.)

15 years agoFix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Senthil Kumaran [Sun, 15 Nov 2009 08:36:20 +0000 (08:36 +0000)]
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)

15 years agoIssue #6816: expose the zipfile and directory execution mechanism to Python code...
Nick Coghlan [Sun, 15 Nov 2009 07:30:34 +0000 (07:30 +0000)]
Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.

15 years agoAddition of some details in the code comments.
Senthil Kumaran [Sun, 15 Nov 2009 06:10:30 +0000 (06:10 +0000)]
Addition of some details in the code comments.

15 years agoRemove 'g' from regrtest getopt argument string, since there's no
R. David Murray [Sun, 15 Nov 2009 00:07:00 +0000 (00:07 +0000)]
Remove 'g' from regrtest getopt argument string, since there's no
handler for it.

15 years agoIssue 7324: add a sanity check to regrtest argument parsing to
R. David Murray [Sun, 15 Nov 2009 00:04:32 +0000 (00:04 +0000)]
Issue 7324: add a sanity check to regrtest argument parsing to
catch the case of an option with no handler.

15 years agoTurn the bsddb replication startup timeout test into a
R. David Murray [Sat, 14 Nov 2009 17:43:16 +0000 (17:43 +0000)]
Turn the bsddb replication startup timeout test into a
warning, to improve buildbot stability.

15 years agoIssue #7312 (new feature): Add a -F flag to run the selected tests in
R. David Murray [Sat, 14 Nov 2009 15:18:22 +0000 (15:18 +0000)]
Issue #7312 (new feature): Add a -F flag to run the selected tests in
a loop until a test fails.  Can be combined with -j.  Patch by Antoine
Pitrou.

15 years agoFix terminology.
Georg Brandl [Sat, 14 Nov 2009 11:50:51 +0000 (11:50 +0000)]
Fix terminology.

15 years agouse Sphinx 0.6.3
Benjamin Peterson [Fri, 13 Nov 2009 23:11:54 +0000 (23:11 +0000)]
use Sphinx 0.6.3

15 years agorevert r76243; I was right, actually :)
Benjamin Peterson [Fri, 13 Nov 2009 22:56:00 +0000 (22:56 +0000)]
revert r76243; I was right, actually :)

15 years agoIssue #7318: multiprocessing now uses a timeout when it fails to establish
Antoine Pitrou [Fri, 13 Nov 2009 22:31:18 +0000 (22:31 +0000)]
Issue #7318: multiprocessing now uses a timeout when it fails to establish
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for
local connections.

15 years agonever mind about eval mode in this case
Benjamin Peterson [Fri, 13 Nov 2009 22:17:17 +0000 (22:17 +0000)]
never mind about eval mode in this case

15 years agothis main is much more useful
Benjamin Peterson [Thu, 12 Nov 2009 23:42:23 +0000 (23:42 +0000)]
this main is much more useful

15 years agofix several compile() issues by translating newlines in the tokenizer
Benjamin Peterson [Thu, 12 Nov 2009 23:39:44 +0000 (23:39 +0000)]
fix several compile() issues by translating newlines in the tokenizer

15 years agofix highlight in the datetime example
Ezio Melotti [Thu, 12 Nov 2009 09:10:02 +0000 (09:10 +0000)]
fix highlight in the datetime example

15 years agoGive the profile module a module directive.
Georg Brandl [Thu, 12 Nov 2009 08:29:46 +0000 (08:29 +0000)]
Give the profile module a module directive.

15 years agoIssue #7295: Do not use a hardcoded file name in test_tarfile.
Antoine Pitrou [Wed, 11 Nov 2009 20:55:07 +0000 (20:55 +0000)]
Issue #7295: Do not use a hardcoded file name in test_tarfile.

15 years agoI got the relative magnitudes of the timeout increases reversed, so
R. David Murray [Wed, 11 Nov 2009 18:07:27 +0000 (18:07 +0000)]
I got the relative magnitudes of the timeout increases reversed, so
I'm bumping up the longer test to the 60 seconds I intended to make it.
If this doesn't cure the intermittent buildbot timeouts, I'm going to
turn that test into a warning rather than a failure.

15 years agoFixing the NameError on Windows - issue1235
Senthil Kumaran [Wed, 11 Nov 2009 17:22:35 +0000 (17:22 +0000)]
Fixing the NameError on Windows - issue1235

15 years agoCGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
Senthil Kumaran [Wed, 11 Nov 2009 01:34:44 +0000 (01:34 +0000)]
CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
based on Issue1235.

15 years agoBackport micro-fix from the py3k svnmerge
Antoine Pitrou [Tue, 10 Nov 2009 21:39:25 +0000 (21:39 +0000)]
Backport micro-fix from the py3k svnmerge

15 years agoIssue #7197: Allow unittest.TextTestRunner objects to be pickled and
Antoine Pitrou [Tue, 10 Nov 2009 20:49:30 +0000 (20:49 +0000)]
Issue #7197: Allow unittest.TextTestRunner objects to be pickled and
unpickled. This fixes crashes under Windows when trying to run
test_multiprocessing in verbose mode.

Additionally, Test_TextTestRunner hadn't been enabled in test_unittest.

15 years agoShow example of how to make a sorted dictionary
Raymond Hettinger [Tue, 10 Nov 2009 19:35:55 +0000 (19:35 +0000)]
Show example of how to make a sorted dictionary

15 years agoUpdate the FAQ entry that explains that assignments in the local scope
R. David Murray [Tue, 10 Nov 2009 18:58:02 +0000 (18:58 +0000)]
Update the FAQ entry that explains that assignments in the local scope
shadow variables in the outer scope (issue 7290).

15 years agoAdd extra information to a test_signal failure message to aid diagnosis of buildbot...
Mark Dickinson [Mon, 9 Nov 2009 19:54:51 +0000 (19:54 +0000)]
Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.

15 years agoIssue #7251: Break out round tests for large values into a separate
Mark Dickinson [Mon, 9 Nov 2009 17:03:34 +0000 (17:03 +0000)]
Issue #7251: Break out round tests for large values into a separate
test function, and skip that test on Linux/alpha systems with a broken
system round function.

This should turn the Debian/alpha buildbot green.

15 years agoIssue #7282: Fix a memory leak when an RLock was used in a thread other
Antoine Pitrou [Mon, 9 Nov 2009 16:00:11 +0000 (16:00 +0000)]
Issue #7282: Fix a memory leak when an RLock was used in a thread other
than those started through `threading.Thread` (for example, using
`thread.start_new_thread()`.

15 years agoIssue 7294: Fixed URL in a comment.
Eric Smith [Mon, 9 Nov 2009 15:16:23 +0000 (15:16 +0000)]
Issue 7294: Fixed URL in a comment.

15 years agoRemove redundant sentence.
R. David Murray [Mon, 9 Nov 2009 14:18:14 +0000 (14:18 +0000)]
Remove redundant sentence.

15 years agodiscuss how to use -p
Benjamin Peterson [Mon, 9 Nov 2009 04:10:53 +0000 (04:10 +0000)]
discuss how to use -p

15 years agoProperly detect whether a C file is using tabs or spaces for Vim.
Brett Cannon [Sun, 8 Nov 2009 21:35:28 +0000 (21:35 +0000)]
Properly detect whether a C file is using tabs or spaces for Vim.

Closes issue #5611. Thanks Kirk McDonald and Johannes Hoff.

15 years agoKill a small potential leak in test_threading.
Antoine Pitrou [Sun, 8 Nov 2009 00:24:12 +0000 (00:24 +0000)]
Kill a small potential leak in test_threading.
The leak may not manifest itself if the OS re-uses the same thread ids
(I suppose Neal's machine doesn't :-))

15 years ago#7271: fix typo.
Georg Brandl [Sat, 7 Nov 2009 08:26:07 +0000 (08:26 +0000)]
#7271: fix typo.

15 years agoSome minor cleanups to private runpy code and docstrings
Nick Coghlan [Sat, 7 Nov 2009 08:15:01 +0000 (08:15 +0000)]
Some minor cleanups to private runpy code and docstrings

15 years agoAdd test for runpy.run_module package execution and use something other than logging...
Nick Coghlan [Sat, 7 Nov 2009 08:13:55 +0000 (08:13 +0000)]
Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package

15 years agospelling
Benjamin Peterson [Sat, 7 Nov 2009 01:04:38 +0000 (01:04 +0000)]
spelling

15 years agoIssue #7270: Add some dedicated unit tests for multi-thread synchronization
Antoine Pitrou [Fri, 6 Nov 2009 22:34:35 +0000 (22:34 +0000)]
Issue #7270: Add some dedicated unit tests for multi-thread synchronization
primitives such as Lock, RLock, Condition, Event and Semaphore.

15 years agoMerged revisions 76131 via svnmerge from
Benjamin Peterson [Thu, 5 Nov 2009 23:54:42 +0000 (23:54 +0000)]
Merged revisions 76131 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76131 | benjamin.peterson | 2009-11-05 17:53:21 -0600 (Thu, 05 Nov 2009) | 1 line

  import sys
........

15 years agoMerged revisions 76127-76128 via svnmerge from
Benjamin Peterson [Thu, 5 Nov 2009 23:20:06 +0000 (23:20 +0000)]
Merged revisions 76127-76128 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76127 | benjamin.peterson | 2009-11-05 17:04:58 -0600 (Thu, 05 Nov 2009) | 1 line

  set svn:eol-style
........
  r76128 | benjamin.peterson | 2009-11-05 17:07:46 -0600 (Thu, 05 Nov 2009) | 1 line

  skip this test on windows to avoid newline horrors
........

15 years agoMerged revisions 76125 via svnmerge from
Benjamin Peterson [Thu, 5 Nov 2009 21:29:56 +0000 (21:29 +0000)]
Merged revisions 76125 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76125 | benjamin.peterson | 2009-11-05 15:26:55 -0600 (Thu, 05 Nov 2009) | 1 line

  handle newline issues better for comparing files
........

15 years agoIssue #7264: Fix a possible deadlock when deallocating thread-local objects
Antoine Pitrou [Thu, 5 Nov 2009 13:42:29 +0000 (13:42 +0000)]
Issue #7264: Fix a possible deadlock when deallocating thread-local objects
which are part of a reference cycle.

15 years agoIncrease the timeout in the bsddb3 replication test to allow
R. David Murray [Thu, 5 Nov 2009 01:50:56 +0000 (01:50 +0000)]
Increase the timeout in the bsddb3 replication test to allow
the test time to complete on slow buildbots.  See issue 6462.

15 years agoIssue #7211: Allow 64-bit values for the `ident` and `data` fields of kevent
Antoine Pitrou [Wed, 4 Nov 2009 19:25:14 +0000 (19:25 +0000)]
Issue #7211: Allow 64-bit values for the `ident` and `data` fields of kevent
objects on 64-bit systems.  Patch by Michael Broghton.

I will revert this checkin if it causes problems on our BSD buildbots.

15 years ago#7259: show correct equivalent for operator.i* operations in docstring; fix minor...
Georg Brandl [Wed, 4 Nov 2009 07:38:12 +0000 (07:38 +0000)]
#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.

15 years agoMake test_shutil clean up after itself
Antoine Pitrou [Wed, 4 Nov 2009 00:50:26 +0000 (00:50 +0000)]
Make test_shutil clean up after itself

15 years ago#7256: add versionadded tags for functions copied from cgi.
Georg Brandl [Tue, 3 Nov 2009 18:34:27 +0000 (18:34 +0000)]
#7256: add versionadded tags for functions copied from cgi.

15 years agoTry to make test_wsgiref less fragile against environment changes by other tests
Antoine Pitrou [Tue, 3 Nov 2009 16:41:20 +0000 (16:41 +0000)]
Try to make test_wsgiref less fragile against environment changes by other tests

15 years agoFix doc typo reported by Arfrever.
Mark Dickinson [Tue, 3 Nov 2009 16:26:14 +0000 (16:26 +0000)]
Fix doc typo reported by Arfrever.

15 years agotypo (space-o?)
Skip Montanaro [Tue, 3 Nov 2009 02:43:59 +0000 (02:43 +0000)]
typo (space-o?)

15 years agoAdd acceptance of long ints to test_memoryio.py
Antoine Pitrou [Mon, 2 Nov 2009 20:47:33 +0000 (20:47 +0000)]
Add acceptance of long ints to test_memoryio.py
(in preparation for fix of #7249 in 2.6)

15 years agoenable test_parser in lib2to3
Benjamin Peterson [Mon, 2 Nov 2009 18:24:57 +0000 (18:24 +0000)]
enable test_parser in lib2to3

15 years agoMerged revisions 76065 via svnmerge from
Benjamin Peterson [Mon, 2 Nov 2009 18:22:53 +0000 (18:22 +0000)]
Merged revisions 76065 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76065 | benjamin.peterson | 2009-11-02 12:21:25 -0600 (Mon, 02 Nov 2009) | 1 line

  don't print stuff in tests
........

15 years agoadd space
Benjamin Peterson [Mon, 2 Nov 2009 18:16:36 +0000 (18:16 +0000)]
add space

15 years agoMerged revisions 74359,75081,75088,75213,75278,75303,75427-75428,75734-75736,75865...
Benjamin Peterson [Mon, 2 Nov 2009 18:12:12 +0000 (18:12 +0000)]
Merged revisions 74359,75081,75088,75213,75278,75303,75427-75428,75734-75736,75865,76059-76061 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r74359 | benjamin.peterson | 2009-08-12 17:23:13 -0500 (Wed, 12 Aug 2009) | 1 line

  don't pass the deprecated print_function option
........
  r75081 | benjamin.peterson | 2009-09-26 22:02:57 -0500 (Sat, 26 Sep 2009) | 1 line

  let 2to3 work with extended iterable unpacking
........
  r75088 | benjamin.peterson | 2009-09-27 11:25:21 -0500 (Sun, 27 Sep 2009) | 1 line

  look on the type only for __call__
........
  r75213 | benjamin.peterson | 2009-10-03 10:09:46 -0500 (Sat, 03 Oct 2009) | 5 lines

  revert 75212; it's not correct

  People can use isinstance(x, collections.Callable) if they expect objects with
  __call__ in their instance dictionaries.
........
  r75278 | benjamin.peterson | 2009-10-07 16:25:56 -0500 (Wed, 07 Oct 2009) | 4 lines

  fix whitespace problems with fix_idioms #3563

  Patch by Joe Amenta.
........
  r75303 | benjamin.peterson | 2009-10-09 16:59:11 -0500 (Fri, 09 Oct 2009) | 1 line

  port latin-1 and utf-8 cookie improvements
........
  r75427 | benjamin.peterson | 2009-10-14 20:35:57 -0500 (Wed, 14 Oct 2009) | 1 line

  force floor division
........
  r75428 | benjamin.peterson | 2009-10-14 20:39:21 -0500 (Wed, 14 Oct 2009) | 1 line

  silence -3 warnings about __hash__
........
  r75734 | benjamin.peterson | 2009-10-26 16:25:53 -0500 (Mon, 26 Oct 2009) | 2 lines

  warn on map(None, ...) with more than 2 arguments #7203
........
  r75735 | benjamin.peterson | 2009-10-26 16:28:25 -0500 (Mon, 26 Oct 2009) | 1 line

  remove unused result
........
  r75736 | benjamin.peterson | 2009-10-26 16:29:02 -0500 (Mon, 26 Oct 2009) | 1 line

  using get() here is a bit pointless
........
  r75865 | benjamin.peterson | 2009-10-27 15:49:00 -0500 (Tue, 27 Oct 2009) | 1 line

  explain reason for warning
........
  r76059 | benjamin.peterson | 2009-11-02 11:43:47 -0600 (Mon, 02 Nov 2009) | 1 line

  tuples are no longer used for children
........
  r76060 | benjamin.peterson | 2009-11-02 11:55:40 -0600 (Mon, 02 Nov 2009) | 1 line

  revert r76059; apparently some fixers rely on Leaf no () for children
........
  r76061 | benjamin.peterson | 2009-11-02 12:06:17 -0600 (Mon, 02 Nov 2009) | 1 line

  make fix_tuple_params keep the tree valid #7253
........

15 years agogrant list.index() a more informative error message #7252
Benjamin Peterson [Mon, 2 Nov 2009 16:14:19 +0000 (16:14 +0000)]
grant list.index() a more informative error message #7252

15 years agoprevent a rather unlikely segfault
Benjamin Peterson [Mon, 2 Nov 2009 15:06:45 +0000 (15:06 +0000)]
prevent a rather unlikely segfault

15 years agoSince r76034 was successful, add a NEWS entry for it.
Antoine Pitrou [Mon, 2 Nov 2009 11:34:27 +0000 (11:34 +0000)]
Since r76034 was successful, add a NEWS entry for it.

15 years agoregenerated from r76052
Gregory P. Smith [Mon, 2 Nov 2009 02:03:16 +0000 (02:03 +0000)]
regenerated from r76052

15 years agosee issue1006238, this merges in the following patch to ease cross
Gregory P. Smith [Mon, 2 Nov 2009 02:02:38 +0000 (02:02 +0000)]
see issue1006238, this merges in the following patch to ease cross
compiling the printf %zd check.

 http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup

15 years agobuild using r76050
Gregory P. Smith [Mon, 2 Nov 2009 01:38:35 +0000 (01:38 +0000)]
build using r76050

15 years agosee http://bugs.python.org/issue1006238 this merges in the following
Gregory P. Smith [Mon, 2 Nov 2009 01:37:37 +0000 (01:37 +0000)]
see http://bugs.python.org/issue1006238 this merges in the following
patch to make cross compilation of the chflags check easier:

 http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1

15 years agoFix and improve some assertions in test_site
Antoine Pitrou [Sun, 1 Nov 2009 23:54:20 +0000 (23:54 +0000)]
Fix and improve some assertions in test_site

15 years agofixed stdout alteration in test_distutils
Tarek Ziadé [Sun, 1 Nov 2009 22:33:45 +0000 (22:33 +0000)]
fixed stdout alteration in test_distutils

15 years agoUse a custom timeout in test_support.open_urlresource.
Antoine Pitrou [Sun, 1 Nov 2009 22:02:03 +0000 (22:02 +0000)]
Use a custom timeout in test_support.open_urlresource.

15 years agoThis should finally fix #6896. Let's watch the buildbots.
Antoine Pitrou [Sun, 1 Nov 2009 21:29:33 +0000 (21:29 +0000)]
This should finally fix #6896. Let's watch the buildbots.

15 years agotest_normalization should skip and not crash when the resource isn't available
Antoine Pitrou [Sun, 1 Nov 2009 21:26:14 +0000 (21:26 +0000)]
test_normalization should skip and not crash when the resource isn't available

15 years agoconfigure generated from r76028
Gregory P. Smith [Sun, 1 Nov 2009 21:03:38 +0000 (21:03 +0000)]
configure generated from r76028

15 years agoissue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs.
Gregory P. Smith [Sun, 1 Nov 2009 21:02:52 +0000 (21:02 +0000)]
issue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs.

15 years agoFix exception handling in itertools.izip_longest().
Raymond Hettinger [Sun, 1 Nov 2009 20:45:16 +0000 (20:45 +0000)]
Fix exception handling in itertools.izip_longest().

15 years agonews entry for r76000
Gregory P. Smith [Sun, 1 Nov 2009 18:33:55 +0000 (18:33 +0000)]
news entry for r76000

15 years agoHum, test skipping when the URL isn't reachable hadn't been applied to trunk.
Antoine Pitrou [Sun, 1 Nov 2009 16:10:47 +0000 (16:10 +0000)]
Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.

15 years agoBuffered I/O: optimize lock taking in the common non-contended case.
Antoine Pitrou [Sun, 1 Nov 2009 11:58:22 +0000 (11:58 +0000)]
Buffered I/O: optimize lock taking in the common non-contended case.

15 years agoHopefully fix the buildbot problems on test_mailbox, by computing
Antoine Pitrou [Sun, 1 Nov 2009 00:30:13 +0000 (00:30 +0000)]
Hopefully fix the buildbot problems on test_mailbox, by computing
the maildir toc cache refresh date before actually refreshing the cache.

(see #6896)

15 years agoUse richer assertions in test_mailbox (for better failure messages).
Antoine Pitrou [Sat, 31 Oct 2009 23:19:52 +0000 (23:19 +0000)]
Use richer assertions in test_mailbox (for better failure messages).

15 years agoFixes issue7208 - getpass would still allow the password to be echoed on
Gregory P. Smith [Sat, 31 Oct 2009 21:26:08 +0000 (21:26 +0000)]
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.

15 years agoDefine TCSASOFT if the flag exists.
Gregory P. Smith [Sat, 31 Oct 2009 21:23:39 +0000 (21:23 +0000)]
Define TCSASOFT if the flag exists.

15 years agoImproved test for a deprecation warning.
Eric Smith [Sat, 31 Oct 2009 17:07:17 +0000 (17:07 +0000)]
Improved test for a deprecation warning.

15 years agoSet retval on PyOS_string_to_double failure.
Mark Dickinson [Sat, 31 Oct 2009 12:47:47 +0000 (12:47 +0000)]
Set retval on PyOS_string_to_double failure.

15 years agoIssue #7042: Use a better mechanism for testing timers in test_signal.
Mark Dickinson [Sat, 31 Oct 2009 10:36:06 +0000 (10:36 +0000)]
Issue #7042:  Use a better mechanism for testing timers in test_signal.

15 years agoIssue #6603: Fix --with-tsc build failures on x86-64 that resulted
Mark Dickinson [Sat, 31 Oct 2009 10:11:28 +0000 (10:11 +0000)]
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.)

15 years agoDeprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement functio...
Mark Dickinson [Sat, 31 Oct 2009 09:42:39 +0000 (09:42 +0000)]
Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.

15 years agoMove a Misc/NEWS entry to right section.
Mark Dickinson [Sat, 31 Oct 2009 09:28:12 +0000 (09:28 +0000)]
Move a Misc/NEWS entry to right section.