]>
granicus.if.org Git - python/log
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.)
Ezio Melotti [Sat, 18 Feb 2012 00:01:36 +0000 (02:01 +0200)]
#14020: improve HTMLParser documentation.
Petri Lehtinen [Fri, 17 Feb 2012 19:30:55 +0000 (21:30 +0200)]
Fix a variable scoping error in an sqlite3 test
Closes #11689.
Petri Lehtinen [Thu, 16 Feb 2012 19:39:03 +0000 (21:39 +0200)]
sqlite3: Fix documentation errors concerning Cursor.rowcount
Closes #13995.
Charles-François Natali [Thu, 16 Feb 2012 18:49:48 +0000 (19:49 +0100)]
Issue #13878: Fix random test_sched failures.
Gregory P. Smith [Thu, 16 Feb 2012 08:34:12 +0000 (00:34 -0800)]
don't use assertSameElements.
Gregory P. Smith [Thu, 16 Feb 2012 08:30:50 +0000 (00:30 -0800)]
NEWS entry for previous commit.
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.
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
Sandro Tosi [Wed, 15 Feb 2012 22:14:21 +0000 (23:14 +0100)]
Issue #11836: document multiprocessing.queues.SimpleQueue
Antoine Pitrou [Wed, 15 Feb 2012 21:31:23 +0000 (22:31 +0100)]
Merge
Antoine Pitrou [Wed, 15 Feb 2012 21:25:27 +0000 (22:25 +0100)]
Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().
Victor Stinner [Wed, 15 Feb 2012 21:24:17 +0000 (22:24 +0100)]
Issue #13913: Fix test_pep3120 for the UTF-8 codec name
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.
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.
Éric Araujo [Wed, 15 Feb 2012 17:12:12 +0000 (18:12 +0100)]
Fix test failure for shared builds caused by #
1326113 fix
Éric Araujo [Wed, 15 Feb 2012 16:07:49 +0000 (17:07 +0100)]
Improve doc for atexit.register and unregister (#12297)
Éric Araujo [Wed, 15 Feb 2012 15:44:37 +0000 (16:44 +0100)]
Fix parsing of build_ext --libraries option (#
1326113 )
Antoine Pitrou [Wed, 15 Feb 2012 01:52:58 +0000 (02:52 +0100)]
Fix indentation
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.
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.
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.
Meador Inge [Tue, 14 Feb 2012 04:08:39 +0000 (22:08 -0600)]
Issue #13979: Fix ctypes.util.find_library ldconfig regex
Gregory P. Smith [Tue, 14 Feb 2012 00:41:20 +0000 (16:41 -0800)]
import re for the previous commit.
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.
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.
Victor Stinner [Tue, 14 Feb 2012 00:17:45 +0000 (01:17 +0100)]
Issue #13913: normalize utf-8 codec name in UTF-8 decoder
Ezio Melotti [Mon, 13 Feb 2012 18:20:00 +0000 (20:20 +0200)]
Fix an index and clean up comments.
Senthil Kumaran [Mon, 13 Feb 2012 15:30:47 +0000 (23:30 +0800)]
shutil copy module reference doc fix.
Ezio Melotti [Mon, 13 Feb 2012 13:50:37 +0000 (15:50 +0200)]
Improve handling of declarations in HTMLParser.
Ezio Melotti [Mon, 13 Feb 2012 12:11:27 +0000 (14:11 +0200)]
Fix htmlparser tests to always use the right collector.
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.
Gregory P. Smith [Sun, 12 Feb 2012 23:58:36 +0000 (15:58 -0800)]
fix whitespace normalization before pushing.
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
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
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.
É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.
É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.
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.
Benjamin Peterson [Fri, 10 Feb 2012 13:46:54 +0000 (08:46 -0500)]
this is only a borrowed ref in Brett's branch
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.)
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.
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.
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.
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.
Vinay Sajip [Mon, 6 Feb 2012 21:24:40 +0000 (21:24 +0000)]
Null merge for reverted fix for #13807.
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.
Benjamin Peterson [Mon, 6 Feb 2012 16:29:05 +0000 (11:29 -0500)]
merge heads
Benjamin Peterson [Mon, 6 Feb 2012 16:28:45 +0000 (11:28 -0500)]
bltinmod is borrowed, so it shouldn't be decrefed
Ned Deily [Sun, 5 Feb 2012 23:58:18 +0000 (00:58 +0100)]
Issue #10881: Fix test_site failure with OS X framework builds.
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.
Terry Jan Reedy [Sun, 5 Feb 2012 19:31:16 +0000 (14:31 -0500)]
#13933 refine patch using 'new' builtin
Éric Araujo [Sun, 5 Feb 2012 12:41:47 +0000 (13:41 +0100)]
Branch merge
É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.
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).
Georg Brandl [Sun, 5 Feb 2012 08:25:22 +0000 (09:25 +0100)]
Closes #13944: fix capitalization of class name.
Meador Inge [Sun, 5 Feb 2012 02:36:48 +0000 (20:36 -0600)]
Issue #12142: Fixed reference cycle when importing ctypes
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.
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)
Antoine Pitrou [Sat, 4 Feb 2012 15:44:21 +0000 (16:44 +0100)]
Fix failing test on big-endian machines (issue #13806).
Benjamin Peterson [Sat, 4 Feb 2012 14:55:52 +0000 (09:55 -0500)]
threading primitives now have timeouts
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.
Benjamin Peterson [Sat, 4 Feb 2012 00:22:31 +0000 (19:22 -0500)]
put returns on their own lines
Benjamin Peterson [Sat, 4 Feb 2012 00:07:30 +0000 (19:07 -0500)]
remove unused import
Ned Deily [Fri, 3 Feb 2012 22:14:37 +0000 (23:14 +0100)]
Issue #13861: Prevent test_apropos* test case failures in test_pydoc.
Vinay Sajip [Fri, 3 Feb 2012 18:23:05 +0000 (18:23 +0000)]
Revert fix for #13807 mistakenly applied in this branch.
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.
Charles-François Natali [Thu, 2 Feb 2012 19:37:29 +0000 (20:37 +0100)]
Merge.
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.
Petri Lehtinen [Thu, 2 Feb 2012 18:59:48 +0000 (20:59 +0200)]
Document absoluteness of sys.executable
Closes #13402.
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.
Brian Curtin [Wed, 1 Feb 2012 21:24:10 +0000 (15:24 -0600)]
merge. again.
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.
Petri Lehtinen [Wed, 1 Feb 2012 20:18:19 +0000 (22:18 +0200)]
sqlite3: Handle strings with embedded zeros correctly
Closes #13676.
Raymond Hettinger [Wed, 1 Feb 2012 17:07:40 +0000 (09:07 -0800)]
Add usage note
Terry Jan Reedy [Tue, 31 Jan 2012 07:57:29 +0000 (02:57 -0500)]
whitespace
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.
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).
Benjamin Peterson [Mon, 30 Jan 2012 01:16:37 +0000 (20:16 -0500)]
ready types returned from PyType_FromSpec
Benjamin Peterson [Mon, 30 Jan 2012 01:13:18 +0000 (20:13 -0500)]
adjust declaration
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.
Georg Brandl [Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)]
Fix #13900: resolve self-referential description of a parameter.
Benjamin Peterson [Sun, 29 Jan 2012 01:33:21 +0000 (20:33 -0500)]
remove tests from really old regex module
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.
Antoine Pitrou [Sat, 28 Jan 2012 16:38:34 +0000 (17:38 +0100)]
Issue #13895: fix test_ssl hanging under Ubuntu
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.
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.
Antoine Pitrou [Fri, 27 Jan 2012 16:33:01 +0000 (17:33 +0100)]
Fix intermittent test_ssl failure.
Benjamin Peterson [Fri, 27 Jan 2012 14:14:01 +0000 (09:14 -0500)]
note that get() is not affected by default_factory (closes #13887)
Antoine Pitrou [Fri, 27 Jan 2012 13:07:29 +0000 (14:07 +0100)]
Fix error handling in examples of C API use.
Antoine Pitrou [Fri, 27 Jan 2012 09:52:37 +0000 (10:52 +0100)]
Issue #13812: When a multiprocessing Process child raises an exception, flush stderr after printing the exception traceback.
Antoine Pitrou [Fri, 27 Jan 2012 09:02:55 +0000 (10:02 +0100)]
Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL.
Antoine Pitrou [Fri, 27 Jan 2012 08:50:45 +0000 (09:50 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
Antoine Pitrou [Fri, 27 Jan 2012 08:48:47 +0000 (09:48 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
Brett Cannon [Thu, 26 Jan 2012 23:36:08 +0000 (18:36 -0500)]
merge
Brett Cannon [Thu, 26 Jan 2012 23:29:06 +0000 (18:29 -0500)]
Issue #13883: Document all platforms PYTHONCASEOK works on.
Meador Inge [Thu, 26 Jan 2012 14:44:00 +0000 (08:44 -0600)]
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
Raymond Hettinger [Thu, 26 Jan 2012 08:14:16 +0000 (00:14 -0800)]
Issue 13870: Fix out of date comment.
Georg Brandl [Wed, 25 Jan 2012 21:36:25 +0000 (22:36 +0100)]
#13852: some small doc fixes.
Benjamin Peterson [Wed, 25 Jan 2012 21:30:18 +0000 (16:30 -0500)]
kill extra word