]> granicus.if.org Git - python/log
python
12 years agologging: clarified documentation for Handler.handleError.
Vinay Sajip [Mon, 20 Feb 2012 18:35:26 +0000 (18:35 +0000)]
logging: clarified documentation for Handler.handleError.

12 years agoAdd missing “::” markup.
Éric Araujo [Mon, 20 Feb 2012 00:44:55 +0000 (01:44 +0100)]
Add missing “::” markup.

Also wrap two looong lines.

12 years agoIssue #13605: use print() in argparse nargs example
Sandro Tosi [Sun, 19 Feb 2012 18:54:00 +0000 (19:54 +0100)]
Issue #13605: use print() in argparse nargs example

12 years agodon't split 'Hye-Shik Chang' name; thanks to Sergey from docs@
Sandro Tosi [Sun, 19 Feb 2012 11:30:28 +0000 (12:30 +0100)]
don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@

12 years agoIndent 'File' in memoryview example, so it is correctly highlighted
Sandro Tosi [Sun, 19 Feb 2012 11:28:01 +0000 (12:28 +0100)]
Indent 'File' in memoryview example, so it is correctly highlighted

12 years agouse Py_CLEAR
Benjamin Peterson [Sun, 19 Feb 2012 06:11:56 +0000 (01:11 -0500)]
use Py_CLEAR

12 years agoTest for issue #13500
Jesus Cea [Sun, 19 Feb 2012 02:54:29 +0000 (03:54 +0100)]
Test for issue #13500

12 years agofix error in memoryview example; thanks to kan lianlian from docs@
Sandro Tosi [Sat, 18 Feb 2012 15:05:34 +0000 (16:05 +0100)]
fix error in memoryview example; thanks to kan lianlian from docs@

12 years agoIssue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
Charles-François Natali [Sat, 18 Feb 2012 13:53:41 +0000 (14:53 +0100)]
Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.

12 years agoIssue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
Charles-François Natali [Sat, 18 Feb 2012 13:42:57 +0000 (14:42 +0100)]
Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.

12 years agoIssue 14023 Revert edit to 2.7 version. (I suspect edit is from when we thought
Terry Jan Reedy [Sat, 18 Feb 2012 00:56:58 +0000 (19:56 -0500)]
Issue 14023 Revert edit to 2.7 version. (I suspect edit is from when we thought
to to makes bytes mutable, before deciding to add bytearrays.)

12 years ago#14020: improve HTMLParser documentation.
Ezio Melotti [Sat, 18 Feb 2012 00:01:36 +0000 (02:01 +0200)]
#14020: improve HTMLParser documentation.

12 years agoFix a variable scoping error in an sqlite3 test
Petri Lehtinen [Fri, 17 Feb 2012 19:30:55 +0000 (21:30 +0200)]
Fix a variable scoping error in an sqlite3 test

Closes #11689.

12 years agosqlite3: Fix documentation errors concerning Cursor.rowcount
Petri Lehtinen [Thu, 16 Feb 2012 19:39:03 +0000 (21:39 +0200)]
sqlite3: Fix documentation errors concerning Cursor.rowcount

Closes #13995.

12 years agoIssue #13878: Fix random test_sched failures.
Charles-François Natali [Thu, 16 Feb 2012 18:49:48 +0000 (19:49 +0100)]
Issue #13878: Fix random test_sched failures.

12 years agodon't use assertSameElements.
Gregory P. Smith [Thu, 16 Feb 2012 08:34:12 +0000 (00:34 -0800)]
don't use assertSameElements.

12 years agoNEWS entry for previous commit.
Gregory P. Smith [Thu, 16 Feb 2012 08:30:50 +0000 (00:30 -0800)]
NEWS entry for previous commit.

12 years agoIssue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.
Gregory P. Smith [Thu, 16 Feb 2012 08:29:12 +0000 (00:29 -0800)]
Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.

12 years agoIssue #13913: Another fix test_pep3120 for the UTF-8 codec name
Victor Stinner [Wed, 15 Feb 2012 22:44:03 +0000 (23:44 +0100)]
Issue #13913: Another fix test_pep3120 for the UTF-8 codec name

12 years agoIssue #11836: document multiprocessing.queues.SimpleQueue
Sandro Tosi [Wed, 15 Feb 2012 22:14:21 +0000 (23:14 +0100)]
Issue #11836: document multiprocessing.queues.SimpleQueue

12 years agoMerge
Antoine Pitrou [Wed, 15 Feb 2012 21:31:23 +0000 (22:31 +0100)]
Merge

12 years agoIssue #13014: Fix a possible reference leak in SSLSocket.getpeercert().
Antoine Pitrou [Wed, 15 Feb 2012 21:25:27 +0000 (22:25 +0100)]
Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().

12 years agoIssue #13913: Fix test_pep3120 for the UTF-8 codec name
Victor Stinner [Wed, 15 Feb 2012 21:24:17 +0000 (22:24 +0100)]
Issue #13913: Fix test_pep3120 for the UTF-8 codec name

12 years agoIssue #13491: Fix many errors in sqlite3 documentation
Petri Lehtinen [Wed, 15 Feb 2012 20:17:21 +0000 (22:17 +0200)]
Issue #13491: Fix many errors in sqlite3 documentation

Initial patch by Johannes Vogel.

12 years agoIssue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().
Antoine Pitrou [Wed, 15 Feb 2012 17:53:18 +0000 (18:53 +0100)]
Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().
Patch by Hynek Schlawack.

12 years agoFix test failure for shared builds caused by #1326113 fix
Éric Araujo [Wed, 15 Feb 2012 17:12:12 +0000 (18:12 +0100)]
Fix test failure for shared builds caused by #1326113 fix

12 years agoImprove doc for atexit.register and unregister (#12297)
Éric Araujo [Wed, 15 Feb 2012 16:07:49 +0000 (17:07 +0100)]
Improve doc for atexit.register and unregister (#12297)

12 years agoFix parsing of build_ext --libraries option (#1326113)
Éric Araujo [Wed, 15 Feb 2012 15:44:37 +0000 (16:44 +0100)]
Fix parsing of build_ext --libraries option (#1326113)

12 years agoFix indentation
Antoine Pitrou [Wed, 15 Feb 2012 01:52:58 +0000 (02:52 +0100)]
Fix indentation

12 years agoIssue #13020: Fix a reference leak when allocating a structsequence object fails.
Antoine Pitrou [Wed, 15 Feb 2012 01:51:43 +0000 (02:51 +0100)]
Issue #13020: Fix a reference leak when allocating a structsequence object fails.
Patch by Suman Saha.

12 years agoIssue #13015: Fix a possible reference leak in defaultdict.__repr__.
Antoine Pitrou [Wed, 15 Feb 2012 01:42:46 +0000 (02:42 +0100)]
Issue #13015: Fix a possible reference leak in defaultdict.__repr__.
Patch by Suman Saha.

12 years agoIssue #10287: nntplib now queries the server's CAPABILITIES first before sending...
Antoine Pitrou [Tue, 14 Feb 2012 22:29:34 +0000 (23:29 +0100)]
Issue #10287: nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode.
Patch by Hynek Schlawack.

12 years agoIssue #13979: Fix ctypes.util.find_library ldconfig regex
Meador Inge [Tue, 14 Feb 2012 04:08:39 +0000 (22:08 -0600)]
Issue #13979: Fix ctypes.util.find_library ldconfig regex

12 years agoimport re for the previous commit.
Gregory P. Smith [Tue, 14 Feb 2012 00:41:20 +0000 (16:41 -0800)]
import re for the previous commit.

12 years agore.escape os.sep so that \ is interpreted properly in the regex.
Gregory P. Smith [Tue, 14 Feb 2012 00:38:37 +0000 (16:38 -0800)]
re.escape os.sep so that \ is interpreted properly in the regex.

12 years agoIssue #13930: fix a / to use os.sep so that the test works on Windows.
Gregory P. Smith [Tue, 14 Feb 2012 00:24:46 +0000 (16:24 -0800)]
Issue #13930: fix a / to use os.sep so that the test works on Windows.

12 years agoIssue #13913: normalize utf-8 codec name in UTF-8 decoder
Victor Stinner [Tue, 14 Feb 2012 00:17:45 +0000 (01:17 +0100)]
Issue #13913: normalize utf-8 codec name in UTF-8 decoder

12 years agoFix an index and clean up comments.
Ezio Melotti [Mon, 13 Feb 2012 18:20:00 +0000 (20:20 +0200)]
Fix an index and clean up comments.

12 years agoshutil copy module reference doc fix.
Senthil Kumaran [Mon, 13 Feb 2012 15:30:47 +0000 (23:30 +0800)]
shutil copy module reference doc fix.

12 years agoImprove handling of declarations in HTMLParser.
Ezio Melotti [Mon, 13 Feb 2012 13:50:37 +0000 (15:50 +0200)]
Improve handling of declarations in HTMLParser.

12 years agoFix htmlparser tests to always use the right collector.
Ezio Melotti [Mon, 13 Feb 2012 12:11:27 +0000 (14:11 +0200)]
Fix htmlparser tests to always use the right collector.

12 years ago#13993: HTMLParser is now able to handle broken end tags when strict=False.
Ezio Melotti [Mon, 13 Feb 2012 09:24:50 +0000 (11:24 +0200)]
#13993: HTMLParser is now able to handle broken end tags when strict=False.

12 years agofix whitespace normalization before pushing.
Gregory P. Smith [Sun, 12 Feb 2012 23:58:36 +0000 (15:58 -0800)]
fix whitespace normalization before pushing.

12 years agoIssue #13930: Adds ability for 2to3 to write its output to a different
Gregory P. Smith [Sun, 12 Feb 2012 23:50:21 +0000 (15:50 -0800)]
Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files.  Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.

Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
 http://mail.python.org/pipermail/python-dev/2011-December/115089.html

12 years agoFix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes
Petri Lehtinen [Sun, 12 Feb 2012 19:05:31 +0000 (21:05 +0200)]
Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes

Closes #9750

12 years agoIssue #10287: nntplib now queries the server's CAPABILITIES again after authenticatin...
Antoine Pitrou [Sun, 12 Feb 2012 18:14:17 +0000 (19:14 +0100)]
Issue #10287: nntplib now queries the server's CAPABILITIES again after authenticating (since the result may change, according to RFC 4643).
Patch by Hynek Schlawack.

12 years agoFix distutils.filelist.FileList under Windows (#13193).
Éric Araujo [Sun, 12 Feb 2012 03:52:21 +0000 (04:52 +0100)]
Fix distutils.filelist.FileList under Windows (#13193).

The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows.  Antoine Pitrou
fixed it in 0a94e2f807c7 by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.

12 years agoUpdate mention of Subversion in the FAQ.
Éric Araujo [Sun, 12 Feb 2012 03:49:45 +0000 (04:49 +0100)]
Update mention of Subversion in the FAQ.

If I grepped correctly, this was the last outdated place.

12 years agoIssue #13989: Document that GzipFile does not support text mode.
Nadeem Vawda [Sat, 11 Feb 2012 21:45:10 +0000 (23:45 +0200)]
Issue #13989: Document that GzipFile does not support text mode.

Also, give a more helpful error message when opened with an invalid mode string.

12 years agothis is only a borrowed ref in Brett's branch
Benjamin Peterson [Fri, 10 Feb 2012 13:46:54 +0000 (08:46 -0500)]
this is only a borrowed ref in Brett's branch

12 years agoIssue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Ned Deily [Fri, 10 Feb 2012 12:01:08 +0000 (13:01 +0100)]
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons.  If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4.  This change does not
attempt to override settings to support their use with Xcode 4.)

12 years ago#13960: HTMLParser is now able to handle broken comments when strict=False.
Ezio Melotti [Fri, 10 Feb 2012 08:45:44 +0000 (10:45 +0200)]
#13960: HTMLParser is now able to handle broken comments when strict=False.

12 years agoIssue #9021 - Introduce copy module better. Doc changes suggested by Terry
Senthil Kumaran [Thu, 9 Feb 2012 10:26:59 +0000 (18:26 +0800)]
Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
Reedy.

12 years agoFix Issue #6005: Examples in the socket library documentation use sendall,
Senthil Kumaran [Thu, 9 Feb 2012 09:54:17 +0000 (17:54 +0800)]
Fix Issue #6005: Examples in the socket library documentation use sendall,
where relevant, instead send method.

12 years agoSkip test_threading.test_reinit_tls_after_fork() on platforms where fork()
Charles-François Natali [Wed, 8 Feb 2012 20:29:11 +0000 (21:29 +0100)]
Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()
can't be called reliably from a worker thread.

12 years agoNull merge for reverted fix for #13807.
Vinay Sajip [Mon, 6 Feb 2012 21:24:40 +0000 (21:24 +0000)]
Null merge for reverted fix for #13807.

12 years agoIssue #10811: Fix recursive usage of cursors. Instead of crashing, raise a Programmin...
Petri Lehtinen [Mon, 9 May 2011 10:24:09 +0000 (12:24 +0200)]
Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.

12 years agomerge heads
Benjamin Peterson [Mon, 6 Feb 2012 16:29:05 +0000 (11:29 -0500)]
merge heads

12 years agobltinmod is borrowed, so it shouldn't be decrefed
Benjamin Peterson [Mon, 6 Feb 2012 16:28:45 +0000 (11:28 -0500)]
bltinmod is borrowed, so it shouldn't be decrefed

12 years agoIssue #10881: Fix test_site failure with OS X framework builds.
Ned Deily [Sun, 5 Feb 2012 23:58:18 +0000 (00:58 +0100)]
Issue #10881: Fix test_site failure with OS X framework builds.

12 years agoIssue 964437 Make IDLE help window non-modal.
Terry Jan Reedy [Sun, 5 Feb 2012 20:14:20 +0000 (15:14 -0500)]
Issue 964437 Make IDLE help window non-modal.
Patch by Guilherme Polo and Roger Serwy.

12 years ago#13933 refine patch using 'new' builtin
Terry Jan Reedy [Sun, 5 Feb 2012 19:31:16 +0000 (14:31 -0500)]
#13933 refine patch using 'new' builtin

12 years agoBranch merge
Éric Araujo [Sun, 5 Feb 2012 12:41:47 +0000 (13:41 +0100)]
Branch merge

12 years agoReally make bztar support in shutil conditional.
Éric Araujo [Sun, 5 Feb 2012 12:40:08 +0000 (13:40 +0100)]
Really make bztar support in shutil conditional.

This dict entry is added a few lines after if the bzip2 module is
available, but removing this line was forgotten.

12 years agoClarify note in BZ2File docs about lack of multi-stream support (issue #1625).
Nadeem Vawda [Sun, 5 Feb 2012 12:29:00 +0000 (14:29 +0200)]
Clarify note in BZ2File docs about lack of multi-stream support (issue #1625).

12 years agoCloses #13944: fix capitalization of class name.
Georg Brandl [Sun, 5 Feb 2012 08:25:22 +0000 (09:25 +0100)]
Closes #13944: fix capitalization of class name.

12 years agoIssue #12142: Fixed reference cycle when importing ctypes
Meador Inge [Sun, 5 Feb 2012 02:36:48 +0000 (20:36 -0600)]
Issue #12142: Fixed reference cycle when importing ctypes

12 years agoIssue #1625: Document BZ2File's lack of support for multi-stream inputs.
Nadeem Vawda [Sat, 4 Feb 2012 21:44:49 +0000 (23:44 +0200)]
Issue #1625: Document BZ2File's lack of support for multi-stream inputs.

12 years agoIssue #13933: IDLE auto-complete did not work with some imported
Ned Deily [Sat, 4 Feb 2012 17:36:43 +0000 (18:36 +0100)]
Issue #13933: IDLE auto-complete did not work with some imported
module, like hashlib.  (Patch by Roger Serwy)

12 years agoFix failing test on big-endian machines (issue #13806).
Antoine Pitrou [Sat, 4 Feb 2012 15:44:21 +0000 (16:44 +0100)]
Fix failing test on big-endian machines (issue #13806).

12 years agothreading primitives now have timeouts
Benjamin Peterson [Sat, 4 Feb 2012 14:55:52 +0000 (09:55 -0500)]
threading primitives now have timeouts

12 years agoIssue #8184: Fix a potential file descriptor leak when a
Charles-François Natali [Sat, 4 Feb 2012 13:55:53 +0000 (14:55 +0100)]
Issue #8184: Fix a potential file descriptor leak when a
multiprocessing.Connection socket can't be bound.

12 years agoput returns on their own lines
Benjamin Peterson [Sat, 4 Feb 2012 00:22:31 +0000 (19:22 -0500)]
put returns on their own lines

12 years agoremove unused import
Benjamin Peterson [Sat, 4 Feb 2012 00:07:30 +0000 (19:07 -0500)]
remove unused import

12 years agoIssue #13861: Prevent test_apropos* test case failures in test_pydoc.
Ned Deily [Fri, 3 Feb 2012 22:14:37 +0000 (23:14 +0100)]
Issue #13861: Prevent test_apropos* test case failures in test_pydoc.

12 years agoRevert fix for #13807 mistakenly applied in this branch.
Vinay Sajip [Fri, 3 Feb 2012 18:23:05 +0000 (18:23 +0000)]
Revert fix for #13807 mistakenly applied in this branch.

12 years agoIssue #13901: Prevent test_distutils failures on OS X with --enable-shared.
Ned Deily [Fri, 3 Feb 2012 01:42:16 +0000 (02:42 +0100)]
Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.

12 years agoMerge.
Charles-François Natali [Thu, 2 Feb 2012 19:37:29 +0000 (20:37 +0100)]
Merge.

12 years agoIssue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix
Charles-François Natali [Thu, 2 Feb 2012 19:31:42 +0000 (20:31 +0100)]
Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix
a random deadlock when fork() is called in a multithreaded process in debug
mode, and make PyOS_AfterFork() more robust.

12 years agoDocument absoluteness of sys.executable
Petri Lehtinen [Thu, 2 Feb 2012 18:59:48 +0000 (20:59 +0200)]
Document absoluteness of sys.executable

Closes #13402.

12 years agoIssue #1813: Revert workaround for a glibc bug on the Fedora buildbot.
Stefan Krah [Thu, 2 Feb 2012 15:40:52 +0000 (16:40 +0100)]
Issue #1813: Revert workaround for a glibc bug on the Fedora buildbot.

12 years agomerge. again.
Brian Curtin [Wed, 1 Feb 2012 21:24:10 +0000 (15:24 -0600)]
merge. again.

12 years agoAdd a hint that CSD == Service Pack.
Brian Curtin [Wed, 1 Feb 2012 21:14:00 +0000 (15:14 -0600)]
Add a hint that CSD == Service Pack.

People searcing for the way to get a "service pack" will never find that we
provide it here, and people that find this function won't know what CSD is
until they run the function. On top of this, they won't know what the value
means unless they really have a service pack installed.

CSD, or Customer Service Diagnostics, is apparently no longer used, and was
rarely used term at that. Most references to it online are from
universities making Windows 2000 and XP service packs available to students.

12 years agosqlite3: Handle strings with embedded zeros correctly
Petri Lehtinen [Wed, 1 Feb 2012 20:18:19 +0000 (22:18 +0200)]
sqlite3: Handle strings with embedded zeros correctly

Closes #13676.

12 years agoAdd usage note
Raymond Hettinger [Wed, 1 Feb 2012 17:07:40 +0000 (09:07 -0800)]
Add usage note

12 years agowhitespace
Terry Jan Reedy [Tue, 31 Jan 2012 07:57:29 +0000 (02:57 -0500)]
whitespace

12 years ago#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
Terry Jan Reedy [Tue, 31 Jan 2012 07:26:32 +0000 (02:26 -0500)]
#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.

12 years agoFix zip_import.c's read_directory() to use appropriate types for the values
Gregory P. Smith [Mon, 30 Jan 2012 23:17:33 +0000 (15:17 -0800)]
Fix zip_import.c's read_directory() to use appropriate types for the values
being read from the header vs the values being used by fseek and ftell
(Py_ssize_t for those) and how they are computed.  Py_ssize_t is used for
actual file offsets so that files greater than 2gigs could be supported.
Updates the Py_BuildValue format string to match (including several existing
wrong 'i's that should have been 'l's).

12 years agoready types returned from PyType_FromSpec
Benjamin Peterson [Mon, 30 Jan 2012 01:16:37 +0000 (20:16 -0500)]
ready types returned from PyType_FromSpec

12 years agoadjust declaration
Benjamin Peterson [Mon, 30 Jan 2012 01:13:18 +0000 (20:13 -0500)]
adjust declaration

12 years agoIssue #13848: open() and the FileIO constructor now check for NUL characters in the...
Antoine Pitrou [Sun, 29 Jan 2012 17:36:34 +0000 (18:36 +0100)]
Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name.
Patch by Hynek Schlawack.

12 years agoFix #13900: resolve self-referential description of a parameter.
Georg Brandl [Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)]
Fix #13900: resolve self-referential description of a parameter.

12 years agoremove tests from really old regex module
Benjamin Peterson [Sun, 29 Jan 2012 01:33:21 +0000 (20:33 -0500)]
remove tests from really old regex module

12 years agoIssue #13806: The size check in audioop decompression functions was too strict and...
Antoine Pitrou [Sat, 28 Jan 2012 21:01:59 +0000 (22:01 +0100)]
Issue #13806: The size check in audioop decompression functions was too strict and could reject valid compressed data.
Patch by Oleg Plakhotnyuk.

12 years agoIssue #13895: fix test_ssl hanging under Ubuntu
Antoine Pitrou [Sat, 28 Jan 2012 16:38:34 +0000 (17:38 +0100)]
Issue #13895: fix test_ssl hanging under Ubuntu

12 years agoIssue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch
Charles-François Natali [Sat, 28 Jan 2012 10:36:04 +0000 (11:36 +0100)]
Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch
by Matt Joiner.

12 years agoIssue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c funct...
Mark Dickinson [Fri, 27 Jan 2012 21:16:01 +0000 (21:16 +0000)]
Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round.

12 years agoFix intermittent test_ssl failure.
Antoine Pitrou [Fri, 27 Jan 2012 16:33:01 +0000 (17:33 +0100)]
Fix intermittent test_ssl failure.

12 years agonote that get() is not affected by default_factory (closes #13887)
Benjamin Peterson [Fri, 27 Jan 2012 14:14:01 +0000 (09:14 -0500)]
note that get() is not affected by default_factory (closes #13887)

12 years agoFix error handling in examples of C API use.
Antoine Pitrou [Fri, 27 Jan 2012 13:07:29 +0000 (14:07 +0100)]
Fix error handling in examples of C API use.