]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 8 Aug 2012 20:37:26 +0000 (22:37 +0200)]
regrtest: give more information when a child process fails with an error
different than KeyboardInterrupt
Victor Stinner [Wed, 8 Aug 2012 18:19:37 +0000 (20:19 +0200)]
Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...
Victor Stinner [Wed, 8 Aug 2012 18:09:21 +0000 (20:09 +0200)]
Issue #13072: Fix test_array for Windows with 16-bit wchar_t
doko@ubuntu.com [Wed, 8 Aug 2012 10:15:55 +0000 (12:15 +0200)]
- Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
Ned Deily [Tue, 7 Aug 2012 10:10:57 +0000 (03:10 -0700)]
Issue #15560: Ensure consistent sqlite3 behavior and feature availability
by building a local copy of libsqlite3 with OS X installers rather than
depending on the wide range of versions supplied with various OS X releases.
Benjamin Peterson [Tue, 7 Aug 2012 00:53:19 +0000 (17:53 -0700)]
merge heads
Benjamin Peterson [Tue, 7 Aug 2012 00:53:09 +0000 (17:53 -0700)]
fix yield from return value on custom iterators (closes #15568)
Brett Cannon [Mon, 6 Aug 2012 21:19:22 +0000 (17:19 -0400)]
Issue #15163: Pydoc shouldn't show __loader__ as a part of a module's
data.
Also alphabetized the attributes in the blacklist to make it easier to
detect changes.
Initial patch by Éric Araujo.
Brett Cannon [Mon, 6 Aug 2012 20:34:44 +0000 (16:34 -0400)]
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
R David Murray [Mon, 6 Aug 2012 20:08:40 +0000 (16:08 -0400)]
Merge #15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
R David Murray [Mon, 6 Aug 2012 20:08:09 +0000 (16:08 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Ned Deily [Mon, 6 Aug 2012 13:40:48 +0000 (06:40 -0700)]
Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X.
Ned Deily [Mon, 6 Aug 2012 13:34:00 +0000 (06:34 -0700)]
OS X installer cleanups:
- Remove OS X installer and Mac/Makefile dependencies on /Developer which
no longer exists with Xcode 4; the referenced tools have been installed
into the usr/bin tool root since Xcode 3.
- Support adding the SDK usr/bin tool root to the installer's PATH via the
SDK_TOOLS_BIN environment variable.
Brett Cannon [Mon, 6 Aug 2012 00:49:53 +0000 (20:49 -0400)]
Issue #15482: Merge 78449:
3fe01f7520e2 with a minor clarification.
Brett Cannon [Mon, 6 Aug 2012 00:46:25 +0000 (20:46 -0400)]
Issue #15482: Properly document the default 'level' parameter for
__import__().
To help explain why the -1 default value is typically not seen, a note
about how import statements only use values of >= 0 is also noted.
Brett Cannon [Sun, 5 Aug 2012 23:24:57 +0000 (19:24 -0400)]
Fix a spelling mistake in a comment.
Victor Stinner [Sun, 5 Aug 2012 22:46:05 +0000 (00:46 +0200)]
Close #13072: Restore code before the PEP 393 for the array module
'u' format of the array module uses again Py_UNICODE type for backward
compatibility with Python 3.2.
The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now
checked for NULL value.
Ned Deily [Sun, 5 Aug 2012 22:16:04 +0000 (15:16 -0700)]
merge heads
Ned Deily [Sun, 5 Aug 2012 22:13:33 +0000 (15:13 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Ned Deily [Sun, 5 Aug 2012 22:12:20 +0000 (15:12 -0700)]
Issue #15560: null merge
Benjamin Peterson [Sun, 5 Aug 2012 22:05:53 +0000 (15:05 -0700)]
merge heads
Benjamin Peterson [Sun, 5 Aug 2012 22:05:34 +0000 (15:05 -0700)]
add another testcase
Ned Deily [Sun, 5 Aug 2012 21:56:21 +0000 (14:56 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Victor Stinner [Sun, 5 Aug 2012 14:37:12 +0000 (16:37 +0200)]
What's New in Python 3.3: Split improved and new modules, start to write a summary
Victor Stinner [Sun, 5 Aug 2012 14:31:32 +0000 (16:31 +0200)]
Complete What's New in Python 3.3.
Victor Stinner [Sun, 5 Aug 2012 13:56:51 +0000 (15:56 +0200)]
Issue #15548: Update and complete What's New in Python 3.3, especially the "os" section
Victor Stinner [Sun, 5 Aug 2012 13:18:02 +0000 (15:18 +0200)]
os.unlinkat() has been removed, update os.fwalk() doc
Antoine Pitrou [Sun, 5 Aug 2012 12:53:49 +0000 (14:53 +0200)]
Merge
Antoine Pitrou [Sun, 5 Aug 2012 12:53:33 +0000 (14:53 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)
Antoine Pitrou [Sun, 5 Aug 2012 12:52:45 +0000 (14:52 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)
Nick Coghlan [Sun, 5 Aug 2012 12:52:38 +0000 (22:52 +1000)]
Issue #14814: Attempt to clarify network address and broadcast address for less experienced users
Nadeem Vawda [Sun, 5 Aug 2012 12:45:41 +0000 (14:45 +0200)]
#15546: Also fix GzipFile.peek().
Nick Coghlan [Sun, 5 Aug 2012 12:45:22 +0000 (22:45 +1000)]
Issue #14814: Remove redundant property from interface objects - prefixlen can be accessed via the associated network object
Nick Coghlan [Sun, 5 Aug 2012 12:32:37 +0000 (22:32 +1000)]
Issue #14814: Finish review of ipaddress network object docs (initial patch was by Eli Bendersky)
Nick Coghlan [Sun, 5 Aug 2012 12:02:18 +0000 (22:02 +1000)]
Issue 14814: Docs work showed some more cases of networks pretending to be addresses and highlighted the weird approach to implementing the 'is_whatever' properties. Impl now illustrates far more clearly that networks have a property if both their network and broadcast addresses have that property
Nick Coghlan [Sun, 5 Aug 2012 10:43:19 +0000 (20:43 +1000)]
NEWS entry for previous ipaddress fix
Nick Coghlan [Sun, 5 Aug 2012 08:20:17 +0000 (18:20 +1000)]
Close #15559: Implementing __index__ creates a nasty interaction with the bytes constructor. At least for 3.3, ipaddress objects must now be explicitly converted with int() and thus can't be passed directly to the hex() builtin.
Nadeem Vawda [Sun, 5 Aug 2012 00:19:09 +0000 (02:19 +0200)]
#15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.
Antoine Pitrou [Sat, 4 Aug 2012 22:33:10 +0000 (00:33 +0200)]
Fix test_venv to work with universal newlines (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:25:31 +0000 (00:25 +0200)]
Merge universal newlines-related fixes (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:23:40 +0000 (00:23 +0200)]
Fix universal newlines test to avoid the newline translation done by sys.stdout.
Antoine Pitrou [Sat, 4 Aug 2012 22:15:06 +0000 (00:15 +0200)]
Fix test_sys under Windows (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 21:26:25 +0000 (23:26 +0200)]
Remove unused variable `trim_get_code`.
Victor Stinner [Sat, 4 Aug 2012 18:57:48 +0000 (20:57 +0200)]
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
Andrew Svetlov [Sat, 4 Aug 2012 18:42:48 +0000 (21:42 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
Andrew Svetlov [Sat, 4 Aug 2012 18:38:22 +0000 (21:38 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
Sandro Tosi [Sat, 4 Aug 2012 17:42:46 +0000 (19:42 +0200)]
merge with 3.2
Sandro Tosi [Sat, 4 Aug 2012 17:42:24 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@
Antoine Pitrou [Sat, 4 Aug 2012 14:17:10 +0000 (16:17 +0200)]
Merge
Antoine Pitrou [Sat, 4 Aug 2012 14:16:35 +0000 (16:16 +0200)]
Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and
os.sched_setaffinity now use regular sets of integers to represent the
CPUs a process is restricted to.
Nadeem Vawda [Sat, 4 Aug 2012 13:29:28 +0000 (15:29 +0200)]
#15546: Fix BZ2File.read1()'s handling of pathological input data.
Giampaolo Rodola' [Sat, 4 Aug 2012 12:38:16 +0000 (14:38 +0200)]
asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing
Victor Stinner [Fri, 3 Aug 2012 23:38:16 +0000 (01:38 +0200)]
Null merge (fix already applied to the default branch)
Victor Stinner [Fri, 3 Aug 2012 23:37:32 +0000 (01:37 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
Victor Stinner [Fri, 3 Aug 2012 23:28:00 +0000 (01:28 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
Victor Stinner [Fri, 3 Aug 2012 23:22:07 +0000 (01:22 +0200)]
(Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n'
doesn't translate newlines on output.
Victor Stinner [Fri, 3 Aug 2012 23:18:56 +0000 (01:18 +0200)]
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.
Antoine Pitrou [Fri, 3 Aug 2012 22:56:19 +0000 (00:56 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Antoine Pitrou [Fri, 3 Aug 2012 22:55:38 +0000 (00:55 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Jesus Cea [Fri, 3 Aug 2012 13:49:40 +0000 (15:49 +0200)]
MERGE: #15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 13:49:14 +0000 (15:49 +0200)]
#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 12:52:12 +0000 (14:52 +0200)]
MERGE: Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:49:42 +0000 (14:49 +0200)]
Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:29:26 +0000 (14:29 +0200)]
MERGE: Closes #15512: Correct __sizeof__ support for parser
Jesus Cea [Fri, 3 Aug 2012 12:28:37 +0000 (14:28 +0200)]
Closes #15512: Correct __sizeof__ support for parser
Jesus Cea [Fri, 3 Aug 2012 12:18:11 +0000 (14:18 +0200)]
Closes #15514: Correct __sizeof__ support for cpu_set
Brett Cannon [Thu, 2 Aug 2012 21:50:06 +0000 (17:50 -0400)]
Update the What's New details for importlib based on doc/ABC changes.
Brett Cannon [Thu, 2 Aug 2012 21:35:34 +0000 (17:35 -0400)]
Ditch the 'self' argument in importlib docs since it's implied.
Victor Stinner [Thu, 2 Aug 2012 21:05:01 +0000 (23:05 +0200)]
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Replace _s with ptr to avoid future confusion. Add also non regression tests.
Antoine Pitrou [Thu, 2 Aug 2012 18:39:10 +0000 (20:39 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Antoine Pitrou [Thu, 2 Aug 2012 18:37:12 +0000 (20:37 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Nick Coghlan [Thu, 2 Aug 2012 13:03:58 +0000 (23:03 +1000)]
Issue #15502: Bring the importlib.PathFinder docs and docstring more in line with the new import system documentation, and fix various parts of the new docs that weren't quite right given PEP 420 or were otherwise a bit misleading. Also note the key terminology problem still being discussed in the issue
Nick Coghlan [Thu, 2 Aug 2012 12:02:35 +0000 (22:02 +1000)]
Clarify the import statement semantics, especially for implicit imports in the 'from X import Y' variant
Nick Coghlan [Thu, 2 Aug 2012 11:45:24 +0000 (21:45 +1000)]
Close #15519: Properly expose WindowsRegistryFinder in importlib and bring the name into line with normal import terminology. Original patch by Eric Snow
Nick Coghlan [Thu, 2 Aug 2012 11:26:03 +0000 (21:26 +1000)]
Issue #15502: Bring the importlib ABCs into line with the current state of the import protocols given PEP 420. Original patch by Eric Snow.
Eli Bendersky [Wed, 1 Aug 2012 23:56:39 +0000 (02:56 +0300)]
Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py
Victor Stinner [Wed, 1 Aug 2012 22:05:41 +0000 (00:05 +0200)]
Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close)
Victor Stinner [Wed, 1 Aug 2012 18:12:51 +0000 (20:12 +0200)]
Fix findnocoding.p and pysource.py scripts
I suppose that these scripts didn't work since Python 3.0.
Victor Stinner [Wed, 1 Aug 2012 18:03:49 +0000 (20:03 +0200)]
Issue #15441: Skip test_nonascii_abspath() of test_genericpath on Windows
if the bytes filenames cannot be encoded from the file system (ANSI) code page
Victor Stinner [Wed, 1 Aug 2012 17:45:34 +0000 (19:45 +0200)]
Issue #15463: Write a test for faulthandler truncating the name of functions
to 500 characters.
Victor Stinner [Wed, 1 Aug 2012 17:36:36 +0000 (19:36 +0200)]
Fix the user signal handler of faulthandler
Don't exit the tstate is NULL to restore the errno and chain the signal handler
if needed.
Richard Oudkerk [Wed, 1 Aug 2012 16:44:18 +0000 (17:44 +0100)]
Issue #15525: Increase timeout when TerminateProcess() fails
Antoine Pitrou [Wed, 1 Aug 2012 12:53:22 +0000 (14:53 +0200)]
Improve wording for __hash__
Antoine Pitrou [Wed, 1 Aug 2012 12:53:16 +0000 (14:53 +0200)]
Clarify that hash randomization is on by default
Martin v. Löwis [Wed, 1 Aug 2012 09:09:55 +0000 (11:09 +0200)]
Issue #8847: Merge with 3.2
Martin v. Löwis [Wed, 1 Aug 2012 09:06:53 +0000 (11:06 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Patch by Stefan Krah.
Martin v. Löwis [Wed, 1 Aug 2012 08:32:11 +0000 (10:32 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Analysis by Victor Stinner. Patch by Stefan Krah.
Benjamin Peterson [Wed, 1 Aug 2012 04:50:11 +0000 (21:50 -0700)]
merge heads
Benjamin Peterson [Wed, 1 Aug 2012 04:41:56 +0000 (21:41 -0700)]
construct fields in the right order (closes #15517)
Patch from Taihyun Hwang.
Jesus Cea [Wed, 1 Aug 2012 01:57:52 +0000 (03:57 +0200)]
Closes #15499: Sleep is hardcoded in webbrowser.UnixBrowser
Barry Warsaw [Tue, 31 Jul 2012 21:52:32 +0000 (17:52 -0400)]
abc fixes.
Barry Warsaw [Tue, 31 Jul 2012 20:39:43 +0000 (16:39 -0400)]
Typo.
Barry Warsaw [Tue, 31 Jul 2012 20:10:12 +0000 (16:10 -0400)]
- Issue #15295: Reorganize and rewrite the documentation on the import system.
Barry Warsaw [Tue, 31 Jul 2012 20:03:25 +0000 (16:03 -0400)]
merge
Barry Warsaw [Tue, 31 Jul 2012 20:03:09 +0000 (16:03 -0400)]
Finally, a coherent set of terminology for all the lil' beasties involved.
Andrew Svetlov [Tue, 31 Jul 2012 16:49:38 +0000 (19:49 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Tue, 31 Jul 2012 16:48:00 +0000 (19:48 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Eli Bendersky [Tue, 31 Jul 2012 14:25:33 +0000 (17:25 +0300)]
Issue #14814: fix some typos in howto/ipaddress.rst
Eli Bendersky [Tue, 31 Jul 2012 14:23:11 +0000 (17:23 +0300)]
Issue #14814: reorganize ipaddress documentation and document all attributes of IPv[46]Address objects
Nick Coghlan [Tue, 31 Jul 2012 11:39:42 +0000 (21:39 +1000)]
Issue #15425: Don't rely on the assumption that the current working directory is on sys.path (this will hopefully appease the XP buildbots)