]>
granicus.if.org Git - python/log
Raymond Hettinger [Sun, 6 Oct 2013 04:34:48 +0000 (21:34 -0700)]
Issue 14927: Minor clean-up of function parameters in random().
Tim Peters [Sat, 5 Oct 2013 21:53:52 +0000 (16:53 -0500)]
Issue #19171: speed some cases of 3-argument long pow().
Reduce the base by the modulus when the base is larger than
the modulus. This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus. Original patch
by Armin Rigo, inspired by https://github.com/pyca/
ed25519 .
(grafted from
f34c59494420765b013136ca93f63b716d9f1d30 )
Ezio Melotti [Sat, 5 Oct 2013 22:02:09 +0000 (01:02 +0300)]
#19074: mention PySide in the GUI FAQs.
Ezio Melotti [Sat, 5 Oct 2013 21:44:32 +0000 (00:44 +0300)]
#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)]
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 00:01:37 +0000 (03:01 +0300)]
#19166: use an unused var in a test. Patch by Vajrasky Kok.
Benjamin Peterson [Fri, 4 Oct 2013 14:55:15 +0000 (10:55 -0400)]
dict is also allowed (closes #19163)
Serhiy Storchaka [Thu, 3 Oct 2013 09:08:22 +0000 (12:08 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.
Ned Deily [Wed, 2 Oct 2013 19:20:18 +0000 (12:20 -0700)]
Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.
Martin v. Löwis [Wed, 2 Oct 2013 15:03:05 +0000 (17:03 +0200)]
Drop buildbottouch again; the master is using "make touch" now.
Serhiy Storchaka [Wed, 2 Oct 2013 08:40:26 +0000 (11:40 +0300)]
Issue #19137: The pprint module now correctly formats empty set and frozenset
and instances of set and frozenset subclasses.
Barry Warsaw [Tue, 1 Oct 2013 15:39:08 +0000 (11:39 -0400)]
2.6 merge
Barry Warsaw [Tue, 1 Oct 2013 15:38:38 +0000 (11:38 -0400)]
Typo caught by : Arfrever Frehtes Taifersar Arahesis.
Senthil Kumaran [Tue, 1 Oct 2013 05:10:44 +0000 (22:10 -0700)]
Minor doc fix in urlparse.rst
Barry Warsaw [Tue, 1 Oct 2013 01:50:21 +0000 (21:50 -0400)]
null merge
Barry Warsaw [Tue, 1 Oct 2013 01:49:31 +0000 (21:49 -0400)]
post release bump
Barry Warsaw [Tue, 1 Oct 2013 00:45:52 +0000 (20:45 -0400)]
2.6.9rc1 tag
Barry Warsaw [Tue, 1 Oct 2013 00:37:58 +0000 (20:37 -0400)]
Added tag v2.6.9rc1 for changeset
a0025037f11a
Barry Warsaw [Tue, 1 Oct 2013 00:37:45 +0000 (20:37 -0400)]
Bump copyright years.
Barry Warsaw [Tue, 1 Oct 2013 00:34:29 +0000 (20:34 -0400)]
Bump to 2.6.9rc1
Barry Warsaw [Tue, 1 Oct 2013 00:31:56 +0000 (20:31 -0400)]
Regenerate pydoc_topics.py
Barry Warsaw [Mon, 30 Sep 2013 23:09:29 +0000 (19:09 -0400)]
- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
Barry Warsaw [Mon, 30 Sep 2013 22:35:15 +0000 (18:35 -0400)]
- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
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.