]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Benjamin Peterson [Tue, 25 Jun 2013 18:34:48 +0000 (11:34 -0700)]
Benjamin Peterson [Tue, 25 Jun 2013 18:26:20 +0000 (11:26 -0700)]
Benjamin Peterson [Tue, 25 Jun 2013 18:25:26 +0000 (11:25 -0700)]
Victor Stinner [Mon, 24 Jun 2013 22:48:02 +0000 (00:48 +0200)]
Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input
string in longer than 2 gigabytes. The ssl module does not support partial
write.
Ned Deily [Mon, 24 Jun 2013 21:21:43 +0000 (14:21 -0700)]
Issue #18164: Backport the more detailed embedding compile-and-link section
from the Python 3 documentation.
Richard Oudkerk [Mon, 24 Jun 2013 19:38:22 +0000 (20:38 +0100)]
Fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 17:11:21 +0000 (18:11 +0100)]
Clarify note and fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 14:41:36 +0000 (15:41 +0100)]
Issue #15818: Typo in docs.
Richard Oudkerk [Mon, 24 Jun 2013 13:45:24 +0000 (14:45 +0100)]
Issue #18277: Document quirks of multiprocessing queue.
R David Murray [Sun, 23 Jun 2013 20:12:32 +0000 (16:12 -0400)]
Merge heads.
R David Murray [Sun, 23 Jun 2013 20:10:37 +0000 (16:10 -0400)]
#18179: reflow paragraphs.
R David Murray [Sun, 23 Jun 2013 20:02:34 +0000 (16:02 -0400)]
#18179: document the local_hostname parameter.
Original patch by Berker Peksag.
Benjamin Peterson [Sun, 23 Jun 2013 18:38:11 +0000 (11:38 -0700)]
also backout
f1dc30a1be72 for not being a bugfix
Serhiy Storchaka [Sun, 23 Jun 2013 17:22:09 +0000 (20:22 +0300)]
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.
Christian Heimes [Sun, 23 Jun 2013 14:27:01 +0000 (16:27 +0200)]
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.
Victor Stinner [Sun, 23 Jun 2013 13:15:10 +0000 (15:15 +0200)]
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
for strings longer than 2 gigabytes.
Victor Stinner [Sun, 23 Jun 2013 12:56:57 +0000 (14:56 +0200)]
Issue #18137: Detect integer overflow on precision in float.__format__()
and complex.__format__().
Terry Jan Reedy [Sat, 22 Jun 2013 22:26:38 +0000 (18:26 -0400)]
#18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
Benjamin Peterson [Sat, 22 Jun 2013 18:16:36 +0000 (11:16 -0700)]
backout
5accb0ac8bfb ; needs more discussion on python-dev
Christian Heimes [Sat, 22 Jun 2013 16:58:51 +0000 (18:58 +0200)]
transplant test_stat from default to 2.7 in order to make sure it works on all supported platforms
Andrew Kuchling [Sat, 22 Jun 2013 16:33:05 +0000 (12:33 -0400)]
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
Raymond Hettinger [Sat, 22 Jun 2013 07:51:01 +0000 (00:51 -0700)]
Arrange structure to match the common access patterns.
R David Murray [Wed, 19 Jun 2013 21:00:43 +0000 (17:00 -0400)]
Tweak programming faq examples so that it (mostly) passes doctest.
Back port of
0113247f894b from 3.3.
The exceptions are the import related questions at the end, which
need to be rewritten anyway, and a math example that doesn't
exist in the 3.3+ docs that I didn't bother trying to fix.
Antoine Pitrou [Tue, 18 Jun 2013 20:17:48 +0000 (22:17 +0200)]
Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
Christian Heimes [Tue, 18 Jun 2013 11:25:24 +0000 (13:25 +0200)]
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
Victor Stinner [Mon, 17 Jun 2013 20:03:35 +0000 (22:03 +0200)]
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Serhiy Storchaka [Mon, 17 Jun 2013 13:33:48 +0000 (16:33 +0300)]
Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
when \r\n appears at end of 65535 bytes without other newlines.
Andrew Kuchling [Sat, 15 Jun 2013 17:53:10 +0000 (13:53 -0400)]
#18113: Objects associated to a curses.panel object with set_userptr() were leaked.
Reported by Atsuo Ishimoto.
Raymond Hettinger [Fri, 14 Jun 2013 05:06:33 +0000 (01:06 -0400)]
Fix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
Roger Serwy [Wed, 12 Jun 2013 03:13:17 +0000 (22:13 -0500)]
#5492: Avoid traceback when exiting IDLE caused by a race condition.
Ned Deily [Tue, 11 Jun 2013 22:00:21 +0000 (15:00 -0700)]
Issue #18186: remove obsolete 2.2 compatibility comment.
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.
Richard Oudkerk [Mon, 10 Jun 2013 15:27:45 +0000 (16:27 +0100)]
Issue #18174: Fix fd leaks in tests.
Ronald Oussoren [Mon, 10 Jun 2013 08:35:36 +0000 (10:35 +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 13:54:56 +0000 (16:54 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
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.
Terry Jan Reedy [Wed, 5 Jun 2013 18:24:42 +0000 (14:24 -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.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:09 +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.
Senthil Kumaran [Sat, 1 Jun 2013 18:11:30 +0000 (11:11 -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:24:31 +0000 (08:24 -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.
Senthil Kumaran [Sat, 1 Jun 2013 14:59:10 +0000 (07:59 -0700)]
Fix #16450 test_missing_localfile testcase fails on misconfigured hostname.
Refactor test to accomodate that and exercise the needed functionality.
Serhiy Storchaka [Fri, 31 May 2013 19:34:53 +0000 (22:34 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.
Terry Jan Reedy [Thu, 30 May 2013 22:24:28 +0000 (18:24 -0400)]
Issue #15392: Use test.test_support, as used test.support in 3.x.
Terry Jan Reedy [Thu, 30 May 2013 18:47:33 +0000 (14:47 -0400)]
Issue #15392: Create a unittest framework for IDLE, 2.7 version.
Preliminary patch by Rajagopalasarma Jayakrishnan.
Ned Deily [Thu, 30 May 2013 07:14:29 +0000 (00:14 -0700)]
Issue #18098: The deprecated OS X Build Applet.app fails to build on
OS X 10.8 systems because the Apple-deprecated QuickDraw headers have
been removed from Xcode 4. Skip building it in this case.
Senthil Kumaran [Wed, 29 May 2013 12:58:47 +0000 (05:58 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.
Ned Deily [Tue, 28 May 2013 23:31:45 +0000 (16:31 -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 2.7.3 and inadvertently dropped in 2.7.4.
Serhiy Storchaka [Tue, 28 May 2013 19:46:51 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Raymond Hettinger [Mon, 27 May 2013 17:58:55 +0000 (10:58 -0700)]
Issue #18015: Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
Ronald Oussoren [Fri, 24 May 2013 11:45:27 +0000 (13:45 +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.
Raymond Hettinger [Thu, 23 May 2013 07:12:14 +0000 (00:12 -0700)]
Issue #18031: %-formatting isn't dead yet and might pull through.
Ned Deily [Wed, 22 May 2013 22:16:17 +0000 (15:16 -0700)]
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Benjamin Peterson [Wed, 22 May 2013 20:25:41 +0000 (13:25 -0700)]
implement missing inequality on WeakSet
Serhiy Storchaka [Wed, 22 May 2013 12:28:30 +0000 (15:28 +0300)]
Issue #17844: Refactor a documentation of Python specific encodings.
Add links to encoders and decoders for binary-to-binary codecs.
Serhiy Storchaka [Tue, 21 May 2013 19:53:33 +0000 (22:53 +0300)]
Issue #17979: Fixed the re module in build with --disable-unicode.
R David Murray [Tue, 21 May 2013 15:46:18 +0000 (11:46 -0400)]
#17973: fix technical inaccuracy in faq entry (it now passes doctest).
Roger Serwy [Tue, 21 May 2013 03:13:39 +0000 (22:13 -0500)]
#14146: Highlight source line while debugging on Windows.
Ned Deily [Mon, 20 May 2013 21:27:06 +0000 (14:27 -0700)]
Issue #18026: fix ctypes doc typo
R David Murray [Mon, 20 May 2013 14:34:58 +0000 (10:34 -0400)]
#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
This has come up often enough now on the tracker that it deserves a FAQ entry.
Benjamin Peterson [Mon, 20 May 2013 02:38:12 +0000 (19:38 -0700)]
add missing NULL check (closes #18019)
Antoine Pitrou [Sun, 19 May 2013 13:44:54 +0000 (15:44 +0200)]
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.
Vinay Sajip [Thu, 16 May 2013 21:47:47 +0000 (22:47 +0100)]
Issue #17981: Closed socket on error in SysLogHandler.
Ned Deily [Thu, 16 May 2013 01:00:45 +0000 (18:00 -0700)]
Issue #17990: Only modify include and library search paths when cross-compiling.
doko@ubuntu.com [Wed, 15 May 2013 14:54:16 +0000 (16:54 +0200)]
- Fix typos in the multiprocessing module.
doko@ubuntu.com [Wed, 15 May 2013 13:46:11 +0000 (15:46 +0200)]
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
Serhiy Storchaka [Sun, 12 May 2013 14:29:34 +0000 (17:29 +0300)]
Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods. Original patch by Sebastian
Ortiz Vasquez.
Benjamin Peterson [Sun, 12 May 2013 03:36:05 +0000 (22:36 -0500)]
onto 2.7.6
Benjamin Peterson [Sun, 12 May 2013 03:31:46 +0000 (22:31 -0500)]
Added tag v2.7.5 for changeset
ab05e7dd2788
Benjamin Peterson [Sun, 12 May 2013 03:31:33 +0000 (22:31 -0500)]
update topics
Benjamin Peterson [Sun, 12 May 2013 03:29:20 +0000 (22:29 -0500)]
bump version to 2.7.5
Benjamin Peterson [Sun, 12 May 2013 03:24:28 +0000 (22:24 -0500)]
prevent IDLE from trying to close when sys.stdin is reassigned (#17838)
Benjamin Peterson [Sat, 11 May 2013 18:17:13 +0000 (13:17 -0500)]
backout
214d8909513d for regressions (#
1159051 )
Benjamin Peterson [Sat, 11 May 2013 18:00:05 +0000 (13:00 -0500)]
-Wformat is needed by gcc 4.8 (closes #17547)
Ezio Melotti [Fri, 10 May 2013 16:57:04 +0000 (19:57 +0300)]
#17949: fix merge glitch in itemgetter signature. Patch by Martijn Pieters.
Andrew Kuchling [Fri, 10 May 2013 00:55:22 +0000 (20:55 -0400)]
#14878: add cross-reference to the yield statement.
(Backported from 3.x by Jan Duzinkiewicz.)
Serhiy Storchaka [Thu, 9 May 2013 11:22:05 +0000 (14:22 +0300)]
Issue #16601: Restarting iteration over tarfile no more continues from where
it left off. Patch by Michael Birtwell.
Terry Jan Reedy [Thu, 9 May 2013 03:42:41 +0000 (23:42 -0400)]
Issue 16584: in filecomp._cmp, catch IOError as well as os.error.
Patch by Till Maas.
Serhiy Storchaka [Wed, 8 May 2013 18:52:31 +0000 (21:52 +0300)]
Issue #17656: Skip test_extract_unicode_filenames if the FS encoding
doesn't support non-ASCII filenames.
Ezio Melotti [Wed, 8 May 2013 07:53:11 +0000 (10:53 +0300)]
#16523: improve attrgetter/itemgetter/methodcaller documentation.
Antoine Pitrou [Wed, 8 May 2013 01:23:10 +0000 (03:23 +0200)]
Fix NEWS order
Antoine Pitrou [Wed, 8 May 2013 00:07:13 +0000 (02:07 +0200)]
Issue #17928: Fix test_structmembers on 64-bit big-endian machines.
(_testcapi isn't Py_ssize_t-clean, the "s#" code should use an int for length)
Antoine Pitrou [Tue, 7 May 2013 23:51:37 +0000 (01:51 +0200)]
Issue #17926: Fix dbm.__contains__ on 64-bit big-endian machines.
Ezio Melotti [Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)]
#17714: document that the base64 codec adds a trailing newline.
Ezio Melotti [Tue, 7 May 2013 06:34:49 +0000 (09:34 +0300)]
#17833: add debug output to investigate buildbot failure.
Raymond Hettinger [Tue, 7 May 2013 01:21:10 +0000 (18:21 -0700)]
Issue 17920: Fix-up terminology in the set documentation
Antoine Pitrou [Mon, 6 May 2013 20:19:48 +0000 (22:19 +0200)]
Issue #17918: When using SSLSocket.accept(), if the SSL handshake failed on the new socket, the socket would linger indefinitely.
Thanks to Peter Saveliev for reporting.
Antoine Pitrou [Mon, 6 May 2013 19:51:03 +0000 (21:51 +0200)]
Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.
Charles-Francois Natali [Mon, 6 May 2013 19:21:57 +0000 (21:21 +0200)]
Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.
Richard Oudkerk [Mon, 6 May 2013 11:04:28 +0000 (12:04 +0100)]
Issue #17805: Add AsyncResult alias for ApplyResult
Terry Jan Reedy [Mon, 6 May 2013 03:22:19 +0000 (23:22 -0400)]
Issue17883: Update to assertIn to see why test fails on one buildbot.
Raymond Hettinger [Mon, 6 May 2013 02:45:42 +0000 (19:45 -0700)]
Issue 17862: Improve the signature of itertools grouper() recipe.
Putting *n* after the *iterable* matches the signature of other itertools
and recipes. Also, it reads better.
Suggested by Ezio Melotti.
Ezio Melotti [Sun, 5 May 2013 19:36:09 +0000 (22:36 +0300)]
#17883: Fix buildbot testing of Tkinter on Windows. Patch by Zachary Ware.
Antoine Pitrou [Sat, 4 May 2013 21:16:59 +0000 (23:16 +0200)]
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Antoine Pitrou [Sat, 4 May 2013 18:18:34 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.
Ezio Melotti [Sat, 4 May 2013 14:59:03 +0000 (17:59 +0300)]
#7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
Serhiy Storchaka [Sat, 4 May 2013 12:11:46 +0000 (15:11 +0300)]
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Raymond Hettinger [Fri, 3 May 2013 07:59:20 +0000 (00:59 -0700)]
Issue #15535: Fix regression in pickling of named tuples.
Senthil Kumaran [Thu, 2 May 2013 12:50:21 +0000 (05:50 -0700)]
# 1722 - Add a note on urllib helper functions like splittype, splithost etc.
Ezio Melotti [Wed, 1 May 2013 11:13:05 +0000 (14:13 +0300)]
#16518: fix links in glossary entry.
Antoine Pitrou [Tue, 30 Apr 2013 22:15:44 +0000 (00:15 +0200)]
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.