]>
granicus.if.org Git - python/log
Barry Warsaw [Mon, 30 Sep 2013 20:46:25 +0000 (16:46 -0400)]
null merge
Barry Warsaw [Mon, 30 Sep 2013 20:45:40 +0000 (16:45 -0400)]
Fix typo in NEWS file.
Antoine Pitrou [Mon, 30 Sep 2013 20:13:17 +0000 (22:13 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
Barry Warsaw [Mon, 30 Sep 2013 19:58:28 +0000 (15:58 -0400)]
merge heads
Barry Warsaw [Mon, 30 Sep 2013 19:57:29 +0000 (15:57 -0400)]
null merge
Barry Warsaw [Mon, 30 Sep 2013 19:56:29 +0000 (15:56 -0400)]
- Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much member. Patch by Jyrki
Pulliainen.
Antoine Pitrou [Mon, 30 Sep 2013 19:35:44 +0000 (21:35 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.
Martin v. Löwis [Mon, 30 Sep 2013 14:18:31 +0000 (16:18 +0200)]
Add fake buildbottouch target.
Senthil Kumaran [Mon, 30 Sep 2013 01:57:42 +0000 (18:57 -0700)]
Code improvement. Review comment by Eric V. Smith
Barry Warsaw [Sun, 29 Sep 2013 18:01:22 +0000 (14:01 -0400)]
null merge
Barry Warsaw [Sun, 29 Sep 2013 18:00:06 +0000 (14:00 -0400)]
null merge
Barry Warsaw [Sun, 29 Sep 2013 17:59:06 +0000 (13:59 -0400)]
- Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read. Adapted from patch by Jyrki Pulliainen.
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.
Richard Oudkerk [Sun, 29 Sep 2013 16:10:40 +0000 (17:10 +0100)]
Issue #19112: avoid using function defined in method.
Benjamin Peterson [Sun, 29 Sep 2013 15:15:31 +0000 (11:15 -0400)]
remove duplicate method (closes #19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:27 +0000 (11:13 -0400)]
condense two tests with the same name (closes #19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:08:04 +0000 (11:08 -0400)]
move helper function into its test method (closes #19112)
Antoine Pitrou [Sat, 28 Sep 2013 23:48:40 +0000 (01:48 +0200)]
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.
Benjamin Peterson [Sat, 28 Sep 2013 19:12:37 +0000 (15:12 -0400)]
fix duplicate test names (closes #19115)
Patch by Xavier de Gaye.
Serhiy Storchaka [Sat, 28 Sep 2013 18:31:36 +0000 (21:31 +0300)]
Issue #18950: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream. Au_write.writeframesraw() now
correctly updates current file position. Au_read and Au_write now correctly
work with file object if start file position is not a zero.
Barry Warsaw [Wed, 25 Sep 2013 14:42:27 +0000 (10:42 -0400)]
null merge
Barry Warsaw [Wed, 25 Sep 2013 13:36:58 +0000 (09:36 -0400)]
- Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
with test fixes by Serhiy Storchaka.
Barry Warsaw [Sun, 22 Sep 2013 20:26:09 +0000 (16:26 -0400)]
null merge
Barry Warsaw [Sun, 22 Sep 2013 20:07:09 +0000 (16:07 -0400)]
- Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to
limit line length. Patch by Emil Lind.
Georg Brandl [Sun, 22 Sep 2013 09:45:02 +0000 (11:45 +0200)]
Closes #19043: remove detailed listing of versions from license files
Since all versions since 2.2 are under the same licensing terms,
this saves the release manager from touching the two files for
every new minor release.
Georg Brandl [Sun, 22 Sep 2013 09:43:10 +0000 (11:43 +0200)]
Closes #19061: make shelve security warning consistent between 2.x and 3.x.
Nick Coghlan [Sun, 22 Sep 2013 09:36:09 +0000 (19:36 +1000)]
This check can still fail on RHEL6
Serhiy Storchaka [Fri, 20 Sep 2013 18:25:53 +0000 (21:25 +0300)]
Issue #18050: Fixed an incompatibility of the re module with Python 2.7.3
and older binaries.
R David Murray [Wed, 18 Sep 2013 12:50:11 +0000 (08:50 -0400)]
Merge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:49:25 +0000 (08:49 -0400)]
#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:35:45 +0000 (08:35 -0400)]
#19037: adjust file times *before* moving maildir files into place.
This avoids race conditions when other programs are monitoring
the maildir directory. Patch by janzert.
R David Murray [Wed, 18 Sep 2013 00:10:23 +0000 (20:10 -0400)]
Merge: Add versionchanged for #14984, remove extra blank from string.
R David Murray [Wed, 18 Sep 2013 00:08:09 +0000 (20:08 -0400)]
Add versionchanged for #14984, remove extra blank from string.
Serhiy Storchaka [Tue, 17 Sep 2013 07:09:08 +0000 (10:09 +0300)]
Remove the use of non-existing re.ASCII.
(fixes a regression in
3d46ef0c62c5 , issue #18873)
Serhiy Storchaka [Mon, 16 Sep 2013 21:00:46 +0000 (00:00 +0300)]
Issue #18873: IDLE, 2to3, and the findnocoding.py script now detect Python
source code encoding only in comment lines.
R David Murray [Mon, 16 Sep 2013 18:32:54 +0000 (14:32 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Mon, 16 Sep 2013 17:48:44 +0000 (13:48 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
Eli Bendersky [Sun, 15 Sep 2013 19:08:14 +0000 (12:08 -0700)]
Close #18945: Add tests for tempfile name collision handling.
Patch by Vlad Shcherbina
Andrew Kuchling [Sun, 15 Sep 2013 17:24:05 +0000 (13:24 -0400)]
Null merge with 2.6
Andrew Kuchling [Sun, 15 Sep 2013 17:11:47 +0000 (13:11 -0400)]
#16042: CVE-2013-1752: Limit amount of data read by limiting the call to readline().
The SSLFakeFile.readline() method needs to support limiting readline() as
well. It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.
Modified version of original patch by Christian Heimes.
Raymond Hettinger [Sun, 15 Sep 2013 05:17:39 +0000 (22:17 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError
Ezio Melotti [Fri, 13 Sep 2013 20:52:12 +0000 (23:52 +0300)]
#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).
Ezio Melotti [Fri, 13 Sep 2013 19:55:08 +0000 (22:55 +0300)]
Fix markup in email.parser docs.
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.
Senthil Kumaran [Fri, 13 Sep 2013 07:18:55 +0000 (00:18 -0700)]
Fix SimpleHTTPServer's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
Serhiy Storchaka [Fri, 13 Sep 2013 04:52:00 +0000 (07:52 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
Senthil Kumaran [Thu, 12 Sep 2013 05:56:34 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:52:58 +0000 (22:52 -0700)]
Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927
Serhiy Storchaka [Wed, 11 Sep 2013 19:49:06 +0000 (22:49 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.
Senthil Kumaran [Tue, 10 Sep 2013 05:38:58 +0000 (22:38 -0700)]
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
Mark Dickinson [Mon, 9 Sep 2013 09:32:08 +0000 (10:32 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.
Serhiy Storchaka [Sun, 8 Sep 2013 17:43:16 +0000 (20:43 +0300)]
Fix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:32:56 +0000 (20:32 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).
Senthil Kumaran [Sun, 8 Sep 2013 06:18:53 +0000 (23:18 -0700)]
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Addresses issue #18438
Michael Foord [Sun, 8 Sep 2013 03:34:27 +0000 (15:34 +1200)]
Closes issue 14971.
unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.
Senthil Kumaran [Sun, 8 Sep 2013 00:50:35 +0000 (17:50 -0700)]
Correct Profile class usage example. Addresses issue #18033 .
Patch contributed by Olivier Hervieu and Dmi Baranov.
Senthil Kumaran [Sat, 7 Sep 2013 18:27:45 +0000 (11:27 -0700)]
os.isatty is not Unix only. Correct the wrong documentation.
Addresses issue #18553
Ezio Melotti [Sat, 7 Sep 2013 12:23:36 +0000 (15:23 +0300)]
#18895: split a sentence in unittest docs.
Ezio Melotti [Sat, 7 Sep 2013 12:19:30 +0000 (15:19 +0300)]
#18894: remove mention of deprecated fail* methods.
Eli Bendersky [Fri, 6 Sep 2013 13:17:15 +0000 (06:17 -0700)]
Close #18849: Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
Vinay Sajip [Fri, 6 Sep 2013 09:24:08 +0000 (10:24 +0100)]
Issue #18941: Respected delay when doing rollover.
Vinay Sajip [Fri, 6 Sep 2013 09:09:45 +0000 (10:09 +0100)]
Issue #18940: Handled low-volume logging when delay is True.
Vinay Sajip [Thu, 5 Sep 2013 21:57:20 +0000 (22:57 +0100)]
Issue #18933: Added links to source code.
Serhiy Storchaka [Thu, 5 Sep 2013 15:02:57 +0000 (18:02 +0300)]
Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
Serhiy Storchaka [Thu, 5 Sep 2013 14:30:56 +0000 (17:30 +0300)]
Merge heads
Serhiy Storchaka [Thu, 5 Sep 2013 14:28:10 +0000 (17:28 +0300)]
Issue #18830: inspect.getclasstree() no more produces duplicated entries even
when input list contains duplicates.
Christian Heimes [Thu, 5 Sep 2013 14:05:50 +0000 (16:05 +0200)]
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
Christian Heimes [Thu, 5 Sep 2013 14:04:35 +0000 (16:04 +0200)]
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
Victor Stinner [Wed, 4 Sep 2013 22:26:15 +0000 (00:26 +0200)]
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
Antoine Pitrou [Wed, 4 Sep 2013 18:46:33 +0000 (20:46 +0200)]
Issue #18876: The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
Patch by Erik Bray.
Tim Peters [Tue, 3 Sep 2013 16:39:06 +0000 (11:39 -0500)]
Null merge of 2.6 into 2.7.
Changeset
25683ceaf341 left a new head on 2.6.
Eli Bendersky [Tue, 3 Sep 2013 13:41:58 +0000 (06:41 -0700)]
Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
Christian Heimes [Tue, 3 Sep 2013 12:47:00 +0000 (14:47 +0200)]
Python 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION
Benjamin Peterson [Sun, 1 Sep 2013 23:06:35 +0000 (19:06 -0400)]
document that various functions that parse from source will interpret things as latin-1 (closes #18870)
Terry Jan Reedy [Sun, 1 Sep 2013 01:14:00 +0000 (21:14 -0400)]
Silence deprecation warning in test_mmap for ValueError.message.
Replacement is from 3.3, with 'p' added to make '...Regexp'.
Terry Jan Reedy [Sun, 1 Sep 2013 00:37:21 +0000 (20:37 -0400)]
Silence deprecation warning in test_unittest for 'None > 1'.
This is the same change that was made in 3.x when this became an error.
Terry Jan Reedy [Sat, 31 Aug 2013 20:27:08 +0000 (16:27 -0400)]
Issue #18489: Add complete, gui-free tests for idlelib.SearchEngine.
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
Antoine Pitrou [Fri, 30 Aug 2013 21:38:13 +0000 (23:38 +0200)]
Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting.
Charles-François Natali [Fri, 30 Aug 2013 21:30:50 +0000 (23:30 +0200)]
Issue #18418: After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
Charles-François Natali [Thu, 29 Aug 2013 17:26:12 +0000 (19:26 +0200)]
Merge.
Charles-François Natali [Thu, 29 Aug 2013 17:00:30 +0000 (19:00 +0200)]
Issue #18643: Fix some test_socket failures due to large default socket buffer
sizes.
Serhiy Storchaka [Thu, 29 Aug 2013 08:44:44 +0000 (11:44 +0300)]
Issue #18743: Improved cross-references to the StringIO class.
Serhiy Storchaka [Thu, 29 Aug 2013 07:34:23 +0000 (10:34 +0300)]
Issue #18760: Improved cross-references in the xml package.
Ezio Melotti [Mon, 26 Aug 2013 11:00:39 +0000 (14:00 +0300)]
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
Ezio Melotti [Sun, 25 Aug 2013 22:31:30 +0000 (01:31 +0300)]
#18803: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sun, 25 Aug 2013 20:56:43 +0000 (23:56 +0300)]
#18833: add a test for test_telnetlib. Patch by Alex Volkov.
Tim Peters [Sun, 25 Aug 2013 16:53:55 +0000 (11:53 -0500)]
Null merge of 2.6 into 2.7.
Changeset
50803d881a92 left a new dangling head on 2.6, and the
change was applied separately to 2.7 in changeset
1cd24ea5abeb .
Charles-François Natali [Sun, 25 Aug 2013 16:27:34 +0000 (18:27 +0200)]
Merge.
Charles-François Natali [Sun, 25 Aug 2013 16:22:49 +0000 (18:22 +0200)]
Issue #18763: subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
Serhiy Storchaka [Sun, 25 Aug 2013 16:12:33 +0000 (19:12 +0300)]
Issue #18817: Fix a resource warning in Lib/aifc.py demo.
Christian Heimes [Sun, 25 Aug 2013 12:57:00 +0000 (14:57 +0200)]
Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
Christian Heimes [Sun, 25 Aug 2013 12:44:27 +0000 (14:44 +0200)]
Fix test
Christian Heimes [Sun, 25 Aug 2013 12:19:16 +0000 (14:19 +0200)]
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
Christian Heimes [Sun, 25 Aug 2013 12:12:41 +0000 (14:12 +0200)]
Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
Christian Heimes [Sun, 25 Aug 2013 12:12:41 +0000 (14:12 +0200)]
Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
Tim Peters [Sat, 24 Aug 2013 20:15:19 +0000 (15:15 -0500)]
Various clarifications based on feedback & questions over the years.
Antoine Pitrou [Sat, 24 Aug 2013 18:52:27 +0000 (20:52 +0200)]
Issue #18756: make test_urandom_failure more robust by executing its code in a subprocess
Serhiy Storchaka [Fri, 23 Aug 2013 21:28:38 +0000 (00:28 +0300)]
Issue #18757: Improved cross-references in the concurrent package.
Ezio Melotti [Fri, 23 Aug 2013 20:06:31 +0000 (23:06 +0300)]
#18798: fix typo in test_fcntl. Patch by Vajrasky Kok.
Barry Warsaw [Fri, 23 Aug 2013 17:38:02 +0000 (13:38 -0400)]
null merge with 2.6