Commit Graph

77361 Commits

Author SHA1 Message Date
Senthil Kumaran 34f7c4ee80 Minor doc fix in urlparse.rst 2013-09-30 22:10:44 -07:00
Barry Warsaw 5e0fae964b null merge 2013-09-30 21:50:21 -04:00
Barry Warsaw 6e279eeee0 post release bump 2013-09-30 21:49:31 -04:00
Barry Warsaw a11fafe819 2.6.9rc1 tag 2013-09-30 20:45:52 -04:00
Barry Warsaw c1d9b2d3f5 Added tag v2.6.9rc1 for changeset a0025037f11a 2013-09-30 20:37:58 -04:00
Barry Warsaw 9bf51fefd0 Bump copyright years. 2013-09-30 20:37:45 -04:00
Barry Warsaw be1950d059 Bump to 2.6.9rc1 2013-09-30 20:34:29 -04:00
Barry Warsaw 290df2ced8 Regenerate pydoc_topics.py 2013-09-30 20:31:56 -04:00
Barry Warsaw d5849f545e - 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.
2013-09-30 19:09:29 -04:00
Barry Warsaw 42faa55124 - 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.
2013-09-30 18:35:15 -04:00
Barry Warsaw c038c41dc4 null merge 2013-09-30 16:46:25 -04:00
Barry Warsaw e763a91f6a Fix typo in NEWS file. 2013-09-30 16:45:40 -04:00
Antoine Pitrou 923852857d Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
2013-09-30 22:13:17 +02:00
Barry Warsaw e85f4e3174 merge heads 2013-09-30 15:58:28 -04:00
Barry Warsaw c7708a5533 null merge 2013-09-30 15:57:29 -04:00
Barry Warsaw c545a5ebd6 - 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.
2013-09-30 15:56:29 -04:00
Antoine Pitrou 59db34e4d5 Add a "skull and crossbones" to Py_AddPendingCall. 2013-09-30 21:35:44 +02:00
Martin v. Löwis 5ddb0a30fd Add fake buildbottouch target. 2013-09-30 16:18:31 +02:00
Senthil Kumaran a719eed4d9 Code improvement. Review comment by Eric V. Smith 2013-09-29 18:57:42 -07:00
Barry Warsaw ffa4987245 null merge 2013-09-29 14:01:22 -04:00
Barry Warsaw 7472b1d3ae null merge 2013-09-29 14:00:06 -04:00
Barry Warsaw 6c1bb7b4e3 - Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read.  Adapted from patch by Jyrki Pulliainen.
2013-09-29 13:59:06 -04:00
Antoine Pitrou 87c99a0d37 Properly initialize all fields of a SSL object after allocation. 2013-09-29 19:52:45 +02:00
Richard Oudkerk c54960723f Issue #19112: avoid using function defined in method. 2013-09-29 17:10:40 +01:00
Benjamin Peterson 61f901c882 remove duplicate method (closes #19127) 2013-09-29 11:15:31 -04:00
Benjamin Peterson 0e234e60e6 condense two tests with the same name (closes #19114) 2013-09-29 11:13:27 -04:00
Benjamin Peterson f20cf944ab move helper function into its test method (closes #19112) 2013-09-29 11:08:04 -04:00
Antoine Pitrou 0879b168bf Issue #4366: Fix building extensions on all platforms when --enable-shared is used. 2013-09-29 01:48:40 +02:00
Benjamin Peterson a094f04e7b fix duplicate test names (closes #19115)
Patch by Xavier de Gaye.
2013-09-28 15:12:37 -04:00
Serhiy Storchaka cfa5574405 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.
2013-09-28 21:31:36 +03:00
Barry Warsaw d9836ebced null merge 2013-09-25 10:42:27 -04:00
Barry Warsaw d6fddf3d15 - 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.
2013-09-25 09:36:58 -04:00
Barry Warsaw 212f4b767b null merge 2013-09-22 16:26:09 -04:00
Barry Warsaw 4e95d60191 - Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to
limit line length.  Patch by Emil Lind.
2013-09-22 16:07:09 -04:00
Georg Brandl a63231aa18 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.
2013-09-22 11:45:02 +02:00
Georg Brandl 110953d6de Closes #19061: make shelve security warning consistent between 2.x and 3.x. 2013-09-22 11:43:10 +02:00
Nick Coghlan 254a377222 This check can still fail on RHEL6 2013-09-22 19:36:09 +10:00
Serhiy Storchaka 60bf0e4daa Issue #18050: Fixed an incompatibility of the re module with Python 2.7.3
and older binaries.
2013-09-20 21:25:53 +03:00
R David Murray f1c1cd9b3b Merge #14984: only import pwd on POSIX. 2013-09-18 08:50:11 -04:00
R David Murray 9e27eda325 #14984: only import pwd on POSIX. 2013-09-18 08:49:25 -04:00
R David Murray c64566e30f #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.
2013-09-18 08:35:45 -04:00
R David Murray ba58e1d827 Merge: Add versionchanged for #14984, remove extra blank from string. 2013-09-17 20:10:23 -04:00
R David Murray 137b572d55 Add versionchanged for #14984, remove extra blank from string. 2013-09-17 20:08:09 -04:00
Serhiy Storchaka e4818f6937 Remove the use of non-existing re.ASCII.
(fixes a regression in 3d46ef0c62c5, issue #18873)
2013-09-17 10:09:08 +03:00
Serhiy Storchaka e787bce79c Issue #18873: IDLE, 2to3, and the findnocoding.py script now detect Python
source code encoding only in comment lines.
2013-09-17 00:00:46 +03:00
R David Murray 74213e4ee9 Merge #14984: On POSIX, enforce permissions when reading default .netrc. 2013-09-16 14:32:54 -04:00
R David Murray 4189b67a66 #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.
2013-09-16 13:48:44 -04:00
Eli Bendersky e207e38c53 Close #18945: Add tests for tempfile name collision handling.
Patch by Vlad Shcherbina
2013-09-15 12:08:14 -07:00
Andrew Kuchling 35532c86f5 Null merge with 2.6 2013-09-15 13:24:05 -04:00
Andrew Kuchling 503baf9ecd #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.
2013-09-15 13:11:47 -04:00