]> granicus.if.org Git - python/log
python
12 years agoTry to fix compilation failure under OS X
Antoine Pitrou [Sat, 30 Jun 2012 20:56:37 +0000 (22:56 +0200)]
Try to fix compilation failure under OS X

12 years agoMerge
Antoine Pitrou [Sat, 30 Jun 2012 15:33:13 +0000 (17:33 +0200)]
Merge

12 years agoIssue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:32:41 +0000 (17:32 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.

12 years ago- check for libtinfo as a termcap library
doko@ubuntu.com [Sat, 30 Jun 2012 15:32:23 +0000 (17:32 +0200)]
- check for libtinfo as a termcap library

12 years agoIssue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.

12 years agoIssue #15225: improve error message when hmac is passed a wrong key type.
Antoine Pitrou [Sat, 30 Jun 2012 15:27:56 +0000 (17:27 +0200)]
Issue #15225: improve error message when hmac is passed a wrong key type.
Patch by Marc Abramowitz.

12 years ago- Issue #3754: Some unrelated configure.ac cleanups.
doko@ubuntu.com [Sat, 30 Jun 2012 15:05:13 +0000 (17:05 +0200)]
- Issue #3754: Some unrelated configure.ac cleanups.

12 years ago- Issue #14324: use a linker test to check for profiling support
doko@ubuntu.com [Sat, 30 Jun 2012 14:52:05 +0000 (16:52 +0200)]
- Issue #14324: use a linker test to check for profiling support

12 years ago- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
doko@ubuntu.com [Sat, 30 Jun 2012 12:42:46 +0000 (14:42 +0200)]
- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
  AC_PATH_PROG and AC_CHECK_PROGS for the target tools.

12 years ago- Issue #3754, refactor sys.platform / get_platform bits, use a
doko@ubuntu.com [Sat, 30 Jun 2012 12:32:08 +0000 (14:32 +0200)]
- Issue #3754, refactor sys.platform / get_platform bits, use a
  global host_platform instead.

12 years agoUpdate GzipFile docstring to mention gzip.open()'s new text-mode support.
Nadeem Vawda [Sat, 30 Jun 2012 11:34:28 +0000 (13:34 +0200)]
Update GzipFile docstring to mention gzip.open()'s new text-mode support.

12 years agoMerged
Tim Golden [Fri, 29 Jun 2012 21:12:39 +0000 (22:12 +0100)]
Merged

12 years agoMerged
Tim Golden [Fri, 29 Jun 2012 21:11:38 +0000 (22:11 +0100)]
Merged

12 years agourllib.parse cleanup. rename keywords used as variables
Senthil Kumaran [Fri, 29 Jun 2012 18:08:51 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables

12 years agourllib.parse cleanup. rename keywords used as variables
Senthil Kumaran [Fri, 29 Jun 2012 18:08:20 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables

12 years agoDummy merge from 3.2
Tim Golden [Fri, 29 Jun 2012 17:45:40 +0000 (18:45 +0100)]
Dummy merge from 3.2

12 years agoBetter diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:54 +0000 (19:40 +0200)]
Better diagnose test failure

12 years agoBetter diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:35 +0000 (19:40 +0200)]
Better diagnose test failure

12 years agoIssue #1677: Handle better a race condition between the interactive interpreter and
Tim Golden [Fri, 29 Jun 2012 17:39:26 +0000 (18:39 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows

12 years agoIssue #1677: Handle better a race condition between the interactive interpreter and
Tim Golden [Fri, 29 Jun 2012 17:27:08 +0000 (18:27 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows

12 years ago#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 12:12:54 +0000 (15:12 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()

12 years ago#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 12:09:12 +0000 (15:09 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()

12 years ago#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen [Fri, 29 Jun 2012 10:51:19 +0000 (13:51 +0300)]
#9559: Don't call _pre_mailbox_hook more than once

12 years ago#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen [Fri, 29 Jun 2012 10:43:37 +0000 (13:43 +0300)]
#9559: Don't call _pre_mailbox_hook more than once

12 years agoCheck for all used fd-based functions in shutil.rmdir, closes #15218
Hynek Schlawack [Fri, 29 Jun 2012 06:28:20 +0000 (08:28 +0200)]
Check for all used fd-based functions in shutil.rmdir, closes #15218

12 years agourlparse docs clean up - no reference to earlier draft
Senthil Kumaran [Fri, 29 Jun 2012 04:08:27 +0000 (21:08 -0700)]
urlparse docs clean up - no reference to earlier draft

12 years agourlparse docs clean up - no reference to earlier draft
Senthil Kumaran [Fri, 29 Jun 2012 04:07:58 +0000 (21:07 -0700)]
urlparse docs clean up - no reference to earlier draft

12 years agoIssue #5067: improve some json error messages.
Antoine Pitrou [Thu, 28 Jun 2012 23:59:54 +0000 (01:59 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.

12 years agoIssue #5067: improve some json error messages.
Antoine Pitrou [Thu, 28 Jun 2012 23:58:26 +0000 (01:58 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.

12 years agoPort tests from Issue #15219, and verify we don't have a reference leak.
Amaury Forgeot d'Arc [Thu, 28 Jun 2012 23:53:13 +0000 (01:53 +0200)]
Port tests from Issue #15219, and verify we don't have a reference leak.

12 years agoIssue #10571: Fix the "--sign" option of distutils' upload command.
Antoine Pitrou [Thu, 28 Jun 2012 23:06:51 +0000 (01:06 +0200)]
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.

12 years agoIssue #10571: Fix the "--sign" option of distutils' upload command.
Antoine Pitrou [Thu, 28 Jun 2012 23:05:26 +0000 (01:05 +0200)]
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.

12 years ago#4489: Use dir_fd in rmdir in _rmtree_safe_fd()
Hynek Schlawack [Thu, 28 Jun 2012 13:30:47 +0000 (15:30 +0200)]
#4489: Use dir_fd in rmdir in _rmtree_safe_fd()

Now that rmdir supports dir_fd, we also use it. Attackers can't even delete
empty directories anymore.

12 years ago#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen [Thu, 28 Jun 2012 10:53:43 +0000 (13:53 +0300)]
#9559: Append data to single-file mailbox files if messages are only added

If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.

12 years ago#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen [Thu, 28 Jun 2012 10:48:17 +0000 (13:48 +0300)]
#9559: Append data to single-file mailbox files if messages are only added

If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.

12 years agoMerge.
Eric V. Smith [Thu, 28 Jun 2012 10:15:30 +0000 (06:15 -0400)]
Merge.

12 years agoUse assertIsNone. Thanks Terry Reedy.
Eric V. Smith [Thu, 28 Jun 2012 10:15:01 +0000 (06:15 -0400)]
Use assertIsNone. Thanks Terry Reedy.

12 years ago#4489: Don't follow ever symlinks in rmtree
Hynek Schlawack [Thu, 28 Jun 2012 10:07:29 +0000 (12:07 +0200)]
#4489: Don't follow ever symlinks in rmtree

Also added several regression tests.

12 years agoRemove dead code
Victor Stinner [Wed, 27 Jun 2012 23:45:48 +0000 (01:45 +0200)]
Remove dead code

os.urandom() has now one unique implementation, posix_urandom() which
calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS.

12 years agoAvoid using scrdir, it's broken.
Antoine Pitrou [Wed, 27 Jun 2012 23:20:26 +0000 (01:20 +0200)]
Avoid using scrdir, it's broken.

12 years agoFix bug in test_tools that prevented building is separate directory.
Neil Schemenauer [Wed, 27 Jun 2012 21:58:37 +0000 (15:58 -0600)]
Fix bug in test_tools that prevented building is separate directory.
Use 'srcdir' from sysconfig instead of 'projectbase' to build a
path to the Tools directory.  'projectbase' is the path of the build
directory, not the source directory.

12 years agoChanged importlib tests to use assertIs, assertIsInstance, etc., instead of just...
Eric V. Smith [Wed, 27 Jun 2012 19:26:26 +0000 (15:26 -0400)]
Changed importlib tests to use assertIs, assertIsInstance, etc., instead of just assertTrue.

12 years agoIssue #12605: Show information on more C frames within gdb backtraces
David Malcolm [Wed, 27 Jun 2012 18:15:34 +0000 (14:15 -0400)]
Issue #12605: Show information on more C frames within gdb backtraces

The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
  * C frames that are waiting on the GIL
  * C frames that are garbage-collecting
  * C frames that are due to the invocation of a PyCFunction

12 years agoFix typo in shutil doc
Hynek Schlawack [Wed, 27 Jun 2012 15:53:22 +0000 (17:53 +0200)]
Fix typo in shutil doc

12 years agoFlush stdout and stderr when running tests in parallel
Antoine Pitrou [Wed, 27 Jun 2012 15:41:33 +0000 (17:41 +0200)]
Flush stdout and stderr when running tests in parallel
(helps getting results in real-time when stdio is transmitted over a pipe or socket)

12 years agoFlush stdout and stderr when running tests in parallel
Antoine Pitrou [Wed, 27 Jun 2012 15:41:07 +0000 (17:41 +0200)]
Flush stdout and stderr when running tests in parallel
(helps getting results in real-time when stdio is transmitted over a pipe or socket)

12 years agoMerge buildbot script changes
Antoine Pitrou [Wed, 27 Jun 2012 15:28:21 +0000 (17:28 +0200)]
Merge buildbot script changes

12 years agoAllow passing extra testing options to the buildbot test scripts
Antoine Pitrou [Wed, 27 Jun 2012 15:27:21 +0000 (17:27 +0200)]
Allow passing extra testing options to the buildbot test scripts

12 years agowhite space cleanup
Christian Heimes [Wed, 27 Jun 2012 13:37:47 +0000 (15:37 +0200)]
white space cleanup

12 years agoIssue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic purpose
Christian Heimes [Wed, 27 Jun 2012 13:36:46 +0000 (15:36 +0200)]
Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic purpose

12 years agobuild_all_use_profile: Build using -fprofile-correction to automatically
Matthias Klose [Wed, 27 Jun 2012 12:13:33 +0000 (14:13 +0200)]
build_all_use_profile: Build using -fprofile-correction to automatically
correct inconsistent profiles for multi-threaded programs.

12 years agoIssue #15079: make a test applicable to both C and Python versions of the pickle...
Antoine Pitrou [Tue, 26 Jun 2012 21:05:27 +0000 (23:05 +0200)]
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.

12 years agoIssue #15079: make a test applicable to both C and Python versions of the pickle...
Antoine Pitrou [Tue, 26 Jun 2012 21:04:48 +0000 (23:04 +0200)]
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.

12 years agoNull merge
David Malcolm [Tue, 26 Jun 2012 18:08:15 +0000 (14:08 -0400)]
Null merge

12 years agoIssue #14443: ensure that brp-python-bytecompile is invoked with the correct
David Malcolm [Tue, 26 Jun 2012 18:06:23 +0000 (14:06 -0400)]
Issue #14443: ensure that brp-python-bytecompile is invoked with the correct
python executable

The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.

In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python.  This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.

Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.

12 years ago- whitespace-normalize libffi file
Matthias Klose [Tue, 26 Jun 2012 15:59:32 +0000 (17:59 +0200)]
- whitespace-normalize libffi file

12 years ago- Issue #15194: Update libffi to the 3.0.11 release.
doko@ubuntu.com [Tue, 26 Jun 2012 15:56:44 +0000 (17:56 +0200)]
- Issue #15194: Update libffi to the 3.0.11 release.

12 years agoissue13666 - merge from 3.2
Senthil Kumaran [Tue, 26 Jun 2012 12:01:06 +0000 (20:01 +0800)]
issue13666 - merge from 3.2

12 years agoissue13666 - Fixing datetime documentation example when using tzinfo
Senthil Kumaran [Tue, 26 Jun 2012 12:00:15 +0000 (20:00 +0800)]
issue13666 - Fixing datetime documentation example when using tzinfo

12 years agoAdded hmac.compare_digest to whatsnew
Christian Heimes [Tue, 26 Jun 2012 08:16:55 +0000 (10:16 +0200)]
Added hmac.compare_digest to whatsnew

12 years agoAdded tag v3.3.0b1 for changeset e15c554cd43e
Georg Brandl [Tue, 26 Jun 2012 07:43:46 +0000 (09:43 +0200)]
Added tag v3.3.0b1 for changeset e15c554cd43e

12 years agoBump version to 3.3.0b1. v3.3.0b1
Georg Brandl [Tue, 26 Jun 2012 07:43:40 +0000 (09:43 +0200)]
Bump version to 3.3.0b1.

12 years ago3.3 whatsnew: Comment out the section about new POSIX *at functions etc.; has to...
Georg Brandl [Tue, 26 Jun 2012 07:36:14 +0000 (09:36 +0200)]
3.3 whatsnew: Comment out the section about new POSIX *at functions etc.; has to be rewritten later.

12 years agoMerge heads
Petri Lehtinen [Tue, 26 Jun 2012 07:26:53 +0000 (10:26 +0300)]
Merge heads

12 years agoUse ValueError, not RuntimeError for a utime flag combination illegal on some systems.
Georg Brandl [Tue, 26 Jun 2012 07:25:44 +0000 (09:25 +0200)]
Use ValueError, not RuntimeError for a utime flag combination illegal on some systems.

12 years agoWhat's new: Add myself as the contributor of issue 12170
Petri Lehtinen [Tue, 26 Jun 2012 07:23:07 +0000 (10:23 +0300)]
What's new: Add myself as the contributor of issue 12170

12 years agoMerge
Martin v. Löwis [Tue, 26 Jun 2012 07:19:48 +0000 (09:19 +0200)]
Merge

12 years agoCreate PGInstrument/PGUpdate configurations for py.exe and pyw.exe
Martin v. Löwis [Tue, 26 Jun 2012 07:18:14 +0000 (09:18 +0200)]
Create PGInstrument/PGUpdate configurations for py.exe and pyw.exe

12 years agoFix issue # in Misc/NEWS (should be #15187, not 15817.)
Larry Hastings [Tue, 26 Jun 2012 07:15:17 +0000 (00:15 -0700)]
Fix issue # in Misc/NEWS (should be #15187, not 15817.)

12 years agoAdd yet another missing versionchanged.
Georg Brandl [Tue, 26 Jun 2012 07:14:40 +0000 (09:14 +0200)]
Add yet another missing versionchanged.

12 years agoUpdate suspicious ignore file and pydoc topics.
Georg Brandl [Tue, 26 Jun 2012 07:12:26 +0000 (09:12 +0200)]
Update suspicious ignore file and pydoc topics.

12 years agoFix a few markup nits in zlib docs and add missing versionchanged tags.
Georg Brandl [Tue, 26 Jun 2012 06:51:17 +0000 (08:51 +0200)]
Fix a few markup nits in zlib docs and add missing versionchanged tags.

12 years agoIssue #15817: Bugfix: remove temporary directories test_shutil was leaving
Larry Hastings [Tue, 26 Jun 2012 06:50:01 +0000 (23:50 -0700)]
Issue #15817: Bugfix: remove temporary directories test_shutil was leaving
behind.

12 years agomerge from 3.2 - Issue13685
Senthil Kumaran [Tue, 26 Jun 2012 06:18:19 +0000 (14:18 +0800)]
merge from 3.2 - Issue13685

12 years agoIssue #13685 - Update argparse help message for % sign usage.
Senthil Kumaran [Tue, 26 Jun 2012 06:17:19 +0000 (14:17 +0800)]
Issue #13685 - Update argparse help message for % sign usage.

12 years agoCloses #15179: Merged fix from 3.2.
Vinay Sajip [Mon, 25 Jun 2012 22:20:27 +0000 (23:20 +0100)]
Closes #15179: Merged fix from 3.2.

12 years agoIssue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for...
Vinay Sajip [Mon, 25 Jun 2012 22:18:45 +0000 (23:18 +0100)]
Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for the patch.

12 years agoIf main() is called and an argument cannot be decoded, make sure to
Brett Cannon [Mon, 25 Jun 2012 20:25:28 +0000 (16:25 -0400)]
If main() is called and an argument cannot be decoded, make sure to
free the copy of the command-line.

Found using Clang's static analyzer.

12 years agoComment out a dead increment.
Brett Cannon [Mon, 25 Jun 2012 20:13:44 +0000 (16:13 -0400)]
Comment out a dead increment.

Found by Clang's static analyzer.

12 years agoIssue #14443: ensure that brp-python-bytecompile is invoked with the correct
David Malcolm [Mon, 25 Jun 2012 19:52:24 +0000 (15:52 -0400)]
Issue #14443: ensure that brp-python-bytecompile is invoked with the correct
python executable

The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.

In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python.  This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.

Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.

12 years agoMerge
Antoine Pitrou [Mon, 25 Jun 2012 16:09:07 +0000 (18:09 +0200)]
Merge

12 years agoBackport test_nntplib fixes from default.
Antoine Pitrou [Mon, 25 Jun 2012 16:08:54 +0000 (18:08 +0200)]
Backport test_nntplib fixes from default.

12 years agoIssue #15181: importlib bytecode is unsigned and shouldn't have negative numbers.
Antoine Pitrou [Mon, 25 Jun 2012 15:32:43 +0000 (17:32 +0200)]
Issue #15181: importlib bytecode is unsigned and shouldn't have negative numbers.
This fixes a compiler warning with suncc.

12 years agoNull merge.
Stefan Krah [Mon, 25 Jun 2012 13:02:47 +0000 (15:02 +0200)]
Null merge.

12 years agoIssue #15171: Try the HOST_PYTHON hack for 3.2.
Stefan Krah [Mon, 25 Jun 2012 12:57:18 +0000 (14:57 +0200)]
Issue #15171: Try the HOST_PYTHON hack for 3.2.

12 years agoUpdate test script to Visual Studio 2010.
Stefan Krah [Mon, 25 Jun 2012 12:41:37 +0000 (14:41 +0200)]
Update test script to Visual Studio 2010.

12 years agoIssue #13950: Improve support for OS X Xcode 4:
Ned Deily [Mon, 25 Jun 2012 12:04:28 +0000 (05:04 -0700)]
Issue #13950: Improve support for OS X Xcode 4:
Fix ./configure to provide a more sensible default for
MACOSX_DEPLOYMENT_TARGET. Currently the default is the minimum OS X level
that supports the universal arch option, typically 10.4, even when no
universalsdk is selected. This causes various desirable features that
depend on later OS X versions, like libedit readline support, to be
omitted from the build. A more complete solution would take into account
the SDK that is being used and better tailor the universal arch options.
For now, change the existing tests to only apply to build systems of 10.5
and earlier; for 10.6 and later, use the build system version as the
default deployment target if the MACOSX_DEPLOYMENT_TARGET environment
variable is not provided.

12 years agoMoved hmac.compare_digest Misc/NEWS entry from Core and Builtins to Library.
Larry Hastings [Mon, 25 Jun 2012 11:51:59 +0000 (04:51 -0700)]
Moved hmac.compare_digest Misc/NEWS entry from Core and Builtins to Library.

12 years agoIssue #15177: Added dir_fd parameter to os.fwalk().
Larry Hastings [Mon, 25 Jun 2012 11:49:05 +0000 (04:49 -0700)]
Issue #15177: Added dir_fd parameter to os.fwalk().

12 years agoSkip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support for...
Jesus Cea [Mon, 25 Jun 2012 11:45:38 +0000 (13:45 +0200)]
Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoIssue #15176: Clarified behavior, documentation, and implementation
Larry Hastings [Mon, 25 Jun 2012 11:42:23 +0000 (04:42 -0700)]
Issue #15176: Clarified behavior, documentation, and implementation
of os.listdir().

12 years ago#4489 Make fd based rmtree work on bytes
Hynek Schlawack [Mon, 25 Jun 2012 11:27:31 +0000 (13:27 +0200)]
#4489 Make fd based rmtree work on bytes

12 years agoMore doc fixes: made it clear where to start reading when you click on <dir_fd>.
Larry Hastings [Mon, 25 Jun 2012 10:27:33 +0000 (03:27 -0700)]
More doc fixes: made it clear where to start reading when you click on <dir_fd>.

12 years agomerge heads
Gregory P. Smith [Mon, 25 Jun 2012 08:15:53 +0000 (01:15 -0700)]
merge heads

12 years agoBackout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test
Gregory P. Smith [Mon, 25 Jun 2012 08:15:14 +0000 (01:15 -0700)]
Backout change e8f44ebacda7052267318cecf5b6f128d35add17.  Reverting the test
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).

This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.

12 years agoBackout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test
Gregory P. Smith [Mon, 25 Jun 2012 08:13:32 +0000 (01:13 -0700)]
Backout change e8f44ebacda7052267318cecf5b6f128d35add17.  Reverting the test
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).

This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.

12 years agoMinor grammar refinement for hmac.compare_digest().
Larry Hastings [Mon, 25 Jun 2012 07:59:34 +0000 (00:59 -0700)]
Minor grammar refinement for hmac.compare_digest().

12 years agoSome tightening of the documentation for the new kwarg-style os module functionality.
Georg Brandl [Mon, 25 Jun 2012 06:33:56 +0000 (08:33 +0200)]
Some tightening of the documentation for the new kwarg-style os module functionality.

12 years agoGrammar fix.
Georg Brandl [Mon, 25 Jun 2012 05:40:32 +0000 (07:40 +0200)]
Grammar fix.

12 years agoGive test directory a more reasonable name.
Eric V. Smith [Sun, 24 Jun 2012 23:55:18 +0000 (19:55 -0400)]
Give test directory a more reasonable name.