]>
granicus.if.org Git - python/log
Éric Araujo [Mon, 14 Nov 2011 17:14:09 +0000 (18:14 +0100)]
Add entries for distutils2 contributors (their patches are in packaging)
Éric Araujo [Mon, 14 Nov 2011 17:13:24 +0000 (18:13 +0100)]
Remove NEWS entries for packaging test suite fixes.
I haven’t updated NEWS for every change or fix in packaging, thinking
that the only entry we need for 3.3a1 is “Add packaging module to the
stdlib”. Other developers have however added entries for these fixes,
but I don’t think they are interesting for users.
Note that the distutils2 backport has a full changelog.
Éric Araujo [Mon, 14 Nov 2011 17:10:19 +0000 (18:10 +0100)]
Clean up byte-compilation code in packaging (#11254 followup).
- Don't use keyword arguments for debug_override; I find it more
readable to have a comment explaining that True makes pyc and False
pyo than to write out the non-obvious (when you haven’t read the doc)
argument name
- Move duplicate code from build_py and install_lib into cmd
- Remove obsolete verbose argument of util.byte_compile
- Remove obsolete passing of -O/-OO to the Python process spawned by
util.byte_compile (I’ll remove the whole spawning later, after I write
more tests to check the contents of pyc and pyo files; now that
byte_compile does not depend on the value of __debug__ in the calling
Python, we can call py_compile or compileall directly)
Ezio Melotti [Mon, 14 Nov 2011 16:56:11 +0000 (18:56 +0200)]
#
1745761 , #755670, #13357, #12629, #
1200313 : merge with 3.2.
Ezio Melotti [Mon, 14 Nov 2011 16:53:33 +0000 (18:53 +0200)]
#
1745761 , #755670, #13357, #12629, #
1200313 : improve attribute handling in HTMLParser.
Ezio Melotti [Mon, 14 Nov 2011 16:13:22 +0000 (18:13 +0200)]
Group tests about attributes in a separate class.
Eli Bendersky [Sun, 13 Nov 2011 23:18:24 +0000 (01:18 +0200)]
Clarify the existence of the <> operator in Grammar/Grammar with a comment. Closes issue 13239
Eli Bendersky [Sun, 13 Nov 2011 23:16:31 +0000 (01:16 +0200)]
Clarify the existence of the <> operator in Grammar/Grammar with a comment, for issue 13239
Antoine Pitrou [Sun, 13 Nov 2011 18:37:58 +0000 (19:37 +0100)]
Issue #13217: add missing header dependencies in the Makefile for unicodeobject.o.
Patch by John O'Connor.
Antoine Pitrou [Sun, 13 Nov 2011 03:11:37 +0000 (04:11 +0100)]
Restore performance of special casings for utf-16 and utf-32 in TextIOWrapper
Antoine Pitrou [Sun, 13 Nov 2011 02:53:42 +0000 (03:53 +0100)]
In text I/O, optimize scanning for new lines with 1-byte unicode chars
Antoine Pitrou [Sun, 13 Nov 2011 00:02:02 +0000 (01:02 +0100)]
Fix memory leak with FLUFL-related syntax errors (!)
Antoine Pitrou [Sun, 13 Nov 2011 00:01:23 +0000 (01:01 +0100)]
Fix memory leak with FLUFL-related syntax errors (!)
Antoine Pitrou [Sat, 12 Nov 2011 21:34:28 +0000 (22:34 +0100)]
Fix memory leak in io.StringIO
Antoine Pitrou [Sat, 12 Nov 2011 20:15:28 +0000 (21:15 +0100)]
Use the small object allocator for small bytearrays
Antoine Pitrou [Sat, 12 Nov 2011 19:39:02 +0000 (20:39 +0100)]
Null merge
Antoine Pitrou [Sat, 12 Nov 2011 19:36:51 +0000 (20:36 +0100)]
Merge
Antoine Pitrou [Sat, 12 Nov 2011 19:36:29 +0000 (20:36 +0100)]
Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
(backport of
6b9f547e92d8 )
Antoine Pitrou [Sat, 12 Nov 2011 19:36:29 +0000 (20:36 +0100)]
Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
This fixes a subsequent refleak in test_smtplib.
Petri Lehtinen [Sat, 12 Nov 2011 19:23:46 +0000 (21:23 +0200)]
Merge heads
Petri Lehtinen [Sat, 12 Nov 2011 19:23:28 +0000 (21:23 +0200)]
Merge heads
Petri Lehtinen [Sat, 12 Nov 2011 19:15:12 +0000 (21:15 +0200)]
Merge branch 3.2
Petri Lehtinen [Sat, 12 Nov 2011 19:02:42 +0000 (21:02 +0200)]
Update mailbox.Maildir tests
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().
Closes #11999
Refs #13254
Eli Bendersky [Sat, 12 Nov 2011 18:46:54 +0000 (20:46 +0200)]
Issue 12767: document the argument of threading.Condition.notify
Eli Bendersky [Sat, 12 Nov 2011 18:44:25 +0000 (20:44 +0200)]
Issue #12767: documenting threading.Condition.notify
Antoine Pitrou [Sat, 12 Nov 2011 17:35:19 +0000 (18:35 +0100)]
Sanitize reference management in the utf-8 encoder
Antoine Pitrou [Sat, 12 Nov 2011 17:05:15 +0000 (18:05 +0100)]
Plug some (unlikely) refleaks.
Antoine Pitrou [Sat, 12 Nov 2011 00:27:19 +0000 (01:27 +0100)]
Issue #13193: Fix distutils.filelist.FileList and
packaging.manifest.Manifest under Windows. The "recursive-include"
directive now recognizes both legal path separators.
Antoine Pitrou [Sat, 12 Nov 2011 00:22:11 +0000 (01:22 +0100)]
Add NEWS entry for #13193
Antoine Pitrou [Sat, 12 Nov 2011 00:20:45 +0000 (01:20 +0100)]
Issue #13193: fix distutils.filelist.FileList under Windows
Florent Xicluna [Fri, 11 Nov 2011 19:05:50 +0000 (20:05 +0100)]
Remove unused or redundant imports in concurrent.futures and multiprocessing.
Florent Xicluna [Fri, 11 Nov 2011 18:58:53 +0000 (19:58 +0100)]
Merge 3.2, doc typos.
Florent Xicluna [Fri, 11 Nov 2011 18:56:26 +0000 (19:56 +0100)]
Reformat paragraphs.
Florent Xicluna [Fri, 11 Nov 2011 18:55:21 +0000 (19:55 +0100)]
Few typos in the documentation.
Florent Xicluna [Fri, 11 Nov 2011 18:39:25 +0000 (19:39 +0100)]
Merge 3.2, fix typos.
Florent Xicluna [Fri, 11 Nov 2011 18:35:42 +0000 (19:35 +0100)]
Fix few typos.
Florent Xicluna [Fri, 11 Nov 2011 18:31:02 +0000 (19:31 +0100)]
Merge 3.2. Remove duplicate ACKS and reorder slightly to prevent future dups.
Florent Xicluna [Fri, 11 Nov 2011 18:21:22 +0000 (19:21 +0100)]
Remove duplicate ACKS.
Florent Xicluna [Fri, 11 Nov 2011 17:59:30 +0000 (18:59 +0100)]
Use unittest.skipUnless to skip the test related to the glibc bug, issue #13309.
Brian Curtin [Fri, 11 Nov 2011 15:41:17 +0000 (09:41 -0600)]
Merge 3.2
Brian Curtin [Fri, 11 Nov 2011 15:37:25 +0000 (09:37 -0600)]
Fix #13384. Remove __future__ import in 3.x code.
Ezio Melotti [Fri, 11 Nov 2011 15:00:46 +0000 (17:00 +0200)]
Fix range in test.
Eli Bendersky [Fri, 11 Nov 2011 15:02:16 +0000 (17:02 +0200)]
Issue #13161: fix doc strings of __i*__ operators. Closes #13161
Eli Bendersky [Fri, 11 Nov 2011 14:57:05 +0000 (16:57 +0200)]
Issue #13161: fix doc strings of __i*__ operators
Antoine Pitrou [Fri, 11 Nov 2011 12:35:44 +0000 (13:35 +0100)]
Make test more inclusive
Antoine Pitrou [Fri, 11 Nov 2011 12:31:59 +0000 (13:31 +0100)]
Enable commented out test
Antoine Pitrou [Fri, 11 Nov 2011 12:29:12 +0000 (13:29 +0100)]
Fix regression on 2-byte wchar_t systems (Windows)
Eli Bendersky [Fri, 11 Nov 2011 08:58:36 +0000 (10:58 +0200)]
Issue #13191: typo in argparse docs
Eli Bendersky [Fri, 11 Nov 2011 08:57:01 +0000 (10:57 +0200)]
Issue #13191: typo in argparse docs
Eli Bendersky [Fri, 11 Nov 2011 08:44:22 +0000 (10:44 +0200)]
Issue #13365: correct an error in the documentation of str.expandtabs. Patch by John Feuerstein
Eli Bendersky [Fri, 11 Nov 2011 08:40:14 +0000 (10:40 +0200)]
Issue #13365: correct an error in the documentation of str.expandtabs
Antoine Pitrou [Fri, 11 Nov 2011 02:04:35 +0000 (03:04 +0100)]
Avoid a glibc bug in test_time (issue #13309)
Antoine Pitrou [Fri, 11 Nov 2011 01:59:42 +0000 (02:59 +0100)]
Avoid crashing because of an unaligned word access
Antoine Pitrou [Thu, 10 Nov 2011 21:49:20 +0000 (22:49 +0100)]
Speed up IDNA for the common case
Antoine Pitrou [Thu, 10 Nov 2011 20:47:38 +0000 (21:47 +0100)]
Issue #13149: Speed up append-only StringIO objects.
This is very similar to the "lazy strings" idea.
Victor Stinner [Thu, 10 Nov 2011 19:56:30 +0000 (20:56 +0100)]
Fix and deprecated the unicode_internal codec
unicode_internal codec uses Py_UNICODE instead of the real internal
representation (PEP 393: Py_UCS1, Py_UCS2 or Py_UCS4) for backward
compatibility.
Charles-François Natali [Thu, 10 Nov 2011 19:33:36 +0000 (20:33 +0100)]
Fix test_socket when built whithout threads.
Victor Stinner [Thu, 10 Nov 2011 19:31:37 +0000 (20:31 +0100)]
Prefer Py_UCS4 or wchar_t over Py_UNICODE
Victor Stinner [Thu, 10 Nov 2011 19:30:22 +0000 (20:30 +0100)]
PyUnicode_DecodeCharmap() uses the new Unicode API
Victor Stinner [Thu, 10 Nov 2011 19:21:49 +0000 (20:21 +0100)]
Avoid PyUnicode_AS_UNICODE in the UTF-8 encoder
Victor Stinner [Thu, 10 Nov 2011 19:15:25 +0000 (20:15 +0100)]
Fix "unicode_escape" encoder
Victor Stinner [Thu, 10 Nov 2011 19:12:49 +0000 (20:12 +0100)]
Fix UTF-7 encoder on Windows
Victor Stinner [Thu, 10 Nov 2011 19:05:55 +0000 (20:05 +0100)]
Fix build on Windows
Charles-François Natali [Thu, 10 Nov 2011 18:21:37 +0000 (19:21 +0100)]
Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
Charles-François Natali [Thu, 10 Nov 2011 18:12:29 +0000 (19:12 +0100)]
Issue #13303: Fix bytecode file default permission.
Martin v. Löwis [Thu, 10 Nov 2011 17:24:32 +0000 (18:24 +0100)]
Port encoders from Py_UNICODE API to unicode object API.
Ezio Melotti [Thu, 10 Nov 2011 07:37:43 +0000 (09:37 +0200)]
#13379: merge with 3.2.
Ezio Melotti [Thu, 10 Nov 2011 07:36:34 +0000 (09:36 +0200)]
#13379: update Unicode version in unicodedata docstrings and comments.
Antoine Pitrou [Wed, 9 Nov 2011 23:38:25 +0000 (00:38 +0100)]
Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout. Patch by Arnaud Ysmal.
Antoine Pitrou [Wed, 9 Nov 2011 23:37:09 +0000 (00:37 +0100)]
Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout. Patch by Arnaud Ysmal.
Victor Stinner [Wed, 9 Nov 2011 21:14:14 +0000 (22:14 +0100)]
Issue #12442: nt._getdiskusage() is now using the Windows Unicode API
Victor Stinner [Wed, 9 Nov 2011 00:13:45 +0000 (01:13 +0100)]
Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
Victor Stinner [Tue, 8 Nov 2011 23:03:45 +0000 (00:03 +0100)]
Strip trailing spaces
Victor Stinner [Tue, 8 Nov 2011 23:02:42 +0000 (00:02 +0100)]
Fix a compiler warning: use unsiged for maxchar in unicode_widen()
Victor Stinner [Tue, 8 Nov 2011 23:02:18 +0000 (00:02 +0100)]
Fix the code page decoder
* unicode_decode_call_errorhandler() now supports the PyUnicode_WCHAR_KIND
kind
* unicode_decode_call_errorhandler() calls copy_characters() instead of
PyUnicode_CopyCharacters()
Ezio Melotti [Tue, 8 Nov 2011 22:25:47 +0000 (00:25 +0200)]
Refactor functions signatures in the doc.
Brian Curtin [Tue, 8 Nov 2011 20:54:02 +0000 (14:54 -0600)]
Backed out changeset
60ae7979fec8
Brian Curtin [Tue, 8 Nov 2011 20:30:02 +0000 (14:30 -0600)]
Remove the old style [...] to denote optional args and show the defaults.
Charles-François Natali [Tue, 8 Nov 2011 19:38:11 +0000 (20:38 +0100)]
Back out changeset
b6336ba796d4 until fix for #13303.
Charles-François Natali [Tue, 8 Nov 2011 18:43:09 +0000 (19:43 +0100)]
test_import: test_execute_bit_not_copied() was actually a no-op: enable it.
Charles-François Natali [Tue, 8 Nov 2011 18:42:02 +0000 (19:42 +0100)]
test_import: test_execute_bit_not_copied() was actually a no-op: fix it.
Antoine Pitrou [Tue, 8 Nov 2011 17:39:15 +0000 (18:39 +0100)]
Fix BytesWarnings in fnmatch
Antoine Pitrou [Tue, 8 Nov 2011 17:37:16 +0000 (18:37 +0100)]
Fix missing goto
Jesus Cea [Tue, 8 Nov 2011 15:24:43 +0000 (16:24 +0100)]
Partial patch for issue #11812: Take care of test_telnetlib.py
Jesus Cea [Tue, 8 Nov 2011 15:20:46 +0000 (16:20 +0100)]
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
Nick Coghlan [Tue, 8 Nov 2011 11:50:58 +0000 (21:50 +1000)]
Issue #13237: Fix formatting error - the legacy shell commands weren't meant to be under the Notes heading
Nick Coghlan [Tue, 8 Nov 2011 11:39:07 +0000 (21:39 +1000)]
Issue #13237: Remove duplicate data value descriptions from the subprocess docs
Nick Coghlan [Tue, 8 Nov 2011 10:49:23 +0000 (20:49 +1000)]
Issue #13237: Forward port subprocess module updates and explicitly document UTF-8 encoding assumption when universal_newlines=True
Éric Araujo [Mon, 7 Nov 2011 16:52:48 +0000 (17:52 +0100)]
Don’t interpret backslashes in ASCII diagram in a docstring
Éric Araujo [Mon, 7 Nov 2011 16:31:07 +0000 (17:31 +0100)]
Document that shutil.make_archive does not typecheck its logger argument
Martin v. Löwis [Mon, 7 Nov 2011 12:00:05 +0000 (13:00 +0100)]
Make _PyUnicode_FromId return borrowed references.
http://mail.python.org/pipermail/python-dev/2011-November/114347.html
Martin v. Löwis [Tue, 8 Nov 2011 16:35:34 +0000 (17:35 +0100)]
Change decoders to use Unicode API instead of Py_UNICODE.
Jesus Cea [Tue, 8 Nov 2011 16:28:04 +0000 (17:28 +0100)]
Commit
59dca1e2363d for issue #13327 introduced a compilation warning
Jesus Cea [Tue, 8 Nov 2011 15:39:26 +0000 (16:39 +0100)]
MERGE: Partial patch for issue #11812: Take care of test_telnetlib.py
Jesus Cea [Tue, 8 Nov 2011 15:34:22 +0000 (16:34 +0100)]
MERGE: Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
Nick Coghlan [Tue, 8 Nov 2011 12:11:21 +0000 (22:11 +1000)]
Issue #13237: Forward port from 3.2 of subprocess documentation updates. Needed quite a few adjustments to account for new features coming in 3.3
Brian Curtin [Mon, 7 Nov 2011 22:30:01 +0000 (16:30 -0600)]
News updates for #13327.
Florent Xicluna [Mon, 7 Nov 2011 22:24:08 +0000 (23:24 +0100)]
Some win32 platforms raise NotADirectoryError, others FileNotFoundError. Issue #13366.
Brian Curtin [Mon, 7 Nov 2011 22:09:54 +0000 (16:09 -0600)]
branch merge.
Brian Curtin [Mon, 7 Nov 2011 22:09:20 +0000 (16:09 -0600)]
Fix #13327. utimensat now has the atime and mtime arguments set as optional,
defaulting to None like the other utimes family members. It now accepts
keyword arguments because, unlike other other functions in the family,
it has a `flags` value at the end of the argument list (which
retains its 0 default).