]> granicus.if.org Git - python/log
python
13 years agoClear packaging.database caches in place
Éric Araujo [Fri, 15 Jul 2011 15:47:46 +0000 (17:47 +0200)]
Clear packaging.database caches in place

13 years agoPy_BuildValue("C") supports non-BMP characters on narrow build
Victor Stinner [Thu, 14 Jul 2011 23:13:24 +0000 (01:13 +0200)]
Py_BuildValue("C") supports non-BMP characters on narrow build

Py_BuildValue("C") doesn't have to check the code point,
PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters
(range U+10000-U+10FFFF).

13 years agoClose #6755: Add get_wch() method to curses.window class
Victor Stinner [Thu, 14 Jul 2011 21:07:44 +0000 (23:07 +0200)]
Close #6755: Add get_wch() method to curses.window class

Patch by Iñigo Serna.

13 years agoAdd cgi.closelog() function to close the log file
Victor Stinner [Thu, 14 Jul 2011 20:28:36 +0000 (22:28 +0200)]
Add cgi.closelog() function to close the log file

13 years agoMerge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
Charles-François Natali [Thu, 14 Jul 2011 18:00:49 +0000 (20:00 +0200)]
Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.

13 years agotest that TestCase doesn't get cycles
Benjamin Peterson [Thu, 14 Jul 2011 17:48:25 +0000 (12:48 -0500)]
test that TestCase doesn't get cycles

13 years agoadd a contextmanager to disable the gc
Benjamin Peterson [Thu, 14 Jul 2011 17:48:01 +0000 (12:48 -0500)]
add a contextmanager to disable the gc

13 years agomerge 3.2
Benjamin Peterson [Thu, 14 Jul 2011 15:03:53 +0000 (10:03 -0500)]
merge 3.2

13 years agothis should be an identity test
Benjamin Peterson [Thu, 14 Jul 2011 15:03:35 +0000 (10:03 -0500)]
this should be an identity test

13 years ago(merge 3.2) Issue #12250: test_socketserver uses a timeout of 60 seconds
Victor Stinner [Thu, 14 Jul 2011 13:36:16 +0000 (15:36 +0200)]
(merge 3.2) Issue #12250: test_socketserver uses a timeout of 60 seconds
instead of 20

test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.

13 years agoMerge with 3.2.
Ezio Melotti [Thu, 14 Jul 2011 12:57:12 +0000 (15:57 +0300)]
Merge with 3.2.

13 years agoIssue #12250: test_socketserver uses a timeout of 60 seconds instead of 20
Victor Stinner [Thu, 14 Jul 2011 12:53:24 +0000 (14:53 +0200)]
Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20

test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.

13 years agoRestore the global state of the log vars, so that test_cgi can be run twice without...
Ezio Melotti [Thu, 14 Jul 2011 12:18:57 +0000 (15:18 +0300)]
Restore the global state of the log vars, so that test_cgi can be run twice without failures.

13 years agomerge 3.2
Benjamin Peterson [Thu, 14 Jul 2011 04:11:14 +0000 (23:11 -0500)]
merge 3.2

13 years agocarefully cleanup pointer cache after creating struct pointers
Benjamin Peterson [Thu, 14 Jul 2011 04:09:30 +0000 (23:09 -0500)]
carefully cleanup pointer cache after creating struct pointers

13 years agoCloses #12536: Unused logger removed from lib2to3.
Vinay Sajip [Wed, 13 Jul 2011 22:15:07 +0000 (23:15 +0100)]
Closes #12536: Unused logger removed from lib2to3.

13 years agoIssue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
Ned Deily [Wed, 13 Jul 2011 22:09:49 +0000 (15:09 -0700)]
Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.

13 years agoIssue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
Ned Deily [Wed, 13 Jul 2011 22:07:04 +0000 (15:07 -0700)]
Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.  Also fix NameError in fallback
_mac_ver_gestalt function.  And remove out-of-date URL in docs.

13 years agoIssue #12550: regrtest displays the Python traceback on SIGALRM or SIGUSR1
Victor Stinner [Wed, 13 Jul 2011 21:47:21 +0000 (23:47 +0200)]
Issue #12550: regrtest displays the Python traceback on SIGALRM or SIGUSR1

13 years agoIssue #12550: Add chain optional argument to faulthandler.register()
Victor Stinner [Wed, 13 Jul 2011 21:39:53 +0000 (23:39 +0200)]
Issue #12550: Add chain optional argument to faulthandler.register()

Call the previous signal handler if chain is True.

13 years ago(merge 3.2) Close #4376: ctypes now supports nested structures in a endian
Victor Stinner [Wed, 13 Jul 2011 19:45:16 +0000 (21:45 +0200)]
(merge 3.2) Close #4376: ctypes now supports nested structures in a endian
different than the parent structure. Patch by Vlad Riscutia.

13 years agoClose #4376: ctypes now supports nested structures in a endian different than
Victor Stinner [Wed, 13 Jul 2011 19:43:18 +0000 (21:43 +0200)]
Close #4376: ctypes now supports nested structures in a endian different than
the parent structure. Patch by Vlad Riscutia.

13 years agoRaise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper...
Antoine Pitrou [Wed, 13 Jul 2011 19:08:56 +0000 (21:08 +0200)]
Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper to a huge value, not TypeError.

13 years agoRaise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper...
Antoine Pitrou [Wed, 13 Jul 2011 19:07:49 +0000 (21:07 +0200)]
Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper to a huge value, not TypeError.

13 years agoMake it clear that PyNumber_AsSsize_t() returns -1 on error.
Antoine Pitrou [Wed, 13 Jul 2011 19:02:58 +0000 (21:02 +0200)]
Make it clear that PyNumber_AsSsize_t() returns -1 on error.

13 years agoMake it clear that PyNumber_AsSsize_t() returns -1 on error.
Antoine Pitrou [Wed, 13 Jul 2011 19:02:22 +0000 (21:02 +0200)]
Make it clear that PyNumber_AsSsize_t() returns -1 on error.

13 years agoMerge doc change from 3.2.
Georg Brandl [Wed, 13 Jul 2011 13:59:43 +0000 (15:59 +0200)]
Merge doc change from 3.2.

13 years agoClarify that PyErr_NewException creates an exception *class*, not instance.
Georg Brandl [Wed, 13 Jul 2011 13:59:24 +0000 (15:59 +0200)]
Clarify that PyErr_NewException creates an exception *class*, not instance.

13 years ago#12547: Fix import and output in nntplib example. Initial patch by July Tikhonov.
Ezio Melotti [Wed, 13 Jul 2011 08:44:44 +0000 (11:44 +0300)]
#12547: Fix import and output in nntplib example. Initial patch by July Tikhonov.

13 years agomerge 3.2 (#12544)
Benjamin Peterson [Wed, 13 Jul 2011 00:23:43 +0000 (19:23 -0500)]
merge 3.2 (#12544)

13 years agothis can be done without a custom dict (also fixes #12544)
Benjamin Peterson [Wed, 13 Jul 2011 00:21:42 +0000 (19:21 -0500)]
this can be done without a custom dict (also fixes #12544)

13 years agoIssue #12149: Update the method cache after a type's dictionnary gets
Antoine Pitrou [Tue, 12 Jul 2011 19:58:39 +0000 (21:58 +0200)]
Issue #12149: Update the method cache after a type's dictionnary gets
cleared by the garbage collector.  This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance's
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).

Diagnosis and patch by Davide Rizzo.

13 years agoIssue #12149: Update the method cache after a type's dictionnary gets
Antoine Pitrou [Tue, 12 Jul 2011 19:57:15 +0000 (21:57 +0200)]
Issue #12149: Update the method cache after a type's dictionnary gets
cleared by the garbage collector.  This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance's
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).

Diagnosis and patch by Davide Rizzo.

13 years agoUse infinitive, not 3rd person of present tense.
Antoine Pitrou [Sun, 10 Jul 2011 23:39:35 +0000 (01:39 +0200)]
Use infinitive, not 3rd person of present tense.

13 years agoUse infinitive, not 3rd person of present tense.
Antoine Pitrou [Sun, 10 Jul 2011 23:39:19 +0000 (01:39 +0200)]
Use infinitive, not 3rd person of present tense.

13 years agoIssue #12343: Add some notes on behaviour of non-blocking SSL sockets.
Antoine Pitrou [Sun, 10 Jul 2011 23:38:27 +0000 (01:38 +0200)]
Issue #12343: Add some notes on behaviour of non-blocking SSL sockets.

13 years agoIssue #12343: Add some notes on behaviour of non-blocking SSL sockets.
Antoine Pitrou [Sun, 10 Jul 2011 23:35:48 +0000 (01:35 +0200)]
Issue #12343: Add some notes on behaviour of non-blocking SSL sockets.

13 years agoMention logging.captureWarnings in the warnings module doc.
Antoine Pitrou [Sat, 9 Jul 2011 19:31:07 +0000 (21:31 +0200)]
Mention logging.captureWarnings in the warnings module doc.

13 years agoMention logging.captureWarnings in the warnings module doc.
Antoine Pitrou [Sat, 9 Jul 2011 19:29:36 +0000 (21:29 +0200)]
Mention logging.captureWarnings in the warnings module doc.

13 years agoDummy merge
Antoine Pitrou [Sat, 9 Jul 2011 14:02:58 +0000 (16:02 +0200)]
Dummy merge

13 years agoMove sys.subversion at the right place in alphabetical order, and informally deprecat...
Antoine Pitrou [Sat, 9 Jul 2011 14:02:19 +0000 (16:02 +0200)]
Move sys.subversion at the right place in alphabetical order, and informally deprecate it.

13 years agoIssue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Antoine Pitrou [Sat, 9 Jul 2011 13:55:38 +0000 (15:55 +0200)]
Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.

13 years agoIssue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Antoine Pitrou [Sat, 9 Jul 2011 13:54:23 +0000 (15:54 +0200)]
Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.

13 years agoFix syntax in packaging docs and update suspicious ignore file.
Georg Brandl [Sat, 9 Jul 2011 09:48:50 +0000 (11:48 +0200)]
Fix syntax in packaging docs and update suspicious ignore file.

13 years agoFix markup and remove character unsupported by latex in 3.3 whatsnew doc.
Georg Brandl [Sat, 9 Jul 2011 09:43:33 +0000 (11:43 +0200)]
Fix markup and remove character unsupported by latex in 3.3 whatsnew doc.

13 years agoDummy-merge 3.2.1 release changes into default.
Georg Brandl [Sat, 9 Jul 2011 09:00:36 +0000 (11:00 +0200)]
Dummy-merge 3.2.1 release changes into default.

13 years agoMerge 3.2.1 release clone into main repo.
Georg Brandl [Sat, 9 Jul 2011 08:58:37 +0000 (10:58 +0200)]
Merge 3.2.1 release clone into main repo.

13 years agoPost-release steps for 3.2.1.
Georg Brandl [Sat, 9 Jul 2011 08:56:06 +0000 (10:56 +0200)]
Post-release steps for 3.2.1.

13 years agoAdded tag v3.2.1 for changeset ac1f7e5c0510
Georg Brandl [Sat, 9 Jul 2011 06:56:41 +0000 (08:56 +0200)]
Added tag v3.2.1 for changeset ac1f7e5c0510

13 years agoBump version to 3.2.1. v3.2.1
Georg Brandl [Sat, 9 Jul 2011 06:56:21 +0000 (08:56 +0200)]
Bump version to 3.2.1.

13 years agoSkip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
Antoine Pitrou [Sat, 9 Jul 2011 00:32:36 +0000 (02:32 +0200)]
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.

Should fix a buildbot failure.

13 years agoSkip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
Antoine Pitrou [Sat, 9 Jul 2011 00:31:24 +0000 (02:31 +0200)]
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.

Should fix a buildbot failure.

13 years agoSkip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
Antoine Pitrou [Sat, 9 Jul 2011 00:31:24 +0000 (02:31 +0200)]
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.

Should fix a buildbot failure.

13 years agoAdd comment
Antoine Pitrou [Fri, 8 Jul 2011 23:03:46 +0000 (01:03 +0200)]
Add comment

13 years agoRebind locally the globals which can be looked up at shutdown
Antoine Pitrou [Fri, 8 Jul 2011 23:03:00 +0000 (01:03 +0200)]
Rebind locally the globals which can be looked up at shutdown
(to avoid the warnings seen on a buildbot)

13 years agoIssue #11863: Remove support for legacy systems deprecated in Python 3.2
Antoine Pitrou [Fri, 8 Jul 2011 21:47:50 +0000 (23:47 +0200)]
Issue #11863: Remove support for legacy systems deprecated in Python 3.2
(following PEP 11).  These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads.

13 years agoIssue #11863: remove unused file Python/thread_wince.h
Antoine Pitrou [Fri, 8 Jul 2011 21:37:39 +0000 (23:37 +0200)]
Issue #11863: remove unused file Python/thread_wince.h

13 years agomerge heads
Benjamin Peterson [Fri, 8 Jul 2011 18:39:56 +0000 (13:39 -0500)]
merge heads

13 years agoadd patchlevel to version string
Benjamin Peterson [Fri, 8 Jul 2011 18:39:35 +0000 (13:39 -0500)]
add patchlevel to version string

13 years agoAvoid failing in test_robotparser when mueblesmoraleda.com is flaky and
Antoine Pitrou [Fri, 8 Jul 2011 17:44:55 +0000 (19:44 +0200)]
Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.

13 years agoAvoid failing in test_robotparser when mueblesmoraleda.com is flaky and
Antoine Pitrou [Fri, 8 Jul 2011 17:43:51 +0000 (19:43 +0200)]
Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.

13 years agoAvoid failing in test_urllibnet.test_bad_address when some overzealous
Antoine Pitrou [Fri, 8 Jul 2011 17:22:31 +0000 (19:22 +0200)]
Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name.  The test
is now skipped instead.

13 years agoAvoid failing in test_urllibnet.test_bad_address when some overzealous
Antoine Pitrou [Fri, 8 Jul 2011 17:19:57 +0000 (19:19 +0200)]
Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name.  The test
is now skipped instead.

13 years agoAvoid failing in test_urllibnet.test_bad_address when some overzealous
Antoine Pitrou [Fri, 8 Jul 2011 17:19:57 +0000 (19:19 +0200)]
Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name.  The test
is now skipped instead.

13 years agoIssue #12440: When testing whether some bits in SSLContext.options can be
Antoine Pitrou [Fri, 8 Jul 2011 16:49:07 +0000 (18:49 +0200)]
Issue #12440: When testing whether some bits in SSLContext.options can be
reset, check the version of the OpenSSL headers Python was compiled against,
rather than the runtime version of the OpenSSL library.

13 years agoIssue #12440: When testing whether some bits in SSLContext.options can be
Antoine Pitrou [Fri, 8 Jul 2011 16:47:06 +0000 (18:47 +0200)]
Issue #12440: When testing whether some bits in SSLContext.options can be
reset, check the version of the OpenSSL headers Python was compiled against,
rather than the runtime version of the OpenSSL library.

13 years agoClose file handles in a timely manner in packaging.database (#12504).
Éric Araujo [Fri, 8 Jul 2011 15:22:19 +0000 (17:22 +0200)]
Close file handles in a timely manner in packaging.database (#12504).

This fixes a bug with the remove (uninstall) feature on Windows.  Patch
by Thomas Holmes.

13 years agoFactor out code used by packaging commands for HTTP requests (#12169).
Éric Araujo [Fri, 8 Jul 2011 14:27:12 +0000 (16:27 +0200)]
Factor out code used by packaging commands for HTTP requests (#12169).

We now have one function to prepare multipart POST requests, and we use
CRLF, as recommended by the HTTP spec (#10150).  Initial patch by John
Edmonds.

13 years agoIssue #12423: Fix os.abort() documentation
Victor Stinner [Fri, 8 Jul 2011 00:26:39 +0000 (02:26 +0200)]
Issue #12423: Fix os.abort() documentation

The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.

13 years agoRevert 76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July...
Georg Brandl [Wed, 6 Jul 2011 05:31:38 +0000 (07:31 +0200)]
Revert 76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July/112243.html.

13 years agoIssue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
Ned Deily [Wed, 6 Jul 2011 02:11:15 +0000 (19:11 -0700)]
Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.

13 years agoIssue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
Ned Deily [Wed, 6 Jul 2011 02:09:37 +0000 (19:09 -0700)]
Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.

13 years agoNormalize whitespace for #11512 fix.
Brian Curtin [Wed, 6 Jul 2011 00:16:37 +0000 (19:16 -0500)]
Normalize whitespace for #11512 fix.

13 years agoFix #11512. Add an initial test suite for the cgitb, providing 75% coverage.
Brian Curtin [Wed, 6 Jul 2011 00:14:16 +0000 (19:14 -0500)]
Fix #11512. Add an initial test suite for the cgitb, providing 75% coverage.

Patch by Robbie Clemons (robquad), produced at the PyCon 2011 sprints.

13 years agoIssue #12459: time.sleep() now raises a ValueError if the sleep length is
Victor Stinner [Tue, 5 Jul 2011 20:00:25 +0000 (22:00 +0200)]
Issue #12459: time.sleep() now raises a ValueError if the sleep length is
negative, instead of an infinite sleep on Windows or raising an IOError on
Linux for example, to have the same behaviour on all platforms.

13 years ago(merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Victor Stinner [Tue, 5 Jul 2011 12:50:08 +0000 (14:50 +0200)]
(merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing

13 years agoIssue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Victor Stinner [Tue, 5 Jul 2011 12:49:46 +0000 (14:49 +0200)]
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing

13 years ago(merge 3.2) Issue #12451: pydoc: html_getfile() now uses tokenize.open() to
Victor Stinner [Tue, 5 Jul 2011 12:31:28 +0000 (14:31 +0200)]
(merge 3.2) Issue #12451: pydoc: html_getfile() now uses tokenize.open() to
support Python scripts using a encoding different than UTF-8 (read the coding
cookie of the script).

13 years agoIssue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
Victor Stinner [Tue, 5 Jul 2011 12:30:41 +0000 (14:30 +0200)]
Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
scripts using a encoding different than UTF-8 (read the coding cookie of the
script).

13 years ago(merge 3.2) Issue #12493: subprocess: communicate() handles EINTR
Victor Stinner [Tue, 5 Jul 2011 12:04:39 +0000 (14:04 +0200)]
(merge 3.2) Issue #12493: subprocess: communicate() handles EINTR

subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.

13 years agoIssue #12493: subprocess: communicate() handles EINTR
Victor Stinner [Tue, 5 Jul 2011 12:00:56 +0000 (14:00 +0200)]
Issue #12493: subprocess: communicate() handles EINTR

subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.

13 years ago(merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Victor Stinner [Tue, 5 Jul 2011 09:34:18 +0000 (11:34 +0200)]
(merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.

13 years agoIssue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Victor Stinner [Tue, 5 Jul 2011 09:31:49 +0000 (11:31 +0200)]
Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.

13 years agomerge 3.2
Benjamin Peterson [Tue, 5 Jul 2011 03:28:00 +0000 (22:28 -0500)]
merge 3.2

13 years agostart out this branch always with filename NULL
Benjamin Peterson [Tue, 5 Jul 2011 03:27:16 +0000 (22:27 -0500)]
start out this branch always with filename NULL

13 years agoIssue #12497: Install test/data to prevent failures of the various codecmaps
Ned Deily [Tue, 5 Jul 2011 02:11:14 +0000 (19:11 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.

13 years agoIssue #12497: Install test/data to prevent failures of the various codecmaps
Ned Deily [Tue, 5 Jul 2011 02:06:20 +0000 (19:06 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.

13 years agoIssue #12496: Install test/capath directory to prevent test_connect_capath
Ned Deily [Tue, 5 Jul 2011 00:51:48 +0000 (17:51 -0700)]
Issue #12496:  Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.

13 years agoIssue #12496: Install test/capath directory to prevent test_connect_capath
Ned Deily [Tue, 5 Jul 2011 00:48:01 +0000 (17:48 -0700)]
Issue #12496:  Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.

13 years agoIssue #12469: fix signal order check of test_signal
Victor Stinner [Mon, 4 Jul 2011 23:32:06 +0000 (01:32 +0200)]
Issue #12469: fix signal order check of test_signal

When signals are unblocked, pending signal ared delivered in the reverse order
of their number (also on Linux, not only on FreeBSD 6).

Don't sort signals by their number if signals were not blocked (test_signum).

13 years agoIssue #12469: test_signal checks wakeup signals order, except on freebsd6
Victor Stinner [Mon, 4 Jul 2011 23:15:08 +0000 (01:15 +0200)]
Issue #12469: test_signal checks wakeup signals order, except on freebsd6

On FreeBSD 6, when signals are unblocked, FreeBSD 6 delivers signals in the
reverse order of their number.

13 years agoIssue #12469: partial revert of 024827a9db64, freebsd6 thread initialization
Victor Stinner [Mon, 4 Jul 2011 20:53:49 +0000 (22:53 +0200)]
Issue #12469: partial revert of 024827a9db64, freebsd6 thread initialization

 * Don't create a thread at startup anymore to initialize the pthread library:
   it changes the behaviour of many functions related to signal handling like
   sigwait()
 * Reenable test_sigtimedwait_poll() on FreeBSD 6

13 years agomerge from 3.2
Senthil Kumaran [Mon, 4 Jul 2011 18:44:17 +0000 (11:44 -0700)]
merge from 3.2

13 years agoFix whitespace nit in datetime and os rst files.
Senthil Kumaran [Mon, 4 Jul 2011 18:43:51 +0000 (11:43 -0700)]
Fix whitespace nit in datetime and os rst files.

13 years agoMerge from 3.2 . Replace the term members with correct and appropriate terminology...
Senthil Kumaran [Mon, 4 Jul 2011 18:31:53 +0000 (11:31 -0700)]
Merge from 3.2 . Replace the term members with correct  and appropriate terminology. Initial patch by Adam Woodbeck.

13 years agoissue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribut...
Senthil Kumaran [Mon, 4 Jul 2011 18:28:30 +0000 (11:28 -0700)]
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.

13 years agoMerge with 3.2.
Georg Brandl [Mon, 4 Jul 2011 17:58:12 +0000 (19:58 +0200)]
Merge with 3.2.

13 years agoMerge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
Georg Brandl [Mon, 4 Jul 2011 17:55:22 +0000 (19:55 +0200)]
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.

13 years agoIssue #12469: replace assertions by explicit if+raise
Victor Stinner [Mon, 4 Jul 2011 16:06:35 +0000 (18:06 +0200)]
Issue #12469: replace assertions by explicit if+raise

13 years ago(merge 3.2) Issue #12469: Run wakeup and pending signal tests in a subprocess
Victor Stinner [Mon, 4 Jul 2011 15:49:40 +0000 (17:49 +0200)]
(merge 3.2) Issue #12469: Run wakeup and pending signal tests in a subprocess
to run the test in a fresh process with only one thread and to not change
signal handling of the parent process.