]>
granicus.if.org Git - python/log
Roger Serwy [Tue, 11 Jun 2013 04:02:56 +0000 (23:02 -0500)]
#17511: merge with 3.3.
Roger Serwy [Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)]
#17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
Benjamin Peterson [Mon, 10 Jun 2013 16:24:01 +0000 (09:24 -0700)]
merge 3.3 (#18183)
Benjamin Peterson [Mon, 10 Jun 2013 16:19:46 +0000 (09:19 -0700)]
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183)
Richard Oudkerk [Mon, 10 Jun 2013 15:31:39 +0000 (16:31 +0100)]
Merge.
Richard Oudkerk [Mon, 10 Jun 2013 15:29:19 +0000 (16:29 +0100)]
Issue #18174: Fix fd leaks in tests.
Richard Oudkerk [Mon, 10 Jun 2013 14:45:30 +0000 (15:45 +0100)]
Merge.
Richard Oudkerk [Mon, 10 Jun 2013 14:38:54 +0000 (15:38 +0100)]
Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().
Christian Heimes [Mon, 10 Jun 2013 08:47:22 +0000 (10:47 +0200)]
fixd refleak
Ronald Oussoren [Mon, 10 Jun 2013 08:37:12 +0000 (10:37 +0200)]
(3.3->default) Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
Ronald Oussoren [Mon, 10 Jun 2013 08:36:28 +0000 (10:36 +0200)]
Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
Serhiy Storchaka [Sun, 9 Jun 2013 18:10:13 +0000 (21:10 +0300)]
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 18:08:05 +0000 (21:08 +0300)]
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
Christian Heimes [Sun, 9 Jun 2013 17:03:31 +0000 (19:03 +0200)]
Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.
Christian Heimes [Sun, 9 Jun 2013 16:29:54 +0000 (18:29 +0200)]
get_default_verify_paths doesn't belong inside the ifdef block
Christian Heimes [Sun, 9 Jun 2013 16:07:16 +0000 (18:07 +0200)]
removed accidental new line
Christian Heimes [Sun, 9 Jun 2013 16:02:55 +0000 (18:02 +0200)]
Issue #18143: Implement ssl.get_default_verify_paths() in order to debug
the default locations for cafile and capath.
Serhiy Storchaka [Sun, 9 Jun 2013 14:11:48 +0000 (17:11 +0300)]
Issue #15239: Make mkstringprep.py work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 14:08:00 +0000 (17:08 +0300)]
Issue #15239: Make mkstringprep.py work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 13:53:55 +0000 (16:53 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
Serhiy Storchaka [Sun, 9 Jun 2013 13:51:52 +0000 (16:51 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
Ezio Melotti [Sat, 8 Jun 2013 22:05:16 +0000 (01:05 +0300)]
#18126: merge with 3.3.
Ezio Melotti [Sat, 8 Jun 2013 22:04:21 +0000 (01:04 +0300)]
#18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.
Ezio Melotti [Sat, 8 Jun 2013 21:10:04 +0000 (00:10 +0300)]
#17691: merge with 3.3.
Ezio Melotti [Sat, 8 Jun 2013 21:07:06 +0000 (00:07 +0300)]
#17691: test_univnewlines now works with unittest test discovery. Patch by Zachary Ware.
Richard Oudkerk [Sat, 8 Jun 2013 15:52:29 +0000 (16:52 +0100)]
Issue #15528: Delay importing atexit until weakref.finalize() used.
Terry Jan Reedy [Sat, 8 Jun 2013 04:35:51 +0000 (00:35 -0400)]
#18151 null merge with 3.3.
Terry Jan Reedy [Sat, 8 Jun 2013 04:22:45 +0000 (00:22 -0400)]
#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
Łukasz Langa [Fri, 7 Jun 2013 20:54:03 +0000 (22:54 +0200)]
moved the single-dispatch generic function definitions to the glossary
Łukasz Langa [Fri, 7 Jun 2013 20:25:27 +0000 (22:25 +0200)]
Fixed #18150: duplicate test inside TestSingleDispatch
Thanks to Vajrasky Kok for the patch
Brett Cannon [Fri, 7 Jun 2013 17:26:53 +0000 (13:26 -0400)]
Issue #7732: Move an imp.find_module test from test_import to
test_imp.
Brett Cannon [Fri, 7 Jun 2013 17:18:36 +0000 (13:18 -0400)]
merge w/ 3.3 for issue #18055
Brett Cannon [Fri, 7 Jun 2013 17:17:48 +0000 (13:17 -0400)]
Issue #18055: Move to importlib from imp for IDLE.
Brett Cannon [Fri, 7 Jun 2013 15:45:41 +0000 (11:45 -0400)]
Issue #17314: Stop using imp in multiprocessing.forking and move over
to importlib.
Vinay Sajip [Fri, 7 Jun 2013 14:37:28 +0000 (15:37 +0100)]
Issue #17903: Added path search changes to launcher.
Vinay Sajip [Fri, 7 Jun 2013 14:21:41 +0000 (15:21 +0100)]
Closes #11959: SMTPServer and SMTPChannel now take an optional map, use of which avoids affecting global state.
Brett Cannon [Wed, 5 Jun 2013 22:37:50 +0000 (18:37 -0400)]
tweak exception message (again)
Richard Oudkerk [Wed, 5 Jun 2013 22:29:30 +0000 (23:29 +0100)]
Issue #17931: Resolve confusion on Windows between pids and process handles.
Terry Jan Reedy [Wed, 5 Jun 2013 18:36:50 +0000 (14:36 -0400)]
Merge with 3.3
Terry Jan Reedy [Wed, 5 Jun 2013 18:36:33 +0000 (14:36 -0400)]
Issue 18130: delete extra spaces
Terry Jan Reedy [Wed, 5 Jun 2013 18:23:53 +0000 (14:23 -0400)]
Merge with 3.3
Terry Jan Reedy [Wed, 5 Jun 2013 18:22:26 +0000 (14:22 -0400)]
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
Łukasz Langa [Wed, 5 Jun 2013 10:20:24 +0000 (12:20 +0200)]
Add reference implementation for PEP 443
PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
Victor Stinner [Wed, 5 Jun 2013 00:07:46 +0000 (02:07 +0200)]
Issue #13772: Use syntax for literal wchar_t character
Victor Stinner [Tue, 4 Jun 2013 23:49:17 +0000 (01:49 +0200)]
Issue #13772: Mark helper functions as private (static)
Cleanup also the code to follow the Python coding style (PEP 7).
Victor Stinner [Tue, 4 Jun 2013 23:30:25 +0000 (01:30 +0200)]
Issue #13772: Fix a compiler warning on Windows
Victor Stinner [Tue, 4 Jun 2013 23:18:13 +0000 (01:18 +0200)]
Issue #9566: Fix compilater warnings on Windows 64-bit
Victor Stinner [Tue, 4 Jun 2013 22:46:29 +0000 (00:46 +0200)]
Issue #9566: Fix compiler warning on Windows 64-bit
Victor Stinner [Tue, 4 Jun 2013 22:44:00 +0000 (00:44 +0200)]
Issue #9566: Fix compiler warning on Windows 64-bit
Victor Stinner [Tue, 4 Jun 2013 22:37:12 +0000 (00:37 +0200)]
Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions
Victor Stinner [Tue, 4 Jun 2013 22:35:54 +0000 (00:35 +0200)]
Issue #13772: Fix compiler warnings on Windows
Victor Stinner [Tue, 4 Jun 2013 22:22:34 +0000 (00:22 +0200)]
Issue #9566: Fix compiler warning on Windows 64-bit
Victor Stinner [Tue, 4 Jun 2013 22:21:31 +0000 (00:21 +0200)]
Issue #9566: Fix compiler warning on Windows 64-bit
Victor Stinner [Tue, 4 Jun 2013 22:13:51 +0000 (00:13 +0200)]
Issue #9566: Fix a compiler warning on Windows 64-bit in namespace_init()
The result type is int, return -1 to avoid a compiler warning (cast Py_ssize_t
to int). PyObject_Size() can only fail with -1, and anyway a constructor
should return -1 on error, not an arbitrary negative number.
Victor Stinner [Tue, 4 Jun 2013 22:11:34 +0000 (00:11 +0200)]
Issuse #17932: Fix an integer overflow issue on Windows 64-bit in tuple
iterators: change the C type of tupleiterobject.it_index from long to
Py_ssize_t.
Victor Stinner [Tue, 4 Jun 2013 21:56:38 +0000 (23:56 +0200)]
Close #17931: Fix PyLong_FromPid() on Windows 64-bit: processes are identified
by their HANDLE which is a pointer (and not a long, which is smaller).
Victor Stinner [Tue, 4 Jun 2013 21:18:48 +0000 (23:18 +0200)]
Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c
Brett Cannon [Tue, 4 Jun 2013 21:36:07 +0000 (17:36 -0400)]
merge
Brett Cannon [Tue, 4 Jun 2013 21:34:49 +0000 (17:34 -0400)]
Tweak at the suggestion of Ezio Melotti for exception messages when
EOF is hit while trying to read the header of a bytecode file.
Victor Stinner [Tue, 4 Jun 2013 21:14:37 +0000 (23:14 +0200)]
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
multiprocessing.h: remove unused MIN and MAX macros
Victor Stinner [Tue, 4 Jun 2013 21:02:46 +0000 (23:02 +0200)]
Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators:
change the C type of seqiterobject.it_index from long to Py_ssize_t.
Victor Stinner [Mon, 3 Jun 2013 20:09:14 +0000 (22:09 +0200)]
(Merge 3.3) Close #18109: os.uname() now decodes fields from the locale
encoding, and socket.gethostname() now decodes the hostname from the locale
encoding, instead of using the UTF-8 encoding in strict mode.
Victor Stinner [Mon, 3 Jun 2013 20:07:27 +0000 (22:07 +0200)]
Close #18109: os.uname() now decodes fields from the locale encoding, and
socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:47 +0000 (11:59 -0700)]
Fix #17967 - Fix related to regression on Windows.
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
Raymond Hettinger [Sun, 2 Jun 2013 17:03:05 +0000 (10:03 -0700)]
Clarify which dictionaries are updateable
by using the wording from the Py2.7 docs.
Senthil Kumaran [Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)]
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
Senthil Kumaran [Sat, 1 Jun 2013 15:27:06 +0000 (08:27 -0700)]
Fix #17967: For ftp urls CWD to target instead of hopping to each directory
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
Serhiy Storchaka [Fri, 31 May 2013 19:31:02 +0000 (22:31 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.
Terry Jan Reedy [Fri, 31 May 2013 00:55:52 +0000 (20:55 -0400)]
Issue #15392: Finish news entry.
Stefan Krah [Wed, 29 May 2013 18:58:19 +0000 (20:58 +0200)]
Support multiarch build in tests.
Stefan Krah [Wed, 29 May 2013 17:14:17 +0000 (19:14 +0200)]
Stefan Krah [Wed, 29 May 2013 13:45:38 +0000 (15:45 +0200)]
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
Senthil Kumaran [Wed, 29 May 2013 12:54:31 +0000 (05:54 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.
Terry Jan Reedy [Wed, 29 May 2013 02:21:53 +0000 (22:21 -0400)]
Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.
Ned Deily [Tue, 28 May 2013 23:35:30 +0000 (16:35 -0700)]
Issue #18080: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.
Serhiy Storchaka [Tue, 28 May 2013 19:46:15 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 13:24:45 +0000 (16:24 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
Serhiy Storchaka [Tue, 28 May 2013 12:50:15 +0000 (15:50 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
Serhiy Storchaka [Tue, 28 May 2013 12:27:29 +0000 (15:27 +0300)]
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
Serhiy Storchaka [Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)]
Issue #18079: Fix a typo in the tutorial.
Jason R. Coombs [Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)]
Use simple call to os.symlink for broken link (intended for previous commit)
Jason R. Coombs [Tue, 28 May 2013 03:21:28 +0000 (23:21 -0400)]
Issue #13772: Restored directory detection of targets in `os.symlink` on Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
Terry Jan Reedy [Tue, 28 May 2013 01:32:03 +0000 (21:32 -0400)]
Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
Ned Deily [Mon, 27 May 2013 01:53:39 +0000 (18:53 -0700)]
Fix typo in embedding doc and update examples to 3.3.
Antoine Pitrou [Sat, 25 May 2013 21:47:29 +0000 (23:47 +0200)]
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().
Brett Cannon [Sat, 25 May 2013 15:32:50 +0000 (11:32 -0400)]
Mention __cached__ in the import ref.
Brett Cannon [Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)]
Add a missing parenthesis.
Brett Cannon [Sat, 25 May 2013 15:26:11 +0000 (11:26 -0400)]
Various tweaks to importlib docs.
Eli Bendersky [Sat, 25 May 2013 14:12:14 +0000 (07:12 -0700)]
Clean-up duplicated code in tests
Eli Bendersky [Sat, 25 May 2013 12:25:48 +0000 (05:25 -0700)]
Issue #13612: handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 25 May 2013 11:08:13 +0000 (13:08 +0200)]
Fix test_bad_address on Ubuntu 13.04
Benjamin Peterson [Fri, 24 May 2013 21:35:57 +0000 (14:35 -0700)]
indicate that read/write work with bytes (closes #18009)
Brett Cannon [Fri, 24 May 2013 12:05:07 +0000 (08:05 -0400)]
Issue #17953: document that sys.modules shouldn't be replaced (thanks
to interp->modules) and that deleting essential items from the dict
can cause Python to blow up.
Thanks to Terry Reedy for coming up with initial wording and Yogesh
Chaudhari for coming up with a patch using that wording in parallel to
my own patch.
Ronald Oussoren [Fri, 24 May 2013 11:47:37 +0000 (13:47 +0200)]
Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
Senthil Kumaran [Thu, 23 May 2013 12:27:38 +0000 (05:27 -0700)]
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3
Nick Coghlan [Thu, 23 May 2013 10:24:02 +0000 (20:24 +1000)]
Issue 17844: Clarify meaning of different codec tables
Raymond Hettinger [Thu, 23 May 2013 07:14:47 +0000 (00:14 -0700)]
Issue #18031: %-formatting isn't dead yet and might pull through.
Ned Deily [Wed, 22 May 2013 22:19:40 +0000 (15:19 -0700)]
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Benjamin Peterson [Wed, 22 May 2013 20:27:25 +0000 (13:27 -0700)]
add test for inequality
Serhiy Storchaka [Wed, 22 May 2013 14:07:51 +0000 (17:07 +0300)]
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.